/*
 * Homepage sections (Website Pages · Home 1440 / 768 / 390).
 * Loaded only when a block with a "liv-home" or "liv-hero" class is rendered (inc/assets.php).
 * Values from Figma "Copy as code → CSS (all layers)", 2026-11-11.
 */

/* ---------- Page column: 1120px, 24px between sections, white page ---------- */
body:has(.liv-home) { background: var(--wp--preset--color--surface); }
.liv-main:has(.liv-home) { padding-block-end: 0; margin-block-start: 0 !important; }
.wp-site-blocks > .liv-main:has(.liv-home) + * { margin-block-start: 0 !important; }
.liv-main:has(.liv-home) .wp-block-post-content > :last-child:not(.liv-contact-band) { margin-block-end: var(--liv-home-gap, 24px); }
.liv-home { --liv-home-gap: 24px; display: flex; flex-direction: column; gap: var(--liv-home-gap); padding-block-start: var(--liv-home-gap); }
/* Width rule (decided 2026-11-11): header/footer bands full width; sections grow up to 1440px,
 * with the header's 32px side gap from 1024px up (16px below). */
.liv-main .liv-home.alignwide, .editor-styles-wrapper .liv-home.alignwide { max-inline-size: none; }
@media (min-width: 1024px) {
	.liv-main .wp-block-post-content:has(> .liv-home) { padding-inline: var(--liv-side, 32px) !important; }
}
.liv-home > * { margin-block: 0 !important; }

/* ---------- Hero (Liv / Pattern / Hero + Hero slider) ----------
 * Card #EDF5F8, radius 16, padding 16, gap 16. Slider 495px, radius 8, white legibility
 * gradient (0.94 → 0 at 60%), copy box 470px at 74px / 48px. H1 36/120%, -0.005em.
 */
/*
 * Home top band and hero slider · Figma "Home top band" 1053:8138 (desktop), "Home · 768 Tablet" 80:919,
 * "Hero · TR yapısı" 429:2259 (phone).
 * Desktop: the header, the accreditation bar and the banner lie on one ink band across the window (the header is
 * the see-through one, shell.css). Tablet: dark header, the four badges on the page, then the banner. Phone: the
 * banner fills the width from the top of the page, the bar sits between its picture and its text.
 * Banner: ink card, radius 16; the text on the near side, the slide's picture in a rounded box on the far side, dots
 * under the text. A slide's picture is its background image: the slide does not draw it on itself, ::after draws it
 * in the box. A slide with "is-image" carries a banner whose own lettering fills the near 41% of the picture: the
 * box shows the rest (the picture 169.49% of the box wide, held at the far edge). The H1 stays in the markup for
 * assistive technology.
 */
.liv-hero:has(.liv-hero__slides) { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; padding: 0; background: none; border-radius: 0; }
.liv-hero:has(.liv-hero__slides) > h1 { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.liv-hero .liv-carousel { margin: 0 !important; max-inline-size: none !important; }
.liv-hero__slides { border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--action); }
.liv-hero__slides > .liv-hero__slide { --liv-hero-photo: 0px; --liv-hero-gap: 16px; position: relative; isolation: isolate; display: flex; flex-direction: column; justify-content: center; gap: 12px; box-sizing: border-box; min-block-size: 495px; padding-block: 68px 12px; padding-inline: 28px calc(var(--liv-hero-photo) + var(--liv-hero-gap) + 12px); border-radius: var(--wp--custom--radius--card); background-color: var(--wp--preset--color--action); background-size: 0 0 !important; background-repeat: no-repeat !important; }
/* Picture box 508 x 428 in the 1120 x 495 banner: 12px from the far edge, in the middle, 56px from the text. */
.liv-hero__slides > .liv-hero__slide[style*="background-image"] { --liv-hero-photo: 45.357%; --liv-hero-gap: 56px; }
.liv-hero__slide[style*="background-image"]::after { content: ""; position: absolute; z-index: -1; inset-block-start: 50%; inset-inline-end: 12px; inline-size: var(--liv-hero-photo); block-size: calc(100% - 67px); translate: 0 -50%; border-radius: var(--wp--custom--radius--card); background-image: inherit; background-size: cover; background-position: 50% 50%; background-repeat: no-repeat; }
.liv-hero__slide.is-image[style*="background-image"]::after { background-size: 169.49% auto; background-position: 100% 50%; }
[dir="rtl"] .liv-hero__slide.is-image[style*="background-image"]::after { background-position: 0% 50%; }
.liv-hero__slide > * { max-inline-size: 516px !important; margin: 0 !important; }
.liv-hero__eyebrow { font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); letter-spacing: 0.06em; text-transform: uppercase; color: rgb(255 255 255 / 0.8); }
.liv-hero__slide h2 { font-size: var(--wp--preset--font-size--heading-1); line-height: 1.2; letter-spacing: -0.005em; color: #FFFFFF; }
.liv-hero__slide p:not(.liv-hero__eyebrow) { font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: rgb(255 255 255 / 0.86); }
.liv-hero__actions { padding-block-start: 20px; }
.liv-hero__actions .wp-block-button__link { display: inline-flex; align-items: center; gap: 10px; min-block-size: 48px; padding-block: 0; padding-inline: 20px 16px; border: 0; border-radius: var(--wp--custom--radius--md); background: #FFFFFF; color: var(--wp--preset--color--ink); font-size: var(--wp--preset--font-size--body); line-height: 1.4; font-weight: 700; -webkit-text-stroke-width: 0; text-decoration: none; }
.liv-hero__actions .wp-block-button__link::after { content: ""; flex: none; inline-size: 20px; block-size: 20px; background: currentColor; -webkit-mask: url(../img/icons/arrow-right.svg) center / contain no-repeat; mask: url(../img/icons/arrow-right.svg) center / contain no-repeat; }
[dir="rtl"] .liv-hero__actions .wp-block-button__link::after { transform: scaleX(-1); }
.liv-hero__actions .wp-block-button__link:hover { background: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--ink); }
.liv-hero__actions .wp-block-button__link:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 2px; }

/* Accreditations · above hero (1119:8489): white bar 44px over the banner, the eyebrow at the start, the four badges at the end. */
.liv-hero > .liv-accred.is-bar { order: -1; flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; min-block-size: 44px; padding: 6px 16px; background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--md); }
.liv-hero > .liv-accred.is-bar .liv-accred__eyebrow { text-align: start; white-space: nowrap; }
.liv-hero > .liv-accred.is-bar .liv-accred__badges { display: flex; align-items: center; justify-content: flex-end; gap: 28px; inline-size: auto; }
.liv-hero > .liv-accred.is-bar .liv-accred__badge { flex-direction: row; align-items: center; gap: 8px; inline-size: auto; }
.liv-hero > .liv-accred.is-bar .liv-accred__mark img { inline-size: 28px !important; block-size: 28px; border-radius: 50%; background: none; }
.liv-hero > .liv-accred.is-bar .liv-accred__label { font-size: var(--wp--preset--font-size--small); line-height: 1.4; text-align: start; white-space: nowrap; }

/* Dots: under the text, 24px from the bottom, the first one in line with the text; the current one a 24px bar. */
.liv-hero .liv-carousel__dots { inset-inline: 25px auto; inset-block-end: 24px; gap: 0; padding: 0; background: none; }
.liv-hero .liv-carousel__dot { inline-size: 12px; }
.liv-hero .liv-carousel__dot::before { opacity: 0.45; }
.liv-hero .liv-carousel__dot[aria-current="true"] { inline-size: 30px; }
.liv-hero .liv-carousel__dot[aria-current="true"]::before { inline-size: 24px; opacity: 1; }
.liv-hero .liv-carousel__toggle { order: 9; }

@media (min-width: 1024px) {
	/* The band: from above the top of the page to 24px under the banner. Its shadow carries it to the edges of the
	   window (a shadow never makes a page scroll sideways); the clip keeps the shadow from growing up and down.
	   Header, 12px, bar, 12px, banner, 24px to the band's edge, 24px to the next section. */
	.liv-home > .liv-hero:has(.liv-hero__slides) { margin-block: -12px var(--liv-home-gap, 24px) !important; }
	/* A banner picture is 1.8 times as wide as it is high: under 771px it would not fill the 428px box, so on narrow
	   desktops it is drawn at that width (and shows a little more of its near side). */
	.liv-hero__slide.is-image[style*="background-image"]::after { background-size: max(169.49%, 771px) auto; }
	.liv-home > .liv-hero:has(.liv-hero__slides)::before { content: ""; position: absolute; z-index: -1; inset-inline: 0; inset-block: -800px calc(-1 * var(--liv-home-gap, 24px)); background: var(--wp--preset--color--action); box-shadow: 0 0 0 100vmax var(--wp--preset--color--action); clip-path: inset(0 -100vmax); pointer-events: none; }
}

@media (max-width: 1023.98px) {
	/* Tablet 736 x 402 (80:919): no band. Header, 24px, the four badges on the page, 24px, the banner: picture box
	   304 x 256 (41.3%), text 340px, H 28, text 16. */
	.liv-hero:has(.liv-hero__slides) { gap: var(--liv-home-gap, 24px); }
	.liv-hero__slides > .liv-hero__slide { min-block-size: 402px; }
	.liv-hero__slides > .liv-hero__slide[style*="background-image"] { --liv-hero-photo: 41.3%; --liv-hero-gap: 52px; }
	.liv-hero__slide[style*="background-image"]::after { block-size: calc(100% - 146px); }
	.liv-hero__slide h2 { font-size: var(--wp--preset--font-size--heading-2); line-height: 1.25; letter-spacing: -0.003em; }
	.liv-hero__slide p:not(.liv-hero__eyebrow) { font-size: var(--wp--preset--font-size--body); }
	.liv-hero__actions { padding-block-start: 12px; }
	.liv-hero > .liv-accred.is-bar .liv-accred__eyebrow { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }
	.liv-hero > .liv-accred.is-bar .liv-accred__badges { justify-content: space-between; gap: 12px; inline-size: 100%; }
}

/* ---------- Start your journey (Liv / Section / Start your journey · 3 steps) ----------
 * Panel #F2F4F6, radius 16, padding 10 32 16 (16 on mobile), gap 12. Grabber 40×4 #C9D2DB.
 * Toggle 36px circle, white, 1px #C9D2DB, top 14 / end 16. Progress 4px segments, gap 6.
 * Step 1 options = the main category pages + Other (inc/journey.php): equal white tiles in a grid,
 * 1px #C9D2DB, radius 12, 14/150%, 56px minimum height, gap 8. The column count is set per
 * width tier and the grid is capped so a tile never passes 160px. Tiles are wider than the
 * 103px of the nine-option design so that the longest single word ("Gastroenterology", 113px
 * at 14px Exo) fits; on a 390px phone the tile is still 103px.
 * Channel: 48px segments, radius 10, #E4E9ED / selected #0082B9.
 */
.liv-journey { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 10px 32px 16px; background: var(--wp--preset--color--surface-subtle); border-radius: var(--wp--custom--radius--card); }
.liv-journey > *, .liv-journey__body > * { margin: 0 !important; max-inline-size: none !important; }
.liv-journey__grabber { align-self: center; inline-size: 40px; block-size: 4px; margin-block: 8px !important; border-radius: 2px; background: var(--wp--preset--color--border-subtle); }
.liv-journey__eyebrow { font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); letter-spacing: 0; text-transform: uppercase; color: var(--wp--preset--color--action); }
.liv-home h2.liv-journey__title, .liv-journey__title { font-size: var(--wp--preset--font-size--heading-3); line-height: 1.3; color: var(--wp--preset--color--ink); }
.liv-journey__lead { font-size: var(--wp--preset--font-size--body); line-height: 1.55; color: var(--wp--preset--color--text-secondary); }
.liv-journey__body { display: flex; flex-direction: column; gap: 12px; }
.liv-journey__toggle { position: absolute; inset-block-start: 14px; inset-inline-end: 16px; display: grid; place-items: center; inline-size: 36px; block-size: 36px; padding: 0; border: 1px solid var(--wp--preset--color--border-subtle); border-radius: 50%; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); cursor: pointer; }
.liv-journey__toggle svg { inline-size: 24px; block-size: 24px; transition: transform 0.2s; }
.liv-journey.is-collapsed .liv-journey__toggle svg { transform: rotate(180deg); }
.liv-journey__toggle:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-journey__progress { display: flex; gap: 6px; }
.liv-journey__progress span { flex: 1; block-size: 4px; border-radius: 2px; background: var(--wp--preset--color--border-subtle); transition: background 0.2s; }
.liv-journey__progress span.is-done { background: var(--wp--preset--color--action); }

/* Form inside the panel */
.liv-journey .livh-form .frm_fields_container { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.liv-journey .livh-form .frm_fields_container > [data-livh-field="specialty"] .frm_primary_label { position: static !important; inline-size: auto; block-size: auto; clip-path: none; margin-block-end: 12px; font-size: var(--wp--preset--font-size--card-title); line-height: 1.35; font-weight: 600; -webkit-text-stroke-width: 0; color: var(--wp--preset--color--ink); }
.liv-journey .livh-form [data-livh-field="specialty"] .frm_required { display: none; }
/* The question row: label at the start, "Show all" at the end (added by journey.js); everything else takes a full row. */
.liv-journey .livh-form [data-livh-field="specialty"] { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 12px; }
.liv-journey .livh-form [data-livh-field="specialty"] > .frm_primary_label { flex: 1 1 auto; }
.liv-journey .livh-form [data-livh-field="specialty"] > :is(.frm_opt_container, .frm_description, .frm_error) { flex: 0 0 100%; }
.liv-journey .livh-form [data-livh-field="specialty"] .frm_opt_container { --liv-journey-cols: 6; display: grid; grid-template-columns: repeat(var(--liv-journey-cols), minmax(0, 1fr)); gap: 8px; max-inline-size: calc(var(--liv-journey-cols) * 160px + (var(--liv-journey-cols) - 1) * 8px); }
.liv-journey .livh-form [data-livh-field="specialty"] .frm_radio { min-inline-size: 0; }
/* 6px padding: two lines of text are exactly 56px, so every tile of every row has one height. The wrap rules keep any text inside its tile. */
.liv-journey .livh-form [data-livh-field="specialty"] .frm_radio label { position: relative; justify-content: center; block-size: 100%; min-block-size: 56px; padding: 6px; border-color: var(--wp--preset--color--border-subtle); border-radius: var(--wp--custom--radius--md); font-weight: 400; -webkit-text-stroke-width: 0; text-align: center; text-wrap: balance; overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
.liv-journey .livh-form [data-livh-field="specialty"] .frm_radio input { position: absolute; opacity: 0; pointer-events: none; }
.liv-journey .livh-form [data-livh-field="specialty"] .frm_radio label:hover { border-color: var(--wp--preset--color--action); }
.liv-journey .livh-form [data-livh-field="specialty"] .frm_radio label:has(input:checked) { border-color: var(--wp--preset--color--action); background: var(--wp--preset--color--surface-tint); }
.liv-journey .livh-form [data-livh-field="specialty"] .frm_radio label:has(input:focus-visible) { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
/* Border colour and tint vanish in forced colours and the radio itself is hidden: mark the choice with an outline. */
@media (forced-colors: active) {
	.liv-journey .livh-form [data-livh-field="specialty"] .frm_radio label:has(input:checked) { outline: 2px solid Highlight; outline-offset: -4px; }
}
/* Columns per tier (viewport → columns, tile width): 1440+ 9 (139-146) · 1280-1439 8 (137-157) ·
 * 1024-1279 6 (143-160) · 768-1023 5 (131-160) · 600-767 4 (128-160) · below 600 3 (390px phone: 103px). */
@media (min-width: 1280px) { .liv-journey .livh-form [data-livh-field="specialty"] .frm_opt_container { --liv-journey-cols: 8; } }
@media (min-width: 1440px) { .liv-journey .livh-form [data-livh-field="specialty"] .frm_opt_container { --liv-journey-cols: 9; } }
@media (max-width: 1023.98px) { .liv-journey .livh-form [data-livh-field="specialty"] .frm_opt_container { --liv-journey-cols: 5; } }
@media (max-width: 767.98px) { .liv-journey .livh-form [data-livh-field="specialty"] .frm_opt_container { --liv-journey-cols: 4; } }
@media (max-width: 599.98px) {
	.liv-journey .livh-form [data-livh-field="specialty"] .frm_opt_container { --liv-journey-cols: 3; max-inline-size: none; }
	.liv-journey .livh-form [data-livh-field="specialty"] .frm_radio label { padding-inline: 2px; }
	/* The full list reads better in two columns on a phone: every name fits without breaking a word. */
	.liv-journey .livh-form [data-livh-field="specialty"].is-all .frm_opt_container { --liv-journey-cols: 2; }
	.liv-journey .livh-form [data-livh-field="specialty"].is-all .frm_radio label { padding-inline: 6px; }
}
/* Collapsed list: only with more than ten tiles and only where scripts run (journey.js adds the
 * "Show all" control and sets .is-all), so there is no jump when the script starts. Shown = whole
 * rows (desktop 1, tablet 2, phone 3: the option-area heights of the Figma frames, 56 / 120 / 184):
 * the first tiles in menu order + the last one ("Other"). A chosen tile always stays.
 * Keep the counts in step with the column tiers above. */
@media (scripting: enabled) and (min-width: 1440px) {
	.liv-journey [data-livh-field="specialty"]:not(.is-all) .frm_opt_container:has(> :nth-child(11)) > :nth-child(n + 9):not(:last-child):not(:has(input:checked)) { display: none; }
}
@media (scripting: enabled) and (min-width: 1280px) and (max-width: 1439.98px) {
	.liv-journey [data-livh-field="specialty"]:not(.is-all) .frm_opt_container:has(> :nth-child(11)) > :nth-child(n + 8):not(:last-child):not(:has(input:checked)) { display: none; }
}
@media (scripting: enabled) and (min-width: 1024px) and (max-width: 1279.98px) {
	.liv-journey [data-livh-field="specialty"]:not(.is-all) .frm_opt_container:has(> :nth-child(11)) > :nth-child(n + 6):not(:last-child):not(:has(input:checked)) { display: none; }
}
@media (scripting: enabled) and (min-width: 768px) and (max-width: 1023.98px) {
	.liv-journey [data-livh-field="specialty"]:not(.is-all) .frm_opt_container:has(> :nth-child(11)) > :nth-child(n + 10):not(:last-child):not(:has(input:checked)) { display: none; }
}
@media (scripting: enabled) and (min-width: 600px) and (max-width: 767.98px) {
	.liv-journey [data-livh-field="specialty"]:not(.is-all) .frm_opt_container:has(> :nth-child(11)) > :nth-child(n + 8):not(:last-child):not(:has(input:checked)) { display: none; }
}
/* Phones: the first six tiles only, two rows of three ("Other" and the rest under "Show all"; owner 2026-11-24:
 * "varsayılan görünen kartlar mobilde ilk 6 kart olsun sadece"). */
@media (scripting: enabled) and (max-width: 599.98px) {
	.liv-journey [data-livh-field="specialty"]:not(.is-all) .frm_opt_container:has(> :nth-child(11)) > :nth-child(n + 7):not(:has(input:checked)) { display: none; }
}
/* The panel before its script (owner 2026-11-19: "ilk açılışta tüm formlar açık geliyor, anlık sekiyor"): where
 * scripts run, only the first step's question shows from the first paint, and the parts the script adds have
 * their room already (the grabber, the line of the steps), so nothing jumps when journey.js starts. Should the
 * script not arrive, the inline script of inc/assets.php sets .is-plain after a while and the whole form shows. */
@media (scripting: enabled) {
	.liv-journey:not(.is-enhanced, .is-plain) .livh-form .frm_fields_container > [data-livh-field]:not([data-livh-field="specialty"]),
	.liv-journey:not(.is-enhanced, .is-plain) .livh-form .frm_submit { display: none !important; }
	.liv-journey:not(.is-enhanced, .is-plain) .livh-form .frm_fields_container > :has(> .frm_submit) { display: none !important; }
	.liv-journey:not(.is-enhanced, .is-plain)::before { content: ""; align-self: center; inline-size: 40px; block-size: 4px; margin-block: 8px; border-radius: 2px; background: var(--wp--preset--color--border-subtle); }
	.liv-journey:not(.is-enhanced, .is-plain) .livh-form-wrap::before { content: ""; display: block; block-size: 4px; margin-block-end: 12px; border-radius: 2px; background: linear-gradient(to right, var(--liv-journey-done, var(--wp--preset--color--action)) 0 calc((100% - 12px) / 3), transparent 0 calc((100% - 12px) / 3 + 6px), var(--wp--preset--color--border-subtle) 0 calc((100% - 12px) * 2 / 3 + 6px), transparent 0 calc((100% - 12px) * 2 / 3 + 12px), var(--wp--preset--color--border-subtle) 0); }
	[dir="rtl"] .liv-journey:not(.is-enhanced, .is-plain) .livh-form-wrap::before { transform: scaleX(-1); }
}
/* "Show all" sits at the end of the question row, so the panel keeps its height (hit area 41px through padding). */
.liv-journey__more { flex: none; margin-block: -10px 2px; padding: 10px 0; border: 0; background: none; color: var(--wp--preset--color--ink); font: inherit; font-size: var(--wp--preset--font-size--small); line-height: 1.5; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.liv-journey__more:hover { color: var(--wp--preset--color--action-hover); }
.liv-journey__more:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
/* Continue of step 1: shown once a specialty is chosen (keyboard choice, or after "Back"). */
.liv-journey .livh-form [data-livh-field="specialty"] > .liv-journey__next { flex: 0 0 100%; max-inline-size: 274px; margin-block-start: 12px; }
.liv-journey .livh-form [data-livh-field="channel"] .frm_primary_label { position: static !important; inline-size: auto; block-size: auto; clip-path: none; font-size: var(--wp--preset--font-size--small); font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); }
.liv-journey .livh-form [data-livh-field="channel"] .frm_opt_container { display: flex; gap: 8px; }
.liv-journey .livh-form [data-livh-field="channel"] .frm_radio { flex: 1; }
.liv-journey .livh-form [data-livh-field="channel"] .frm_radio label { position: relative; justify-content: center; padding: 0 16px; border: 0; background: var(--wp--preset--color--divider); font-size: var(--wp--preset--font-size--body); font-weight: 500; -webkit-text-stroke-width: 0; }
.liv-journey .livh-form [data-livh-field="channel"] .frm_radio input { position: absolute; opacity: 0; pointer-events: none; }
.liv-journey .livh-form [data-livh-field="channel"] .frm_radio label:has(input:checked) { background: var(--wp--preset--color--action); color: var(--wp--preset--color--surface); }
.liv-journey .livh-form [data-livh-field="channel"] .frm_radio label:has(input:focus-visible) { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-journey .livh-form [data-livh-field="channel"], .liv-journey .livh-form [data-livh-field="message"], .liv-journey .livh-form [data-livh-field="specialty"], .liv-journey__actions { grid-column: 1 / -1; }
.liv-journey.is-enhanced .livh-form :is([data-livh-field="name"], [data-livh-field="phone"], [data-livh-field="email"], [data-livh-field="country"]) { grid-column: span 1; }
.liv-journey.is-enhanced .livh-form [data-livh-field="message"] { grid-column: span 2; grid-row: span 2; }
.liv-journey.is-enhanced .livh-form [data-livh-field="kvkk_consent"] { grid-column: span 1; }
.liv-journey__actions, .liv-journey .livh-form .frm_submit { display: flex; gap: 12px; max-inline-size: 560px; }
.liv-journey__actions > *, .liv-journey .livh-form .frm_submit > * { flex: 1; }
.liv-journey__back, .liv-journey__next { min-block-size: var(--wp--custom--control--height); padding: 0 20px; border: 0; border-radius: var(--wp--custom--radius--control); font: inherit; font-size: var(--wp--preset--font-size--body); font-weight: 700; -webkit-text-stroke-width: 0; cursor: pointer; }
.liv-journey__back { background: var(--wp--preset--color--divider); color: var(--wp--preset--color--ink); }
.liv-journey__back:hover { background: var(--wp--preset--color--border-subtle); }
.liv-journey__next { background: var(--wp--preset--color--action); color: var(--wp--preset--color--surface); }
.liv-journey__next:hover { background: var(--wp--preset--color--action-hover); }
:is(.liv-journey__back, .liv-journey__next):focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-journey [hidden] { display: none !important; }
@media (max-width: 781.98px) {
	.liv-journey { padding-inline: 16px; }
	.liv-journey .livh-form .frm_fields_container { grid-template-columns: minmax(0, 1fr); }
	.liv-journey.is-enhanced .livh-form [data-livh-field] { grid-column: 1 / -1 !important; grid-row: auto !important; }
	.liv-journey .livh-form [data-livh-field="specialty"] > .liv-journey__next { max-inline-size: none; }
	.liv-journey__actions, .liv-journey .livh-form .frm_submit { max-inline-size: none; }
}

/* ---------- Ask Liv (Section · Ask Liv · AI search) ----------
 * Panel gradient #E4E9ED → #EFEDEB, padding 32, gap 16, centred. Prompt box 760px, white,
 * 1px #C9D2DB, radius 18, shadow 0 8 24 rgba(23,59,77,.1), padding 18 20 14, gap 12.
 * Pills 29px #F2F4F6; voice 44px; send 44px #0082B9 circle. Chips 44px, radius 999, 14px.
 */
.liv-ask-section { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 32px; text-align: center; background: linear-gradient(90deg, var(--wp--preset--color--divider) 0%, var(--wp--preset--color--surface-warm) 100%); border-radius: var(--wp--custom--radius--card); }
[dir="rtl"] .liv-ask-section { background: linear-gradient(270deg, var(--wp--preset--color--divider) 0%, var(--wp--preset--color--surface-warm) 100%); }
.liv-ask-section > * { margin: 0 !important; }
.liv-ask-section__eyebrow { font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); text-transform: uppercase; color: var(--wp--preset--color--action); }
.liv-home h2.liv-ask-section__title, .liv-ask-section__title { font-size: var(--wp--preset--font-size--heading-1); line-height: 1.2; letter-spacing: -0.005em; }
.liv-ask-section__lead { max-inline-size: 640px; font-size: var(--wp--preset--font-size--body); line-height: 1.55; color: var(--wp--preset--color--text-secondary); }
.liv-ask-section__note { font-size: var(--wp--preset--font-size--caption); line-height: 1.45; color: var(--wp--preset--color--placeholder); }
.liv-ask { display: flex; flex-direction: column; align-items: center; gap: 16px; inline-size: min(100%, 760px); }
.liv-ask__box { display: flex; flex-direction: column; gap: 12px; inline-size: 100%; padding: 18px 20px 14px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border-subtle); border-radius: 18px; box-shadow: 0 8px 24px rgb(23 59 77 / 0.1); text-align: start; }
.liv-ask__box:focus-within { border-color: var(--wp--preset--color--focus); }
.liv-ask__input { display: flex; align-items: flex-start; gap: 10px; }
.liv-ask__ai { flex: none; margin-block-start: 2px; color: var(--wp--preset--color--action); }
.liv-ask .liv-ask__input textarea { flex: 1; block-size: auto !important; min-block-size: 25px !important; border: 0 !important; border-radius: 0; box-shadow: none !important; min-block-size: 25px; max-block-size: 160px; margin: 0; padding: 0; border: 0; background: none; color: var(--wp--preset--color--ink); font: inherit; font-size: var(--wp--preset--font-size--body); line-height: 1.55; resize: none; field-sizing: content; }
.liv-ask .liv-ask__input textarea:focus { outline: 0; box-shadow: none; }
.liv-ask__input textarea::placeholder { color: var(--wp--preset--color--placeholder); opacity: 1; }
.liv-ask__toolbar, .liv-ask__tools, .liv-ask__send { display: flex; align-items: center; gap: 8px; }
.liv-ask__toolbar { justify-content: space-between; }
.liv-ask__pill { display: inline-flex; align-items: center; gap: 4px; min-block-size: 29px; padding: 6px 10px; border: 0; border-radius: 999px; background: var(--wp--preset--color--surface-subtle); color: var(--wp--preset--color--ink); font: inherit; font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); cursor: default; }
.liv-ask__voice, .liv-ask__submit { display: grid; place-items: center; inline-size: 44px; block-size: 44px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; }
.liv-ask__voice { background: none; color: var(--wp--preset--color--placeholder); cursor: default; }
.liv-ask__submit { background: var(--wp--preset--color--action); color: var(--wp--preset--color--surface); }
.liv-ask__submit:hover { background: var(--wp--preset--color--action-hover); }
:is(.liv-ask__pill, .liv-ask__voice, .liv-ask__submit, .liv-ask__chip):focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-ask__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0; padding: 0; list-style: none; }
.liv-ask__chip { min-block-size: 44px; padding: 10px 14px; border: 1px solid var(--wp--preset--color--border-subtle); border-radius: 999px; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); font: inherit; font-size: var(--wp--preset--font-size--small); line-height: 1.5; cursor: pointer; }
.liv-ask__chip:hover { border-color: var(--wp--preset--color--action); }

/* ---------- Accreditation strip ----------
 * #F2F4F6, radius 16, padding 20 24, gap 16, centred. Eyebrow 13/600, 0.06em, uppercase.
 * Four badges space-between, 180px each: mark 52px + label 13/600.
 */
.liv-accred { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 20px 24px; background: var(--wp--preset--color--surface-subtle); border-radius: var(--wp--custom--radius--card); }
.liv-accred > *, .liv-accred__badges > *, .liv-accred__badge > * { margin: 0 !important; }
.liv-accred__eyebrow { font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); letter-spacing: 0.06em; text-transform: uppercase; text-align: center; color: var(--wp--preset--color--action); }
.liv-accred__badges { display: flex; justify-content: space-between; gap: 16px; inline-size: 100%; }
.liv-accred__badge { display: flex; flex-direction: column; align-items: center; gap: 8px; inline-size: 180px; }
.liv-accred__mark img { display: block; inline-size: 52px; block-size: 52px; object-fit: contain; background: var(--wp--preset--color--surface); }
.liv-accred__label { font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); text-align: center; color: var(--wp--preset--color--ink); }
@media (max-width: 599.98px) {
	.liv-accred__badges { display: grid; grid-template-columns: 1fr 1fr; }
	.liv-accred__badge { inline-size: auto; }
}

/* ---------- Why choose Liv Hospital? ----------
 * #F2F4F6 panel, padding 32 (24 tablet, 16 phone), gap 16 (12 phone).
 * Card row (below 1024px, in the editor, without JavaScript): cards 260px, gap 16 (12 phone), white,
 * 1px #9AA9B8, radius 16; photo slot 258x325; body padding 14 16 16, gap 6; title 20/135% 600;
 * text 14/150%; caption 13/145% #22303A.
 * Photo stack (from 1024px; interactive.js builds .liv-why__orbit from the same cards and sets "is-orbit"):
 * frame 1056x520. Stage 540 wide with the ring centre in its middle: dashed ring 430 (1.5px #C9D2DB),
 * photo 280 with a 6px white rim, one thumbnail per card on the ring (72, 4px white rim; the active
 * one 92, 4px #0082B9 rim, on the side of the copy). Copy column 440, 60px after the stage: title
 * 28/125% 700, text 14/150%, the other titles 14/150% ink at 72% (gap 10), arrows 48px (gap 12) at the end.
 * Rims sit outside the photos and the shadows start at the rim (0 6 16 / 0 12 32, ink at 14% / 16%).
 * The cards and their photo and body classes are shared with Medical technology (.liv-tech__card):
 * what is specific to this section is scoped to .liv-why__rail.
 */
.liv-why { display: flex; flex-direction: column; gap: 16px; padding: 32px; background: var(--wp--preset--color--surface-subtle); border-radius: var(--wp--custom--radius--card); }
.liv-why > * { margin: 0 !important; max-inline-size: none !important; }
.liv-home :where(h2.wp-block-heading) { font-size: var(--wp--preset--font-size--heading-2); line-height: 1.25; letter-spacing: -0.003em; }
.liv-why__lead { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text-secondary); }
.liv-why__rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.liv-why__rail::-webkit-scrollbar { display: none; }
.liv-why__card { flex: 0 0 252px; display: flex; flex-direction: column; overflow: hidden; margin: 0 !important; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); scroll-snap-align: start; }
.liv-why__rail > .liv-why__card { flex-basis: 260px; }
.liv-why__photo { margin: 0 !important; }
.liv-why__photo img { display: block; inline-size: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.liv-why__rail .liv-why__photo img { aspect-ratio: auto; block-size: 325px; }
.liv-why__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; }
/* The body follows the photo directly: no block gap (WordPress adds 16px above every later child of a group). */
.liv-why__rail .liv-why__body { margin-block-start: 0; }
.liv-why__body > * { margin: 0 !important; }
.liv-why__body h3 { font-size: var(--wp--preset--font-size--card-title); line-height: 1.35; font-weight: 600; -webkit-text-stroke-width: 0; }
.liv-why__body p { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text-secondary); }
.liv-why__hint { font-size: var(--wp--preset--font-size--caption); line-height: 1.45; color: var(--wp--preset--color--text-secondary); }

/* Photo stack (Figma "Why choose · stack", 1056 x 520). Every reason has one rounded photo. data-slot (set by
 * the script) gives its place: 0 = the active photo, 430 x 340 in front; 1-5 = the 150 x 120 photos behind it,
 * tilted, in reading order (left, top left, top right, bottom right, bottom left). --liv-why-way mirrors the
 * layout for right-to-left pages. The copy column starts at 600px, 112px from the top. */
.liv-why__orbit { --liv-why-way: 1; display: none; align-items: flex-start; justify-content: flex-start; align-self: center; inline-size: min(100%, 1056px); }
[dir="rtl"] .liv-why__orbit { --liv-why-way: -1; }
.liv-why__stage { position: relative; flex: none; inline-size: 600px; block-size: 520px; }
.liv-why__thumb { --liv-why-x: 311px; --liv-why-y: 266px; --liv-why-tilt: 0deg; position: absolute; inset-block-start: var(--liv-why-y); inset-inline-start: var(--liv-why-x); z-index: 0; box-sizing: border-box; inline-size: 150px; block-size: 120px; padding: 0; border: 4px solid var(--wp--preset--color--surface); border-radius: 40px; overflow: hidden; background: var(--wp--preset--color--divider); box-shadow: 0 14px 36px rgb(0 130 185 / 0.18); cursor: pointer; opacity: 0; pointer-events: none; transform: translate(calc(var(--liv-why-way) * -50%), -50%) rotate(calc(var(--liv-why-way) * var(--liv-why-tilt))); }
.liv-why__thumb:is([data-slot="0"], [data-slot="1"], [data-slot="2"], [data-slot="3"], [data-slot="4"], [data-slot="5"]) { opacity: 1; pointer-events: auto; }
.liv-why__thumb[data-slot="0"] { z-index: 6; inline-size: 430px; block-size: 340px; border-radius: 64px; cursor: default; }
.liv-why__thumb[data-slot="1"] { --liv-why-x: 82.69px; --liv-why-y: 221.0px; --liv-why-tilt: 9deg; z-index: 5; }
.liv-why__thumb[data-slot="2"] { --liv-why-x: 121.48px; --liv-why-y: 162.31px; --liv-why-tilt: 5deg; z-index: 4; }
.liv-why__thumb[data-slot="3"] { --liv-why-x: 484.86px; --liv-why-y: 113.51px; --liv-why-tilt: -6deg; z-index: 3; }
.liv-why__thumb[data-slot="4"] { --liv-why-x: 491.46px; --liv-why-y: 406.99px; --liv-why-tilt: -9deg; z-index: 2; }
.liv-why__thumb[data-slot="5"] { --liv-why-x: 119.94px; --liv-why-y: 425.24px; --liv-why-tilt: -5deg; z-index: 1; }
.liv-why__thumb:focus-visible { outline-offset: 4px; }
.liv-why__thumb img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.liv-why__copy { flex: 0 1 440px; display: flex; flex-direction: column; gap: 16px; min-inline-size: 0; margin-block-start: 112px; }
.liv-why__active { display: flex; flex-direction: column; gap: 16px; }
.liv-why__title { margin: 0; font-size: var(--wp--preset--font-size--heading-2); line-height: 1.25; font-weight: 700; -webkit-text-stroke-width: 0; letter-spacing: -0.003em; color: var(--wp--preset--color--ink); overflow-wrap: break-word; white-space: nowrap; }
.liv-why__title.is-wrapped { white-space: normal; }
.liv-why__text { display: flex; flex-direction: column; gap: 6px; font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text-secondary); }
.liv-why__text > * { margin: 0; font-size: inherit; line-height: inherit; }
.liv-why__list { display: flex; flex-direction: column; gap: 10px; margin: 0; padding: 0; list-style: none; }
/* Titles are 21px lines 10px apart; the padding makes each one a 31px target without moving the text. */
.liv-why__pick { display: block; margin-block: -5px; padding: 5px 0; border: 0; background: none; font: inherit; font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--ink); text-align: start; opacity: 0.72; cursor: pointer; }
.liv-why__pick:is(:hover, :focus-visible) { opacity: 1; }
.liv-why__arrows { display: flex; justify-content: flex-end; gap: 12px; }
.liv-why__arrows .liv-icon-btn:disabled { color: #566A75; }
/* The section is wider than the 1056px design box on large screens and narrower on small laptops: the stack keeps
 * the design's proportions. Every length is a share of the box width (1px of the design = 100 / 1056 cqw), so the
 * photos start under the heading and the copy column starts at the same share of the width as in the design. */
@supports (inline-size: 1cqw) {
	.liv-why__orbit { container-type: inline-size; align-self: stretch; inline-size: 100%; }
	.liv-why__stage { inline-size: 56.8182cqw; block-size: 49.2424cqw; }
	.liv-why__thumb { --liv-why-x: 29.4508cqw; --liv-why-y: 25.1894cqw; inline-size: 14.2045cqw; block-size: 11.3636cqw; border-width: 0.3788cqw; border-radius: 3.7879cqw; box-shadow: 0 1.3258cqw 3.4091cqw rgb(0 130 185 / 0.18); }
	.liv-why__thumb[data-slot="0"] { inline-size: 40.7197cqw; block-size: 32.1970cqw; border-radius: 6.0606cqw; }
	.liv-why__thumb[data-slot="1"] { --liv-why-x: 7.8305cqw; --liv-why-y: 20.9280cqw; }
	.liv-why__thumb[data-slot="2"] { --liv-why-x: 11.5038cqw; --liv-why-y: 15.3703cqw; }
	.liv-why__thumb[data-slot="3"] { --liv-why-x: 45.9148cqw; --liv-why-y: 10.7491cqw; }
	.liv-why__thumb[data-slot="4"] { --liv-why-x: 46.5398cqw; --liv-why-y: 38.5407cqw; }
	.liv-why__thumb[data-slot="5"] { --liv-why-x: 11.3580cqw; --liv-why-y: 40.2689cqw; }
	/* The copy keeps its size against the photos: type, gaps and arrows are shares of the box width too (never below a readable size). */
	.liv-why__copy { flex-basis: 41.6667cqw; margin-block-start: 10.6061cqw; gap: 1.5152cqw; }
	.liv-why__active { gap: 1.5152cqw; }
	.liv-why__title { font-size: max(22px, 2.6515cqw); }
	.liv-why__text { gap: 0.5682cqw; font-size: max(13px, 1.3258cqw); }
	.liv-why__list { gap: 0.9470cqw; }
	.liv-why__pick { font-size: max(13px, 1.3258cqw); }
	.liv-why__arrows { gap: 1.1364cqw; }
	.liv-why__arrows .liv-icon-btn { inline-size: max(44px, 4.5455cqw); block-size: max(44px, 4.5455cqw); }
	.liv-why__arrows .liv-icon-btn svg { inline-size: max(22px, 2.2727cqw); block-size: max(22px, 2.2727cqw); }
	/* The section heading and its lead grow with the stack, so the heading and the active title stay the same size as in the design. */
	@media (min-width: 1024px) {
		.liv-why.is-orbit { container-type: inline-size; }
		.liv-why.is-orbit > h2 { font-size: max(1.75rem, 2.6515cqw); }
		.liv-why.is-orbit > .liv-why__lead { font-size: max(0.875rem, 1.3258cqw); }
	}
}
@media (min-width: 1024px) {
	.liv-why.is-orbit > :is(.liv-why__rail, .liv-why__hint) { display: none; }
	.liv-why__orbit { display: flex; }
}
/* The ring turns in about 400ms and the thumbnails counter-turn to stay upright; the incoming photo fades
 * in over the outgoing one. With reduced motion nothing animates: the new state simply shows. */
@media (prefers-reduced-motion: no-preference) {
	.liv-why__thumb { transition: inset 0.45s ease, inline-size 0.45s ease, block-size 0.45s ease, border-radius 0.45s ease, transform 0.45s ease, opacity 0.3s ease; }
	.liv-why__pick { transition: opacity 0.15s; }
}

/* ---------- Your Liv journey (Section · Your Liv journey + Liv / Section / Your Liv journey) ----------
 * Panel #F2F4F6, padding 40, gap 24. Head: H2 + 18/155% text side by side (gap 32).
 * Card white, 1px #9AA9B8, radius 16: top 68px (label 14/600, pause 44px circle 1.5px #9AA9B8),
 * panorama 500px, progress 3px (#E4E9ED / #0082B9), caption padding 24 28 gap 6 (H2 28 + 18/155%),
 * 7 equal tabs 52px, 14px, selected #0082B9 / white. Foot: claim 18/600 + primary button.
 */
.liv-trip { display: flex; flex-direction: column; gap: 24px; padding: 40px; background: var(--wp--preset--color--surface-subtle); border-radius: var(--wp--custom--radius--card); }
.liv-trip > *, .liv-trip__head > *, .liv-trip__foot > * { margin: 0 !important; max-inline-size: none !important; }
.liv-trip__head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.liv-trip__lead { font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--wp--preset--color--text-secondary); }
.liv-trip__card { overflow: hidden; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border); border-radius: var(--wp--custom--radius--card); }
.liv-trip__card > *, .liv-trip__stages > *, .liv-trip__stage > * { margin: 0 !important; max-inline-size: none !important; }
.liv-trip__top { display: flex; align-items: center; justify-content: space-between; min-block-size: 68px; padding: 12px 16px; }
.liv-trip__label { margin: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.4; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); color: var(--wp--preset--color--ink); }
.liv-trip__card:not(.is-enhanced) .liv-trip__label { padding: 12px 16px; }
.liv-trip__toggle { display: grid; place-items: center; inline-size: 44px; block-size: 44px; padding: 0; border: 1.5px solid var(--wp--preset--color--border); border-radius: 50%; background: var(--wp--preset--color--surface); color: var(--wp--preset--color--action); cursor: pointer; }
.liv-trip__toggle svg { inline-size: 18px; block-size: 18px; }
.liv-trip__toggle:focus-visible, .liv-trip__tabbtn:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: -3px; }
.liv-trip .liv-trip__image img { display: block; inline-size: 100%; block-size: 500px; object-fit: cover; }
.liv-trip__progress { block-size: 3px; background: var(--wp--preset--color--divider); }
.liv-trip__progress span { display: block; block-size: 100%; inline-size: 0; background: var(--wp--preset--color--action); transition: inline-size 0.4s; }
.liv-trip__title { padding: 24px 28px 0; font-size: var(--wp--preset--font-size--heading-2) !important; line-height: 1.25; letter-spacing: -0.003em; }
.liv-trip__text { padding: 6px 28px 24px; font-size: var(--wp--preset--font-size--large); line-height: 1.55; color: var(--wp--preset--color--text-secondary); }
.liv-trip__card:not(.is-enhanced) .liv-trip__tab { padding: 16px 28px 0; font-size: var(--wp--preset--font-size--small); font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); color: var(--wp--preset--color--action); }
.liv-trip__tabs { display: flex; border-block-start: 1px solid var(--wp--preset--color--border-subtle); }
.liv-trip__tabbtn { flex: 1 1 0; display: flex; align-items: center; min-block-size: 52px; padding: 0 14px; border: 0; border-inline-start: 1px solid var(--wp--preset--color--border-subtle); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); font: inherit; font-size: var(--wp--preset--font-size--small); line-height: 1.5; text-align: start; cursor: pointer; }
.liv-trip__tabbtn:first-child { border-inline-start: 0; }
.liv-trip__tabbtn:hover { background: var(--wp--preset--color--surface-subtle); }
.liv-trip__tabbtn[aria-selected="true"] { background: var(--wp--preset--color--action); color: var(--wp--preset--color--surface); }
.liv-trip__note { display: none; }
.liv-trip [hidden] { display: none !important; }
.liv-trip__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.liv-trip__claim { font-size: var(--wp--preset--font-size--large); line-height: 1.35; font-weight: 600; -webkit-text-stroke-width: 0; color: var(--wp--preset--color--ink); }
@media (max-width: 1023.98px) {
	.liv-trip { padding: 24px; }
	.liv-trip__head { grid-template-columns: 1fr; gap: 8px; }
	.liv-trip .liv-trip__image img { block-size: 380px; }
	.liv-trip__tabs { overflow-x: auto; scrollbar-width: none; }
	.liv-trip__tabbtn { flex: 0 0 auto; }
}
@media (max-width: 599.98px) {
	.liv-trip { padding: 16px; }
	.liv-trip .liv-trip__image img { block-size: 340px; }
	.liv-trip__title { padding: 16px 16px 0; }
	.liv-trip__text { padding: 6px 16px 16px; font-size: var(--wp--preset--font-size--body); }
	.liv-trip__foot { flex-direction: column; align-items: stretch; }
}

/* ---------- Shared: section panels, rails, cards ---------- */
.liv-home-intro { margin: 0; font-size: var(--wp--preset--font-size--large); line-height: 1.55; font-weight: 600; -webkit-text-stroke-width: 0; color: var(--wp--preset--color--ink); }
:is(.liv-videos, .liv-stories, .liv-care, .liv-treat, .liv-tech, .liv-hospitals, .liv-guest, .liv-awards) { display: flex; flex-direction: column; gap: 16px; padding: 32px; border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--surface); }
:is(.liv-stories, .liv-tech, .liv-hospitals, .liv-guest) { background: var(--wp--preset--color--surface-subtle); }
:is(.liv-videos, .liv-stories, .liv-care, .liv-treat, .liv-tech, .liv-hospitals, .liv-guest, .liv-awards) > * { margin: 0 !important; max-inline-size: none !important; }
:is(.liv-stories__lead, .liv-treat__lead, .liv-tech__lead, .liv-guest__lead) { font-size: var(--wp--preset--font-size--body); line-height: 1.55; color: var(--wp--preset--color--text-secondary); }
.liv-home :where(h3.wp-block-heading) { margin: 0; font-size: var(--wp--preset--font-size--card-title); line-height: 1.35; font-weight: 600; -webkit-text-stroke-width: 0; }
.liv-home :where(h3.wp-block-heading) a { color: inherit; text-decoration: none; }
.liv-home :where(h3.wp-block-heading) a:hover { color: var(--wp--preset--color--action); }
.liv-rail { gap: 16px !important; }
.liv-rail > * { margin: 0 !important; }
.liv-home .liv-videos__rail > *, .liv-home .liv-stories__rail > *, .liv-home .liv-treat__rail > * { flex: 0 0 304px !important; }
.liv-home .liv-hospitals__rail > * { flex: 0 0 322px !important; }
.liv-rail:not(.liv-slider__track) { display: flex; overflow-x: auto; }
.liv-home .liv-slider__controls { margin-block-start: 0; }
:is(.liv-vcard, .liv-story, .liv-mcard, .liv-hcard, .liv-ncard, .liv-scard) { display: flex; flex-direction: column; overflow: hidden; background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--card); }
:is(.liv-vcard, .liv-story, .liv-mcard, .liv-hcard, .liv-ncard, .liv-scard) > *, :is(.liv-vcard__body, .liv-story__body, .liv-mcard__body, .liv-hcard__body, .liv-ncard__body, .liv-hcard__content, .liv-ncard__content, .liv-scard__content) > * { margin: 0 !important; }
.liv-mcard { background: var(--wp--preset--color--surface-tint); }
.liv-home :is(.liv-vcard, .liv-mcard, .liv-hcard, .liv-ncard, .liv-scard) .wp-block-buttons { gap: 8px; padding-block-start: 4px; }
.liv-home .liv-mcard .wp-block-buttons { padding-block-start: 0; }
.liv-home :is(.liv-vcard) .wp-block-button { flex: 1; }
.liv-home :is(.liv-mcard, .liv-ncard, .liv-scard) .wp-block-button { flex: 1; }
.liv-home :is(.liv-mcard, .liv-ncard, .liv-scard) .wp-block-button__link { inline-size: 100%; }
.liv-home :is(.liv-vcard) .wp-block-button__link { inline-size: 100%; padding-inline: 12px; }

/* ---------- Doctor videos ---------- */
.liv-videos__eyebrow { font-size: var(--wp--preset--font-size--small); line-height: 1.5; text-transform: uppercase; color: var(--wp--preset--color--text-secondary); }
.liv-vcard { justify-content: space-between; }
/* A doctor's specialty as a badge and hospitals as a line: shown by the sections that have the doctor card's design. */
.liv-vcard__badge, .liv-vcard__place { display: none; }
.liv-vcard__cover { position: relative; }
.liv-home .liv-vcard__cover img { display: block; inline-size: 100%; block-size: 380px; object-fit: cover; object-position: top; background: var(--wp--preset--color--surface-tint); border-radius: var(--wp--custom--radius--card); }
.liv-vcard__cover::after { content: ""; position: absolute; inset-inline-start: calc(50% - 28px); inset-block-start: calc(50% - 28px + 84px); inline-size: 56px; block-size: 56px; border-radius: 50%; background: #FFFFFF url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22%3E%3Cpath d=%22M8 4.7v14.6L19.5 12z%22 fill=%22%230082B9%22/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 4px 16px rgb(5 38 56 / 0.18); pointer-events: none; }
.liv-vcard__body { display: flex; flex-direction: column; gap: 8px; padding: 16px; }
.liv-vcard__name { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text-secondary); }

/* ---------- Patient experiences ---------- */
.liv-story__video video { display: block; inline-size: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 12%; background: var(--wp--preset--color--action); }
.liv-story__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 16px; }
/* The quote is the patient's full text (two or three sentences), so it is set as body text, not as a card title. */
.liv-story__quote { font-size: var(--wp--preset--font-size--body); line-height: 1.55; font-weight: 400; -webkit-text-stroke-width: 0; color: var(--wp--preset--color--ink); }
.liv-story__who { font-size: var(--wp--preset--font-size--caption); line-height: 1.45; color: var(--wp--preset--color--ink); }
.liv-story__meta { font-size: var(--wp--preset--font-size--caption); line-height: 1.45; color: var(--wp--preset--color--text-secondary); }

/* ---------- Where do you need care? (care explorer) · Figma 79:822 (desktop), 80:1109 (tablet), 80:1698 (phone);
 * prototype 1075:8221 ----------
 * Two cards side by side (498 : 534) and, under them, the doctors of the chosen area.
 * Body map card: "Choose an area" with a select, the body (380 x 570) with a hotspot per area, a hint. Choosing an
 * area that has a hotspot zooms in with the prototype's values: in 0.7s (ease in and out) the body grows 2.6 times
 * around that hotspot and fades to a tenth, the area's picture grows from the hotspot to a 400 x 500 box in the
 * middle, and a back button with the area's name takes the place of the select. Nothing is drawn above the stage
 * (28px over the body), and the card keeps its size, so nothing under it moves. 0.8s later the page glides to the
 * doctors (interactive.js).
 * Area card: "Selected area", name, text and the area's picture (132 x 104); then "Clinics": a row per clinic
 * of the area; then "Who looks after it": a card per specialty with its number of doctors (inc/doctors.php);
 * those cards share what is left of the card's height. (The prototype's rows for treatments and for conditions
 * come when their pages exist.)
 */
.liv-care { gap: 24px; }
.liv-care__layout { display: grid; grid-template-columns: minmax(0, 498fr) minmax(0, 534fr); gap: 24px; align-items: start; }
.liv-care__layout > *, .liv-care__map > *, .liv-care__areas > *, .liv-care__area > * { margin: 0 !important; max-inline-size: none !important; }
.liv-care__map { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 24px 20px; overflow: hidden; background: var(--wp--preset--color--surface-subtle); border-radius: var(--wp--custom--radius--card); }
.liv-care__choose { font-size: var(--wp--preset--font-size--small); line-height: 1.4; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); color: var(--wp--preset--color--ink); }
.liv-care .liv-care__select { inline-size: 100%; block-size: var(--wp--custom--field--select-sheet); padding: 0 44px 0 16px; border: 1px solid var(--wp--preset--color--field-border); border-radius: var(--wp--custom--radius--control); background: var(--wp--preset--color--surface) url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%23163B4D%22 stroke-width=%221.75%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22m6 9 6 6 6-6%22/%3E%3C/svg%3E") right 16px center / 20px no-repeat; color: var(--wp--preset--color--ink); font: inherit; font-size: var(--wp--preset--font-size--small); appearance: none; }
[dir="rtl"] .liv-care .liv-care__select { padding: 0 16px 0 44px; background-position: left 16px center; }
.liv-care__select:focus-visible { outline: 0; border-color: var(--wp--preset--color--focus); box-shadow: 0 0 0 1px var(--wp--preset--color--focus); }
.liv-care__body { position: relative; align-self: center; inline-size: min(100%, 380px); }
.liv-home .liv-care__body > img:first-child { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 380 / 570; object-fit: contain; transform-origin: calc(var(--liv-care-x, 50) * 1%) calc(var(--liv-care-y, 50) * 1%); transition: transform 0.7s ease-in-out, opacity 0.7s ease-in-out; }
[dir="rtl"] .liv-home .liv-care__body > img:first-child { transform-origin: calc((100 - var(--liv-care-x, 50)) * 1%) calc(var(--liv-care-y, 50) * 1%); }
.liv-care__hint { font-size: var(--wp--preset--font-size--body); line-height: 1.55; text-align: center; color: var(--wp--preset--color--placeholder); }
.liv-care__point { position: absolute; display: inline-flex; align-items: center; gap: 0; padding: 0; border: 0; background: none; font: inherit; transform: translate(calc(-100% + 22px), -50%); cursor: pointer; }
.liv-care__point.is-end { flex-direction: row-reverse; transform: translate(-22px, -50%); }
[dir="rtl"] .liv-care__point { transform: translate(calc(100% - 22px), -50%); }
[dir="rtl"] .liv-care__point.is-end { transform: translate(22px, -50%); }
.liv-care__chip { display: inline-flex; align-items: center; min-block-size: 35px; padding: 0 9px; border: 1px solid var(--wp--preset--color--border-subtle); border-radius: var(--wp--custom--radius--sm); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--action); font-size: var(--wp--preset--font-size--small); line-height: 1.4; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); white-space: nowrap; }
.liv-care__marker { display: grid; place-items: center; inline-size: 44px; block-size: 48px; }
.liv-care__marker::before { content: ""; inline-size: 18px; block-size: 18px; border-radius: 50%; background: radial-gradient(var(--wp--preset--color--action) 0 4px, #FFFFFF 4.5px); box-shadow: inset 0 0 0 2px var(--wp--preset--color--action); }
.liv-care__point[aria-pressed="true"] .liv-care__chip, .liv-care__point:hover .liv-care__chip { border-color: var(--wp--preset--color--action); background: var(--wp--preset--color--action); color: var(--wp--preset--color--surface); }
.liv-care__point:focus-visible { outline: 0; }
.liv-care__point:focus-visible .liv-care__chip { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
/* Zoomed in: the hotspot goes to the middle of the map (the body is moved by what the hotspot is off the middle). */
.liv-care.is-zoomed .liv-care__body > img:first-child { transform: translate(calc((50 - var(--liv-care-x, 50)) * 1%), calc((50 - var(--liv-care-y, 50)) * 1%)) scale(2.6); opacity: 0.1; }
[dir="rtl"] .liv-care.is-zoomed .liv-care__body > img:first-child { transform: translate(calc((var(--liv-care-x, 50) - 50) * 1%), calc((50 - var(--liv-care-y, 50)) * 1%)) scale(2.6); }
.liv-care.is-zoomed .liv-care__body { clip-path: inset(-28px -100vmax -100vmax); }
.liv-care.is-zoomed .liv-care__point { visibility: hidden; }
.liv-care.is-zoomed :is(.liv-care__choose, .liv-care__select, .liv-care__hint) { visibility: hidden; }
.liv-home .liv-care__body > img.liv-care__organ { position: absolute; inset-block-start: 50%; inset-inline-start: 50%; inline-size: 105.26%; max-inline-size: none; block-size: 87.72%; object-fit: contain; translate: -50% -50%; pointer-events: none; animation: liv-care-organ 0.7s ease-in-out both; }
[dir="rtl"] .liv-home .liv-care__body > img.liv-care__organ { translate: 50% -50%; }
@keyframes liv-care-organ { from { opacity: 0; scale: 0.11; } to { opacity: 1; scale: 1; } }
.liv-care__zoom { position: absolute; z-index: 2; inset-block-start: 24px; inset-inline: 20px; display: flex; align-items: center; gap: 16px; }
.liv-care__back { display: grid; place-items: center; flex: none; inline-size: 48px; block-size: 48px; padding: 0; border: 0; border-radius: 50%; background: var(--wp--preset--color--divider); color: var(--wp--preset--color--ink); cursor: pointer; }
.liv-care__back:hover { background: var(--wp--preset--color--border-subtle); }
.liv-care__back:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-care__back svg { inline-size: 24px; block-size: 24px; }
[dir="rtl"] .liv-care__back svg { transform: scaleX(-1); }
.liv-care__zoom-title { margin: 0; overflow: hidden; font-size: var(--wp--preset--font-size--heading-3); line-height: 1.4; font-weight: 700; white-space: nowrap; text-overflow: ellipsis; color: var(--wp--preset--color--action); }
@media (prefers-reduced-motion: reduce) {
	.liv-home .liv-care__body > img:first-child { transition: none; }
	.liv-home .liv-care__body > img.liv-care__organ { animation: none; }
}

/* Area card. Grid: the picture beside the first three lines, everything else across. */
.liv-care__areas { display: flex; flex-direction: column; gap: 16px; }
.liv-care__area { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px; row-gap: 8px; align-content: start; box-sizing: border-box; padding: 24px 20px; background: var(--wp--preset--color--surface); border: 1px solid var(--wp--preset--color--border-subtle); border-radius: var(--wp--custom--radius--card); }
.liv-care__area > * { grid-column: 1 / -1; }
.liv-care__area > .liv-care__eyebrow--area { grid-column: 1; grid-row: 1; }
.liv-care__area > h3 { grid-column: 1; grid-row: 2; }
.liv-care__area > .liv-care__text { grid-column: 1; grid-row: 3; }
.liv-care__area > .liv-care__visual { grid-column: 2; grid-row: 1 / span 3; align-self: start; inline-size: 132px; block-size: 104px; overflow: hidden; border-radius: var(--wp--custom--radius--md); }
.liv-home .liv-care__visual img { display: block; inline-size: 100%; block-size: 100%; object-fit: contain; }
.liv-home .liv-care__area h3 { font-size: var(--wp--preset--font-size--heading-2); line-height: 1.25; font-weight: 700; -webkit-text-stroke-width: 0; letter-spacing: -0.003em; }
.liv-care__area h3:focus { outline: 0; }
.liv-care__text { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--placeholder); }
.liv-care__eyebrow { font-size: var(--wp--preset--font-size--caption); line-height: 1.45; letter-spacing: 0.08em; text-transform: uppercase; color: var(--wp--preset--color--placeholder); }
/* 28px above a group of rows: the 8px between the lines and these 20. */
.liv-care__area > .liv-care__eyebrow:not(.liv-care__eyebrow--area) { padding-block-start: 20px; }
/* "Clinics": five rows, each a link to a clinic's page, 44px, the arrow at the end; beside the heading a small
   "See all" text link to the Clinics page. */
.liv-care__eyebrow--more { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.liv-care__eyebrow--more a { display: inline-flex; align-items: center; min-block-size: 24px; font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); letter-spacing: 0; text-transform: none; color: var(--wp--preset--color--action); text-decoration: underline; text-underline-offset: 3px; }
.liv-care__eyebrow--more a:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-care__rows { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.liv-care__rows a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-block-size: 44px; box-sizing: border-box; padding-block: 12px; padding-inline: 14px 12px; border-radius: var(--wp--custom--radius--control); background: var(--wp--preset--color--surface-subtle); color: var(--wp--preset--color--ink); font-size: var(--wp--preset--font-size--small); line-height: 1.4; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); text-decoration: none; }
.liv-care__rows a::after { content: ""; flex: none; inline-size: 16px; block-size: 16px; background: var(--wp--preset--color--action); -webkit-mask: url(../img/icons/arrow-right.svg) center / contain no-repeat; mask: url(../img/icons/arrow-right.svg) center / contain no-repeat; }
[dir="rtl"] .liv-care__rows a::after { transform: scaleX(-1); }
.liv-care__rows a:hover { background: var(--wp--preset--color--divider); }
.liv-care__rows a:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
/* "Who looks after it": a card per specialty, no pictures (owner decision 2026-11-17). The name is a link that
   covers the card; under it the number of its doctors; an arrow in a white circle at the end. */
.liv-care__links { display: grid; grid-auto-rows: 1fr; gap: 12px; margin: 0; padding: 0; list-style: none; }
.liv-care__links li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 44px; align-content: center; align-items: center; column-gap: 16px; row-gap: 4px; min-block-size: 76px; box-sizing: border-box; padding: 16px 20px; border-radius: var(--wp--custom--radius--md); background: var(--wp--preset--color--surface-subtle); }
.liv-care__links li:hover { background: var(--wp--preset--color--divider); }
.liv-care__links li::before { content: ""; grid-column: 2; grid-row: 1 / span 2; inline-size: 44px; block-size: 44px; border-radius: 50%; background: var(--wp--preset--color--surface); }
.liv-care__links li::after { content: ""; grid-column: 2; grid-row: 1 / span 2; justify-self: center; inline-size: 20px; block-size: 20px; background: var(--wp--preset--color--action); -webkit-mask: url(../img/icons/arrow-right.svg) center / contain no-repeat; mask: url(../img/icons/arrow-right.svg) center / contain no-repeat; }
[dir="rtl"] .liv-care__links li::after { transform: scaleX(-1); }
.liv-care__links a { grid-column: 1; grid-row: 1; justify-self: start; font-size: var(--wp--preset--font-size--card-title); line-height: 1.35; font-weight: 600; -webkit-text-stroke-width: 0; color: var(--wp--preset--color--action); text-decoration: underline; text-underline-offset: 4px; }
.liv-care__links a::before { content: ""; position: absolute; z-index: 1; inset: 0; border-radius: inherit; }
.liv-care__links a:focus-visible { outline: 0; }
.liv-care__links a:focus-visible::before { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-care__count { grid-column: 1; grid-row: 2; font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--placeholder); }
.liv-care [hidden] { display: none !important; }

/* Doctors of the chosen area, under the two cards: their number as a title, the filter row, the cards. */
.liv-care__doctors { min-inline-size: 0; }
.liv-care .liv-doctor-rail { gap: 16px; }
.liv-care .liv-doctor-rail__count { order: -1; font-size: var(--wp--preset--font-size--card-title); line-height: 1.35; font-weight: 600; -webkit-text-stroke-width: 0; color: var(--wp--preset--color--ink); }

@media (max-width: 1023.98px) { .liv-care__layout { grid-template-columns: minmax(0, 1fr); } }
/* Side by side: both cards end on the same line. The spare height goes above and below the body map, so the field stays at the top and the hint at the bottom. */
@media (min-width: 1024px) {
	.liv-care__layout { align-items: stretch; }
	.liv-care__map > .liv-care__body { margin-block: auto !important; }
	/* The area card is as high as the map card; the specialty cards take what the head leaves and share it. */
	.liv-care.is-enhanced .liv-care__area { flex: 1; grid-template-rows: repeat(4, auto) minmax(0, 1fr); }
	.liv-care.is-enhanced .liv-care__area:has(> .liv-care__rows) { grid-template-rows: repeat(6, auto) minmax(0, 1fr); }
}

/* ---------- Treatments ---------- */
/* The treatment visuals are drawn cut off at their top and right edges: shown whole and pinned to the top right corner, so the cut edges meet the edges of the slot. */
.liv-home .liv-mcard__media img { display: block; inline-size: 100%; block-size: 194px; object-fit: contain; object-position: right top; background: var(--wp--preset--color--divider); }
.liv-mcard__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; padding: 16px; }
.liv-mcard__text { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--placeholder); }
/* Clinic cards (liv/clinic-rail): text clamps to four lines so the row stays even; a featured photo fills the slot. */
.liv-clinic-rail .liv-mcard__media { margin: 0; }
.liv-home .liv-clinic-rail .liv-mcard__media.is-photo img { object-fit: cover; object-position: center; }
.liv-clinic-rail .liv-mcard__body { gap: 12px; }
.liv-clinic-rail .liv-mcard__body h3 { font-size: var(--wp--preset--font-size--card-title); line-height: 1.35; font-weight: 600; -webkit-text-stroke-width: 0; }
.liv-clinic-rail .liv-mcard__body h3 a { color: var(--wp--preset--color--ink); text-decoration: none; }
.liv-clinic-rail .liv-mcard__body h3 a:hover { color: var(--wp--preset--color--action); }
.liv-clinic-rail .liv-mcard__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; margin-block-end: auto; }
.liv-clinic-rail .liv-mcard__body { justify-content: flex-start; }
.liv-clinic-rail .liv-mcard .wp-block-buttons { display: flex; margin-block-start: auto !important; }
.liv-clinic-rail .liv-mcard__media.is-empty { display: grid; place-items: center; block-size: 194px; background: var(--wp--preset--color--divider); }
.liv-clinic-rail .liv-mcard__media.is-empty::before { content: ""; inline-size: 48px; block-size: 48px; background: var(--wp--preset--color--border); -webkit-mask: url(../img/icons/stethoscope.svg) center / contain no-repeat; mask: url(../img/icons/stethoscope.svg) center / contain no-repeat; }

/* ---------- Medical technology ---------- */
.liv-tech__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.liv-tech__grid > * { margin: 0 !important; }
.liv-tech__kind { font-size: var(--wp--preset--font-size--caption) !important; line-height: 1.3 !important; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); color: var(--wp--preset--color--action) !important; }
@media (max-width: 1023.98px) { .liv-tech__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Our hospitals ---------- */
.liv-home .liv-hcard__media img { display: block; inline-size: 100%; block-size: 192px; object-fit: cover; background: var(--wp--preset--color--divider); }
.liv-hcard__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 16px; }
.liv-hospitals__rail .liv-hcard__media { margin: 0; }
.liv-hcard__content { display: flex; flex-direction: column; gap: 8px; }
.liv-hcard__addr { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text-secondary); }
.liv-hospitals > .wp-block-buttons { margin-block-start: 0; }

/* ---------- International Guest Center ---------- */
.liv-guest__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.liv-guest__grid > * { margin: 0 !important; }
.liv-scard { justify-content: space-between; gap: 8px; min-block-size: 202px; padding: 16px; }
.liv-scard__content { display: flex; flex-direction: column; gap: 8px; }
.liv-scard__text { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text-secondary); }
@media (max-width: 781.98px) { .liv-guest__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Awards & events ---------- */
.liv-awards__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.liv-awards__grid > * { margin: 0 !important; }
.liv-ncard { justify-content: space-between; }
.liv-home .liv-ncard__media img { display: block; inline-size: 100%; block-size: 192px; object-fit: cover; background: var(--wp--preset--color--divider); }
.liv-ncard__body { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 8px; padding: 16px; }
.liv-ncard__content { display: flex; flex-direction: column; gap: 8px; }
.liv-ncard__kind { font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); color: var(--wp--preset--color--action); }
@media (max-width: 781.98px) { .liv-awards__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Contact our team (full-width band) ---------- */
.liv-contact-band { display: flex; flex-direction: column; gap: 16px; margin-block: var(--liv-home-gap, 24px) 0 !important; padding: 56px max(32px, calc((100% - 1056px) / 2)); background: linear-gradient(90deg, var(--wp--preset--color--divider) 0%, var(--wp--preset--color--surface-warm) 100%); }
[dir="rtl"] .liv-contact-band { background: linear-gradient(270deg, var(--wp--preset--color--divider) 0%, var(--wp--preset--color--surface-warm) 100%); }
.liv-contact-band > * { margin: 0 !important; max-inline-size: none !important; }
.liv-contact-band h2 { font-size: var(--wp--preset--font-size--heading-2); line-height: 1.25; letter-spacing: -0.003em; }
.liv-contact-band__lead { font-size: var(--wp--preset--font-size--body); line-height: 1.55; color: var(--wp--preset--color--text-secondary); }
.liv-contact-band__card { display: flex; flex-direction: column; gap: 16px; padding: 16px; background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--card); }
.liv-contact-band__card > * { margin: 0 !important; }
.liv-contact-band__card h3 { font-size: var(--wp--preset--font-size--heading-3); line-height: 1.3; }
.liv-contact-band__note { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text-secondary); }
@media (min-width: 1024px) { .wp-block-post-content:has(> .liv-home) > .liv-contact-band { margin-inline: -32px !important; } }
@media (max-width: 1023.98px) { .liv-contact-band { padding: 40px 16px; } }

@media (max-width: 781.98px) {
	:is(.liv-videos, .liv-stories, .liv-care, .liv-treat, .liv-tech, .liv-hospitals, .liv-guest, .liv-awards) { padding: 24px 16px; }
}

/* Review 2026-11-11: hospital tour icon, page dots, poster play button */
.liv-btn-tour .wp-block-button__link::before { content: ""; flex: none; inline-size: 20px; block-size: 20px; background: currentColor; -webkit-mask: url(../img/icons/cube.svg) center / contain no-repeat; mask: url(../img/icons/cube.svg) center / contain no-repeat; }
.liv-story__video { position: relative; }
.liv-play { position: absolute; inset-inline-start: calc(50% - 32px); inset-block-start: calc(50% - 32px); display: grid; place-items: center; inline-size: 64px; block-size: 64px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.7); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); color: var(--wp--preset--color--ink); cursor: pointer; transition: background-color .15s; }
.liv-play:hover { background: rgb(255 255 255 / 0.9); }
.liv-play svg { inline-size: 24px; block-size: 24px; }
.liv-play:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }

.liv-hospitals .liv-slider__controls.is-dots { block-size: 6px; align-items: center; }

/* ---------- Doctors by category (liv/doctor-rail · Liv / Card / Doctor) ----------
 * Filter row 48px between 1px #C9D2DB lines ("▸ Filter doctors" 14/600 action + hint 13 muted),
 * count 13 muted, cards 304px: padding 16, gap 12, photo 272×200 radius 8 #E5EFF3,
 * specialty 13/600 action, name 20/600, chip #F2F4F6 radius 999 12px, View profile full width.
 */
.liv-doctor-rail { display: flex; flex-direction: column; gap: 12px; min-inline-size: 0; }
.liv-doctor-rail > * { margin: 0 !important; }
.liv-doctor-rail__filter { border-block: 1px solid var(--wp--preset--color--border-subtle); }
.liv-doctor-rail__filter summary { display: flex; align-items: center; gap: 16px; min-block-size: 48px; padding: 12px 0; list-style: none; cursor: pointer; }
.liv-doctor-rail__filter summary::-webkit-details-marker { display: none; }
.liv-doctor-rail__toggle { font-size: var(--wp--preset--font-size--small); line-height: 1.4; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); color: var(--wp--preset--color--action); }
.liv-doctor-rail__toggle::before { content: "▸"; margin-inline-end: 6px; display: inline-block; transition: transform 0.2s; }
.liv-doctor-rail__filter[open] .liv-doctor-rail__toggle::before { transform: rotate(90deg); }
.liv-doctor-rail__hint, .liv-doctor-rail__count { font-size: var(--wp--preset--font-size--caption); line-height: 1.45; color: var(--wp--preset--color--placeholder); }
.liv-doctor-rail__filter[open] .liv-doctor-rail__hint { display: none; }
.liv-doctor-rail__input { inline-size: 100%; block-size: var(--wp--custom--field--height); margin-block-end: 12px; padding: 0 16px; border: 1px solid var(--wp--preset--color--field-border); border-radius: var(--wp--custom--radius--sm); font: inherit; font-size: var(--wp--preset--font-size--body); color: var(--wp--preset--color--ink); background: var(--wp--preset--color--surface); }
.liv-doctor-rail__input:focus-visible { outline: 0; border-color: var(--wp--preset--color--focus); box-shadow: 0 0 0 1px var(--wp--preset--color--focus); }
.liv-doctor-rail__track { display: flex; gap: 16px; overflow-x: auto; }
.liv-doctor-rail__track > .liv-dcard { flex: 0 0 var(--liv-dcard-w, 304px) !important; }
.liv-dcard { display: flex; flex-direction: column; gap: 12px; padding: 16px; background: var(--wp--preset--color--surface); border-radius: var(--wp--custom--radius--card); }
.liv-dcard > * { margin: 0; }
.liv-dcard__photo { aspect-ratio: 272 / 200; overflow: hidden; border-radius: var(--wp--custom--radius--sm); background: #E5EFF3; }
.liv-dcard__photo img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: top; }
.liv-dcard__spec { font-size: var(--wp--preset--font-size--caption); line-height: 1.2; font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); color: var(--wp--preset--color--action); }
.liv-dcard__name { font-size: var(--wp--preset--font-size--card-title); line-height: 1.35; font-weight: 600; -webkit-text-stroke-width: 0; }
.liv-dcard__name a { color: var(--wp--preset--color--ink); text-decoration: none; }
.liv-dcard__name a:hover { color: var(--wp--preset--color--action); }
.liv-dcard__chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; list-style: none; }
.liv-dcard__chip { max-inline-size: 100%; box-sizing: border-box; }
.liv-dcard__chip svg { flex: none; }
.liv-dcard__chip span { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.liv-dcard__chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--wp--preset--color--surface-subtle); font-size: 12px; line-height: 1.2; color: var(--wp--preset--color--text-secondary); }
.liv-dcard .wp-block-buttons { display: flex; margin-block-start: auto; }
.liv-dcard .wp-block-button { flex: 1; }
.liv-dcard .wp-block-button__link { inline-size: 100%; }
.liv-dcard[hidden] { display: none !important; }
.liv-care__area .liv-doctor-rail { margin-block-start: 0 !important; }

/* Patient experiences: cards share the row (portrait videos: square media, crop anchored near the top) */
.liv-stories__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.liv-stories__grid > * { margin: 0 !important; }
.liv-story__video video[controls] { object-fit: contain; }
@media (max-width: 781.98px) {
	.liv-stories__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.liv-stories__grid > * { flex: 0 0 min(85%, 304px); scroll-snap-align: start; }
}

/* Your Liv journey: one wide panorama (2316×775) panned per stop */
.liv-trip__pano { margin: 0 !important; }
.liv-trip__pano img { transition: object-position 0.9s ease; }
.liv-trip .liv-trip__image img { object-position: 0% 50%; }
.liv-trip__stage:nth-child(2) .liv-trip__image img { object-position: 16.7% 50%; }
.liv-trip__stage:nth-child(3) .liv-trip__image img { object-position: 33.3% 50%; }
.liv-trip__stage:nth-child(4) .liv-trip__image img { object-position: 50% 50%; }
.liv-trip__stage:nth-child(5) .liv-trip__image img { object-position: 66.7% 50%; }
.liv-trip__stage:nth-child(6) .liv-trip__image img { object-position: 83.3% 50%; }
.liv-trip__stage:nth-child(7) .liv-trip__image img { object-position: 100% 50%; }

/* =====================================================================================
 * Tablet and mobile · Figma "Website Pages" → Home · 768 Tablet / Home · 390 Mobile
 * Tablet (768–1023): 16px gutters, panels 24px padding, card rows become scroll rows.
 * Phone (< 768): panels 16px padding, full-bleed hero banner 520px under the glass header.
 * Type sizes do not shrink (H2 stays 28px); only the Ask Liv title steps down on phones.
 * ===================================================================================== */
@media (max-width: 1023.98px) {
	/* Section order of the tablet / mobile frames (shell.js moves the nodes too, so reading and
	   tab order match what is shown). Not in these frames: accreditation strip, treatments,
	   guest center, awards and events. */
	.liv-home > * { order: 20; }
	.liv-home > .liv-hero { order: 1; }
	.liv-home > .liv-ask-section { order: 2; }
	.liv-home > .liv-journey { order: 3; }
	.liv-home > .liv-why { order: 4; }
	.liv-home > .liv-care { order: 5; }
	.liv-home > .liv-home-intro { order: 6; }
	.liv-home > .liv-videos { order: 7; }
	.liv-home > .liv-stories { order: 8; }
	.liv-home > .liv-trip { order: 9; }
	.liv-home > .liv-tech { order: 10; }
	.liv-home > .liv-hospitals { order: 11; }
	.liv-home > :is(.liv-accred, .liv-treat, .liv-guest, .liv-awards) { display: none; }

	/* Panels */
	.liv-why, .liv-ask-section, :is(.liv-videos, .liv-stories, .liv-care, .liv-treat, .liv-tech, .liv-hospitals, .liv-guest, .liv-awards) { padding: 24px; }
	.liv-journey { padding-inline: 24px; }
	.liv-trip { padding: 40px; gap: 24px; }
	.liv-contact-band { padding: 56px 40px; }

	/* Ask Liv: start-aligned on tablet and mobile */
	.liv-ask-section { align-items: stretch; text-align: start; }
	.liv-ask-section__lead { max-inline-size: none; }
	.liv-ask { align-items: stretch; inline-size: 100%; }
	.liv-ask__chips { justify-content: flex-start; }

	/* Scroll rows with fixed card widths (the Why choose cards are 260px on every width, see .liv-why__rail) */
	.liv-tech__grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.liv-tech__grid::-webkit-scrollbar { display: none; }
	.liv-tech__grid > * { flex: 0 0 260px; scroll-snap-align: start; }
	.liv-home .liv-videos__rail > *, .liv-home .liv-treat__rail > * { flex-basis: 288px !important; }
	.liv-home .liv-vcard__cover img { block-size: 360px; }
	.liv-vcard__cover::after { inset-block-start: calc(50% - 28px + 79px); }
	.liv-stories__grid { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
	.liv-stories__grid::-webkit-scrollbar { display: none; }
	.liv-stories__grid > * { flex: 0 0 288px; scroll-snap-align: start; }
	.liv-home .liv-hospitals__rail > * { flex-basis: 290px !important; }
	.liv-home .liv-hcard__media img { block-size: 189px; }

	/* Your Liv journey: head side by side, panorama 380 */
	.liv-trip__head { grid-template-columns: 1fr 1fr; gap: 32px; }
	.liv-trip__tabbtn { flex: 1 0 auto; }

	/* Where do you need care: one column, map card centred */
	.liv-care__map { justify-self: center; inline-size: min(100%, 498px); box-sizing: border-box; }
}

@media (max-width: 767.98px) {
	/* ---------- Hero: full-bleed vertical banner under the glass header (390 x 700, 429:2259) ----------
	 * From the top of the page, no radius. Picture box 358 x 302, 16px from the sides and 8px under the 73px
	 * header; 20px under it the bar ("Accredited care" and the four marks, 40px); 16px under the bar the text; the
	 * button stays at the bottom of every slide, the dots beside it. The picture's height follows the width, so the
	 * places below it are given as a share of the width (a percentage in padding or margin counts the width). */
	.liv-home > .liv-hero { margin-inline: -16px !important; border-radius: 0; }
	.liv-hero:has(.liv-hero__slides) { gap: 0; }
	.liv-hero__slides { border-radius: 0; }
	.liv-hero__slides > .liv-hero__slide, .liv-hero__slides > .liv-hero__slide[style*="background-image"] { justify-content: flex-start; gap: 8px; min-block-size: 0; padding-block: calc(161px + (100% - 32px) * 302 / 358) 24px; padding-inline: 16px; border-radius: 0; }
	.liv-hero__slide[style*="background-image"]::after { inset-block-start: 81px; inset-inline: 16px; inline-size: auto; block-size: auto; aspect-ratio: 358 / 302; translate: none; }
	.liv-hero__slide > * { max-inline-size: none !important; }
	.liv-hero__slide h2 { min-block-size: 2.6em; font-size: var(--wp--preset--font-size--heading-3); line-height: 1.3; letter-spacing: 0; }
	.liv-hero__slide p:not(.liv-hero__eyebrow) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; min-block-size: 3.1em; overflow: hidden; }
	.liv-hero__slide > .liv-hero__actions { margin-block-start: auto !important; padding-block-start: 8px; }
	.liv-hero .liv-carousel__dots { inset-inline: auto 16px; inset-block-end: 36px; }
	.liv-hero > .liv-accred.is-bar { position: absolute; z-index: 3; inset-block-start: 0; inset-inline: 16px; margin-block-start: calc(101px + (100% - 32px) * 302 / 358) !important; gap: 8px; min-block-size: 40px; padding-block: 6px; padding-inline: 16px 10px; }
	.liv-hero > .liv-accred.is-bar .liv-accred__eyebrow { position: static; inline-size: auto; block-size: auto; overflow: visible; clip-path: none; }
	.liv-hero > .liv-accred.is-bar .liv-accred__eyebrow-long { display: none; }
	.liv-hero > .liv-accred.is-bar .liv-accred__badges { display: flex; justify-content: flex-end; gap: 6px; inline-size: auto; }
	.liv-hero > .liv-accred.is-bar .liv-accred__label { position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); }

	/* ---------- Panels: 16px ---------- */
	.liv-why, .liv-ask-section, :is(.liv-videos, .liv-stories, .liv-treat, .liv-tech, .liv-hospitals, .liv-guest, .liv-awards), .liv-accred { padding: 16px; }
	.liv-journey { padding-inline: 16px; }
	.liv-why, .liv-ask-section, .liv-tech { gap: 12px; }
	.liv-trip { padding: 20px 16px; gap: 16px; }
	.liv-contact-band { padding: 32px 16px; }
	.liv-contact-band__card { padding: 0; background: none; border-radius: 0; }

	/* ---------- Ask Liv ---------- */
	.liv-home h2.liv-ask-section__title, .liv-ask-section__title { font-size: var(--wp--preset--font-size--heading-3); line-height: 1.3; letter-spacing: 0; }
	.liv-ask-section__lead { font-size: var(--wp--preset--font-size--small); line-height: 1.5; }
	.liv-ask { gap: 12px; }
	.liv-ask__box { padding: 14px 14px 12px; }
	.liv-ask .liv-ask__input textarea { font-size: var(--wp--preset--font-size--small); line-height: 1.5; }
	/* Suggestions: one row, scrolls sideways to the panel edge */
	.liv-ask__chips { flex-wrap: nowrap; margin-inline: -16px; padding-inline: 16px; overflow-x: auto; scrollbar-width: none; }
	.liv-ask__chips::-webkit-scrollbar { display: none; }
	.liv-ask__chips > * { flex: none; }
	.liv-ask__chip { white-space: nowrap; }

	/* ---------- Scroll rows ---------- */
	.liv-why__rail, .liv-tech__grid { gap: 12px; }
	.liv-home .liv-videos__rail > *, .liv-home .liv-treat__rail > *, .liv-home .liv-stories__grid > * { flex-basis: 248px !important; }
	.liv-home .liv-vcard__cover img { block-size: 310px; }
	.liv-vcard__cover::after { inset-block-start: calc(50% - 28px + 68px); }
	.liv-home .liv-vcard h3 { font-size: var(--wp--preset--font-size--large); line-height: 1.35; }
	.liv-story__video video { aspect-ratio: 4 / 5; }
	.liv-home .liv-hospitals__rail > * { flex-basis: 280px !important; }
	.liv-home .liv-hcard__media img { block-size: 350px; }

	/* ---------- Your Liv journey ---------- */
	.liv-trip__head { grid-template-columns: 1fr; gap: 8px; }
	.liv-trip .liv-trip__image img { block-size: 340px; }
	.liv-trip__title { padding: 20px 20px 0; font-size: var(--wp--preset--font-size--heading-3) !important; line-height: 1.3; letter-spacing: 0; }
	.liv-trip__text { padding: 6px 20px 20px; font-size: var(--wp--preset--font-size--large); }
	.liv-trip__tabbtn { flex: 0 0 116px; }
	.liv-trip__foot { flex-direction: column; align-items: stretch; gap: 16px; }

	/* ---------- Where do you need care: cards run edge to edge of the column ---------- */
	.liv-care { padding: 16px 0; }
	.liv-care > h2 { padding-inline: 16px; }
	.liv-care__layout { gap: 20px; }
	.liv-care__map { inline-size: 100%; padding: 24px 12px; }
	.liv-care__body { inline-size: min(100%, 320px); }
	.liv-care__zoom { inset-inline: 12px; }
	.liv-care__area { padding: 24px 16px; }
	.liv-care__area > .liv-care__visual { inline-size: 100px; block-size: 79px; }
	.liv-care__doctors { padding-inline: 16px; }
	.liv-care .liv-doctor-rail__track > .liv-dcard { flex-basis: var(--liv-dcard-w, 248px) !important; }
}

/* Equal-height cards (owner list 2026-11-11, items 15 and 16): names, titles and quotes keep a fixed
   number of lines and longer text ends with an ellipsis, so the cards of a row line up and the doctor
   list does not move when another body area is chosen. */
.liv-dcard__name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-block-size: 2.7em; }
.liv-care__area > h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.liv-care__area > .liv-care__text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-block-size: 3em; }
/* Cards in a row share one height; the name and the label sit on the same line in every card, whatever the length of the quote. */
.liv-story__body > .liv-story__who { margin-block-start: auto !important; padding-block-start: 8px; }
.liv-story__who, .liv-story__meta { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
/* Phones: the area card shows the name and up to three lines of text as they are (the doctors are under the cards
   now, so the card's height no longer moves them). */
@media (max-width: 767.98px) {
	.liv-care__area > .liv-care__text { -webkit-line-clamp: 3; min-block-size: 0; }
}

/* Review 2026-11-12: hospital card buttons in one row, home intro in line with the sections, play mark opens the video, bullets on the clickable "Why choose" titles */
.liv-hcard .wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.liv-home > .liv-home-intro { padding-inline: 32px; }
@media (max-width: 781.98px) { .liv-home > .liv-home-intro { padding-inline: 16px; } }
.liv-vcard:has(.liv-watch) .liv-vcard__cover { cursor: pointer; }
.liv-why__pick::before { content: ""; display: inline-block; inline-size: 6px; block-size: 6px; margin-inline-end: 8px; border-radius: 50%; background: var(--wp--preset--color--action); vertical-align: middle; }
/* Phone homepage: the hero starts at the very top, under the see-through header (no white strip above it). */
@media (max-width: 767.98px) { .liv-home { padding-block-start: 0; } }

/* Our hospitals: the whole card opens the hospital page (the name link covers the card); the buttons stay on top. */
.liv-hospitals__rail .liv-hcard { position: relative; }
.liv-hospitals__rail .liv-hcard h3 a::after { content: ""; position: absolute; inset: 0; }
.liv-hospitals__rail .liv-hcard .wp-block-buttons { position: relative; z-index: 1; align-self: flex-start; }
.liv-hospitals__rail .liv-hcard:hover h3 a { color: var(--wp--preset--color--action); }

