/* 09.11 п.155–167 (Сергей): компактнее. .s101-c9 = карточка клиники в рубриці «Стоматології» */
/* п.155 — кнопки нижче */
.kc-cta .b-call,.kc-cta .b-book{height:34px;font-size:13.5px}
.kc-cta .b-call .i{width:20px;height:20px;padding:2px}
.kc.s101-c9 .kc-cta{gap:6px;width:auto;min-width:228px}
@media (min-width:768px){.kc.s101-c9 .s101-rt{flex-wrap:nowrap;gap:10px}}
/* п.155 — у лікарів (рубрика «Фахівці») */
.cc-r>.btn{min-height:0;height:34px;padding:0 12px;gap:6px;font-size:13.5px;white-space:nowrap}
.cc-r>.btn .i{width:16px;height:16px}
/* п.156 — рейтинг одним рядком: Google (якщо є дані) + відгуки на 101 */
.s101-rt{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:2px 12px;margin-top:2px;font:600 13px/1.3 var(--ff,inherit)}
.s101-rt a{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:var(--ink,#0b2240)}
.s101-rt-gl{font:800 14px/1 Arial,sans-serif;color:#4285F4}
.s101-rt-st{color:#F5A623;font-size:14px}
.s101-rt small{font-weight:500;font-size:12.5px;color:var(--mut,#6b7a8c)}
.s101-rt a.s101-rt-101{color:var(--blue2,#1565c0);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,#fff)}
.s101-rt-101 .i{width:15px;height:15px;color:var(--green2,#5a9a17)}
/* п.158 — без третьої колонки (доп. послуги/відгуки/цінова категорія прибрані) */
.kc.s101-c9 .kc-bd{grid-template-columns:230px minmax(0,1fr);gap:18px}
.kc.s101-c9 .kc-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 18px}
.kc.s101-c9 .kc-facts .kf-w{grid-column:1/-1}
.kc.s101-c9 .kc-lk{gap:4px 12px}
/* п.158 — «Ціни» і «Акції» нижчі, в один ряд; розгорнутий блок на всю ширину */
.kc-pa{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px;align-items:start}
.kc-pa>.kc-pr,.kc-pa>.kc-ac{margin:0}
.kc-pa>.kc-pr:only-child{grid-column:1/-1}
.kc-pa .kc-pr.open,.kc-pa .kc-ac[open]{grid-column:1/-1}
.kc-pa .kc-all{min-height:0;height:34px;padding-top:0;padding-bottom:0;font-size:13.5px}
.kc-pa .kc-ac summary{min-height:0;height:34px;padding-top:0;padding-bottom:0;justify-content:center;font-size:13.5px}
.kc-pa .kc-ac summary .c{width:20px;height:20px}
@media (max-width:767px){
 .kc.s101-c9 .kc-cta{flex-wrap:wrap}
 .kc.s101-c9 .kc-cta>.b-call,.kc.s101-c9 .kc-cta>.b-book{height:38px;font-size:13px}
 .kc.s101-c9 .kc-cta>.s101-rt{flex:1 0 100%}
 .kc.s101-c9 .kc-bd{grid-template-columns:minmax(0,1fr)}
 .kc.s101-c9 .kc-facts{grid-template-columns:minmax(0,1fr)}
}
/* ===== P2: сторінка клініки (п.159–166) ===== */
/* п.159/166 — рейтинг: Google + 101 + «Відгуки на 101 (N)» одним рядком, з відступами */
.s101-c9-score{display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px;font:600 14px/1.3 var(--ff,inherit)}
.s101-c9-score .s101-rt-g{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:var(--ink,#0b2240);text-decoration:none}
.s101-c9-score .s101-rt-g small{font-weight:500;font-size:12.5px;color:var(--mut,#6b7a8c);text-decoration:underline;text-underline-offset:3px}
.s101-c9-101{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.s101-c9-score a.s101-rt-101{display:inline-flex;align-items:center;gap:4px;white-space:nowrap;color:var(--blue2,#1565c0);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,#fff)}
.cx-book .s101-c9-score{gap:4px 12px;margin:6px 0 8px;font-size:13px}
/* п.160 — посилання адреси + «Поділитися клінікою» як посилання, в один ряд */
.s101-c9-links{align-items:center}
.s101-c9-links .s101-d4-share{margin:0;min-height:0;width:auto;font-size:13px}
.s101-c9-links .s101-d4-share summary{min-height:0;padding:0;border:0;border-radius:0;font:600 13px var(--ff,inherit);color:var(--blue2,#176498);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,#fff)}
.cx-book .s101-c9-links{flex-direction:column;align-items:flex-start;gap:6px;margin:8px 0 4px}
/* п.161 — тиждень на всю ширину під шапкою */
.s101-c9-week{margin:14px 0 4px}
.s101-c9-week .s101-d4-week{margin:0}
/* п.159/166 — кнопки нижчі */
.cx-cta .cx-btn{height:42px;padding:0 18px;font-size:15px}
.cx-book .cx-btn,.cx-book-compact .cx-bk-actions>.cx-btn{height:40px;font-size:14.5px}
/* п.162 — напрями лікування посиланнями */
.cx-svc a.s101-c9-svc{color:var(--blue2,#1565c0);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 35%,#fff)}
/* п.165 — «Ви переглядали»: однакові квадратні мініатюри */
.s101-d2-history-list img{width:64px;height:64px;object-fit:cover;object-position:center;border-radius:8px;flex:0 0 64px}
@media (max-width:767px){
 .cx-cta .cx-btn{height:44px;font-size:14.5px;padding:0 14px}
 .s101-c9-score{gap:4px 12px}
}
/* ===== P3: бокс лікаря (п.167) ===== */
.s101-c9-dbook .cx-bk-name{display:block;font-size:17px;line-height:1.3;margin:0 0 4px}
.s101-c9-dbook .s101-c9-spec{margin:0 0 8px;font-size:13px;line-height:1.45;color:var(--mut,#5b6b7c)}
.s101-c9-spec a{color:var(--blue2,#1565c0);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 35%,#fff)}
.s101-c9-dbook .cx-score{margin-bottom:12px}
.s101-c9-dact{display:grid;gap:8px}
.s101-c9-dact>.cx-btn,.s101-c9-contacts>summary.cx-btn{width:100%;justify-content:center;margin:0;height:40px;font-size:14.5px}
.s101-c9-contacts>summary{list-style:none;cursor:pointer}
.s101-c9-contacts>summary::-webkit-details-marker{display:none}
.s101-c9-contacts[open]>summary{border-bottom-left-radius:0;border-bottom-right-radius:0}
.s101-c9-cbody{border:1px solid var(--line,#dfe9ef);border-top:0;border-radius:0 0 var(--r,10px) var(--r,10px);padding:12px 12px 10px;font-size:13px}
.s101-c9-cbody .cx-facts{margin:0 0 8px}
.s101-c9-cbody .cx-facts small{display:block;color:var(--mut,#5b6b7c)}
.s101-c9-cbody a.s101-c9-tel{font-weight:700;color:var(--ink,#0b2240);text-decoration:none;white-space:nowrap}
.s101-c9-cbody .s101-c9-links{flex-direction:column;align-items:flex-start;gap:6px}
.s101-c9-dshare{margin-top:10px;text-align:center}
.s101-c9-dshare .s101-d4-share{margin:0 auto;min-height:0;width:max-content}
.s101-c9-dshare .s101-d4-share summary{min-height:0;padding:4px 0;border:0;font:600 13px var(--ff,inherit);color:var(--blue2,#176498);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,#fff)}
.s101-c9-cbody .s101-c9-links{display:flex;flex-direction:column;align-items:flex-start;gap:7px;margin:4px 0 0}
.s101-c9-cbody .s101-c9-links a{display:inline-flex;align-items:center;gap:6px;font:600 13px var(--ff,inherit);color:var(--blue2,#1565c0);text-decoration:underline;text-underline-offset:3px;text-decoration-color:color-mix(in srgb,currentColor 40%,#fff)}
.s101-c9-cbody .s101-c9-links .i{width:15px;height:15px;flex:none}
.s101-c9-cbody .cx-geo{display:flex;flex-wrap:wrap;gap:6px}
@media (max-width:767px){.s101-c9-dbook .cx-bk-name{display:none}.s101-c9-dshare{text-align:left}.s101-c9-dshare .s101-d4-share{margin:0}}
/* ccs 09.11 доробки: P1 — на ≤420 кнопки картки в стовпчик, текст в один рядок */
@media (max-width:420px){.kc.s101-c9 .kc-cta>.b-call,.kc.s101-c9 .kc-cta>.b-book{flex:1 0 100%;width:100%;white-space:nowrap;justify-content:center;height:40px}}
/* P2/P3 — «Поділитися»: іконка «поділитися» замість ▶ */
.s101-c9-links .s101-d4-share>summary,.s101-c9-dshare .s101-d4-share>summary{list-style:none;display:inline-flex;align-items:center;gap:6px}
.s101-c9-links .s101-d4-share>summary::-webkit-details-marker,.s101-c9-dshare .s101-d4-share>summary::-webkit-details-marker{display:none}
.s101-c9-links .s101-d4-share>summary::before,.s101-c9-dshare .s101-d4-share>summary::before{content:"";width:15px;height:15px;flex:none;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round'%3E%3Ccircle cx='18' cy='5' r='3'/%3E%3Ccircle cx='6' cy='12' r='3'/%3E%3Ccircle cx='18' cy='19' r='3'/%3E%3Cpath d='M8.6 13.5l6.8 4M15.4 6.5l-6.8 4'/%3E%3C/svg%3E") center/contain no-repeat}
/* ===== P4: «Ви переглядали» на листингах ===== */
.s101-c9-gh-wrap{max-width:1440px;margin:0 auto;padding:0 24px 32px;box-sizing:border-box}
.s101-c9-gh[hidden]{display:none!important}
.s101-c9-gh{background:#fff;border:1px solid #dce8ef;border-radius:16px;padding:20px 24px}
.s101-c9-gh-t{margin:0 0 12px;font-size:20px;line-height:1.3;color:var(--ink,#0b2240)}
.s101-c9-gh .s101-d2-history-list{display:flex;gap:12px;overflow-x:auto;padding:3px 3px 12px;scroll-snap-type:x proximity}
.s101-c9-gh .s101-d2-tile{flex:0 0 190px;scroll-snap-align:start;display:flex;flex-direction:column;gap:6px;min-width:0;padding:14px;border:1px solid #dce8ef;border-radius:12px;color:inherit;text-decoration:none;overflow-wrap:anywhere}
.s101-c9-gh .s101-d2-tile:hover{background:#f2f8fc}
.s101-c9-gh .s101-d2-tile:focus-visible{outline:2px solid #176498;outline-offset:2px}
.s101-c9-gh .s101-d2-tile b{color:var(--blue2,#176498);font-size:15px;line-height:1.4}
.s101-c9-gh .s101-d2-tile small{font-weight:600;color:#516778}
@media (max-width:767px){.s101-c9-gh-wrap{padding:0 16px 24px}.s101-c9-gh{padding:16px}.s101-c9-gh .s101-d2-tile{flex-basis:160px}}
.s101-c9-links .s101-d4-share{display:inline-flex;align-items:center}
.s101-c9-links .s101-d4-share>summary{line-height:inherit}
.s101-c9-gh-wrap:has(>.s101-c9-gh[hidden]){display:none}
