/* ═══════════════════════════════════════════════════════════════════
   Provider page – shared styles
   ═══════════════════════════════════════════════════════════════════ */

.cp {
    max-width: 56rem;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

/* ── Hero ───────────────────────────── */
.cp-hero {
    background: var(--surface);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.cp-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    border: 1px solid var(--border);
    border-radius: 1rem;
    pointer-events: none;
}
.cp-site-logo {
    height: 5rem;
    width: auto;
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
}
.cp-site-logo-link {
    display: contents;
}
.cp-hero h1 {
    margin: 0 0 0.35rem;
    font-size: 1.5rem;
    color: var(--text-bright);
    line-height: 1.3;
}
.cp-hero-sub {
    font-size: 0.9rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
    max-width: 32rem;
    padding: 0 5.5rem;
}
@media (max-width: 640px) {
    .cp-hero-sub {
        padding: 0 1rem;
    }
}
.cp-hero-cta {
    display: inline-block;
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.6rem 1.8rem;
    border-radius: 0.6rem;
    text-decoration: none;
    font-family: var(--font);
    margin-top: 1.5rem;
    transition:
        transform 0.15s,
        box-shadow 0.15s;
    box-shadow: 0 4px 14px rgba(249, 166, 29, 0.3);
}
.cp-hero-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(249, 166, 29, 0.4);
}

/* ── Source links (icons row) ─────────── */
.cp-source-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}
.cp-source-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.64rem;
    height: 2.64rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #d1d5db;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
    -webkit-tap-highlight-color: transparent;
}
.cp-source-link img,
.cp-source-link svg {
    height: 1.43rem;
    width: 1.43rem;
    object-fit: contain;
    border-radius: 0.3rem;
}
.cp-source-link[aria-label="אינסטגרם"]::before,
.cp-source-link[aria-label="טיקטוק"]::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 2px;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.cp-source-link[aria-label="אינסטגרם"]::before {
    background: linear-gradient(45deg, #ffdc80, #fcaf45, #f77737, #f56040, #e1306c, #c13584, #833ab4, #5851db);
}
.cp-source-link[aria-label="טיקטוק"]::before {
    background: linear-gradient(135deg, #00f2ea, #00f2ea 42%, #ff0050 58%, #ff0050);
}
.cp-source-link[aria-label="טיקטוק"] svg {
    transition: filter 0.25s ease;
}
.cp-source-link[aria-label="אימייל"] img {
    height: 1.69rem;
    width: 1.69rem;
}
@media (hover: hover) {
    .cp-source-link:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.25);
    }
    .cp-source-link[aria-label="אתר"]:hover {
        color: var(--accent);
        border-color: var(--accent);
    }
    .cp-source-link[aria-label="פייסבוק"]:hover {
        color: #1877f2;
        border-color: #1877f2;
    }
    .cp-source-link[aria-label="אינסטגרם"]:hover {
        color: #e1306c;
        border-color: transparent;
    }
    .cp-source-link[aria-label="טיקטוק"]:hover {
        color: #ffffff;
        border-color: transparent;
    }
    .cp-source-link[aria-label="טיקטוק"]:hover svg {
        filter: drop-shadow(-1px 0 #00f2ea) drop-shadow(1px 0 #ff0050);
    }
    .cp-source-link[aria-label="יוטיוב"]:hover {
        color: #ff0000;
        border-color: #ff0000;
    }
    .cp-source-link[aria-label="וואטסאפ"]:hover {
        color: #25d366;
        border-color: #25d366;
    }
    .cp-source-link[aria-label="אינסטגרם"]:hover::before,
    .cp-source-link[aria-label="טיקטוק"]:hover::before {
        opacity: 1;
    }
    .cp-source-link[aria-label="טלפון"]:hover {
        color: var(--accent);
        border-color: var(--accent);
    }
    .cp-source-link[aria-label="שיתוף"]:hover {
        color: var(--accent);
        border-color: var(--accent);
    }
}

.cp-share-btn {
    cursor: pointer;
    padding: 0;
    font: inherit;
}

.cp-share-toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
    border-radius: 0.6rem;
    z-index: 9999;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
    pointer-events: none;
    animation: cp-toast-fade 2s ease forwards;
}

@keyframes cp-toast-fade {
    0% { opacity: 0; transform: translateX(-50%) translateY(10px); }
    10% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; }
    100% { opacity: 0; }
}

/* ── Source logo badge ────────────────── */
.cp-source-logo-badge {
    width: 4.5rem;
    height: 4.5rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.cp-source-logo {
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
    border-radius: 50%;
}

/* ── Back to top ──────────────────────── */
.back-to-top {
    display: block;
    text-align: center;
    color: #9ca3af;
    font-size: 0.8rem;
    margin-top: 1.25rem;
    text-decoration: none;
}
.back-to-top:hover {
    color: var(--accent);
}

/* ── AI badge ──────────────────────────── */
.cp-ai-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.05rem;
    font-size: 0.7rem;
    color: #9ca3af;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.15rem 0.55rem;
    margin-top: 0.25rem;
    margin-bottom: -0.25rem;
}
.cp-ai-badge svg {
    width: 1rem;
    height: 1rem;
}
.cp-hero-desc {
    margin-top: 0.75rem;
}

/* ── Google rating ─────────────────────── */
.cp-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    direction: ltr;
}
.cp-rating-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}
.cp-rating a {
    display: inline-flex;
    align-items: center;
}
.cp-rating-value {
    font-weight: 700;
    color: var(--text-bright);
}
.cp-rating-count {
    color: #9ca3af;
    font-size: 0.85em;
}
.cc-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
    margin-top: 0.1rem;
    direction: ltr;
}
.cc-rating-icon {
    width: 1em;
    height: 1em;
    flex-shrink: 0;
}
.cc-glink {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
}
.cc-rating-value {
    font-weight: 600;
    color: var(--text-bright);
}
.cc-rating-count {
    color: #9ca3af;
    font-size: 0.9em;
}

/* ── Disclaimer ────────────────────────── */
.ai-disclaimer {
    margin-top: 2rem;
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    font-size: 0.75rem;
    color: #9ca3af;
    line-height: 1.6;
    text-align: center;
}
.ai-disclaimer a {
    color: var(--link);
    text-decoration: none;
}
.ai-disclaimer a:hover {
    text-decoration: underline;
}

/* ── Promo banner ─────────────────────── */
.cp-promo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(167, 139, 250, 0.08);
    border: 1px dashed rgba(167, 139, 250, 0.5);
    border-radius: 0.75rem;
    padding: 0.4rem 1.25rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #d1d5db;
    text-align: center;
}
.cp-promo a {
    color: var(--accent);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.cp-promo a:hover {
    text-decoration: underline;
}

/* ── Breadcrumb ───────────────────────── */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 1rem;
}
.breadcrumb a,
.breadcrumb span {
    unicode-bidi: isolate;
}
.breadcrumb a {
    color: var(--link);
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}
.breadcrumb .bc-sep {
    color: #9ca3af;
}
.hero-updated {
    display: inline-block;
    font-size: 0.75rem;
    color: #a1aabd;
    background: rgba(107, 114, 128, 0.1);
    padding: 0.15rem 0.55rem;
    border-radius: 0.3rem;
    white-space: nowrap;
    margin-inline-start: auto;
}
.section-heading {
    font-size: 1.15rem;
    color: var(--text-bright);
    margin: 0 0 0.75rem;
}

/* ── Mobile (shared) ─────────────────── */
@media (max-width: 600px) {
    .cp-hero {
        padding: 1.25rem 1rem;
    }
    .cp-site-logo-link {
        display: block;
    }
    .cp-site-logo {
        position: static;
        height: 6rem;
    }
    .cp-source-link {
        width: 2.42rem;
        height: 2.42rem;
    }
    .cp-source-link img,
    .cp-source-link svg {
        width: 1.27rem;
        height: 1.27rem;
    }
    .cp-source-link[aria-label="אימייל"] img {
        width: 1.53rem;
        height: 1.53rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   List page – card grid & filter
   ═══════════════════════════════════════════════════════════════════ */

.cg {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}
.cc {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition:
        border-color 0.2s,
        transform 0.2s;
    text-decoration: none;
    color: inherit;
}
.cc:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}
.cc-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.85rem 0.85rem;
}
.cc-logo {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    border-radius: 0.5rem;
    background: #fff;
    padding: 0.25rem;
    flex-shrink: 0;
}
.cc-title {
    flex: 1;
}
.cc-name {
    font-size: 0.92rem;
    color: var(--text-bright);
    font-weight: 700;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.7em;
}
.cc-meta {
    font-size: 0.8rem;
    color: #9ca3af;
    margin-top: 0.15rem;
}
.cc-image-wrap {
    line-height: 0;
    margin-top: auto;
}
.cc-img {
    display: block;
    width: 100%;
    height: 10rem;
    object-fit: cover;
}
.cc-img-logo {
    object-fit: contain;
    background: #fff;
    padding: 0.75rem;
}

/* ── Filter card ──────────────────────── */
.cp-filter {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 1rem;
    padding: 1rem;
    margin-bottom: 1rem;
}
.cp-filter-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}
.cp-filter-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-bright);
    margin: 0;
}
.cp-filter-count {
    font-size: 0.82rem;
    color: #9ca3af;
}
.cp-filter-group {
    margin-top: 0.65rem;
}
.cp-filter-label {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}
.cp-filter-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.cp-filter-pill {
    border: 1px solid var(--border);
    background: transparent;
    color: #d1d5db;
    border-radius: 999px;
    padding: 0.2rem 0.75rem;
    font: inherit;
    font-size: 0.75rem;
    cursor: pointer;
    transition:
        border-color 0.15s,
        background-color 0.15s,
        color 0.15s;
    text-decoration: none;
}
.cp-filter-pill:hover {
    border-color: var(--accent);
    color: var(--text-bright);
}
.cp-filter-pill.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    font-weight: 700;
}
.cp-filter-search {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-bright);
    font-size: 0.85rem;
    padding: 0.4rem 0.75rem;
    border-radius: 999px;
    font-family: var(--font);
    outline: none;
    transition: border-color 0.15s;
}
.cp-filter-search:focus {
    border-color: var(--accent);
}
.cp-filter-search::placeholder {
    color: #6b7280;
}
.cp-empty {
    display: none;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
    padding: 2rem 0;
}
.cp-empty.is-visible {
    display: block;
}

/* ── Mobile (list) ───────────────────── */
@media (max-width: 600px) {
    .cg {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .cc-header {
        padding: 1rem 0.75rem;
        gap: 0.65rem;
    }
    .cc-logo {
        width: 4rem;
        height: 4rem;
    }
    .cc-name {
        font-size: 1rem;
    }
    .cc-img {
        height: 14rem;
    }
    .cp-filter-pills {
        gap: 0.4rem;
    }
    .cp-filter-pill {
        padding: 0.4rem 0.8rem;
    }
}

/* ═══════════════════════════════════════════════════════════════════
   Detail page – images, hours, info boxes
   ═══════════════════════════════════════════════════════════════════ */

.ci-images {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
    padding-bottom: 0.25rem;
}
.ci-img {
    width: 16rem;
    height: 12.5rem;
    object-fit: cover;
    border-radius: 0.75rem;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

/* ── Info box (hours, address) ───────── */
.ci-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}
.ci-box-title {
    font-size: 0.9rem;
    color: var(--text-bright);
    font-weight: 600;
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.ci-box-text {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.65;
    white-space: pre-line;
}
.ci-hours-row {
    display: flex;
    justify-content: space-between;
    padding: 0.2rem 0;
    font-size: 0.85rem;
    color: var(--text);
}
.ci-hours-days {
    font-weight: 500;
}
.ci-hours-time {
    color: var(--text-bright);
}
.ci-hours-box {
    width: 20rem;
}

/* ── Emergency banner (clinics) ───────── */
.ci-emergency {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.ci-emergency-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    line-height: 1;
}
.ci-emergency-content {
    flex: 1;
    min-width: 0;
}
.ci-emergency-title {
    font-size: 0.95rem;
    color: #f87171;
    font-weight: 700;
    margin-bottom: 0.25rem;
}
.ci-emergency-details {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.55;
}
.ci-emergency-phone {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 0.5rem;
    background: rgba(239, 68, 68, 0.12);
    color: #f87171;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.35rem 0.85rem;
    border-radius: 0.5rem;
    text-decoration: none;
    direction: ltr;
    transition: background 0.2s;
}
.ci-emergency-phone:hover {
    background: rgba(239, 68, 68, 0.2);
}
.ci-emergency-phone svg {
    width: 1rem;
    height: 1rem;
}

/* ── Address detail ───────────────────── */
.ci-detail {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.ci-detail-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    color: #9ca3af;
}

/* ── Branch cards ─────────────────────── */
.cb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}
.cb-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: border-color 0.2s;
    overflow: hidden;
}
.cb-card:hover {
    border-color: var(--accent);
}
.cb-card .ci-map {
    margin-top: 0.75rem;
    margin-bottom: 0;
}
.cb-card .ci-map iframe {
    height: 180px;
    border-radius: 0.5rem;
}
.cb-name {
    font-size: 1rem;
    color: var(--text-bright);
    font-weight: 600;
    align-self: flex-start;
}
.cb-detail {
    font-size: 0.85rem;
    color: var(--text);
    line-height: 1.6;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: 1rem;
}
.cb-icon {
    width: 0.95rem;
    height: 0.95rem;
    flex-shrink: 0;
    color: #9ca3af;
}
.cb-hours {
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
}
.cb-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.cb-status {
    display: none;
    font-size: 0.6rem;
    font-weight: 600;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    white-space: nowrap;
    line-height: 1.3;
    margin-inline-start: auto;
}
.cb-status-open {
    display: inline-block;
    background: #dcfce7;
    color: #166534;
}
.cb-status-closed {
    display: inline-block;
    background: #fee2e2;
    color: #991b1b;
}
.cb-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.cb-icons .cp-source-link {
    width: 2.1rem;
    height: 2.1rem;
}
.cb-icons .cp-source-link svg,
.cb-icons .cp-source-link img {
    width: 1.14rem;
    height: 1.14rem;
}
.section-heading {
    font-size: 1.1rem;
    color: var(--text-bright);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

/* ── Mobile (detail) ─────────────────── */
@media (max-width: 600px) {
    .ci-images {
        gap: 0.5rem;
    }
    .ci-img {
        width: 12rem;
        height: 9.5rem;
    }
    .ci-hours-box {
        width: 100%;
    }
    .cb-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Inline-style replacements (React) ── */
.cp-location-icon {
    width: 0.95em;
    height: 0.95em;
    vertical-align: -0.1em;
    margin-left: 0.25em;
}
.cp-cta-emoji {
    margin-right: 0.3rem;
}
.cp-easy-logo {
    border-radius: 2px;
}


/* ═══════════════════════════════════════════════════════════════════
   Shared component styles (imported)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Related articles ────────────── */
.bp-related-articles { margin-top: 1rem; }
.bp-related-header { display: flex; align-items: center; justify-content: space-between; margin: 0 0 0.5rem; }
.bp-related-header h3 { font-size: 1.1rem; font-weight: 600; color: var(--text-bright); margin: 0; }
.bp-related-see-all { color: var(--accent); font-size: 0.85rem; font-weight: 700; text-decoration: none; white-space: nowrap; transition: opacity 0.2s; }
.bp-related-see-all:hover { opacity: 0.8; }
.bp-related-row { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 9rem; gap: 0.65rem; }
.bp-related-card { position: relative; border-radius: 0.75rem; overflow: hidden; cursor: pointer; text-decoration: none; border: 1px solid #374151; }
.bp-related-card:first-child { grid-row: span 2; }
.bp-related-card > img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s ease; }
.bp-related-card:hover > img { transform: scale(1.09); }
.bp-related-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 2.5rem 0.75rem 0.6rem; background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 40%, rgba(0,0,0,0.5) 65%, rgba(0,0,0,0.15) 80%, transparent 100%); }
.bp-related-title { font-size: 0.82rem; font-weight: 700; color: #f9fafb; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bp-related-card:first-child .bp-related-title { font-size: 1rem; font-weight: 800; -webkit-line-clamp: 3; }
@media (max-width: 600px) {
    .bp-related-row { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 8rem; }
    .bp-related-card:first-child { grid-column: span 2; grid-row: span 1; }
}
.bp-related-card .bc-reviewer { margin-bottom: 0; margin-top: 0.3rem; }
.bp-related-card .bc-reviewer-pic { width: 18px !important; height: 18px !important; max-width: 18px; max-height: 18px; min-width: 18px; min-height: 18px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--accent); margin-left: 0.3rem; flex-shrink: 0; }
.bc-reviewer { display: flex; align-items: center; flex-wrap: wrap; row-gap: 0.15rem; column-gap: 0; margin-bottom: 0.4rem; margin-top: 0.5rem; font-size: 0.78rem; color: #9ca3af; line-height: 1.4; }
.bc-reviewer-pic { width: 18px; height: 18px; border-radius: 50%; object-fit: cover; border: 1.5px solid var(--accent); margin-left: 0.3rem; }
.bc-reviewer-label { color: var(--accent); font-weight: 700; margin-left: 0.25rem; }
.bc-reviewer-name { font-weight: 700; color: var(--text); }
.bc-reviewer-title { font-weight: bold; }

.show-more-btn { display: block; width: fit-content; margin: 1.25rem auto 0; background: var(--surface); border: 1.5px solid var(--border); color: var(--accent, #f9a61d); font-weight: 700; font-size: 0.9rem; padding: 0.6rem 2rem; border-radius: 0.6rem; cursor: pointer; font-family: var(--font); transition: background 0.2s, border-color 0.2s, transform 0.15s, box-shadow 0.15s; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.show-more-btn:hover { border-color: var(--accent); background: rgba(249,166,29,0.06); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(249,166,29,0.15); }
.show-more-btn:active { transform: translateY(0); }

/* ── Menu toggle button (matches .menu-icon-btn from React) ── */
.menu-toggle {
    background: transparent;
    border: none;
    border-radius: 50%;
    padding: 0;
    cursor: pointer;
    color: #f9fafb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(14px, 3.5vw, 16px);
    width: 2.34em;
    height: 2.34em;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
    .menu-toggle:hover { background: #222325; }
}
.menu-toggle:active { background: #292c31; }
.menu-toggle-bars {
    display: flex;
    flex-direction: column;
    gap: 0.4em;
}
.menu-toggle .bar {
    width: 1.25em;
    height: 0.125em;
    background-color: #f9fafb;
    border-radius: 1px;
}

/* ── Side menu panel ───────────────── */
/* em units used inside panel so sizes are relative to this
   element's font-size (matching React's rem-based layout). */
.side-menu {
    position: fixed;
    top: 0;
    right: -21em;
    width: 21em;
    height: 100dvh;
    background-color: #1f2937;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 1100;
    display: flex;
    flex-direction: column;
    padding: 1em 1.25em 0;
    font-size: clamp(14px, 3.5vw, 16px);
    line-height: normal;
    direction: ltr;
}
.side-menu.open { right: 0; }

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #374151;
    padding-bottom: 0.375em;
}
.side-menu-title {
    margin: 0;
    text-align: right;
    font-weight: 800;
    color: #f9fafb;
    font-size: 1.25em;
}
.menu-close-btn {
    background: transparent;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    -webkit-tap-highlight-color: transparent;
}
@media (hover: hover) {
    .menu-close-btn:hover { background: #374151; }
}
.menu-close-btn:active { background: #292c31; }

.side-menu-body {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0.5em;
    flex: 1;
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.side-menu-body::-webkit-scrollbar { display: none; }

.side-menu-item {
    background: none;
    border: none;
    padding: 0.57em 0.715em;
    text-align: right;
    cursor: pointer;
    border-radius: 8px;
    font-size: 1.05em;
    font-weight: 700;
    transition: background-color 0.2s ease;
    color: #f9a61d;
    text-decoration: none;
    display: block;
    font-family: inherit;
}
.side-menu-item:hover { background-color: #374151; }

.side-menu-divider {
    border-top: 1px solid #374151;
    margin: 0.667em 0.715em 0;
    width: 50%;
    align-self: flex-end;
}
.side-menu-section-title {
    font-size: 1.05em;
    font-weight: 700;
    color: #d1d5db;
    padding: 0.475em 0.715em 0.285em;
    margin-top: 0.38em;
    text-align: right;
    letter-spacing: 0.03em;
}

.side-menu-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15em;
    padding: 0.5em 0.75em;
    border-top: 1px solid #374151;
}
.side-menu-footer-row {
    display: flex;
    align-items: center;
    gap: 0.4em;
}
.side-menu-footer-item {
    background: none;
    border: none;
    padding: 0.2em 0;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 400;
    transition: color 0.2s ease;
    color: #9ca3af;
    text-decoration: none;
    font-family: inherit;
}
.side-menu-footer-item:hover { color: #f9fafb; }
.side-menu-footer-sep { color: #4b5563; }

.side-menu-promo {
    display: block;
    margin: 0.5em 0.715em;
    padding: 0.6em 0.715em;
    background: rgba(167,139,250,0.08);
    border: 1px dashed rgba(167,139,250,0.5);
    border-radius: 8px;
    font-size: 0.9em;
    color: #d1d5db;
    text-align: center;
    text-decoration: none;
}
.side-menu-promo span { color: #f9a61d; font-weight: 700; }
.side-menu-promo:hover { background: rgba(167,139,250,0.14); }

/* ── Overlay ───────────────────────── */
.side-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}
.side-menu-overlay.open { display: block; }

/* ── Toolbar ──────────────────────── */
.toolbar {
    margin-top: -1.2rem;
    margin-bottom: 0;
    margin-right: -0.1em;
    display: flex;
    flex-direction: column;
    padding-bottom: 1rem;
}
.toolbar-row {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}
.toolbar .breadcrumb {
    display: block;
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
    min-width: 0;
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.toolbar .breadcrumb a, .toolbar .breadcrumb span { unicode-bidi: isolate; }
.toolbar .breadcrumb a { color: var(--link); text-decoration: none; }
.toolbar .breadcrumb a:hover { text-decoration: underline; }
.toolbar .breadcrumb .bc-sep { color: #9ca3af; margin: 0 0.2rem; }
.hero-updated {
    display: block;
    font-size: 0.75rem;
    color: #a1aabd;
    background: rgba(107,114,128,0.1);
    padding: 0.15rem 0.55rem;
    border-radius: 0.3rem;
    white-space: nowrap;
    text-align: end;
    margin-top: 0;
    width: fit-content;
    align-self: flex-end;
}

.cp-managed-badge { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.7rem; color: #34d399; background: rgba(52,211,153,0.08); border: 1px solid rgba(52,211,153,0.2); border-radius: 999px; padding: 0.15rem 0.55rem; margin-top: 0.25rem; cursor: pointer; position: relative; }
.cp-managed-badge svg { width: 0.85rem; height: 0.85rem; }
.cp-managed-tip { display: none; position: absolute; top: 100%; right: 0; margin-top: 0.35rem; background: var(--surface, #1e1e1e); color: var(--text-bright, #e5e7eb); border: 1px solid var(--border, #333); border-radius: 0.5rem; padding: 0.4rem 0.65rem; font-size: 0.72rem; white-space: nowrap; z-index: 10; box-shadow: 0 2px 8px rgba(0,0,0,0.3); pointer-events: none; }
.cp-managed-badge.is-open .cp-managed-tip { display: block; }
.cc-logo-col { display: flex; flex-direction: column; align-items: flex-start; flex-shrink: 0; gap: 0.75rem; }

/* ── Provider notes ────────────────────── */
.cn-notes { display: flex; flex-direction: column; gap: 0.75rem; margin-bottom: 1.5rem; }
.cn-card { background: rgba(167,139,250,0.08); border: 1px dashed rgba(167,139,250,0.5); border-radius: 0.75rem; padding: 0.75rem 1.25rem; position: relative; }
.cn-header { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 0.4rem; }
.cn-icon { width: 1.25rem; height: 1.25rem; color: var(--accent, #f9a61d); flex-shrink: 0; cursor: pointer; }
.cn-category { font-size: 0.85rem; color: var(--accent, #f9a61d); font-weight: 600; }
.cn-date { font-size: 0.75rem; color: #9ca3af; margin-inline-start: auto; }
.cn-content { font-size: 0.85rem; color: var(--text); line-height: 1.65; white-space: pre-line; }
.cn-tooltip-wrap { position: relative; display: inline-flex; align-items: center; }
.cn-tooltip { display: none; position: absolute; bottom: calc(100% + 6px); right: 0; background: #1e1e2e; color: #fff; font-size: 0.75rem; padding: 0.35rem 0.6rem; border-radius: 0.4rem; white-space: nowrap; pointer-events: none; z-index: 10; }
.cn-tooltip-wrap.cn-active .cn-tooltip { display: block; }
.cn-heading-with-icon { display: flex; align-items: center; gap: 0.4rem; }
.cn-chat-icon { width: 1rem; height: 1rem; color: #f9a61d; flex-shrink: 0; }

.ci-map { margin-bottom: 1.5rem; }
.ci-map iframe { display: block; width: 100%; border: 0; border-radius: 0.75rem; }

.waze-link { display: none !important; }
@media (max-width: 600px) {
    .waze-link { display: inline-flex !important; }
}

.star-rating { display: inline-flex; align-items: center; direction: ltr; }
.star-rating svg { width: 1em; height: 1em; }
.star-rating-lg svg { width: 1.1em; height: 1.1em; }
.star-rating-sm svg { width: 0.9em; height: 0.9em; }

