/*
 * The contact page · Figma "Yeni Tasarım" → Contact 7:29 (inc/livcom-page-contact.php). On top of the inner pages'
 * shell (livcom-shell.css) and the hospitals page's finder and cards (livcom-page-hospitals.css).
 */
body.lc-page-contact .liv-main.liv-cat { overflow-x: clip; }

/* ---------- Get in touch (5:45970): the heading, the card "Contact Us" (520px) and the map ---------- */
.lc-ct-touch { display: flex; flex-direction: column; gap: 16px; min-inline-size: 0; }
.lc-ct-touch > h2 { margin: 0; color: #0082B9; font-size: 28px; line-height: 1.25; font-weight: 700; }
.lc-ct-touch__row { display: flex; align-items: flex-start; gap: 16px; }

/* The card "Contact Us" (.lc-ct-form): assets/css/livcom-shell.css (also the footer's form and About Liv's). */

/* The map (542:3562): the dotted world on the sky blue, 584 × 411 in the design. */
.lc-ct-map { position: relative; flex: 1 1 auto; min-inline-size: 0; margin: 0; aspect-ratio: 584 / 411; overflow: hidden; border-radius: 20px; background: #EDF5F8; }
.lc-ct-map__svg { display: block; inline-size: 100%; block-size: 100%; }
.lc-ct-map__routes path { fill: none; stroke: #0082B9; stroke-width: 1; stroke-dasharray: 2 3; opacity: 0.6; }
.lc-ct-map__cities circle { fill: #0082B9; }
.lc-ct-map__pulse { fill: #0082B9; }
.lc-ct-map__ring { fill: #FFFFFF; stroke: #0082B9; stroke-width: 2; }
.lc-ct-map__core { fill: #0082B9; }
.lc-ct-map__plane path { fill: #0082B9; }
.lc-ct-map__legend { position: absolute; inset-block-end: 16px; inset-inline-start: 16px; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #FFFFFF; color: #22303A; font-size: 13px; line-height: 1.5; font-weight: 600; }
.lc-ct-map__legend span { inline-size: 10px; block-size: 10px; box-sizing: border-box; border: 2.5px solid #0082B9; border-radius: 50%; background: #FFFFFF; }
/* Desktop: the map as high as the form beside it (owner 2026-11-24: "form ve haritanın yüksekliğini eşit yapalım");
   the world keeps its full width and stands in the middle of the taller box, so no country is cut at the sides. */
@media (min-width: 1024px) {
	.lc-ct-touch__row { align-items: stretch; }
	.lc-ct-map { aspect-ratio: auto; min-block-size: 420px; }
	.lc-ct-map__svg { position: absolute; inset-inline: 0; inset-block-start: 50%; block-size: auto; translate: 0 -50%; }
}

/* ---------- Find a hospital and All Hospitals (Figma 5:45977, 5:45983): the hospitals page's parts, plainer ---------- */
.lc-hosp.is-contact { gap: 0; margin-block-end: 0 !important; }
/* Find a hospital on the light-blue band across the window; the heading, a 400px search field, plain city filters. */
/* The hospitals page clips its finder to a card (overflow: hidden); here the band reaches the window's edges. */
.lc-hosp.is-contact .lc-hfind { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 48px 0; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.lc-hosp.is-contact .lc-hfind::before { inset-block: 0; inset-inline: calc(50% - 50vw); inline-size: auto; block-size: auto; border-radius: 0; background: linear-gradient(180deg, #FFFFFF 0%, #E4F5FD 45%, #FFFFFF 100%); }
.lc-hosp.is-contact .lc-hfind__title { font-size: 28px; line-height: 1.25; }
.lc-hosp.is-contact .lc-hfind__lead, .lc-hosp.is-contact .lc-hfind__go, .lc-hosp.is-contact .lc-hfind__pin, .lc-hosp.is-contact .lc-hfind__tab-count { display: none; }
.lc-hosp.is-contact .lc-hfind__form { inline-size: min(400px, 100%); }
.lc-hosp.is-contact .lc-hfind__field { block-size: 48px; padding: 0 16px; gap: 12px; border: 0.75px solid rgb(99 125 147 / 0.35); border-radius: 8px; background: #FFFFFF; box-shadow: none; }
.lc-hosp.is-contact .lc-hfind__field input { padding: 0; font-size: 14px; }
.lc-hosp.is-contact .lc-hfind__icon { color: #163B4D; }
.lc-hosp.is-contact .lc-hfind__tabs { padding: 0; border: 0; }
.lc-hosp.is-contact .lc-hfind__tabs { align-self: stretch; }
.lc-hosp.is-contact .lc-hfind__tabs ul { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.lc-hosp.is-contact .lc-hfind__tabs li { flex: none; min-inline-size: 0; }
.lc-hosp.is-contact .lc-hfind__tab { min-inline-size: 172px; block-size: 48px; padding: 0 16px; border: 1px solid #0082B9; border-radius: 10px; background: #FFFFFF; box-shadow: none; color: #163B4D; font-size: 14px; line-height: 1.5; font-weight: 400; }
.lc-hosp.is-contact .lc-hfind__tab:hover { background: #EEFAFF; color: #163B4D; box-shadow: none; }
.lc-hosp.is-contact .lc-hfind__tab[aria-current="true"], .lc-hosp.is-contact .lc-hfind__tab[aria-current="true"]:hover { background: #0082B9; color: #FFFFFF; }

/* All Hospitals: the heading, three cards in a row (16px apart). */
.lc-hosp.is-contact .lc-hgrid { gap: 16px; padding-block: 48px 24px; }
.lc-hosp.is-contact .lc-hgrid__count { display: none; }
.lc-hosp.is-contact .lc-hgrid__title { font-size: 28px; line-height: 1.25; }
.lc-hosp.is-contact .lc-hgrid__list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0 !important; }

/* The cards themselves: livcom-page-hospitals.css (".lc-hcard.is-flat"), shared with the hospitals page. */

/* =====================================================================================
 * Tablets and phones (Figma 5:45994, 5:46045): the card over the map, the map shorter; two cards in a row on tablets,
 * one on phones (the photo 4:5 there).
 * ===================================================================================== */
@media (max-width: 1023.98px) {
	.lc-ct-touch__row { flex-direction: column; align-items: stretch; }
	.lc-ct-touch__row > .lc-ct-form { flex-basis: auto; }
	.lc-ct-map { aspect-ratio: 358 / 316; }
	.lc-hosp.is-contact .lc-hgrid__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
	.lc-hosp.is-contact .lc-hgrid__list { grid-template-columns: minmax(0, 1fr); }
}
