/*
 * Category page · Figma "Website Pages" → "Kategori Sayfası" (cancer-care · Cancer Care: Desktop 1136:44797, Mobile 1136:45010).
 * Loaded after clinic.css on pages with the "Category page" template; what differs from the shared section
 * components is scoped to that template (body class "page-template-page-category").
 * Page: the banner under the see-through header (title, accreditation bar), then the column: breadcrumb, intro,
 * tabs, and .liv-cat-body = main column + aside 344 (from 1024px, sticky; inc/category-page.php).
 * Column: as wide as the header's content, up to 1440px (owner decision 2026-11-17; the frame draws 1120).
 */

/* ---------- Column: the header's (--liv-side and --liv-side-end, assets/css/livcom-shell.css; 16px below 1024px); the banner spans the window ---------- */
.page-template-page-category .liv-main.liv-cat { max-inline-size: none; margin-inline: 0; padding: 0 0 48px; }
.page-template-page-category .liv-main.liv-cat > * { box-sizing: border-box; inline-size: auto; align-self: stretch; margin-inline: var(--liv-side, 32px) var(--liv-side-end, var(--liv-side, 32px)); }
/* Breadcrumb 16px under the banner (the column's blocks are 24px apart); its text starts at the column's edge, like the intro. */
.page-template-page-category .liv-main.liv-cat > .livh-seo-crumbs { margin-block-start: -8px !important; padding-inline: 0; }

/* ---------- Page banner (1155:7514): brand picture under an ink gradient, the Liv mark as a watermark; the header lies
 * on it (see below), then the title and the accreditation bar in the column. --liv-banner-header = height of the header. */
.page-template-page-category { --liv-banner-header: 134px; }
.page-template-page-category .liv-main.liv-cat > .liv-cat-banner { position: relative; isolation: isolate; display: flex; flex-direction: column; align-items: stretch; box-sizing: border-box; inline-size: 100%; margin-inline: 0; margin-block-start: calc(-1 * var(--liv-banner-header)) !important; padding-block-start: var(--liv-banner-header); padding-inline: var(--liv-side, 32px) var(--liv-side-end, var(--liv-side, 32px)); overflow: hidden; background: linear-gradient(to right, rgb(0 130 185 / 0.72), rgb(0 130 185 / 0.42)), var(--wp--preset--color--action) url("../img/category-banner.png") center / cover no-repeat; color: var(--wp--preset--color--surface); }
.liv-cat-banner::before { content: ""; position: absolute; z-index: -1; inset-block-start: calc(50% + 62px); inset-inline-end: max(16px, calc(50% - 720px + 140px)); inline-size: 579px; block-size: 423px; translate: 0 -50%; background: url("../img/liv-mark-watermark.svg") center / contain no-repeat; pointer-events: none; }
[dir="rtl"] .liv-cat-banner::before { scale: -1 1; }
.liv-cat-banner > * { margin: 0 !important; max-inline-size: none !important; }
.liv-cat-banner__body { display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; inline-size: auto; padding-block: 16px 32px; }
.liv-cat-banner__body > * { margin: 0 !important; max-inline-size: none !important; }
.liv-cat-banner__title { font-size: var(--wp--preset--font-size--heading-1); line-height: 1.2; letter-spacing: -0.005em; color: var(--wp--preset--color--surface); }

/* Accreditations · on banner (1155:7519): white bar 44px, the eyebrow at the start, the four badges at the end. */
.liv-cat-banner .liv-accred.is-bar { position: static; margin: 0 !important; flex-flow: row nowrap; align-items: center; justify-content: space-between; gap: 16px; box-sizing: border-box; min-block-size: 44px; padding: 6px 16px; border-radius: var(--wp--custom--radius--md); background: rgb(255 255 255 / 0.92); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.liv-cat-banner .liv-accred.is-bar .liv-accred__eyebrow { text-align: start; white-space: nowrap; }
.liv-cat-banner .liv-accred.is-bar .liv-accred__eyebrow.is-short { display: none; }
.liv-cat-banner .liv-accred.is-bar .liv-accred__badges { display: flex; flex-wrap: nowrap; align-items: center; justify-content: flex-end; gap: 32px; inline-size: auto; }
.liv-cat-banner .liv-accred.is-bar .liv-accred__badge { flex-direction: row; align-items: center; gap: 8px; inline-size: auto; }
.liv-cat-banner .liv-accred.is-bar .liv-accred__mark { flex: none; }
.liv-cat-banner .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; }

/* The header on the banner (see-through, white logo and labels): shell.css, "Header on a dark top". */

/* ---------- Intro: section label (Liv / Label / Eyebrow 13/1.3, 6%) ---------- */
.page-template-page-category .liv-review-meta__label { font-size: var(--wp--preset--font-size--caption); line-height: 1.3; letter-spacing: 0.06em; }
/* Section headings in action blue (Figma 5:14029: text/heading #0082B9). */
.page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) h2.wp-block-heading,
.page-template-page-category .liv-cat-main .liv-cat-contact > h2 { color: var(--wp--preset--color--action); }

/* ---------- Section tabs (Liv / Navigation / Section Tabs): label and chips on the page, no card ----------
 * Sticky under the header for the whole page (a child of <main>). 12px above and below the chip row, taken back
 * by the margins, so the blocks around it stay 24px away. Shift = padding + title line + gap - 12px. */
.page-template-page-category .liv-cat > .liv-section-tabs { --liv-tabs-shift: 32px; margin-block: -12px !important; padding: 12px 0; border-radius: 0; }
.page-template-page-category .liv-section-tabs__title { line-height: 1.4; letter-spacing: 0.08em; }
/* The chips as in Figma "Yeni Tasarım" (Liv / Navigation / Filter, 5:14024; owner 2026-11-23 "tüm sayfalar için
   kategori sayfaları butonları böyle yapalım"): white with a 1px Liv-blue line, ink text; the current one filled. */
.page-template-page-category .liv-section-tabs a { box-sizing: border-box; min-block-size: 48px; padding: 0 16px; border: 1px solid var(--wp--preset--color--action); border-radius: 10px; background: var(--wp--preset--color--surface); font-size: 14px; line-height: 1.5; font-weight: 400; color: #163B4D; }
.page-template-page-category .liv-section-tabs a:hover { background: rgb(0 130 185 / 0.06); }
.page-template-page-category .liv-section-tabs a[aria-current] { background: var(--wp--preset--color--action); color: var(--wp--preset--color--surface); }
/* The row scrolls sideways, so it clips what leaves its box: 2px of room above and below (taken back by the margins)
   keep the chips' 1px lines whole (owner 2026-11-23: the lower line was cut). */
.page-template-page-category .liv-section-tabs ul { padding-block: 2px; margin-block: -2px; }
/* Stuck, the row is a bar across the window (white, the shadow under its whole width) instead of a strip that ends
   at the column's edges. The bar is drawn far beyond the column and cut at the window by <main>; where "clip" is
   not known, the row keeps the column's width. */
@supports (overflow: clip) {
	.page-template-page-category .liv-main.liv-cat { overflow-x: clip; }
	.page-template-page-category .liv-cat > .liv-section-tabs.is-stuck { box-shadow: none; }
	.page-template-page-category .liv-cat > .liv-section-tabs.is-stuck::before { content: ""; position: absolute; z-index: -1; inset-block: 0; inset-inline: -100vw; background: var(--wp--preset--color--surface); box-shadow: 0 12px 20px -14px rgb(23 59 77 / 0.28); pointer-events: none; }
}
/* A heading a tab leads to stops under the stuck tab row (72px), with the section's own padding above it. */
.page-template-page-category .liv-cat { --liv-tabs-stop: 112px; }

/* ---------- Body: main column + aside ---------- */
.liv-cat-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; align-items: start; }
.liv-cat-body > * { margin: 0 !important; min-inline-size: 0; }
.liv-cat-aside { display: none; }
@media (min-width: 1024px) {
	.liv-cat-body.has-aside { grid-template-columns: minmax(0, 1fr) 344px; }
	/* Sticky aside: 24px under the header and the stuck tab row (72px). category.js moves the offset with the
	   scroll when the aside is taller than the window, so every card can be reached in both directions. */
	.liv-cat-aside { display: flex; flex-direction: column; gap: 16px; position: sticky; inset-block-start: calc(var(--liv-bar, 0px) + var(--liv-sticky-top, 0px) + 96px); }
	/* The tabs are above the body again (2026-11-23), so the aside stops under their stuck row, not under the header
	   (livcom-shell.css keeps 24px for the technology pages, whose tabs open the main column). */
	body.page-template-page-category .liv-cat-body > .liv-cat-aside { inset-block-start: calc(var(--liv-bar, 0px) + var(--liv-sticky-top, 0px) + 96px); }
}

/* Sections: one surface for all of them (the stored "white" variant included). */
.page-template-page-category .liv-cat-main > .is-style-section-white { background: var(--wp--preset--color--surface-subtle); }

/* ---------- Figure · image: photo, Liv strip (36px, white logo at the end), caption on white ---------- */
.page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) :is(.wp-block-group, .wp-block-column) > .wp-block-image,
.page-template-page-category .liv-cat-main > :is(.is-style-section, .is-style-section-white) > .wp-block-image { display: flex; flex-direction: column; border-radius: var(--wp--custom--radius--md); }
.page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) :is(.wp-block-group, .wp-block-column) > .wp-block-image::before,
.page-template-page-category .liv-cat-main > :is(.is-style-section, .is-style-section-white) > .wp-block-image::before { content: ""; order: 1; flex: none; block-size: 36px; background: var(--wp--preset--color--action) url("../img/liv-logo-horizontal-white.png") no-repeat right 12px center / auto 20px; }
[dir="rtl"] .page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) .wp-block-image::before { background-position: left 12px center; }
.page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) .wp-block-image figcaption { order: 2; background: var(--wp--preset--color--surface); }

/* A figure that follows the first paragraph (its place on phones) is drawn at the end of its section from 768px (class "liv-fig-end").
   Photos keep the frame's proportions there (688 x 403), whatever the file's own. */
@media (min-width: 768px) {
	.page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) .wp-block-image img { aspect-ratio: 688 / 403; object-fit: cover; }
	/* A taller figure (class "liv-fig-tall"): 630px high at any width, as the case review photo of the frame (688 x 630). */
	.page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) .wp-block-image.liv-fig-tall img { aspect-ratio: auto; block-size: 630px; }
	.page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) > .liv-fig-end { order: 99; }
}

/* ---------- Section · Video (1180:6812): "Related Videos" shows three videos in a row ----------
 * The section is a card like the others (owner decision 2026-11-17; the frame draws it white, which read as set in
 * from the sections around it).
 * Video = Liv / Content / Video Embed (block liv/video-dialog: 16:9 poster, 64px play button; the player opens in a
 * dialog). Three in a row from 1024px; below that a carousel. */
.liv-video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.liv-video-grid > * { margin: 0 !important; max-inline-size: none !important; min-inline-size: 0; }
/* No text under the previews (owner decision 2026-11-17); a video's title stays in the label of its play link and in the player. */
.liv-video-grid .liv-video__title { display: none; }
/* Below 1024px a carousel (owner decision 2026-11-17): one row that is swiped sideways and stops at each video; the
   row runs to the section's edges and the next video shows at the side. */
@media (max-width: 1023.98px) {
	.liv-video-grid { display: flex; gap: 12px; margin-inline: -24px; padding-inline: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 24px; overscroll-behavior-x: contain; scrollbar-width: none; }
	.liv-video-grid::-webkit-scrollbar { display: none; }
	.liv-video-grid > * { flex: 0 0 46%; scroll-snap-align: start; }
}
@media (max-width: 767.98px) {
	.liv-video-grid { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; }
	.liv-video-grid > * { flex-basis: 86%; }
}

/* ---------- Table: white header row, first column as a card title ---------- */
.page-template-page-category .liv-cat .wp-block-table thead th { background: var(--wp--preset--color--surface); }
@media (min-width: 768px) {
	.page-template-page-category .liv-cat .wp-block-table tbody td:first-child { inline-size: min(300px, 44%); }
}

/* ---------- FAQ · all open, one card under the other ---------- */
.page-template-page-category .liv-cat-main .liv-faq-cards .livh-sss__list { flex-direction: column; overflow: visible; scroll-snap-type: none; background: none; border-radius: 0; }
.page-template-page-category .liv-cat-main .liv-faq-cards .livh-sss__item { flex: none !important; min-block-size: 0; padding: 18px 24px; }
.page-template-page-category .liv-cat-main .liv-faq-cards .livh-sss__q { min-block-size: 0; }
.page-template-page-category .liv-cat-main .liv-faq-cards .liv-slider__controls { display: none; }

/* ---------- Section · Contact our team: warm band, the form on a white card ---------- */
.liv-cat-contact { display: flex; flex-direction: column; gap: 16px; box-sizing: border-box; padding: 56px 32px; border-radius: var(--wp--custom--radius--card); background: linear-gradient(to right, var(--wp--preset--color--divider), var(--wp--preset--color--surface-warm)); color: var(--wp--preset--color--ink); scroll-margin-block-start: calc(var(--liv-bar, 0px) + var(--liv-sticky-top, 0px) + 96px); }
.liv-cat-contact > *, .liv-cat-contact__card > * { margin: 0 !important; max-inline-size: none !important; }
.liv-cat-contact > h2 { font-size: var(--wp--preset--font-size--heading-2); line-height: 1.25; letter-spacing: -0.003em; }
.liv-cat-contact__lead { font-size: var(--wp--preset--font-size--body); line-height: 1.55; color: var(--wp--preset--color--text-secondary); }
.liv-cat-contact__card { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: var(--wp--custom--radius--card); background: var(--wp--preset--color--surface); }
.liv-cat-contact__card > h3, .liv-aside-quote__body > h3 { font-size: var(--wp--preset--font-size--heading-3); line-height: 1.3; color: var(--wp--preset--color--ink); }
.liv-cat-contact__note { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--text-secondary); }

/* ---------- Forms of the page: in the look of the contact page's form (.lc-ct-form, assets/css/livcom-shell.css;
   inc/category-page.php liv_category_form(); owner 2026-11-24) ---------- */

/* ---------- Aside cards ---------- */
.liv-aside-card { box-sizing: border-box; min-inline-size: 0; border-radius: var(--wp--custom--radius--card); color: var(--wp--preset--color--ink); }
.liv-aside-card :is(h2, h3, p, ul) { margin: 0; }
.liv-aside-card__title { 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); }

/* Card · Get a free quote: dark header, the form below */
.liv-aside-quote { overflow: hidden; background: var(--wp--preset--color--surface); box-shadow: 0 6px 24px rgb(0 130 185 / 0.1); }
.liv-aside-quote__head { display: flex; flex-direction: column; gap: 4px; box-sizing: border-box; min-block-size: 92px; padding: 20px; background: var(--wp--preset--color--action); }
.liv-aside-quote__head .liv-aside-card__title { color: var(--wp--preset--color--surface); }
.liv-aside-quote__head p { font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: #D1E0E8; }
.liv-aside-quote__body { display: flex; flex-direction: column; gap: 12px; padding: 16px; }


/* Card · Related doctors (60:971): white card, title and "Choose hospital", a list that shows three doctors and the
   top of the fourth and scrolls (owner 2026-11-24; assets/js/category.js) */
.liv-aside-doctors { display: flex; flex-direction: column; gap: 16px; padding: 20px; background: var(--wp--preset--color--surface); box-shadow: 0 4px 10px rgb(0 130 185 / 0.08); }
.liv-aside-doctors__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-block-size: 36px; }
.liv-aside-doctors__head .liv-aside-card__title { line-height: 1.3; font-weight: 700; white-space: nowrap; }
.liv-aside-doctors__pick { position: relative; flex: none; min-inline-size: 0; }
.liv-aside-doctors__btn { display: inline-flex; align-items: center; gap: 8px; box-sizing: border-box; max-inline-size: 152px; margin: 0; padding: 8px 10px 8px 14px; border: 1px solid var(--wp--preset--color--border-subtle); border-radius: 999px; background: var(--wp--preset--color--surface); font: inherit; font-size: var(--wp--preset--font-size--small); 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--ink); cursor: pointer; }
[dir="rtl"] .liv-aside-doctors__btn { padding: 8px 14px 8px 10px; }
.liv-aside-doctors__btn > span { min-inline-size: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.liv-aside-doctors__btn svg { flex: none; inline-size: 16px; block-size: 16px; transition: rotate 0.15s ease; }
[dir="rtl"] .liv-aside-doctors__btn svg { scale: -1 1; }
.liv-aside-doctors__btn:hover, .liv-aside-doctors__btn[aria-expanded="true"], .liv-aside-doctors__btn.is-filtered { border-color: var(--wp--preset--color--action); }
.liv-aside-doctors__btn[aria-expanded="true"] svg { rotate: 90deg; }
.liv-aside-doctors__btn:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-aside-doctors__menu { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; z-index: 5; box-sizing: border-box; inline-size: max-content; min-inline-size: 220px; max-inline-size: 304px; max-block-size: 368px; margin: 0; padding: 6px; overflow-y: auto; list-style: none; border: 1px solid var(--wp--preset--color--border-subtle); border-radius: var(--wp--custom--radius--md); background: var(--wp--preset--color--surface); box-shadow: 0 8px 24px rgb(0 130 185 / 0.14); }
.liv-aside-doctors__menu[hidden] { display: none; }
.liv-aside-doctors__menu button { display: block; box-sizing: border-box; inline-size: 100%; margin: 0; padding: 10px 12px; border: 0; border-radius: var(--wp--custom--radius--sm); background: none; font: inherit; font-size: var(--wp--preset--font-size--small); line-height: 1.4; text-align: start; color: var(--wp--preset--color--ink); cursor: pointer; }
.liv-aside-doctors__menu button:hover, .liv-aside-doctors__menu button:focus-visible { outline: 0; background: var(--wp--preset--color--surface-tint); }
.liv-aside-doctors__menu button[aria-checked="true"] { background: var(--wp--preset--color--surface-tint); font-weight: var(--liv-fw-label, 600); -webkit-text-stroke-width: var(--liv-ts-label, 0); color: var(--wp--preset--color--action); }
/* Two rows (72px each) and the 16px between them are in view; the rest scrolls. */
.liv-aside-doctors__list { display: flex; flex-direction: column; gap: 16px; max-block-size: 289px; margin: 0; padding: 0; padding-inline-end: 10px; overflow-y: auto; overscroll-behavior: contain; list-style: none; scrollbar-width: thin; scrollbar-color: var(--wp--preset--color--action) #E7EEF3; }
.liv-aside-doctors__list:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 4px; }
.liv-aside-doctors__list > li[hidden] { display: none; }
.liv-aside-doctor { display: flex; align-items: center; gap: 14px; border-radius: var(--wp--custom--radius--sm); color: var(--wp--preset--color--ink); text-decoration: none; }
.liv-aside-doctor:hover .liv-aside-doctor__name { color: var(--wp--preset--color--action); }
.liv-aside-doctor:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: -2px; }
.liv-aside-doctor__photo { flex: none; display: grid; place-items: center; inline-size: 72px; block-size: 72px; overflow: hidden; border-radius: 50%; background: var(--wp--preset--color--surface-tint); color: var(--wp--preset--color--action); }
.liv-aside-doctor__photo img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; object-position: center top; }
.liv-aside-doctor__text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
.liv-aside-doctor__hospital { font-size: 0.75rem; 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: var(--wp--preset--color--placeholder); }
.liv-aside-doctor__name { font-size: var(--wp--preset--font-size--body); line-height: 1.25; font-weight: 700; overflow-wrap: anywhere; }
.liv-aside-doctor__spec { 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); }

/* Card · Trusted worldwide (60:1011): stripe and panel on the action colour; the title on three lines with the
   anniversary mark beside it, then the three logos in one row (56px high). */
.liv-aside-trust { display: flex; align-items: stretch; gap: 6px; min-inline-size: 0; color: var(--wp--preset--color--surface); }
.liv-aside-trust :is(h2, p, ul) { margin: 0; }
.liv-aside-trust__stripe { flex: none; display: grid; place-items: center; inline-size: 34px; border-start-start-radius: 16px; border-start-end-radius: 4px; border-end-end-radius: 4px; border-end-start-radius: 16px; background: var(--wp--preset--color--action); }
.liv-aside-trust__stripe span { writing-mode: vertical-rl; rotate: 180deg; font-size: var(--wp--preset--font-size--caption); line-height: 1.3; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; }
.liv-aside-trust__panel { flex: 1; display: flex; flex-direction: column; gap: 20px; box-sizing: border-box; min-inline-size: 0; padding: 22px; border-start-start-radius: 28px; border-start-end-radius: 16px; border-end-end-radius: 16px; border-end-start-radius: 4px; background: var(--wp--preset--color--action); }
.liv-aside-trust__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.liv-aside-trust__title { font-size: 1.875rem; line-height: 1.05; font-weight: 700; white-space: nowrap; color: var(--wp--preset--color--surface); }
.liv-aside-trust__badge { flex: none; display: block; inline-size: 84px; block-size: auto; }
.liv-aside-trust__panel ul { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0; list-style: none; }
.liv-aside-trust__panel li { display: block; min-inline-size: 0; }
.liv-aside-trust__panel li img { display: block; inline-size: auto; block-size: 56px; max-inline-size: 100%; }

/* Card · Was this content helpful (markup of the card: liv_category_feedback_card(); votes: Liv Geri Bildirim) */
.liv-aside-feedback { padding: 20px; background: var(--wp--preset--color--surface-subtle); }
.liv-cat-aside .liv-aside-feedback .feedback-card { display: flex; flex-direction: column; gap: 8px; inline-size: auto; max-inline-size: none; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; font: inherit; text-align: start; color: var(--wp--preset--color--ink); }
.liv-cat-aside .liv-aside-feedback .feedback-card > p { margin: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.5; color: var(--wp--preset--color--ink); }
.liv-cat-aside .liv-aside-feedback .feedback-buttons { display: flex; flex-direction: row; gap: 8px; margin: 0; padding-block-start: 4px; }
.liv-cat-aside .liv-aside-feedback .feedback-btn { flex: 1 1 0; display: inline-flex; align-items: center; justify-content: center; min-inline-size: 0; min-block-size: 47px; margin: 0; padding: 12px 16px; border: 1px solid var(--wp--preset--color--border-subtle); border-radius: 999px; background: var(--wp--preset--color--surface); box-shadow: none; 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); color: var(--wp--preset--color--ink); white-space: nowrap; cursor: pointer; transform: none; }
.liv-cat-aside .liv-aside-feedback .feedback-btn span { color: inherit; font: inherit; }
.liv-cat-aside .liv-aside-feedback .feedback-btn:hover { border-color: var(--wp--preset--color--action); background: var(--wp--preset--color--surface); color: var(--wp--preset--color--ink); }
.liv-cat-aside .liv-aside-feedback .feedback-btn:focus-visible { outline: var(--wp--custom--focus-ring); outline-offset: 2px; }
.liv-cat-aside .liv-aside-feedback .feedback-btn.is-secili { border-color: var(--wp--preset--color--action); background: var(--wp--preset--color--action); color: var(--wp--preset--color--surface); }

/* =====================================================================================
 * Tablet and phone (Mobile 1136:45010). No aside; 16px gutters. Tablet: the banner keeps the bar with the four
 * badges spread. Phone: banner with the title only (1155:7627), figures as 4:5 photos, the table as one card
 * per row, sections and the contact band 16px.
 * ===================================================================================== */
@media (max-width: 1023.98px) {
	.page-template-page-category { --liv-banner-header: 73px; }
	.page-template-page-category .liv-main.liv-cat > * { margin-inline: 16px; }
	.page-template-page-category .liv-main.liv-cat > .liv-cat-banner { margin-inline: 0; padding-inline: 16px; }
	.liv-cat-banner .liv-accred.is-bar { justify-content: center; }
	.liv-cat-banner .liv-accred.is-bar .liv-accred__eyebrow { display: none; }
	.liv-cat-banner .liv-accred.is-bar .liv-accred__badges { flex: 1; justify-content: space-between; gap: 8px; }
	.liv-cat-contact { padding: 40px 24px; }
}
@media (max-width: 767.98px) {
	/* Banner (1155:7627): the title only, 12px under the header and 20px above the edge; the mark in the middle. */
	.liv-cat-banner__body { padding-block: 12px 20px; }
	.liv-cat-banner .lc-ticker.is-band { display: none; }
	.liv-cat-banner .liv-accred { display: none; }
	.liv-cat-banner::before { inset-block-start: calc(50% + 32px); inset-inline-end: calc(50% - 150px); inline-size: 301px; block-size: 219px; }


	.page-template-page-category .liv-cat { --liv-tabs-stop: 96px; }

	/* Figure photos: 4:5 */
	.page-template-page-category .liv-cat-main :is(.is-style-section, .is-style-section-white) .wp-block-image img { aspect-ratio: 4 / 5; object-fit: cover; }

	/* Table · one white card per row, stacked: title 20, text 16, last cell 14 muted */
	.page-template-page-category .liv-cat .wp-block-table tbody { flex-direction: column; gap: 8px; margin-inline: 0; padding-inline: 0; overflow: visible; scroll-snap-type: none; }
	.page-template-page-category .liv-cat .wp-block-table tr { flex: none; gap: 4px; padding: 12px; border-radius: var(--wp--custom--radius--sm); background: var(--wp--preset--color--surface); }
	.page-template-page-category .liv-cat .wp-block-table tbody td { font-size: var(--wp--preset--font-size--body); line-height: 1.55; }
	.page-template-page-category .liv-cat .wp-block-table tbody td:first-child { font-size: var(--wp--preset--font-size--card-title); line-height: 1.35; }
	.page-template-page-category .liv-cat .wp-block-table tbody td:last-child:not(:first-child) { margin-block-start: 0; padding-block-start: 0; border: 0; font-size: var(--wp--preset--font-size--small); line-height: 1.5; font-weight: 400; -webkit-text-stroke-width: 0; color: var(--wp--preset--color--text-secondary); }

	/* FAQ cards */
	.page-template-page-category .liv-cat-main .liv-faq-cards .livh-sss__item { padding: 18px 16px; }
	.page-template-page-category .liv-cat-main .liv-faq-cards .livh-sss__a { font-size: var(--wp--preset--font-size--body); line-height: 1.55; }

	/* Contact band (29:564): 32px above and below, 16px at the sides */
	.liv-cat-contact { padding: 32px 16px; }
}

/* ---------- A technology's page (templates/single-medical-technologies.html, inc/technology-page.php): the
   category page's design; the technology's picture leads the main column, each H2 of the text is a card. ---------- */
.liv-cat--tech > .liv-post-meta { margin-block: 0 !important; }
.liv-tech-figure { margin: 0; overflow: hidden; border-radius: var(--wp--custom--radius--card, 16px); background: var(--wp--preset--color--surface-subtle); }
.liv-tech-figure img { display: block; inline-size: 100%; block-size: auto; max-block-size: 460px; object-fit: cover; }
.liv-cat--tech .liv-cat-main > .liv-tech-section > :first-child { margin-block-start: 0; }
.liv-cat--tech .liv-cat-main > .liv-tech-section > :last-child { margin-block-end: 0; }
.liv-cat--tech .liv-cat-main > .liv-tech-section img { max-inline-size: 100%; block-size: auto; border-radius: var(--wp--custom--radius--md, 12px); }

/* =====================================================================================
 * Aside of the category page as in Figma "Yeni Tasarım" · Kategori Sayfası (owner 2026-11-23, "4 5 6 da yapalım").
 * Also the doctor pages (owner 2026-11-23). The quote card carries "is-figma" (liv_category_aside_figma()), which makes
 * these rules win over the aside's site-wide pills (livcom-shell.css); the technology pages keep the pills.
 * ===================================================================================== */
/* Card · Get a free quote (5:14176): blue head, "Tell us about your case", the fields one under the other with their
   icons (48px, 8px corners), the message 160px, the consents in 48px boxes (10px corners), the button 52px. */
.liv-cat-aside .liv-aside-quote.is-figma { border: 0; border-radius: 16px; box-shadow: 0 6px 24px rgb(22 59 77 / 0.1); }
/* The head as the contact page's card "Contact Us" (owner 2026-11-23, Liv / Form / Contact · beta): the band from
   #178FD9 to #006B9E with a faint ring at its corner, the phone icon, the title 24 bold, the line under it. */
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__head { position: relative; isolation: isolate; display: flex; flex-direction: row; align-items: center; gap: 14px; overflow: hidden; min-block-size: 88px; padding: 18px 24px; border: 0; background: linear-gradient(90deg, #178FD9, #006B9E); color: #FFFFFF; }
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__head::before { content: none; }
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__head::after { content: ""; position: absolute; z-index: -1; inset-block-start: -40px; inset-inline-end: -50px; inline-size: 170px; block-size: 170px; border-radius: 50%; background: rgb(255 255 255 / 0.08); pointer-events: none; }
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__head > svg { flex: none; inline-size: 28px; block-size: 28px; color: #FFFFFF; }
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__titles { display: flex; flex-direction: column; gap: 2px; min-inline-size: 0; }
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__head .liv-aside-card__title { margin: 0; font-size: 24px; line-height: 1.3; font-weight: 700; color: #FFFFFF; }
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__head p { margin: 0; font-size: 13px; line-height: 1.45; color: rgb(255 255 255 / 0.85); }
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__body { gap: 12px; padding: 16px; }
.liv-cat-aside .liv-aside-quote.is-figma .liv-aside-quote__lead { margin: 0; font-size: 22px; line-height: 1.3; font-weight: 700; color: var(--wp--preset--color--action); }

/* Card · Trusted worldwide (5:14221): one blue card, 24px inside, 20px between its rows. */
.liv-aside-trust.is-card { display: flex; flex-direction: column; align-items: stretch; gap: 20px; box-sizing: border-box; padding: 24px; border-radius: 16px; background: var(--wp--preset--color--action); color: var(--wp--preset--color--surface); }
.liv-aside-trust.is-card .liv-aside-trust__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.liv-aside-trust.is-card .liv-aside-trust__text { display: flex; flex-direction: column; gap: 4px; min-inline-size: 0; }
.liv-aside-trust.is-card .liv-aside-trust__eyebrow { font-size: 12px; line-height: 1.45; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0.8; }
.liv-aside-trust.is-card .liv-aside-trust__eyebrow.is-by { padding-block-start: 20px; border-block-start: 1px solid rgb(255 255 255 / 0.24); font-size: 11px; }
.liv-aside-trust.is-card .liv-aside-trust__title { display: flex; flex-direction: column; gap: 4px; font-size: inherit; line-height: inherit; white-space: normal; color: inherit; }
.liv-aside-trust.is-card .liv-aside-trust__num { font-size: 56px; line-height: 1; font-weight: 700; }
.liv-aside-trust.is-card .liv-aside-trust__label { font-size: 18px; line-height: 1.3; font-weight: 600; }
.liv-aside-trust.is-card .liv-aside-trust__badge { inline-size: 83px; block-size: auto; }
.liv-aside-trust.is-card ul { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0; padding: 0; list-style: none; }
.liv-aside-trust.is-card li { display: block; min-inline-size: 0; }
.liv-aside-trust.is-card li img { display: block; inline-size: auto; block-size: 44px; max-inline-size: 100%; }

/* Section · Video with one video (5:14132): the heading, a line of text, then the video across the card (16:9) on
   every width; three videos stay a row / a carousel. */
.liv-video-grid:has(> :only-child) { display: block; margin-inline: 0; padding-inline: 0; overflow: visible; }

/* =====================================================================================
 * The page's video (inc/category-page.php liv_category_video_first(); owner 2026-11-24): in the first section,
 * under the first paragraph after its heading; the film's title (a level 3 heading, Liv blue), then YouTube's own player as
 * on the beta site's clinic pages: the column's full width, 16:9, corners 12, no shadow, no border.
 * ===================================================================================== */
.page-template-page-category .liv-cat .liv-cat-videos.is-intro { display: flex; flex-direction: column; gap: 12px; box-sizing: border-box; margin: 8px 0 !important; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.page-template-page-category .liv-cat .liv-cat-videos.is-intro > * { margin: 0 !important; max-inline-size: none !important; }
.page-template-page-category .liv-cat .liv-cat-videos.is-intro :is(h2, h3).wp-block-heading { margin: 0; padding: 0; color: #0082B9; font-size: var(--wp--preset--font-size--heading-3); line-height: 1.3; font-weight: 700; -webkit-text-stroke-width: 0; }
.page-template-page-category .liv-cat .liv-cat-videos.is-intro > p { color: #163B4D; font-size: 16px; line-height: 1.55; }
.page-template-page-category .liv-cat .liv-cat-videos.is-intro .liv-video-grid { display: block; margin: 0; padding: 0; overflow: visible; }
.page-template-page-category .liv-cat .liv-cat-player { margin: 0; }
.page-template-page-category .liv-cat .liv-cat-player iframe { display: block; inline-size: 100%; block-size: auto; aspect-ratio: 16 / 9; margin: 0; border: 0; border-radius: 12px; box-shadow: none; background: transparent; }
