/* Clinic card family v2 (ADR-072): pro card (wide / tall / boost), centre card (tile) and centre row.
 * First written from the approved étude (docs/website-redesign/card-types.md §20); from now on THIS file is the source.
 * After every edit run  py -I tools/build_site_cards_css.py  so the panel previews follow.
 * Every class carries the fkc- prefix and every variable --fkc- so the theme and the panel cannot reach in. */
:root {

	
	--fkc-bg-page: #f2f3f4; --fkc-surface: #ffffff; --fkc-ink: #122c3a; --fkc-primary: #5f7e91; --fkc-body: #3d5560; --fkc-subtle: #5c707b; --fkc-muted: #7d919c;
	--fkc-neutral: #f8f8f8; --fkc-neutral-btn: #f4f6f7; --fkc-btn-hover: #e8edef; --fkc-border: #eef0f1; --fkc-line: #e3e9ec; --fkc-gallery-border: rgba(18, 44, 58, .22);
	--fkc-grad: linear-gradient(90deg, #5f7e91 0%, #122c3a 100%);
	
	--fkc-fs-micro: 11px; --fkc-fs-caption: 12px; --fkc-fs-secondary: 13px; --fkc-fs-body: 14px;
	--fkc-pill-h: 22px; --fkc-pill-px: 8px; --fkc-pill-gap: 5px; --fkc-pill-fs: 11px; --fkc-pill-fw: 600; --fkc-pill-max: 100%;
	--fkc-svc-bg: #e8eff3; --fkc-svc-fg: #2f4a58; --fkc-svc-ic: #5f7e91;
	--fkc-ins-bg: #ddeff3; --fkc-ins-fg: #0b5764; --fkc-ins-ic: #2c7a87;
	--fkc-open-bg: #dff0e8; --fkc-open-fg: #285847;
	--fkc-more-bd: #dfe5e8; --fkc-star: #c99a2e;
}

 html body .fkc-fx { display: flex; flex-wrap: nowrap; gap: var(--fkc-pill-gap); height: var(--fkc-pill-h); overflow: hidden; min-width: 0; }
 html body .fkc-pill { display: inline-flex; align-items: center; gap: 4px; height: var(--fkc-pill-h); padding: 0 var(--fkc-pill-px); border-radius: 999px; font-size: var(--fkc-pill-fs); font-weight: var(--fkc-pill-fw); white-space: nowrap; flex-shrink: 0; max-width: var(--fkc-pill-max); cursor: default; border: 0; }
 html body .fkc-pill svg { flex-shrink: 0; }
 html body .fkc-pill__t { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
 html body .fkc-pill--svc { background: var(--fkc-svc-bg); color: var(--fkc-svc-fg); flex-shrink: 1; min-width: 0; }
 html body .fkc-pill--svc svg { color: var(--fkc-svc-ic); }
 html body .fkc-pill--ins { background: var(--fkc-ins-bg); color: var(--fkc-ins-fg); }
 html body .fkc-pill--ins svg { color: var(--fkc-ins-ic); }
 html body .fkc-pill--ref { background: var(--fkc-ins-bg); color: var(--fkc-ins-fg); font-weight: 500; max-width: none; }
 html body .fkc-pill--open { background: var(--fkc-open-bg); color: var(--fkc-open-fg); font-weight: 500; }
 html body .fkc-pill--more { background: var(--fkc-ins-bg); color: var(--fkc-ins-fg); border: 0; font-weight: 600; cursor: pointer; transition: background-color .16s ease; }
 html body .fkc-pill--more svg { color: var(--fkc-ins-ic); }
 html body .fkc-pill--more .fkc-chv { margin-inline-start: -1px; transition: transform .16s ease; }
 html body .fkc-pill--more[aria-expanded="true"] .fkc-chv { transform: rotate(180deg); }
 html body .fkc-pill.cut, html body .fkc-pill--ins { cursor: pointer; }
 html body .fkc-btn2 { background: var(--fkc-neutral-btn); color: var(--fkc-primary); border: 0; cursor: pointer; transition: background-color .16s ease, color .16s ease; text-decoration: none; }
 html body .fkc-btn2:hover, html body .fkc-btn2[aria-expanded="true"] { background: var(--fkc-btn-hover); color: var(--fkc-ink); }
 html body .fkc-btn1 { background: var(--fkc-primary); color: #fff; border: 0; cursor: pointer; transition: background-color .16s ease; text-decoration: none; }
 html body .fkc-btn1:hover { background: var(--fkc-ink); }
 html body .fkc-av { position: relative; border-radius: 999px; overflow: hidden; background: var(--fkc-neutral-btn); color: var(--fkc-muted); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
 html body .fkc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
 html body .fkc-mk { position: absolute; bottom: -3px; left: -3px; width: 20px; height: 20px; border-radius: 999px; background: var(--fkc-ins-bg); color: var(--fkc-ins-fg); border: 2px solid var(--fkc-surface); display: flex; align-items: center; justify-content: center; line-height: 0; cursor: pointer; }
 html body .fkc-avwrap { position: relative; z-index: 1; }
 html body .fkc-cc { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto auto auto; align-content: center; column-gap: 10px; height: 180px; padding: 10px; background: var(--fkc-surface); border: 1px solid var(--fkz-card-line, rgba(18,44,58,.16)); border-radius: 16px; }
 html body .fkc-cc .fkc-av { width: 44px; height: 44px; }
 html body .fkc-cc > .fkc-avwrap { align-self: center; }
 html body .fkc-cc__id { display: flex; flex-direction: column; justify-content: center; gap: 6px; min-width: 0; }
 html body .fkc-cc .fkc-cc__name.long { font-size: var(--fkc-fs-secondary); line-height: 20px; max-height: 40px; }
 html body .fkc-cc__id .fkc-cc__name { align-self: stretch; }
 html body .fkc-cc__name { align-self: center; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-height: 44px; line-height: 22px; font-size: var(--fkc-fs-body); font-weight: 600; color: var(--fkc-body); min-width: 0; overflow-wrap: anywhere; text-decoration: none; }
 html body a.fkc-cc__name { color: var(--fkc-ink); font-weight: 800; }
 html body a.fkc-cc__name:hover { color: var(--fkc-primary); }
 html body .fkc-cc__id > .fkc-fx { max-width: 100%; }
 html body .fkc-cc__addr { grid-column: 1 / -1; margin-top: 14px; display: flex; align-items: flex-start; font-size: var(--fkc-fs-caption); line-height: 18px; color: var(--fkc-subtle); }
 html body .fkc-cc__addr > span { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-height: 36px; min-width: 0; }
 html body .fkc-cc__addr b { color: var(--fkc-ink); font-weight: 700; }
 html body .fkc-cc__addr svg { vertical-align: -2px; margin-inline-end: 3px; color: var(--fkc-muted); }
 html body .fkc-cc__act { grid-column: 1 / -1; margin-top: 14px; display: flex; gap: 6px; }
 html body .fkc-cc.tight .fkc-cc__addr, html body .fkc-cc.tight .fkc-cc__act { margin-top: 8px; }
 html body .fkc-cc__dist { white-space: nowrap; color: var(--fkc-subtle); }
 html body .fkc-vsep-i { display: inline-block; width: 1px; height: 11px; margin: 0 6px; vertical-align: -1px; background: #d5dde1; }
 html body .fkc-pc__loc-t .fkc-pc__dist { flex-shrink: 0; overflow: visible; color: var(--fkc-subtle); font-size: var(--fkc-fs-caption); }
 html body .fkc-cc { position: relative; }
 html body .fkc-cc.pop-open { z-index: 20; }
 html body .fkc-tel { position: relative; flex: 1 1 0; min-width: 0; height: 36px; display: flex; align-items: center; justify-content: center; gap: 6px; border-radius: 11px; font-size: var(--fkc-fs-secondary); font-weight: 700; white-space: nowrap; }
 html body .fkc-tel::before { content: ""; position: absolute; inset: -4px 0; }
 html body .fkc-tel span { direction: ltr; unicode-bidi: isolate; }
 html body .fkc-tel.off { background: var(--fkc-neutral-btn); color: var(--fkc-muted); font-weight: 500; cursor: not-allowed; }
 html body .fkc-tel.off:hover { background: var(--fkc-neutral-btn); color: var(--fkc-muted); }
 html body .fkc-fx-ins { display: flex; gap: 4px; min-width: 0; }
 html body .fkc-cr__more { flex: 0 0 34px; height: 38px; border-radius: 11px; display: flex; align-items: center; justify-content: center; }
 html body .fkc-cr__more svg { transition: transform .16s ease; }
 html body .fkc-cr__more[aria-expanded="true"] { background: var(--fkc-ins-bg); color: var(--fkc-ink); }
 html body .fkc-cr__more[aria-expanded="true"] svg { transform: rotate(180deg); }
 html body .fkc-cr__slot { flex: 0 0 34px; }
 html body .fkc-po { position: relative; width: 100%; }
 html body .fkc-po.pop-open { z-index: 20; }
 html body .fkc-pc { background: var(--fkc-surface); border: 1px solid var(--fkz-card-line, rgba(18,44,58,.16)); border-radius: 16px; padding: 12px 16px 8px; display: flex; flex-direction: column; }
 html body .fkc-pc__body, html body .fkc-pc__main { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
 html body .fkc-pc__head { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; }
 html body .fkc-pc .fkc-av { width: 64px; height: 64px; }
 html body .fkc-pc__titles { display: flex; flex-direction: column; align-items: center; width: 100%; min-width: 0; }
 html body .fkc-pc__name { font-size: 16px; font-weight: 800; color: var(--fkc-ink); line-height: 26px; height: 26px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; letter-spacing: -.02em; text-decoration: none; }
 html body .fkc-pc__name.long { font-size: 14px; }
 html body .fkc-pc__name:hover { color: var(--fkc-primary); }
 html body .fkc-pc__sub { display: flex; align-items: center; justify-content: center; gap: 6px; height: 22px; width: 100%; min-width: 0; }
 html body .fkc-pc__spec { font-size: var(--fkc-fs-secondary); color: var(--fkc-body); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
 html body .fkc-pc__rate { display: inline-flex; align-items: center; gap: 3px; flex-shrink: 0; font-size: var(--fkc-fs-caption); font-weight: 700; color: var(--fkc-body); }
 html body .fkc-pc__rate svg { color: var(--fkc-star); }
 html body .fkc-pc__rate small { color: var(--fkc-subtle); font-weight: 400; font-size: var(--fkc-fs-caption); }
 html body .fkc-vsep { width: 1px; height: 12px; background: #d5dde1; flex-shrink: 0; }
 html body .fkc-pc__facts { display: flex; flex-direction: column; gap: 5px; align-items: center; }
 html body .fkc-pc__facts .fkc-fx { justify-content: center; max-width: 100%; }
 html body .fkc-pc__loc { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: var(--fkc-fs-secondary); color: var(--fkc-body); }
 html body .fkc-pc__loc-t { flex: 1 1 auto; display: flex; align-items: center; gap: 5px; min-width: 0; }
 html body .fkc-pc__loc-t span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
 html body .fkc-pc__loc-t svg { color: var(--fkc-muted); flex-shrink: 0; }
 html body .fkc-pc__br { flex-shrink: 0; font-size: var(--fkc-fs-caption); font-weight: 700; color: var(--fkc-primary); background: none; border: 0; padding: 4px 2px; cursor: pointer; text-decoration: underline dotted; text-underline-offset: 4px; }
 html body .fkc-pc__br:hover, html body .fkc-pc__br[aria-expanded="true"] { color: var(--fkc-ink); }
 html body .fkc-pc__nav { position: relative; flex-shrink: 0; height: 32px; padding: 0 10px; border-radius: 10px; display: flex; align-items: center; gap: 5px; font-size: var(--fkc-fs-caption); font-weight: 700; white-space: nowrap; }
 html body .fkc-pc__nav::before { content: ""; position: absolute; inset: -6px -2px; }
 html body .fkc-pc__hl { height: 56px; border-radius: 14px; background: transparent; border: 1px dashed rgba(18,44,58,.22); display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 14px; } /* dashed: keeps the box edges (alignment with the call button) without looking like a card inside the card (Sina 2026-10-26) */
 html body .fkc-pc__hl span { color: var(--fkc-body); font-size: var(--fkc-fs-secondary); font-weight: 500; line-height: 1.6; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
 html body .fkc-pc__aside { display: flex; flex-direction: column; gap: 16px; }
 html body .fkc-pc__act { display: flex; gap: 7px; order: 1; }
 html body .fkc-pc__call { flex: 1; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 6px; font-weight: 700; font-size: var(--fkc-fs-body); }
 html body .fkc-pc__call .fkc-num { direction: ltr; unicode-bidi: isolate; }
 html body .fkc-pc__det { height: 44px; padding: 0 14px; border-radius: 12px; display: flex; align-items: center; gap: 4px; font-size: var(--fkc-fs-secondary); font-weight: 700; }
 html body .fkc-pc__gal { order: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0 -10px; }
 html body .fkc-pc__gal span { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 11px; background: var(--fkc-neutral-btn); }
 html body .fkc-pc__gal span::after { content: ""; position: absolute; inset: 0; border: 1px solid var(--fkc-gallery-border); border-radius: inherit; }
 html body .fkc-pc__gal img { width: 100%; height: 100%; object-fit: cover; display: block; }
 html body .fkc-pc__gal span:first-child { border-radius: 11px; }
 html body .fkc-pc__gal span:last-child { border-radius: 11px; }
 html body .fkc-boost { padding: 2px; border-radius: 18px; background: var(--fkc-grad); }
 html body .fkc-boost .fkc-pc { border: 0; box-shadow: none; } /* boost keeps its own rim; only its radius follows the other cards (Sina 2026-10-26) */
 html body .fkc-pc__ribbon { display: none; }
 html body .fkc-boost .fkc-pc__ribbon { display: inline-flex; position: absolute; top: 12px; left: 12px; z-index: 2; gap: 4px; align-items: center; background: var(--fkc-grad); color: #fff; font-size: var(--fkc-fs-micro); font-weight: 700; padding: 5px 10px; border-radius: 999px; line-height: 1; }
@keyframes rimOnce { 0% { offset-distance: 0%; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } 100% { offset-distance: 100%; opacity: 0; } }




.fkc-pop { position: fixed; z-index: 60; width: 280px; max-width: calc(100vw - 24px); background: var(--fkc-surface); border: 1px solid var(--fkc-border); border-radius: 14px; box-shadow: 0 12px 32px rgba(18,44,58,.18); padding: 6px; display: flex; flex-direction: column; }
 html body .fkc-pop.in { position: absolute; left: 12px; right: 12px; width: auto; max-width: none; }
 html body .fkc-pop__row { display: flex; flex-direction: column; gap: 2px; padding: 8px 10px; border-radius: 10px; }
 html body .fkc-pop__row + .fkc-pop__row { border-top: 1px solid var(--fkc-border); }
 html body .fkc-pop__row b { color: var(--fkc-ink); font-size: var(--fkc-fs-secondary); }
 html body .fkc-pop__row span { color: var(--fkc-subtle); font-size: var(--fkc-fs-caption); line-height: 1.6; }
 html body .fkc-pop__row a { color: var(--fkc-primary); font-size: var(--fkc-fs-secondary); font-weight: 700; text-decoration: none; direction: ltr; text-align: right; }
 html body .fkc-tip { position: fixed; z-index: 70; max-width: 300px; background: var(--fkc-ink); color: #fff; font-size: var(--fkc-fs-caption); line-height: 1.7; padding: 7px 11px; border-radius: 10px; pointer-events: none; box-shadow: 0 6px 18px rgba(18,44,58,.2); }
@media (prefers-reduced-motion: reduce) {
 html body .fkc-boost.seen::after { animation: none; }
 html body .fkc-btn1, html body .fkc-btn2, html body .fkc-pill--more, html body .fkc-cr__more svg { transition: none; } }


@media (min-width: 900px) {
 html body .fkc-po:not(:where(#list *)) { width: 100%; }
 html body .fkc-pc:not(:where(#list *)) { border-radius: 16px; padding: 0; overflow: hidden; }
 html body .fkc-pc__body:not(:where(#list *)) { flex-direction: row; gap: 24px; padding: 16px; align-items: stretch; }
 html body .fkc-pc__main:not(:where(#list *)) { min-height: 186px; flex: 0 0 46%; gap: 10px; justify-content: center; }
 html body .fkc-pc__aside:not(:where(#list *)) { flex: 1 1 0; min-width: 0; gap: 8px; justify-content: center; }
 html body .fkc-pc__head:not(:where(#list *)) { flex-direction: row; gap: 10px; align-items: center; }
 html body .fkc-pc .fkc-av:not(:where(#list *)) { width: 50px; height: 50px; }
 html body .fkc-pc__titles:not(:where(#list *)) { align-items: flex-start; }
 html body .fkc-pc__sub:not(:where(#list *)) { justify-content: flex-start; }
 html body .fkc-pc__sub .fkc-vsep:not(:where(#list *)) { display: none; }
 html body .fkc-pc__rate:not(:where(#list *)) { margin-inline-start: auto; }
 html body .fkc-pc__facts:not(:where(#list *)) { align-items: stretch; }
 html body .fkc-pc__facts .fkc-fx:not(:where(#list *)) { justify-content: flex-start; }
 html body .fkc-pc__nav:not(:where(#list *)) { height: 30px; border-radius: 8px; }
 html body .fkc-pc__nav:not(:where(#list *))::before { inset: -4px -2px; }
 html body .fkc-pc__gal:not(:where(#list *)) { order: 1; margin: 0; }
 html body .fkc-pc__gal span:not(:where(#list *)), html body .fkc-pc__gal span:first-child:not(:where(#list *)), html body .fkc-pc__gal span:last-child:not(:where(#list *)) { border-radius: 11px; }
 html body .fkc-pc__act:not(:where(#list *)) { order: 2; }
 html body .fkc-pc__call:not(:where(#list *)), html body .fkc-pc__det:not(:where(#list *)) { height: 38px; }
 html body .fkc-pc__hl:not(:where(#list *)) { height: 45px; border-radius: 12px; } /* 45 = main column content equals the aside (gallery + buttons), so the intro box ends on the call button's line (Sina 2026-10-26) */
 html body .fkc-boost:not(:where(#list *)) { border-radius: 18px; }
 html body .fkc-boost .fkc-pc:not(:where(#list *)) { background: var(--fkc-grad); padding-top: 22px; }
 html body .fkc-boost .fkc-pc__body:not(:where(#list *)) { background: var(--fkc-surface); border-radius: 16px 16px 0 0; }
 html body .fkc-boost .fkc-pc__ribbon:not(:where(#list *)) { top: 0; left: 0; right: 0; height: 22px; justify-content: center; background: transparent; border-radius: 0; font-size: var(--fkc-fs-caption); font-weight: 800; padding: 0; }
}


@media (max-width: 899px) {
 html body .fkc-boost::after { content: ""; position: absolute; top: 0; left: 0; z-index: 3; width: 56px; height: 6px; border-radius: 999px; pointer-events: none; opacity: 0;
		background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.28) 28%, #fff 50%, rgba(255,255,255,.28) 72%, transparent 100%);
		box-shadow: 0 0 8px 2px rgba(255,255,255,.35); offset-path: inset(1px round 17px); offset-rotate: auto; offset-anchor: center; }
 html body .fkc-boost.seen::after { animation: rimOnce 4.5s ease-in-out 1 forwards; }
}

 html body .fkc-po, html body .fkc-po *, html body .fkc-cc, html body .fkc-cc *, html body .fkc-pop, html body .fkc-pop *, html body .fkc-tip { box-sizing: border-box; }
 html body .fkc-po, html body .fkc-cc, html body .fkc-pop, html body .fkc-tip { font-family: inherit; direction: rtl; text-align: start; line-height: 1.6; }
 html body .fkc-po a, html body .fkc-cc a, html body .fkc-pop a { text-decoration: none; box-shadow: none; }
 /* :where keeps this reset weaker than every component rule (a pill that is a button must keep its own 11px) */
html body :where(.fkc-po, .fkc-cc, .fkc-pop) button { font: inherit; margin: 0; }
 html body .fkc-po [hidden], html body .fkc-cc [hidden], html body .fkc-tip[hidden], html body .fkc-po[hidden], html body .fkc-cc[hidden], html body .fkz-clinic-card-outer[hidden] { display: none !important; }
 html body .fkc-po p, html body .fkc-cc p { margin: 0; }
 html body .fkc-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
 html body .fkc-po :focus-visible, html body .fkc-cc :focus-visible, html body .fkc-pop :focus-visible { outline: 2px solid var(--fkc-primary); outline-offset: 2px; }
 html body .fkc-stack { display: flex; flex-direction: column; gap: 10px; }
 html body .fkc-stack--pro { gap: 14px; }
 html body .fkc-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 899px) {
 html body .fkc-grid2 { grid-template-columns: minmax(0, 1fr); } }
 html body .fkc-pc__facts--d { display: none; }
 html body .fkc-pc__br-d { display: none; }
@media (min-width: 900px) {
 html body .fkc-pc__facts--d:not(:where(#list *)) { display: flex; flex-direction: column; gap: 5px; }
 html body .fkc-pc__facts--m:not(:where(#list *)) { display: none; }
 html body .fkc-pc__br-d:not(:where(#list *)) { display: inline; }
 html body .fkc-pc__br-m:not(:where(#list *)) { display: none; }
}
 html body .fkc-cc .fkc-fx:empty { display: none; }
 html body .fkc-pc__call.fkc-off { opacity: .55; pointer-events: none; cursor: default; }
 html body .fkc-pc__gal .fkc-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #b3c0c7; }
 html body .fkc-pc__gal img { position: relative; }
 html body .fkc-pc__name { display: block; }
 html body .fkc-pc__loc { min-height: 32px; }
@media (min-width: 900px) {
 html body .fkc-pc__loc:not(:where(#list *)) { min-height: 30px; } }

/* a clicked button keeps its colours: the theme paints :focus / :active buttons white */
html body .fkc-btn2:focus, html body .fkc-btn2:active { background: var(--fkc-neutral-btn); color: var(--fkc-primary); }
html body .fkc-btn2:hover, html body .fkc-btn2[aria-expanded="true"] { background: var(--fkc-btn-hover); color: var(--fkc-ink); }
html body .fkc-btn1:focus, html body .fkc-btn1:active { background: var(--fkc-primary); color: #fff; }
html body .fkc-btn1:hover { background: var(--fkc-ink); color: #fff; }
html body .fkc-pill--more:focus, html body .fkc-pill--more:active { background: var(--fkc-ins-bg); color: var(--fkc-ins-fg); }
html body .fkc-pill--more:hover, html body .fkc-pill--more[aria-expanded="true"] { background: #cfe6ec; color: var(--fkc-ins-fg); }

/* a pill shows its full text when the line has room; only when the line is full do the pills shrink and end in «…» */
html body .fkc-fx .fkc-pill--ins { flex-shrink: 1; min-width: 0; }

/* the theme gives every button side padding; the row's chevron must stay exactly 34px so the phone group (34 + 6 + 128) never outgrows its column */
html body .fkc-cr__more { padding: 0; width: 34px; min-width: 34px; }

/* ---------- one free-card markup (.fkc-cc--u, fkz_cards_v2_free_card; Sina 2026-10-27): the tile on phones, laid out as the row from 900px ---------- */
 html body .fkc-cc--u .fkc-cc__act { position: relative; }
@media (max-width: 899px) {
 html body .fkc-cc--u .fkc-cr__more, html body .fkc-cc--u .fkc-cr__slot { display: none; }
}
@media (min-width: 900px) {
 html body .fkc-cc.fkc-cc--u { grid-template-columns: 48px 180px 100px minmax(0, 1fr) 168px; grid-template-rows: none; align-items: center; align-content: normal; column-gap: 14px; height: 70px; }
 html body .fkc-cc.fkc-cc--u.fkc-cc--nofx { grid-template-columns: 48px 180px minmax(0, 1fr) 168px; }
 html body .fkc-cc--u .fkc-av { width: 48px; height: 48px; }
 html body .fkc-cc--u > .fkc-avwrap { align-self: center; }
 html body .fkc-cc--u .fkc-cc__id { display: contents; }
 html body .fkc-cc--u .fkc-cc__name, html body .fkc-cc--u .fkc-cc__name.long { align-self: center; max-height: 48px; line-height: 24px; font-size: var(--fkc-fs-body); }
 html body .fkc-cc--u .fkc-fx { display: flex; flex-direction: column; gap: 4px; justify-content: center; min-width: 0; }
 html body .fkc-cc--u .fkc-fx .fkc-pill { max-width: 100px; align-self: flex-start; }
 html body .fkc-cc--u .fkc-fx .fkc-pill--ins, html body .fkc-cc--u .fkc-fx .fkc-pill--more { display: none; }
 html body .fkc-cc--u.fkc-cc--nofx .fkc-fx { display: none; }
 html body .fkc-cc--u .fkc-cc__addr { grid-column: auto; margin-top: 0; line-height: 19px; }
 html body .fkc-cc--u .fkc-cc__addr > span { max-height: 38px; }
 html body .fkc-cc--u .fkc-cc__addr svg { display: none; }
 html body .fkc-cc--u .fkc-cc__act { grid-column: -2; margin-top: 0; gap: 6px; }
 html body .fkc-cc--u .fkc-cc__act .fkc-tel { flex: 0 0 128px; height: 38px; }
 html body .fkc-cc--u .fkc-cc__second { display: none; position: absolute; top: 44px; left: 0; z-index: 5; width: 128px; box-shadow: 0 8px 24px rgba(18,44,58,.14); background: var(--fkc-surface); border: 1px solid var(--fkc-border); }
 html body .fkc-cc--u .fkc-cc__second.is-open { display: flex; }
}

/* the navigation sheet moved to sheet.css (one mother for cards, profile, map; Mehdi 2026-11-10) */

/* «باز است» waits for cards-v2.js (Tehran time); the theme must not show it early */
html body .fkc-pill[hidden] { display: none !important; }

/* Paid cards in a directory list decide by the LIST's width, not the screen's (Mehdi 2026-11-10): with the sidebar, a
   900–1250px screen left ~500px for the two-column card and its right column was cut. The desktop blocks above skip
   #list; inside it they apply from an 800px list, below that the phone card, at most 440px wide and centred. */
html body #list { container: fkclist / inline-size; }
@container fkclist (max-width: 799px) {
 html body #list > .fkc-po, html body #list > .fkc-boost { width: 100%; max-width: 440px; margin-inline: auto; }
}
@container fkclist (min-width: 800px) {
 html body .fkc-po { width: 100%; }
 html body .fkc-pc { border-radius: 16px; padding: 0; overflow: hidden; }
 html body .fkc-pc__body { flex-direction: row; gap: 24px; padding: 16px; align-items: stretch; }
 html body .fkc-pc__main { min-height: 186px; flex: 0 0 46%; gap: 10px; justify-content: center; }
 html body .fkc-pc__aside { flex: 1 1 0; min-width: 0; gap: 8px; justify-content: center; }
 html body .fkc-pc__head { flex-direction: row; gap: 10px; align-items: center; }
 html body .fkc-pc .fkc-av { width: 50px; height: 50px; }
 html body .fkc-pc__titles { align-items: flex-start; }
 html body .fkc-pc__sub { justify-content: flex-start; }
 html body .fkc-pc__sub .fkc-vsep { display: none; }
 html body .fkc-pc__rate { margin-inline-start: auto; }
 html body .fkc-pc__facts { align-items: stretch; }
 html body .fkc-pc__facts .fkc-fx { justify-content: flex-start; }
 html body .fkc-pc__nav { height: 30px; border-radius: 8px; }
 html body .fkc-pc__nav::before { inset: -4px -2px; }
 html body .fkc-pc__gal { order: 1; margin: 0; }
 html body .fkc-pc__gal span, html body .fkc-pc__gal span:first-child, html body .fkc-pc__gal span:last-child { border-radius: 11px; }
 html body .fkc-pc__act { order: 2; }
 html body .fkc-pc__call, html body .fkc-pc__det { height: 38px; }
 html body .fkc-pc__hl { height: 45px; border-radius: 12px; } /* 45 = main column content equals the aside (gallery + buttons), so the intro box ends on the call button's line (Sina 2026-10-26) */
 html body .fkc-boost { border-radius: 18px; }
 html body .fkc-boost .fkc-pc { background: var(--fkc-grad); padding-top: 22px; }
 html body .fkc-boost .fkc-pc__body { background: var(--fkc-surface); border-radius: 16px 16px 0 0; }
 html body .fkc-boost .fkc-pc__ribbon { top: 0; left: 0; right: 0; height: 22px; justify-content: center; background: transparent; border-radius: 0; font-size: var(--fkc-fs-caption); font-weight: 800; padding: 0; }
}
@container fkclist (min-width: 800px) {
 html body .fkc-pc__facts--d { display: flex; flex-direction: column; gap: 5px; }
 html body .fkc-pc__facts--m { display: none; }
 html body .fkc-pc__br-d { display: inline; }
 html body .fkc-pc__br-m { display: none; }
}
@container fkclist (min-width: 800px) {
 html body .fkc-pc__loc { min-height: 30px; } }
