/* ── 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;
}
.pp-page { max-width: 72rem; margin: 0 auto; padding: 2rem 1.5rem 4rem; }

/* ── Hero ─────────────────────────── */
.pp-hero {
    background: var(--surface);
    border-radius: 1.5rem 0.6rem 1.5rem 0.6rem;
    padding: 1.5rem 1.5rem 2.5rem 1.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.pp-hero::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--border); border-radius: inherit; pointer-events: none; }
.pp-site-logo { height: 5rem; width: auto; }
.pp-site-logo-link { display: block; margin-bottom: 0.5rem; }

.pp-cover-badge {
    width: 5.04rem;
    height: 5.04rem;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}
.pp-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.pp-hero-title { margin: 0 0 0.35rem; font-size: 1.5rem; color: var(--text-bright); line-height: 1.3; }
.pp-hero-sub { font-size: 0.9rem; color: #9ca3af; margin-bottom: 0.5rem; max-width: 32rem; }

/* ── Rating (same as provider page) ── */
.pp-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    direction: ltr;
}
.pp-rating-icon {
    width: 1.25em;
    height: 1.25em;
    flex-shrink: 0;
}
.pp-rating-vetted {
    font-size: 1em;
}
.pp-rating-value { font-weight: 700; color: var(--text-bright); }

.pp-hero-desc {
    font-size: 0.92rem;
    color: #d1d5db;
    line-height: 1.7;
    margin: 0.75rem auto 0.5rem;
    max-width: 40rem;
}

/* ── Social links (icon row) ───────── */
.pp-source-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    row-gap: 1.4rem;
    margin-top: 1.1rem;
    flex-wrap: wrap;
}
.pp-source-rating-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: 100%;
}
.pp-source-rating-badge svg {
    width: 1.5rem;
    height: 1.5rem;
}
.pp-source-rating-value {
    position: absolute;
    bottom: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    z-index: 2;
    padding: 0.2rem 0.32rem;
    border-radius: 0.4rem;
    background: #5e90e1;
}
.pp-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;
}
.pp-source-link img,
.pp-source-link svg {
    height: 1.43rem;
    width: 1.43rem;
    object-fit: contain;
    border-radius: 0.3rem;
}
.pp-source-link[aria-label="Apple Podcasts"] svg {
    height: 2.145rem;
    width: 2.145rem;
}
.pp-source-link[aria-label="אינסטגרם"]::before,
.pp-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;
}
.pp-source-link[aria-label="אינסטגרם"]::before {
    background: linear-gradient(45deg, #ffdc80, #fcaf45, #f77737, #f56040, #e1306c, #c13584, #833ab4, #5851db);
}
.pp-source-link[aria-label="טיקטוק"]::before {
    background: linear-gradient(135deg, #00f2ea, #00f2ea 42%, #ff0050 58%, #ff0050);
}
.pp-source-link[aria-label="טיקטוק"] svg {
    transition: filter 0.25s ease;
}
@media (hover: hover) {
    .pp-source-link:hover {
        transform: translateY(-3px);
        background: rgba(255, 255, 255, 0.12);
        border-color: rgba(255, 255, 255, 0.25);
    }
    .pp-source-link[aria-label="Spotify"]:hover {
        color: #1ed760;
        border-color: #1ed760;
    }
    .pp-source-link[aria-label="Apple Podcasts"]:hover {
        color: #fb233b;
        border-color: #fb233b;
    }
    .pp-source-link[aria-label="פייסבוק"]:hover {
        color: #1877f2;
        border-color: #1877f2;
    }
    .pp-source-link[aria-label="אינסטגרם"]:hover {
        color: #e1306c;
        border-color: transparent;
    }
    .pp-source-link[aria-label="טיקטוק"]:hover {
        color: #ffffff;
        border-color: transparent;
    }
    .pp-source-link[aria-label="טיקטוק"]:hover svg {
        filter: drop-shadow(-1px 0 #00f2ea) drop-shadow(1px 0 #ff0050);
    }
    .pp-source-link[aria-label="וואטסאפ"]:hover {
        color: #25d366;
        border-color: #25d366;
    }
    .pp-source-link[aria-label="אינסטגרם"]:hover::before,
    .pp-source-link[aria-label="טיקטוק"]:hover::before {
        opacity: 1;
    }
}

/* ── Filter card (same as blog) ────── */
.bp-filter { background: var(--surface); border: 1px solid var(--border); border-radius: 0.75rem; padding: 1rem 1.25rem; margin-bottom: 1.5rem; }
.bp-filter-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.bp-filter-title { font-size: 0.85rem; color: #9ca3af; font-weight: 600; }
.bp-filter-count { font-size: 0.82rem; color: #9ca3af; }
.bp-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; margin-bottom: 0.75rem; }
.bp-filter-search:focus { border-color: var(--accent); }
.bp-filter-search::placeholder { color: #6b7280; }
.bp-filter-pills { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.bp-filter-pills-label { display: block; font-size: 0.78rem; color: #9ca3af; margin-bottom: 0.35rem; }
.bp-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; }
.bp-filter-pill:hover { border-color: var(--accent); color: var(--text-bright); }
.bp-filter-pill.active { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 700; }
.bp-filter-no-results { display: none; text-align: center; color: #9ca3af; padding: 2rem 1rem; background: var(--surface); border-radius: 0.75rem; border: 1px dashed var(--border); margin-bottom: 1.5rem; }
.bp-filter-no-results.is-visible { display: block; }

/* ── Episodes section ─────────────── */
.pp-episodes { padding-bottom: 1.5rem; }
.pp-episodes-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.pp-episodes-title { font-size: 1.35rem; color: var(--text-bright); margin: 0; }
.pp-episodes-count { font-size: 0.82rem; color: #9ca3af; }

.pp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr)); gap: 1.5rem; }

/* ── Episode cards (match blog card design) ── */
.bc { background: var(--surface); border-radius: 1rem; overflow: hidden; cursor: pointer; transition: transform 0.25s ease, box-shadow 0.25s ease; border: 1px solid var(--border); }
.bc-link { display: block; text-decoration: none; color: inherit; -webkit-tap-highlight-color: transparent; }
@media (hover: hover) {
  .bc:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.4); border-color: #4b5563; }
}
.bc-img-wrap { position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); }
.bc-img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
@media (hover: hover) {
  .bc:hover .bc-img { transform: scale(1.05); }
}
.bc-tags-row { position: absolute; top: 0.75rem; right: 0.75rem; display: flex; gap: 0.4rem; }
.bc-tag { background: rgba(249,166,29,0.9); color: #141415; padding: 0.2rem 0.65rem; border-radius: 1rem; font-size: 0.85rem; font-weight: 700; backdrop-filter: blur(4px); }
.bc-meta-left { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; align-items: center; gap: 0.4rem; }
.bc-view-chip { background: rgba(0,0,0,0.65); color: #e5e7eb; padding: 0.2rem 0.6rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 600; backdrop-filter: blur(4px); display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.bc-view-eye { width: 0.75rem; height: 0.75rem; flex-shrink: 0; margin-bottom: 1px; }
.bc-reading-time { background: rgba(0,0,0,0.65); color: #e5e7eb; padding: 0.2rem 0.6rem; border-radius: 1rem; font-size: 0.75rem; font-weight: 600; backdrop-filter: blur(4px); display: inline-flex; align-items: center; gap: 0.3rem; white-space: nowrap; }
.bc-body { padding: 1rem 1.25rem 1.25rem; }
.bc-title { font-size: 1.2rem; font-weight: 800; margin: 0; line-height: 1.5; color: #f1f5f9; }
.bc-desc { font-size: 0.85rem; color: #9ca3af; margin: 0.4rem 0 0; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ── Play badge overlay ── */
.pc-play { position: absolute; bottom: 0.75rem; left: 0.75rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent); color: #141415; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 16px rgba(0,0,0,0.45); }
.pc-play svg { margin-right: 1px; }

/* ── Episode detail hero ──────────── */
.ep-hero {
    background: var(--surface);
    border-radius: 1.5rem 0.6rem 1.5rem 0.6rem;
    padding: 1.5rem 1.5rem 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.ep-hero::before { content: ""; position: absolute; inset: 0; border: 1px solid var(--border); border-radius: inherit; pointer-events: none; }
.ep-hero .pp-site-logo-link { margin-top: 2.5rem; }

/* ── Separator between related widgets ── */
.pp-separator {
    border: none;
    border-top: 1px solid var(--border);
    margin: 1.25rem 0 1.5rem;
}
.ep-cover {
    width: 14rem;
    height: 14rem;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border);
    margin-bottom: 1rem;
}
.ep-chips {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.ep-title {
    margin: 0 0 0.75rem;
    font-size: 1.6rem;
    color: var(--text-bright);
    line-height: 1.35;
    max-width: 44rem;
}
.ep-desc {
    font-size: 0.95rem;
    color: #d1d5db;
    line-height: 1.7;
    margin: 0 auto 1.25rem;
    max-width: 44rem;
    text-align: center;
}
.ep-player {
    width: calc(100% - 4rem);
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}
.ep-player iframe {
    width: 100%;
    height: 152px;
    border: none;
    border-radius: 12px;
}

/* ── Disclaimer (matches provider page) ── */
.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;
}
@media (hover: hover) {
    .ai-disclaimer a:hover {
        text-decoration: underline;
    }
}

/* ── Mobile ───────────────────────── */
@media (max-width: 600px) {
    .pp-page { padding: 1.5rem 1rem 3rem; }
    .pp-hero { padding: 1.25rem 1rem 1.5rem 1rem; }
    .pp-hero-title { font-size: 1.25rem; }
    .ep-cover { width: 10rem; height: 10rem; }
    .ep-title { font-size: 1.25rem; }
    .ep-player {
        width: calc(100% + 2rem);
        max-width: none;
        margin-left: -1rem;
        margin-right: -1rem;
    }
    .pp-grid { grid-template-columns: 1fr; gap: 1rem; }
}
.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; }
/* ── 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; }
/* ── Share Panel ─────────────────────────── */

.share-panel {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
}

.share-panel-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-bright);
}

.share-panel-buttons {
    display: flex;
    gap: 0.6rem;
}

.share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    transition:
        border-color 0.2s,
        transform 0.15s;
}

@media (hover: hover) {
    .share-btn:hover {
        border-color: var(--accent);
        transform: scale(1.1);
    }
}

.share-btn:active {
    border-color: var(--accent);
    transform: scale(0.95);
}

.share-btn img {
    width: 1.3rem;
    height: 1.3rem;
}

.share-btn img[src*="facebook"],
.share-btn img[src*="telegram"] {
    background: #fff;
    border-radius: 50%;
}
/* ═══════════════════════════════════════════════════════════════════
   SSR Common - Shared styles across all SSR pages
   ═══════════════════════════════════════════════════════════════════ */

/* ── CTA Button (soft blob) ─────────────────── */
.ssr-cta {
    position: relative;
    z-index: 1;
    isolation: isolate;
    display: block;
    margin-inline: auto;
    width: fit-content;
    background: transparent;
    border: none;
    color: #fffbe6;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.65rem 1.65rem;
    border-radius: 1.5rem 0.6rem 1.5rem 0.6rem;
    text-decoration: none;
    font-family: var(--font);
    transition: transform 0.25s, border-radius 0.4s, box-shadow 0.25s;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
    text-align: center;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}
.ssr-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    padding: 1px;
    border-radius: inherit;
    background: linear-gradient(
        110deg,
        #c4b8f0,
        #b4a4e8,
        #a490e0,
        #bca8ec,
        #ccbcf4,
        #bca8ec,
        #a490e0,
        #b8a8e4,
        #c0b0ec,
        #b4a4e8,
        #c4b8f0
    );
    background-size: 300% 100%;
    -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.72;
    animation: cp-ai-border-flow 12s linear infinite;
    pointer-events: none;
}
.ssr-cta::after {
    content: "";
    position: absolute;
    inset: 1px;
    z-index: -1;
    border-radius: calc(1.5rem - 1px) calc(0.6rem - 1px) calc(1.5rem - 1px) calc(0.6rem - 1px);
    background: linear-gradient(135deg, rgba(167, 139, 250, 0.92), rgba(147, 121, 240, 0.75), rgba(127, 109, 230, 0.72), rgba(167, 139, 250, 0.92));
    background-size: 300% 300%;
    animation: cp-ai-bg-shift 14s linear infinite;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    pointer-events: none;
    transition: border-radius 0.4s, background 0.25s;
}
@media (hover: hover) {
    .ssr-cta:hover {
        border-radius: 0.6rem 1.5rem 0.6rem 1.5rem;
        transform: translateY(-2px);
        background: transparent;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    }
    .ssr-cta:hover::after {
        border-radius: calc(0.6rem - 1px) calc(1.5rem - 1px) calc(0.6rem - 1px) calc(1.5rem - 1px);
        background: linear-gradient(135deg, rgba(167, 139, 250, 0.95), rgba(147, 121, 240, 0.8), rgba(127, 109, 230, 0.78), rgba(167, 139, 250, 0.95));
        background-size: 300% 300%;
        animation: cp-ai-bg-shift 14s linear infinite;
    }
}

@keyframes cp-ai-border-flow {
    to { background-position: 250% 0; }
}
@keyframes cp-ai-bg-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ── Sticky bottom CTA ──────────────── */
.cp-sticky-cta-wrap {
    position: sticky;
    bottom: 0.5rem;
    z-index: 10;
    margin: 1.5rem -0.625rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% + 1.25rem);
}
.cp-sticky-cta-wrap .ssr-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 3rem;
    margin-bottom: 0.25rem;
    padding: 0.35rem 2rem;
    text-shadow: none;
}
.cp-ai-cta-label {
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.cp-sticky-cta-wrap .ssr-cta:focus-visible {
    outline: 3px solid rgba(96, 165, 250, 0.5);
    outline-offset: 4px;
}
@media (prefers-reduced-motion: reduce) {
    .cp-sticky-cta-wrap .ssr-cta::before,
    .cp-sticky-cta-wrap .ssr-cta::after {
        animation: none;
    }
}

/* ── Animatable custom properties for hero glow ── */
@property --glow-x {
    syntax: '<percentage>';
    initial-value: 62%;
    inherits: false;
}
@property --glow-y {
    syntax: '<percentage>';
    initial-value: 25%;
    inherits: false;
}
@property --glow-a {
    syntax: '<number>';
    initial-value: 0.7;
    inherits: false;
}

/* ── Hero purple gradient glow ── */
.ssr-hero-glow {
    /* static centered ambient + subtle dark tint */
    background-image:
        radial-gradient(
            ellipse 100% 90% at 62% 25%,
            rgba(167, 139, 250, 0.045) 0%,
            rgba(139, 92, 246, 0.021) 40%,
            transparent 70%
        ),
        linear-gradient(
            rgba(0, 0, 0, 0.14),
            rgba(0, 0, 0, 0.14)
        );
}

/* single centered blob - drifting + breathing */
.ssr-hero-glow::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        radial-gradient(
            ellipse 80% 85% at var(--glow-x) var(--glow-y),
            rgba(167, 139, 250, 0.101) 0%,
            rgba(167, 139, 250, 0.041) 40%,
            transparent 75%
        );
    pointer-events: none;
    mix-blend-mode: screen;
    opacity: var(--glow-a);
    animation: hero-glow-drift 20s ease-in-out infinite;
}

@keyframes hero-glow-drift {
    0%   { --glow-x: 62%; --glow-y: 25%; --glow-a: 0.71; }
    25%  { --glow-x: 78%; --glow-y: 12%; --glow-a: 0.90; }
    50%  { --glow-x: 48%; --glow-y: 35%; --glow-a: 0.62; }
    75%  { --glow-x: 72%; --glow-y: 30%; --glow-a: 0.81; }
    100% { --glow-x: 62%; --glow-y: 25%; --glow-a: 0.71; }
}

@media (prefers-reduced-motion: reduce) {
    .ssr-hero-glow::after {
        animation: none;
        --glow-x: 62%;
        --glow-y: 25%;
        --glow-a: 0.76;
    }
}

/* ── Back to top link ──────────────── */
.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); }
