/*
Theme Name: tryreadnow_test
Theme URI: https://tryreadnow.com
Author: globeread
Author URI: https://tryreadnow.com
Description: Curated reads from across the web — globeread.com
Version: 3.6.0
License: GNU General Public License v2 or later
Text Domain: globeread
*/

@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&family=Inter:wght@400;500;600&display=swap');

/* ═══════════════════════════════════════
   CSS VARIABLES — Light & Dark mode
═══════════════════════════════════════ */
:root {
    --bg:         #F5F4F0;
    --surface:    #ffffff;
    --ink:        #1a1a1a;
    --muted:      #6b6b6b;
    --border:     #E8E4DC;
    --accent:     #c0392b;
    --accent-h:   #a93226;
    --header-bg:  #F5F4F0;
    --shadow:     0 1px 4px rgba(0,0,0,0.06);
    --radius:     10px;
    --font-body:  'Inter', -apple-system, sans-serif;
    --font-head:  'Lora', Georgia, serif;
}

body.dark-mode {
    --bg:        #1a1a1a;
    --surface:   #222222;
    --ink:       #e8e8f0;
    --muted:     #888899;
    --border:    #2a2a35;
    --header-bg: #13131a;
    --shadow:    0 2px 20px rgba(0,0,0,0.3);
}

/* ═══════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--ink);
    line-height: 1.6;
    transition: background 0.3s, color 0.3s;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ═══════════════════════════════════════
   HEADER
═══════════════════════════════════════ */
.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
    overflow: visible;
    transition: background 0.3s, border-color 0.3s;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: visible;
    position: relative;
}

.site-logo-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    flex-shrink: 0;
}

.site-logo-wrap::after {
    content: 'Human-curated · No algorithm · Always free';
    display: block;
    font-size: 10px;
    color: var(--subtle);
    font-family: var(--font-sans);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 1;
    margin-top: 2px;
}

.site-logo {
    font-family: var(--font-body);
    font-size: 22px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.5px;
    flex-shrink: 0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    line-height: 1;
}
.site-logo span { color: var(--accent); }

.site-logo-icon {
    width: 9px;
    height: 9px;
    margin-left: 3px;
    vertical-align: middle;
    flex-shrink: 0;
    display: inline-block;
    position: relative;
    top: -4px;
}

.site-nav { display: flex; align-items: center; gap: 0; }
.site-nav ul { display: flex; gap: 4px; align-items: center; margin: 0; padding: 0; list-style: none; }
.site-nav ul li a {
    padding: 7px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.15s, background 0.15s;
}
.site-nav ul li a:hover { color: var(--ink); background: var(--border); }
.site-nav ul li.current-menu-item a {
    color: var(--ink);
    background: var(--border);
}
/* Don't highlight Home as active on inner pages */
body:not(.home) .site-nav ul li.current-menu-item a,
body:not(.front-page) .site-nav ul li.current-menu-item a {
    color: var(--muted);
    background: none;
    font-weight: 400;
}

.header-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.dark-toggle {
    width: 36px; height: 36px;
    border: none; background: transparent;
    cursor: pointer; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--muted);
    transition: background 0.15s, color 0.15s;
    font-size: 18px;
}
.dark-toggle:hover { background: var(--border); color: var(--ink); }

.btn-subscribe {
    padding: 8px 20px;
    background: var(--accent);
    color: #fff !important;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.15s, transform 0.15s;
    white-space: nowrap;
}
.btn-subscribe:hover { background: var(--accent-h); transform: translateY(-1px); }

.menu-toggle {
    display: none;
    width: 36px; height: 36px;
    border: 1px solid var(--border);
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
.menu-toggle span {
    display: block; width: 18px; height: 2px;
    background: var(--ink); border-radius: 2px; transition: all 0.2s;
}

/* ═══════════════════════════════════════
   MAIN & FOOTER
═══════════════════════════════════════ */

/* ═══════════════════════════════════════
   PROFILE DROPDOWN
═══════════════════════════════════════ */
.trn-profile {
    position: relative;
}
.trn-profile-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px 5px 5px;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    background: var(--surface);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    transition: border-color 0.15s, box-shadow 0.15s;
    white-space: nowrap;
}
.trn-profile-btn:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(192,57,43,0.08);
}
.trn-profile-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.trn-profile-dropdown {
    display: none;
    position: fixed;
    min-width: 210px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
    z-index: 99999;
    overflow: hidden;
    animation: dropIn 0.15s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.trn-profile-dropdown.open {
    display: block;
}
.trn-profile-info {
    padding: 14px 16px 12px;
    border-bottom: 1px solid var(--border);
}
.trn-profile-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 2px;
}
.trn-profile-email {
    font-size: 12px;
    color: var(--muted);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.trn-profile-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    font-size: 14px;
    color: var(--ink);
    text-decoration: none;
    transition: background 0.12s;
}
.trn-profile-dropdown a:hover { background: var(--bg); }
.trn-profile-dropdown a svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.6;
}
.trn-profile-dropdown a.trn-logout {
    border-top: 1px solid var(--border);
    color: var(--accent);
}
.trn-profile-dropdown a.trn-logout svg { opacity: 1; }

.site-main { min-height: calc(100vh - 64px - 80px); }

.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 28px 24px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    transition: background 0.3s;
}
.site-footer a { color: var(--accent); }
.site-footer a:hover { text-decoration: underline; }

/* ═══════════════════════════════════════
   DARK MODE — COMPLETE
═══════════════════════════════════════ */
body.dark-mode,
body.dark-mode .trn-wrapper,
body.dark-mode .site-main {
    background-color: #1a1a1a !important;
}

/* Search */
body.dark-mode .trn-search-wrap {
    background-color: #222 !important;
    border-color: #2a2a35 !important;
}
body.dark-mode .trn-search {
    background-color: #222 !important;
    color: #e8e8f0 !important;
    border-color: #2a2a35 !important;
}
body.dark-mode .trn-search::placeholder { color: #555 !important; }
body.dark-mode .trn-search-icon { color: #555 !important; }

/* Category buttons */
body.dark-mode .trn-cat-btn {
    background-color: #222 !important;
    color: #888 !important;
    border-color: #2a2a35 !important;
}
body.dark-mode .trn-cat-btn.active {
    background-color: #e8e8f0 !important;
    color: #1a1a1a !important;
    border-color: #e8e8f0 !important;
}
body.dark-mode .trn-cat-btn:hover {
    background-color: #2a2a35 !important;
    color: #e8e8f0 !important;
}

/* Articles */
body.dark-mode .site-logo-wrap::after { color: #555; }
body.dark-mode .trn-article { border-color: #2a2a35 !important; }
body.dark-mode .trn-article-inner { background-color: #1a1a1a !important; }
body.dark-mode .trn-title a { color: #e8e8f0 !important; }
body.dark-mode .trn-title a:hover { color: #c0392b !important; }
body.dark-mode .trn-resume { color: #888899 !important; }
body.dark-mode .trn-date,
body.dark-mode .trn-author,
body.dark-mode .trn-source { color: #555 !important; }

/* Action buttons */
body.dark-mode .trn-action-btn {
    background: #222 !important;
    border-color: #2a2a35 !important;
    color: #555 !important;
}
body.dark-mode .trn-action-btn:hover {
    background: #2a2a35 !important;
    border-color: #444 !important;
    color: #aaa !important;
}
body.dark-mode .trn-save.active {
    border-color: #f5a623 !important;
    background: rgba(245,166,35,0.12) !important;
    color: #f5a623 !important;
}
body.dark-mode .trn-like.active {
    border-color: #e05a5a !important;
    background: rgba(224,90,90,0.12) !important;
    color: #e05a5a !important;
}

/* Read More & Load More */
body.dark-mode .trn-read-btn { background: #c0392b !important; color: #fff !important; }
body.dark-mode .trn-loadmore {
    background: #222 !important;
    border-color: #2a2a35 !important;
    color: #888 !important;
}
body.dark-mode .trn-loadmore:hover {
    background: #2a2a35 !important;
    color: #e8e8f0 !important;
}

/* Empty state */
body.dark-mode .trn-empty { color: #555 !important; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 768px) {
    .site-nav {
        display: none;
        position: absolute;
        top: 64px; left: 0; right: 0;
        background: var(--header-bg);
        border-bottom: 1px solid var(--border);
        padding: 12px 16px;
        z-index: 99;
    }
    .site-nav.open { display: block; }
    .site-nav ul { flex-direction: column; gap: 4px; }
    .site-nav ul li a { display: block; padding: 10px 14px; }
    .menu-toggle { display: flex; }
    .btn-subscribe {
        display: inline-block !important;
        padding: 7px 14px !important;
        font-size: 13px !important;
        border-radius: 8px !important;
        background: #c0392b !important;
        color: #fff !important;
        font-weight: 600 !important;
        white-space: nowrap !important;
        pointer-events: auto !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }
}

/* ═══════════════════════════════════════
   MOBILE IMPROVEMENTS
═══════════════════════════════════════ */
@media (max-width: 600px) {

    /* ── Header ── */
    .header-inner {
        padding: 0 16px;
        gap: 12px;
    }

    .site-logo {
        font-size: 18px;
    }

    /* Hide dark toggle label, keep button compact */
    .dark-toggle {
        width: 30px;
        height: 30px;
        font-size: 16px;
    }

    /* ── Action buttons — single icon mode ── */
    .trn-actions-top {
        gap: 4px;
    }

    .trn-action-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
        gap: 3px !important;
    }

    /* Hide text labels, keep only icons */
    .trn-save::after   { content: '☆'; }
    .trn-share::after  { content: '↗'; }
    .trn-feedback::after { content: '✉'; }

    .trn-save,
    .trn-share,
    .trn-feedback {
        font-size: 0 !important;
        width: 30px !important;
        padding: 0 !important;
        justify-content: center !important;
    }

    .trn-save::after,
    .trn-share::after,
    .trn-feedback::after {
        font-size: 14px;
    }

    .trn-save.active::after   { content: '★'; color: #f5a623; }
    .trn-share.copied::after  { content: '✓'; color: #27ae60; }

    /* Like button — handle separately to keep count badge working */
    .trn-like {
        position: static !important;
        padding: 0 !important;
        justify-content: center !important;
        min-width: 30px !important;
        gap: 0 !important;
        overflow: visible !important;
    }

    .trn-like-label {
        position: relative !important;
        font-size: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 20px !important;
        height: 20px !important;
    }

    .trn-like-label::before {
        content: '♡';
        font-size: 15px;
        display: inline-block;
        line-height: 1;
    }

    .trn-like.active .trn-like-label::before {
        content: '♥';
        color: #c0392b;
    }

    .trn-like-count {
        position: absolute !important;
        top: -7px !important;
        right: -9px !important;
        left: auto !important;
        font-size: 9px !important;
        min-width: 14px !important;
        height: 14px !important;
        padding: 0 3px !important;
        line-height: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 2 !important;
    }

    .trn-like-count:empty {
        display: none !important;
    }

    /* ── Meta row ── */
    .trn-meta-top {
        flex-wrap: nowrap;
        gap: 6px;
    }

    .trn-meta-left {
        flex-shrink: 0;
        gap: 6px;
    }

    /* ── Article ── */
    .trn-article-inner {
        padding: 16px !important;
    }

    .trn-title {
        font-size: 18px !important;
    }

    .trn-footer {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .trn-read-btn {
        width: 100%;
        justify-content: center;
    }

    /* ── Search ── */
    .trn-search {
        font-size: 14px !important;
    }

    /* ── Category buttons ── */
    .trn-categories-filter {
        gap: 6px !important;
    }

    .trn-cat-btn {
        padding: 5px 12px !important;
        font-size: 12px !important;
    }

    /* ── Profile dropdown ── */
    .trn-profile-dropdown {
        right: -10px;
        min-width: 180px;
    }

    .trn-profile-btn span:not(.trn-profile-avatar) {
        display: none;
    }

    .trn-profile-btn {
        padding: 4px 8px 4px 4px;
    }
}
/* ═══════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════ */
.gr-hero {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 50%, #0f0f0f 100%);
    padding: 72px 32px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.gr-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 120%, rgba(192,57,43,0.22) 0%, transparent 70%);
    pointer-events: none;
}
.gr-hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.gr-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.65); font-size: 12px; font-weight: 500;
    padding: 5px 14px; border-radius: 20px; margin-bottom: 24px;
}
.gr-hero-title {
    font-family: 'Lora', Georgia, serif;
    font-size: clamp(28px, 4.5vw, 50px);
    font-weight: 700; color: #fff; line-height: 1.15;
    letter-spacing: -1px; margin-bottom: 18px;
}
.gr-hero-title em { font-style: normal; color: var(--accent); }
.gr-hero-sub {
    font-size: 16px; color: rgba(255,255,255,0.5);
    line-height: 1.65; margin-bottom: 32px;
}
.gr-hero-actions {
    display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 40px;
}
.gr-hero-cta {
    padding: 12px 26px; background: var(--accent); color: #fff;
    border-radius: 24px; font-size: 15px; font-weight: 600;
    box-shadow: 0 4px 20px rgba(192,57,43,0.4);
    transition: all 0.2s; display: inline-block;
}
.gr-hero-cta:hover { background: var(--accent-h); transform: translateY(-1px); }
.gr-hero-ghost {
    padding: 12px 22px; background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.75); border-radius: 24px; font-size: 15px; font-weight: 500;
    border: 1px solid rgba(255,255,255,0.15); transition: all 0.2s; display: inline-block;
}
.gr-hero-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }
.gr-hero-stats { display: flex; align-items: center; justify-content: center; gap: 36px; }
.gr-hero-stat { text-align: center; }
.gr-stat-n { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.gr-stat-l { font-size: 11px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }

/* ═══════════════════════════════════════
   PAGE LAYOUT WITH SIDEBAR
═══════════════════════════════════════ */
.gr-page {
    max-width: 1200px; margin: 0 auto; padding: 0 24px 80px;
}
.gr-feed-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 32px;
    align-items: start;
    margin-top: 0;
}
.gr-main-col { min-width: 0; }

/* ═══════════════════════════════════════
   SIDEBAR
═══════════════════════════════════════ */
.gr-sidebar {
    display: flex; flex-direction: column; gap: 18px;
    position: sticky; top: 84px;
}
.gr-sidebar-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 14px; padding: 20px;
    box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.gr-sidebar-title {
    font-size: 13px; font-weight: 700; color: var(--ink);
    margin-bottom: 14px; display: flex; align-items: center; gap: 6px;
}
.gr-sidebar-cat {
    display: flex; align-items: center; justify-content: space-between;
    padding: 8px 10px; border-radius: 8px; cursor: pointer;
    transition: background 0.15s; margin-bottom: 4px;
    border: 1px solid var(--border);
}
.gr-sidebar-cat:hover { background: var(--bg); }
.gr-sidebar-cat-name { font-size: 13px; color: var(--ink); font-weight: 500; }

/* Weekly digest sidebar widget */
.gr-sidebar-digest {
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    border-radius: 14px; padding: 22px 20px; text-align: center;
}
.gr-digest-icon { font-size: 32px; margin-bottom: 10px; }
.gr-digest-title { font-size: 15px; font-weight: 700; color: #fff; margin-bottom: 6px; }
.gr-digest-text { font-size: 12px; color: rgba(255,255,255,0.5); line-height: 1.5; margin-bottom: 16px; }
.gr-digest-btn {
    display: block; padding: 10px 18px; background: var(--accent);
    color: #fff; border-radius: 20px; font-size: 13px; font-weight: 600;
    transition: background 0.15s;
}
.gr-digest-btn:hover { background: var(--accent-h); color: #fff; }

/* Dark mode sidebar */
body.dark-mode .gr-sidebar-card { background: #1e1e1e; border-color: #2a2a35; }
body.dark-mode .gr-sidebar-cat { border-color: #2a2a35; }
body.dark-mode .gr-sidebar-cat:hover { background: #2a2a35; }

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 900px) {
    .gr-feed-layout { grid-template-columns: 1fr; }
    .gr-sidebar { display: none; }
    .gr-hero { padding: 52px 20px 44px; }
    .gr-page { padding: 0 16px 60px; }
    .gr-hero-stats { gap: 20px; }
    .gr-hero-actions { flex-direction: column; align-items: center; }
}
@media (max-width: 520px) {
    .gr-hero-title { font-size: 26px; }
    .gr-hero-sub { font-size: 14px; }
    .gr-stat-n { font-size: 18px; }
}

/* ── SIDEBAR SURPRISE ME BUTTON ── */
.gr-sidebar-surprise {
    width: 100%;
    padding: 13px 16px;
    background: var(--ink);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.15s, transform 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.gr-sidebar-surprise:hover {
    background: #333;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.gr-surprise-sub {
    font-size: 11px;
    color: rgba(255,255,255,0.4);
    font-weight: 400;
}
body.dark-mode .gr-sidebar-surprise { background: #e8e4dc; color: #1a1a1a; }
body.dark-mode .gr-sidebar-surprise:hover { background: #ccc; }
body.dark-mode .gr-surprise-sub { color: rgba(0,0,0,0.4); }

/* Sidebar category active state */
.gr-sidebar-cat-active {
    background: var(--ink) !important;
    border-color: var(--ink) !important;
}
.gr-sidebar-cat-active .gr-sidebar-cat-name { color: #fff !important; }
body.dark-mode .gr-sidebar-cat-active { background: var(--accent) !important; border-color: var(--accent) !important; }

/* Sidebar category count + emoji fix */
.gr-sidebar-cat { justify-content: space-between; }
.gr-cat-icon { display: inline-block; width: 22px; text-align: center; font-style: normal; }
.gr-sidebar-cat-count {
    font-size: 11px; color: var(--subtle);
    background: var(--bg); border-radius: 10px;
    padding: 1px 7px; font-weight: 500; flex-shrink: 0;
}
.gr-sidebar-cat-active .gr-sidebar-cat-count { background: rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); }

/* ═══════════════════════════════════════
   ARTICLE REDIRECT PAGE (/read?id=X)
═══════════════════════════════════════ */
.rd-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px 60px;
    background: var(--bg);
}
.rd-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 40px 36px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 4px 32px rgba(0,0,0,.08);
}
.rd-cats {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 18px;
}
.rd-cat {
    display: inline-block;
    padding: 3px 11px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-sans);
}
.rd-title {
    font-family: var(--font-body);
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.25;
    letter-spacing: -0.4px;
    margin-bottom: 10px;
}
.rd-meta {
    font-size: 13px;
    color: var(--subtle);
    margin-bottom: 16px;
}
.rd-meta strong { color: var(--ink); }
.rd-resume {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}
.rd-redirect-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 20px;
}
.rd-redirect-icon {
    font-size: 22px;
    margin-bottom: 8px;
}
.rd-redirect-text {
    font-size: 14px;
    color: var(--ink2);
    margin-bottom: 14px;
    line-height: 1.5;
}
.rd-redirect-text strong { color: var(--ink); }
#rd-countdown {
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
}
.rd-progress-bar {
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}
.rd-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--accent);
    border-radius: 4px;
}
.rd-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.rd-btn-primary {
    flex: 1;
    padding: 13px 20px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: background 0.15s;
    font-family: var(--font-sans);
}
.rd-btn-primary:hover { background: var(--accent-h); color: #fff; }
.rd-btn-secondary {
    padding: 13px 20px;
    background: var(--bg);
    color: var(--muted);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.15s;
    font-family: var(--font-sans);
    white-space: nowrap;
}
.rd-btn-secondary:hover { background: var(--border); color: var(--ink); }
.rd-brand {
    margin-top: 28px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.rd-brand-link {
    font-family: Georgia, serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: -0.3px;
}
.rd-brand-link span { color: var(--accent); }
.rd-brand-tag {
    font-size: 11px;
    color: var(--subtle);
}
@media (max-width: 520px) {
    .rd-card { padding: 28px 20px 24px; border-radius: 14px; }
    .rd-title { font-size: 20px; }
    .rd-actions { flex-direction: column; }
    .rd-btn-primary, .rd-btn-secondary { text-align: center; }
}
body.dark-mode .rd-card { background: #1e1e1e; border-color: #2a2a35; }
body.dark-mode .rd-redirect-box { background: #141414; border-color: #2a2a35; }
body.dark-mode .rd-btn-secondary { background: #2a2a35; border-color: #333; color: #aaa; }

/* ═══════════════════════════════════════
   SEO ARTICLE PAGE (/read/{slug})
═══════════════════════════════════════ */
.rd-seo-page { background: var(--bg); }

.rd-seo-header {
    background: rgba(249,249,247,0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    position: sticky; top: 0; z-index: 100;
    padding: 0 24px;
}
.rd-seo-header-inner {
    max-width: 720px; margin: 0 auto;
    height: 56px; display: flex;
    align-items: center; justify-content: space-between;
}
.rd-seo-logo { text-decoration: none; }
.rd-seo-back {
    font-size: 13px; color: var(--muted);
    text-decoration: none; transition: color 0.15s;
}
.rd-seo-back:hover { color: var(--ink); }

.rd-seo-main {
    max-width: 720px; margin: 0 auto;
    padding: 40px 24px 80px;
}
.rd-seo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 44px 48px 40px;
    box-shadow: 0 2px 16px rgba(0,0,0,.06);
}

/* Breadcrumb */
.rd-seo-breadcrumb {
    font-size: 12px; color: var(--subtle);
    display: flex; align-items: center; gap: 6px;
    margin-bottom: 20px; flex-wrap: wrap;
}
.rd-seo-breadcrumb a { color: var(--muted); text-decoration: none; }
.rd-seo-breadcrumb a:hover { color: var(--accent); }

/* Title */
.rd-seo-title {
    font-family: var(--font-body);
    font-size: 30px; font-weight: 700;
    color: var(--ink); line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 16px 0 12px;
}

/* Meta */
.rd-seo-meta {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--subtle);
    margin-bottom: 24px;
}
.rd-seo-author strong { color: var(--ink); }
.rd-seo-dot { color: var(--border2); }

/* Summary */
.rd-seo-summary {
    font-size: 16px; color: var(--ink2);
    line-height: 1.75;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 28px;
}

/* CTA */
.rd-seo-cta-wrap { margin-bottom: 28px; }
.rd-seo-cta-primary {
    display: block; width: 100%;
    padding: 16px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 12px;
    font-size: 16px; font-weight: 600;
    text-align: center;
    transition: background 0.15s;
    margin-bottom: 10px;
}
.rd-seo-cta-primary:hover { background: var(--accent-h); color: #fff; }
.rd-seo-cta-note {
    font-size: 12px; color: var(--subtle);
    text-align: center; line-height: 1.5;
}

.rd-seo-divider {
    border: none; border-top: 1px solid var(--border);
    margin: 28px 0;
}

/* Pitch block */
.rd-seo-pitch {
    display: flex; align-items: center;
    justify-content: space-between; gap: 20px;
    flex-wrap: wrap;
}
.rd-seo-pitch-text { font-size: 14px; color: var(--muted); line-height: 1.55; flex: 1; }
.rd-seo-pitch-text strong { color: var(--ink); }
.rd-seo-pitch-btn {
    padding: 10px 20px;
    background: var(--ink); color: #fff;
    border-radius: 20px; font-size: 13px;
    font-weight: 600; white-space: nowrap;
    transition: background 0.15s;
}
.rd-seo-pitch-btn:hover { background: #333; color: #fff; }

@media (max-width: 600px) {
    .rd-seo-card { padding: 28px 20px 28px; border-radius: 12px; }
    .rd-seo-title { font-size: 22px; }
    .rd-seo-summary { font-size: 15px; }
    .rd-seo-pitch { flex-direction: column; align-items: flex-start; }
    .rd-seo-pitch-btn { width: 100%; text-align: center; }
}

body.dark-mode .rd-seo-header { background: rgba(15,15,15,0.95); }
body.dark-mode .rd-seo-card { background: #1e1e1e; border-color: #2a2a35; }
body.dark-mode .rd-seo-summary { color: #b0b0b0; }

/* ── HIDE GUEST-ONLY ELEMENTS FOR LOGGED-IN USERS ── */
/* WordPress adds body.logged-in automatically — no JS, no caching issues */
body.logged-in .trn-promo-banner  { display: none !important; }
body.logged-in .gr-sidebar-digest { display: none !important; }

/* ── FOOTER ── */
.site-footer {
    background: #1a1a1a;
    border-top: none;
    padding: 40px 32px 32px;
    margin-top: 60px;
}
.site-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}
.site-footer-logo {
    font-family: Georgia, serif;
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -0.3px;
}
.site-footer-logo span { color: #C0392B; }
.site-footer-tagline {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
    margin-top: 4px;
    font-family: 'Inter', sans-serif;
}
.site-footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.site-footer-social-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.07);
    color: rgba(255,255,255,0.65);
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.15s;
}
.site-footer-social-link:hover {
    background: rgba(255,255,255,0.14);
    color: #fff;
    border-color: rgba(255,255,255,0.2);
}
.site-footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.25);
    font-family: 'Inter', sans-serif;
}
.site-footer-copy a {
    color: rgba(255,255,255,0.4);
    text-decoration: none;
}
.site-footer-copy a:hover { color: #fff; }
@media (max-width: 600px) {
    .site-footer { padding: 32px 20px 24px; }
    .site-footer-social-link span { display: none; }
    .site-footer-social-link { padding: 9px 12px; }
}

/* ── HEADER SOCIAL ICONS ── */
.site-header-social {
    display: flex;
    align-items: center;
    gap: 4px;
}
.site-header-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.15s;
}
.site-header-social-link:hover {
    background: var(--border);
    color: var(--ink);
}
body.dark-mode .site-header-social-link { color: #666; }
body.dark-mode .site-header-social-link:hover { background: #2a2a35; color: #ccc; }
@media (max-width: 600px) { .site-header-social { display: none; } }

/* ── SEO KEYWORD SECTION ── */
.gr-seo-section {
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 48px 32px;
    margin-top: 0;
}
.gr-seo-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.gr-seo-block h2 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
    letter-spacing: -0.2px;
}
.gr-seo-block p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}
body.dark-mode .gr-seo-section { border-color: #2a2a35; }
body.dark-mode .gr-seo-block h2 { color: #e8e4dc; }
@media (max-width: 768px) {
    .gr-seo-inner { grid-template-columns: 1fr; gap: 20px; }
    .gr-seo-section { padding: 32px 20px; }
}

/* ── MY LIBRARY NAV LINK ── */
.site-nav-library {
    display: inline-flex;
    align-items: center;
    font-size: 13px;
    font-weight: 400;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s, background 0.15s;
    font-family: var(--font-sans);
    white-space: nowrap;
    background: none;
    border: none;
    padding: 6px 14px;
    border-radius: 20px;
}
.site-nav-library:hover {
    background: rgba(0,0,0,0.06);
    color: var(--ink);
}
.site-nav-library.active {
    background: rgba(0,0,0,0.08);
    color: var(--ink);
    font-weight: 500;
}
body.dark-mode .site-nav-library { color: #888; }
body.dark-mode .site-nav-library:hover { background: rgba(255,255,255,0.08); color: #fff; }
@media (max-width: 600px) { .site-nav-library { display: none; } }

/* ── READING STREAK BADGE ── */
.trn-streak-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13px;
    font-weight: 700;
    color: #ea580c;
    background: rgba(234,88,12,0.08);
    border: 1px solid rgba(234,88,12,0.2);
    border-radius: 20px;
    padding: 4px 10px;
    cursor: default;
    font-family: var(--font-sans);
    transition: all 0.15s;
    margin-right: 4px;
}
.trn-streak-badge:hover {
    background: rgba(234,88,12,0.14);
}
.trn-streak-badge span {
    font-size: 13px;
    font-weight: 800;
    color: #ea580c;
}
body.dark-mode .trn-streak-badge {
    background: rgba(234,88,12,0.12);
    border-color: rgba(234,88,12,0.25);
}
@media (max-width: 600px) {
    .trn-streak-badge { display: none; }
}

/* ═══════════════════════════════════════
   ABOUT PAGE
═══════════════════════════════════════ */
.about-hero {
    background: #1a1a1a;
    padding: 72px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.about-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 50% 120%, #C0392B22 0%, transparent 70%);
}
.about-hero-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.about-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-family: var(--font-sans);
}
.about-title {
    font-family: var(--font-body);
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin-bottom: 16px;
}
.about-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,.45);
    font-family: var(--font-sans);
    line-height: 1.6;
}
.about-section { padding: 60px 24px 80px; }
.about-container { max-width: 900px; margin: 0 auto; }
.about-container h2 {
    font-family: var(--font-body);
    font-size: 24px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 16px;
    letter-spacing: -.3px;
}
.about-container p {
    font-size: 15px;
    color: var(--ink2);
    line-height: 1.75;
    margin-bottom: 14px;
    font-family: var(--font-sans);
}
.about-container p em { color: var(--ink); font-style: italic; }
.about-container p strong { color: var(--ink); }

/* Story section */
.about-story {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    align-items: start;
    margin-bottom: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--border);
}
.about-story-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 28px 24px;
    text-align: center;
    position: sticky;
    top: 80px;
}
.about-brand-large {
    font-family: Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 4px;
}
.about-brand-large span { color: var(--accent); }
.about-brand-sub {
    font-size: 12px;
    color: var(--subtle);
    margin-bottom: 24px !important;
    font-family: var(--font-sans);
}
.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.about-stat {
    background: var(--bg);
    border-radius: 10px;
    padding: 12px 8px;
}
.about-stat-n {
    font-size: 20px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.5px;
    font-family: var(--font-sans);
}
.about-stat-l {
    font-size: 10px;
    color: var(--subtle);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-top: 2px;
    font-family: var(--font-sans);
}

/* Values */
.about-values { margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }
.about-values-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}
.about-value-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}
.about-value-icon { font-size: 28px; margin-bottom: 12px; }
.about-value-card h3 {
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}
.about-value-card p { font-size: 13px; color: var(--muted); line-height: 1.65; margin: 0; }

/* How we choose */
.about-how { margin-bottom: 60px; padding-bottom: 60px; border-bottom: 1px solid var(--border); }

/* CTA */
.about-cta { text-align: center; }
.about-cta h2 { text-align: center; }
.about-cta > p { max-width: 480px; margin: 0 auto 28px; text-align: center; }
.about-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 20px; }
.about-btn-primary {
    padding: 13px 28px;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: background .15s;
    font-family: var(--font-sans);
}
.about-btn-primary:hover { background: var(--accent-h); color: #fff; }
.about-btn-secondary {
    padding: 13px 28px;
    background: var(--surface);
    color: var(--ink);
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all .15s;
    font-family: var(--font-sans);
}
.about-btn-secondary:hover { background: var(--ink); color: #fff; }
.about-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 13px;
}
.about-social a { color: var(--muted); text-decoration: none; }
.about-social a:hover { color: var(--accent); }
.about-social span { color: var(--border2); }

/* Responsive */
@media (max-width: 700px) {
    .about-story { grid-template-columns: 1fr; }
    .about-story-card { position: static; }
    .about-values-grid { grid-template-columns: 1fr; }
    .about-cta-btns { flex-direction: column; align-items: center; }
}
body.dark-mode .about-story-card { background: #1e1e1e; border-color: #2a2a35; }
body.dark-mode .about-value-card { background: #1e1e1e; border-color: #2a2a35; }
body.dark-mode .about-stat { background: #141414; }

/* ── FOOTER NAV LINKS ── */
.site-footer-nav {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-family: var(--font-sans);
}
.site-footer-nav a {
    color: rgba(255,255,255,0.45);
    text-decoration: none;
    transition: color .15s;
}
.site-footer-nav a:hover { color: #fff; }
.site-footer-nav span { color: rgba(255,255,255,0.15); }

/* ═══════════════════════════════════════════════════════════════════
   HOMEPAGE V3 — DISCOVERY-FIRST / LAVENDER SUNRISE PROTOTYPE
   Inspired by the third visual direction approved for testing.
═══════════════════════════════════════════════════════════════════ */
.home {
    --gr3-purple: #6842c2;
    --gr3-purple-dark: #4b2a9d;
    --gr3-lilac: #f2edff;
    --gr3-cream: #fff3d8;
    --gr3-paper: #fffdf9;
    --gr3-text: #17151d;
    --gr3-muted: #706c78;
    --gr3-line: #e8e3ec;
    --gr3-shadow: 0 12px 34px rgba(41, 29, 67, .08);
    background: var(--gr3-paper);
}
.home .site-header {
    background: rgba(255,253,249,.93);
    border-bottom-color: rgba(104,66,194,.08);
    backdrop-filter: blur(14px);
}
.home .site-logo { font-family: var(--font-head); font-size: 21px; text-transform: none; }
.home .site-logo span { color: var(--gr3-purple); }
.home .site-logo-icon { display: none; }
.home .site-logo-wrap::after { display: none; }
.home .site-nav ul li a { font-size: 12px; font-weight: 500; border-radius: 999px; }
.home .site-nav ul li.current-menu-item a { color: var(--gr3-purple); background: transparent; }
.home .btn-subscribe { background: var(--gr3-purple) !important; border-color: var(--gr3-purple) !important; }
.home .dark-toggle { border-color: var(--gr3-line); }

.gr3-wrap { width: min(1180px, calc(100% - 48px)); margin-left: auto; margin-right: auto; }
.gr3-home { background: linear-gradient(#fff 0%, #fffdfa 68%, #faf8ff 100%); padding-bottom: 28px; }

.gr3-hero {
    min-height: 500px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    background:
        radial-gradient(circle at 77% 24%, rgba(255,211,160,.98) 0, rgba(255,211,160,.28) 18%, transparent 38%),
        linear-gradient(119deg, #fbfaff 0%, #f3efff 28%, #ffe9dd 67%, #ffd7ac 100%);
    border-bottom: 1px solid rgba(104,66,194,.08);
}
.gr3-hero-sky { position:absolute; inset:0; background: radial-gradient(circle at 70% 58%, rgba(255,255,255,.38), transparent 30%); }
.gr3-hero-content { position: relative; z-index: 5; padding-top: 12px; }
.gr3-hero-content > * { max-width: 610px; }
.gr3-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .11em; color: #4c3a75; margin-bottom: 22px; }
.gr3-hero h1 { font-family: var(--font-head); font-size: clamp(46px, 5.1vw, 74px); line-height: 1.03; letter-spacing: -.045em; color: var(--gr3-text); margin: 0 0 22px; }
.gr3-hero h1 em { color: var(--gr3-purple); font-style: normal; }
.gr3-hero p { font-size: 17px; line-height: 1.65; color: #514c5b; max-width: 520px; margin: 0 0 28px; }
.gr3-hero-actions { display:flex; gap:12px; flex-wrap:wrap; }
.gr3-btn { appearance:none; border:0; border-radius:8px; padding:12px 20px; font: 700 13px/1 var(--font-body); cursor:pointer; transition:.2s ease; }
.gr3-btn-primary { background: var(--gr3-purple); color:#fff; box-shadow:0 8px 20px rgba(104,66,194,.22); }
.gr3-btn-primary:hover { background:var(--gr3-purple-dark); transform:translateY(-1px); color:#fff; }
.gr3-btn-soft { background:rgba(255,255,255,.68); color:#302a3d; border:1px solid rgba(89,70,121,.14); }
.gr3-btn-soft:hover { background:#fff; transform:translateY(-1px); }

.gr3-mountain { position:absolute; left:-6%; right:-6%; bottom:-18%; height:58%; transform-origin:bottom; }
.gr3-mountain-back { background:#cdbce8; opacity:.4; clip-path:polygon(0 70%, 9% 56%, 19% 68%, 31% 35%, 43% 59%, 55% 31%, 64% 48%, 78% 16%, 88% 44%, 100% 21%, 100% 100%, 0 100%); }
.gr3-mountain-mid { background:#a68cd1; opacity:.28; bottom:-22%; height:52%; clip-path:polygon(0 64%, 14% 40%, 28% 62%, 43% 26%, 58% 62%, 71% 33%, 84% 57%, 100% 28%, 100% 100%, 0 100%); }
.gr3-mountain-front { background:#6f5a9c; opacity:.28; bottom:-31%; height:57%; clip-path:polygon(0 57%, 16% 31%, 31% 59%, 45% 21%, 61% 53%, 76% 28%, 88% 51%, 100% 30%, 100% 100%, 0 100%); }
.gr3-hero-person { position:absolute; right:12%; bottom:61px; width:44px; height:115px; z-index:4; filter:drop-shadow(0 8px 8px rgba(34,23,55,.18)); }
.gr3-hero-person:before { content:''; position:absolute; width:23px; height:23px; border-radius:50%; background:#242036; top:0; left:11px; }
.gr3-hero-person span { position:absolute; top:19px; left:13px; width:18px; height:57px; background:#29243d; border-radius:10px 10px 5px 5px; transform:skew(-3deg); }
.gr3-hero-person span:before,.gr3-hero-person span:after{content:'';position:absolute;background:#29243d;width:7px;height:48px;top:46px;border-radius:5px;}
.gr3-hero-person span:before{left:1px;transform:rotate(7deg)} .gr3-hero-person span:after{right:1px;transform:rotate(-7deg)}

.gr3-stats { position:relative; z-index:10; margin-top:-42px; background:rgba(255,255,255,.96); border:1px solid rgba(104,66,194,.11); border-radius:12px; min-height:86px; display:grid; grid-template-columns:repeat(4,1fr); align-items:center; box-shadow:0 18px 44px rgba(65,45,98,.11); }
.gr3-stat { min-width:0; display:flex; align-items:center; gap:12px; padding:18px 28px; border-right:1px solid #eee9f2; }
.gr3-stat:last-child { border-right:0; }
.gr3-stat-icon { width:34px; height:34px; border:1.5px solid #8f6dde; border-radius:9px; display:grid; place-items:center; color:var(--gr3-purple); font-weight:800; flex:0 0 auto; }
.gr3-stat strong { display:block; color:var(--gr3-text); font-size:19px; line-height:1.1; }
.gr3-stat small { display:block; color:var(--gr3-muted); font-size:10px; margin-top:5px; white-space:nowrap; }

.gr3-section { padding-top:64px; }
.gr3-section-head { margin-bottom:22px; }
.gr3-section-head-row { display:flex; align-items:flex-end; justify-content:space-between; gap:20px; }
.gr3-section-head h2, .gr3-surprise-band h2, .gr3-newsletter-band h2 { font-family:var(--font-head); color:var(--gr3-text); font-size:25px; line-height:1.15; margin:0 0 6px; letter-spacing:-.02em; }
.gr3-section-head p { margin:0; color:var(--gr3-muted); font-size:13px; }
.gr3-text-link { color:var(--gr3-purple); font-size:12px; font-weight:700; white-space:nowrap; padding-bottom:4px; }

.gr3-path-grid { display:grid; grid-template-columns:repeat(5,1fr); gap:14px; }
.gr3-path-card { min-height:148px; background:#fff; border:1px solid var(--gr3-line); border-radius:16px; padding:20px 14px 16px; display:flex; flex-direction:column; align-items:center; text-align:center; box-shadow:0 8px 24px rgba(34,27,47,.035); transition:.2s ease; }
.gr3-path-card:hover { transform:translateY(-3px); border-color:#d9ccef; box-shadow:var(--gr3-shadow); }
.gr3-path-icon { width:38px; height:38px; display:grid; place-items:center; margin-bottom:14px; transition:.2s ease; }
.gr3-path-icon svg { width:30px; height:30px; fill:none; stroke:currentColor; stroke-width:1.65; stroke-linecap:round; stroke-linejoin:round; }
.gr3-path-card:hover .gr3-path-icon { transform:translateY(-2px) scale(1.04); }
.gr3-path-card strong { font-size:13px; line-height:1.25; color:var(--gr3-text); }
.gr3-path-card small { font-size:10px; color:var(--gr3-muted); margin-top:5px; }
.gr3-tone-violet .gr3-path-icon { color:#7043d0; }
.gr3-tone-gold .gr3-path-icon { color:#c98a12; }
.gr3-tone-mint .gr3-path-icon { color:#289c6b; }
.gr3-tone-blue .gr3-path-icon { color:#337dc1; }
.gr3-tone-pink .gr3-path-icon { color:#c84a85; }

.gr3-picks-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.gr3-pick-card { background:#fff; border:1px solid var(--gr3-line); border-radius:14px; overflow:hidden; box-shadow:0 10px 28px rgba(34,27,47,.055); min-width:0; transition:.2s ease; }
.gr3-pick-card:hover { transform:translateY(-3px); box-shadow:var(--gr3-shadow); }
.gr3-pick-art { height:190px; display:block; position:relative; overflow:hidden; background:linear-gradient(145deg,#d9efff,#f9e6ce); }
.gr3-pick-2 .gr3-pick-art { background:linear-gradient(145deg,#e5f1dc,#eadcc5); }
.gr3-pick-3 .gr3-pick-art { background:linear-gradient(145deg,#2c3260,#825aa6 55%,#d6a8d9); }
.gr3-pick-orb { position:absolute; width:160px; height:160px; border-radius:50%; right:-22px; top:-34px; background:rgba(255,255,255,.52); box-shadow:-90px 90px 0 rgba(255,255,255,.18); }
.gr3-pick-figure { position:absolute; left:50%; bottom:22px; transform:translateX(-50%); font-size:78px; line-height:1; color:rgba(38,37,60,.78); text-shadow:0 8px 20px rgba(45,32,61,.14); }
.gr3-pick-3 .gr3-pick-figure { color:#fff; text-shadow:0 0 26px rgba(255,255,255,.55); }
.gr3-pick-body { position:relative; padding:18px 20px 20px; min-height:210px; }
.gr3-chip { display:inline-block; background:#f1ecff; color:#7251bd; border-radius:999px; padding:4px 8px; font-size:9px; line-height:1; font-weight:800; text-transform:uppercase; letter-spacing:.04em; margin-bottom:10px; }
.gr3-pick-body h3 { font-family:var(--font-head); font-size:20px; line-height:1.22; letter-spacing:-.02em; color:var(--gr3-text); margin:0 30px 7px 0; }
.gr3-pick-body h3 a:hover { color:var(--gr3-purple); }
.gr3-pick-by { font-size:11px; font-weight:600; color:#4d4854; margin-bottom:9px; }
.gr3-pick-body p { font-size:12px; line-height:1.55; color:var(--gr3-muted); margin:0; }
.gr3-save-mark { position:absolute; right:16px; bottom:16px; width:27px; height:27px; border:1px solid #ded8e5; border-radius:7px; display:grid; place-items:center; color:#6d6677; font-size:16px; }
.gr3-save-mark:hover { color:var(--gr3-purple); border-color:#cbbced; }

.gr3-surprise-band { margin-top:54px; min-height:116px; border-radius:14px; background:linear-gradient(100deg,#f3edff,#f9f4ff 67%,#eee4ff); border:1px solid #e3d8fa; display:grid; grid-template-columns:1fr auto 80px; align-items:center; gap:26px; padding:22px 30px; position:relative; overflow:hidden; }
.gr3-surprise-copy { display:flex; align-items:center; gap:16px; }
.gr3-surprise-copy h2 { font-size:21px; margin-bottom:6px; }
.gr3-surprise-copy p { margin:0; color:#6b5f82; font-size:12px; }
.gr3-surprise-spark { font-size:23px; color:var(--gr3-purple); }
.gr3-surprise-button { border:0; background:var(--gr3-purple); color:#fff; border-radius:8px; padding:12px 21px; font:700 12px var(--font-body); cursor:pointer; box-shadow:0 7px 18px rgba(104,66,194,.18); }
.gr3-surprise-button:hover { background:var(--gr3-purple-dark); }
.gr3-dice { width:58px; height:58px; display:grid; place-items:center; font-size:48px; color:#6947be; transform:rotate(10deg); }

.gr3-newsletter-band { margin-top:18px; min-height:104px; border-radius:14px; background:linear-gradient(100deg,#fff7e8,#fff0ce); border:1px solid #f2dfb6; display:grid; grid-template-columns:70px 1fr auto; align-items:center; gap:22px; padding:18px 28px; }
.gr3-mail-icon { width:62px; height:54px; display:grid; place-items:center; font-size:35px; background:rgba(255,255,255,.55); border-radius:12px; }
.gr3-newsletter-band h2 { font-size:20px; margin-bottom:5px; }
.gr3-newsletter-band p { margin:0; color:#776c59; font-size:11px; }
.gr3-newsletter-cta { display:inline-flex; align-items:center; justify-content:center; min-width:118px; height:40px; background:var(--gr3-purple); color:#fff; border-radius:8px; font-size:12px; font-weight:700; }
.gr3-newsletter-cta:hover { background:var(--gr3-purple-dark); color:#fff; }

.gr3-latest { padding-bottom:64px; }
.gr3-feed-shell { width:100%; max-width:none; margin:0; padding:0; }
.gr3-latest .gr-page { padding-left:0; padding-right:0; }
.gr3-latest .trn-wrapper { background:transparent !important; }
.gr3-latest .trn-article { border-radius:12px !important; overflow:hidden; }
.gr3-latest .trn-search-wrap { border-radius:12px !important; background:#fff !important; }

.home .site-footer { background:#fffdf9; border-top:1px solid var(--gr3-line); color:#625d68; }
.home .site-footer-logo { color:var(--gr3-text); font-family:var(--font-head); text-transform:none; }
.home .site-footer-logo span { color:var(--gr3-purple); }
.home .site-footer a { color:#625d68; }
.home .site-footer a:hover { color:var(--gr3-purple); text-decoration:none; }

@media (max-width: 900px) {
    .gr3-hero { min-height:470px; }
    .gr3-hero h1 { font-size:52px; }
    .gr3-hero-person { right:8%; opacity:.8; }
    .gr3-stats { grid-template-columns:repeat(2,1fr); }
    .gr3-stat:nth-child(2) { border-right:0; }
    .gr3-stat:nth-child(-n+2) { border-bottom:1px solid #eee9f2; }
    .gr3-path-grid { grid-template-columns:repeat(3,1fr); }
    .gr3-picks-grid { grid-template-columns:1fr; }
    .gr3-pick-card { display:grid; grid-template-columns:230px 1fr; }
    .gr3-pick-art { height:100%; min-height:220px; }
}

@media (max-width: 640px) {
    .gr3-wrap { width:min(100% - 28px,1180px); }
    .gr3-hero { min-height:525px; align-items:flex-start; padding-top:64px; }
    .gr3-hero h1 { font-size:43px; max-width:94%; }
    .gr3-hero p { font-size:15px; max-width:90%; }
    .gr3-eyebrow { font-size:9px; max-width:90%; }
    .gr3-hero-person { right:12%; bottom:34px; transform:scale(.82); }
    .gr3-mountain { bottom:-8%; height:40%; }
    .gr3-stats { width:calc(100% - 28px); margin-top:-36px; min-height:0; }
    .gr3-stat { padding:15px 12px; gap:9px; }
    .gr3-stat-icon { width:30px; height:30px; }
    .gr3-stat strong { font-size:16px; }
    .gr3-stat small { font-size:8px; white-space:normal; line-height:1.2; }
    .gr3-section { padding-top:48px; }
    .gr3-section-head h2 { font-size:22px; }
    .gr3-path-grid { grid-template-columns:repeat(2,1fr); gap:10px; }
    .gr3-path-card:last-child { grid-column:1 / -1; }
    .gr3-path-card { min-height:128px; padding:16px 10px; }
    .gr3-path-icon { width:34px; height:34px; }
    .gr3-path-icon svg { width:27px; height:27px; }
    .gr3-pick-card { display:block; }
    .gr3-pick-art { height:170px; min-height:0; }
    .gr3-section-head-row { align-items:flex-start; }
    .gr3-surprise-band { grid-template-columns:1fr auto; gap:14px; padding:20px; }
    .gr3-dice { display:none; }
    .gr3-surprise-copy { align-items:flex-start; }
    .gr3-surprise-button { padding:11px 15px; }
    .gr3-newsletter-band { grid-template-columns:52px 1fr; gap:14px; padding:17px; }
    .gr3-mail-icon { width:48px; height:48px; font-size:27px; }
    .gr3-newsletter-cta { grid-column:1 / -1; width:100%; }
}

/* Do not let legacy dark-mode rules distort this light homepage prototype. */
body.home.dark-mode { background:var(--gr3-paper) !important; color:var(--gr3-text) !important; }
body.home.dark-mode .site-header { background:rgba(255,253,249,.94) !important; border-color:rgba(104,66,194,.08) !important; }
body.home.dark-mode .site-logo, body.home.dark-mode .site-nav a { color:var(--gr3-text) !important; }
body.home.dark-mode .gr3-home, body.home.dark-mode .gr3-feed-shell { background:transparent !important; }


/* v3.1 — working topic navigation + image-first cards */
html { scroll-behavior:smooth; }
.gr3-pick-art { isolation:isolate; }
.gr3-pick-image { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transform:scale(1.01); transition:transform .35s ease; }
.gr3-pick-card:hover .gr3-pick-image { transform:scale(1.045); }
.gr3-pick-art::after { content:""; position:absolute; inset:0; z-index:2; background:linear-gradient(to top,rgba(20,17,31,.16),transparent 58%); pointer-events:none; }
.gr3-pick-scene { position:absolute; inset:0; display:block; overflow:hidden; }
.gr3-pick-scene::before { content:""; position:absolute; width:160px; height:160px; border-radius:50%; right:9%; top:16%; background:rgba(255,255,255,.58); box-shadow:0 0 50px rgba(255,255,255,.34); }
.gr3-pick-scene i { position:absolute; left:-6%; right:-6%; height:58%; bottom:-20%; transform:rotate(-8deg); border-radius:50% 50% 0 0; background:rgba(63,70,101,.35); }
.gr3-pick-scene b { position:absolute; left:-10%; right:30%; height:46%; bottom:-24%; transform:rotate(8deg); border-radius:50% 50% 0 0; background:rgba(49,55,80,.58); }
.gr3-pick-scene em { position:absolute; width:9px; height:62px; bottom:20px; left:67%; border-radius:9px 9px 2px 2px; background:#252637; box-shadow:0 -10px 0 -1px #252637; }
.gr3-art-fallback-1 { background:linear-gradient(150deg,#cde8f7,#f7dec4 60%,#d9bda0); }
.gr3-art-fallback-2 { background:linear-gradient(150deg,#dcead5,#dac8ae 60%,#a7bac0); }
.gr3-art-fallback-3 { background:linear-gradient(150deg,#20294c,#66568d 52%,#d799ca); }
.gr3-art-fallback-4 { background:linear-gradient(150deg,#f0d9c6,#8cc3c9 57%,#6a8da5); }
.gr3-art-fallback-5 { background:linear-gradient(150deg,#d5d2ef,#ffddbe 55%,#d8a7ad); }
.gr3-art-fallback-6 { background:linear-gradient(150deg,#cce3ce,#92b3a0 50%,#667e76); }

.gr3-topics-section { padding-bottom:8px; }
.gr3-topics-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.gr3-topic-card { min-height:174px; position:relative; overflow:hidden; border-radius:15px; border:1px solid rgba(90,72,120,.12); box-shadow:0 8px 24px rgba(34,27,47,.055); color:#fff; transition:.22s ease; }
.gr3-topic-card:hover { transform:translateY(-3px); box-shadow:var(--gr3-shadow); }
.gr3-topic-image { position:absolute; inset:0; overflow:hidden; }
.gr3-topic-image::before { content:""; position:absolute; inset:0; background:linear-gradient(145deg,#cddff0,#9fa8c8); }
.gr3-topic-image i { position:absolute; width:160px; height:160px; border-radius:50%; right:-34px; top:-46px; background:rgba(255,255,255,.32); box-shadow:-110px 115px 0 18px rgba(255,255,255,.10); }
.gr3-topic-image b { position:absolute; left:-12%; right:-12%; height:58%; bottom:-28%; border-radius:50% 50% 0 0; transform:rotate(-6deg); background:rgba(35,41,72,.44); }
.gr3-topic-overlay { position:absolute; inset:0; background:linear-gradient(to top,rgba(20,18,31,.82),rgba(20,18,31,.08) 70%); }
.gr3-topic-copy { position:absolute; left:16px; right:16px; bottom:15px; z-index:2; }
.gr3-topic-copy strong { display:block; font-family:var(--font-head); font-size:18px; line-height:1.08; text-shadow:0 1px 6px rgba(0,0,0,.22); }
.gr3-topic-copy small { display:block; margin-top:6px; font-size:10px; color:rgba(255,255,255,.84); }
.gr3-topic-1 .gr3-topic-image::before { background:linear-gradient(145deg,#c7d8b1,#6e8665); }
.gr3-topic-2 .gr3-topic-image::before { background:linear-gradient(145deg,#98c1d9,#334e68); }
.gr3-topic-3 .gr3-topic-image::before { background:linear-gradient(145deg,#d7c7ac,#75604f); }
.gr3-topic-4 .gr3-topic-image::before { background:linear-gradient(145deg,#d8b7a5,#75546e); }
.gr3-topic-5 .gr3-topic-image::before { background:linear-gradient(145deg,#9fc7b5,#346b62); }
.gr3-topic-6 .gr3-topic-image::before { background:linear-gradient(145deg,#c6a7d8,#675181); }
.gr3-topic-7 .gr3-topic-image::before { background:linear-gradient(145deg,#e7c48d,#9d6950); }
.gr3-topic-8 .gr3-topic-image::before { background:linear-gradient(145deg,#9cbcc9,#535c82); }

@media (max-width:900px){ .gr3-topics-grid{grid-template-columns:repeat(2,1fr);} }
@media (max-width:520px){ .gr3-topics-grid{grid-template-columns:1fr 1fr;gap:10px}.gr3-topic-card{min-height:145px}.gr3-topic-copy strong{font-size:15px} }


/* v2.2 — real article/category artwork */
.gr3-topic-image img { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.gr3-topic-card:hover .gr3-topic-image img { transform:scale(1.045); }
.gr3-pick-art { overflow:hidden; }
.gr3-pick-image { width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s ease; }
.gr3-pick-card:hover .gr3-pick-image { transform:scale(1.035); }
.gr3-surprise-button:disabled, .gr3-btn:disabled { opacity:.7; cursor:wait; }


/* v3.6 — distinct daily editorial shortlist: one lead story + two supporting reads */
.gr3-section-kicker { display:block; margin-bottom:8px; color:#8a6fc7; font-size:9px; line-height:1; font-weight:800; letter-spacing:.16em; }
.gr3-daily-section { padding-top:62px; }
.gr3-daily-layout { display:grid; grid-template-columns:minmax(0,1.45fr) minmax(360px,.8fr); gap:20px; align-items:stretch; }
.gr3-daily-lead { background:#fff; border:1px solid var(--gr3-line); border-radius:18px; overflow:hidden; box-shadow:0 12px 34px rgba(34,27,47,.055); min-width:0; }
.gr3-daily-lead-art { position:relative; display:block; height:315px; overflow:hidden; background:linear-gradient(145deg,#d8e9f4,#f4dfc8); isolation:isolate; }
.gr3-daily-lead-art::after, .gr3-daily-side-art::after { content:""; position:absolute; inset:0; background:linear-gradient(to top,rgba(21,18,32,.18),transparent 58%); pointer-events:none; z-index:2; }
.gr3-daily-lead-art img, .gr3-daily-side-art img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; display:block; transition:transform .38s ease; }
.gr3-daily-lead:hover .gr3-daily-lead-art img, .gr3-daily-side-card:hover .gr3-daily-side-art img { transform:scale(1.035); }
.gr3-daily-badge { position:absolute; left:18px; top:18px; z-index:3; display:inline-flex; align-items:center; min-height:28px; padding:0 11px; border-radius:999px; background:rgba(255,255,255,.92); color:#5f438f; font-size:9px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; box-shadow:0 6px 18px rgba(30,22,45,.09); }
.gr3-daily-lead-copy { padding:24px 27px 25px; }
.gr3-daily-lead-copy h3 { margin:2px 0 8px; max-width:92%; font-family:var(--font-head); font-size:30px; line-height:1.14; letter-spacing:-.025em; color:var(--gr3-text); }
.gr3-daily-lead-copy h3 a:hover, .gr3-daily-side-copy h3 a:hover { color:var(--gr3-purple); }
.gr3-daily-source { margin-bottom:11px; color:#4f4959; font-size:11px; font-weight:600; }
.gr3-daily-lead-copy p { margin:0; max-width:680px; color:var(--gr3-muted); font-size:13px; line-height:1.67; }
.gr3-daily-read { display:inline-flex; align-items:center; gap:8px; margin-top:17px; color:var(--gr3-purple); font-size:11px; font-weight:800; }
.gr3-daily-read span { transition:transform .18s ease; }
.gr3-daily-read:hover span { transform:translateX(3px); }
.gr3-daily-side { display:grid; grid-template-rows:1fr 1fr; gap:16px; min-width:0; }
.gr3-daily-side-card { display:grid; grid-template-columns:42% 58%; min-height:0; background:#fff; border:1px solid var(--gr3-line); border-radius:16px; overflow:hidden; box-shadow:0 10px 28px rgba(34,27,47,.045); transition:transform .2s ease, box-shadow .2s ease; }
.gr3-daily-side-card:hover { transform:translateY(-2px); box-shadow:var(--gr3-shadow); }
.gr3-daily-side-art { position:relative; min-height:100%; overflow:hidden; background:linear-gradient(145deg,#e6efd9,#d9c8b0); isolation:isolate; }
.gr3-daily-side-copy { display:flex; flex-direction:column; justify-content:center; padding:18px 19px; min-width:0; }
.gr3-daily-meta { display:flex; align-items:center; gap:8px; flex-wrap:wrap; margin-bottom:7px; }
.gr3-daily-meta .gr3-chip { margin-bottom:0; }
.gr3-daily-meta > span:last-child:not(.gr3-chip) { color:#8a8490; font-size:9px; font-weight:600; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:150px; }
.gr3-daily-side-copy h3 { margin:0 0 7px; font-family:var(--font-head); font-size:19px; line-height:1.2; letter-spacing:-.018em; color:var(--gr3-text); }
.gr3-daily-side-copy p { margin:0; color:var(--gr3-muted); font-size:11px; line-height:1.55; }
.gr3-daily-side-copy .gr3-daily-read { margin-top:11px; font-size:10px; }

@media (max-width: 980px) {
    .gr3-daily-layout { grid-template-columns:1fr; }
    .gr3-daily-side { grid-template-columns:1fr 1fr; grid-template-rows:none; }
    .gr3-daily-side-card { grid-template-columns:1fr; }
    .gr3-daily-side-art { min-height:170px; }
}

@media (max-width: 640px) {
    .gr3-daily-section { padding-top:48px; }
    .gr3-daily-layout { gap:14px; }
    .gr3-daily-lead-art { height:210px; }
    .gr3-daily-lead-copy { padding:19px 18px 20px; }
    .gr3-daily-lead-copy h3 { font-size:24px; max-width:none; }
    .gr3-daily-side { grid-template-columns:1fr; gap:12px; }
    .gr3-daily-side-card { grid-template-columns:38% 62%; min-height:160px; }
    .gr3-daily-side-art { min-height:160px; }
    .gr3-daily-side-copy { padding:14px; }
    .gr3-daily-side-copy h3 { font-size:17px; }
    .gr3-daily-side-copy p { display:none; }
    .gr3-daily-meta > span:last-child:not(.gr3-chip) { display:none; }
}

@media (max-width: 430px) {
    .gr3-daily-side-card { grid-template-columns:1fr; }
    .gr3-daily-side-art { min-height:145px; }
    .gr3-daily-side-copy p { display:block; }
}

/* v2.3 — all articles discovery route */
.gr3-head-links{display:flex;gap:18px;align-items:center;flex-wrap:wrap}.gr3-all-link{font-weight:800}.gr-all-articles-page{background:#fbfaff;min-height:70vh}.gr-all-articles-intro{padding:72px 20px 28px;background:linear-gradient(180deg,#eee9ff 0%,#fbfaff 100%);text-align:center}.gr-all-articles-intro h1{margin:8px 0 10px;font-size:clamp(38px,6vw,68px);line-height:1;color:#241a42}.gr-all-articles-intro p{max-width:720px;margin:0 auto;color:#655d77;font-size:18px;line-height:1.65}.gr-all-kicker{font-size:12px;letter-spacing:.16em;font-weight:800;color:#7055a8}.gr-all-articles-feed{padding-top:22px;padding-bottom:72px}@media(max-width:700px){.gr-all-articles-intro{padding-top:48px}.gr-all-articles-intro p{font-size:16px}.gr3-head-links{gap:10px}}

/* === GlobeRead v2.7: hero proportions matched to approved Concept 3 === */
@media (min-width: 900px) {
  .home .site-header { min-height: 54px; }
  .gr3-wrap { width: min(1180px, calc(100% - 64px)); }
  .gr3-hero {
    min-height: 345px;
    align-items: flex-start;
    padding-top: 34px;
  }
  .gr3-hero-content { padding-top: 0; }
  .gr3-hero-content > * { max-width: 500px; }
  .gr3-eyebrow { font-size: 9px; margin-bottom: 15px; letter-spacing: .12em; }
  .gr3-hero h1 {
    font-size: clamp(40px, 3.4vw, 54px);
    line-height: 1.02;
    letter-spacing: -.04em;
    margin-bottom: 16px;
    max-width: 470px;
  }
  .gr3-hero p {
    font-size: 14px;
    line-height: 1.5;
    max-width: 390px;
    margin-bottom: 18px;
  }
  .gr3-btn { border-radius: 7px; padding: 10px 16px; font-size: 11px; }
  .gr3-mountain { left:-3%; right:-3%; bottom:-17%; height:56%; }
  .gr3-mountain-mid { bottom:-22%; height:49%; }
  .gr3-mountain-front { bottom:-31%; height:53%; }
  .gr3-hero-person { right:10.5%; bottom:47px; transform:scale(.68); transform-origin:bottom center; }
  .gr3-stats {
    width: min(1050px, calc(100% - 80px));
    margin-top:-28px;
    min-height:64px;
    border-radius:10px;
  }
  .gr3-stat { padding:12px 22px; gap:10px; }
  .gr3-stat-icon { width:29px; height:29px; border-radius:8px; }
  .gr3-stat strong { font-size:16px; }
  .gr3-stat small { font-size:9px; margin-top:3px; }
  .gr3-section { padding-top:46px; }
}


/* === GlobeRead v2.8 — rebuild hero spacing to match Concept 3 === */
@media (min-width: 901px) {
  .gr3-hero {
    min-height: 430px;
    height: 430px;
    padding-top: 0;
    align-items: center;
    overflow: hidden;
  }
  .gr3-hero-content {
    padding-top: 0;
    transform: translateY(-8px);
  }
  .gr3-hero-content > * { max-width: 520px; }
  .gr3-eyebrow {
    font-size: 10px;
    margin-bottom: 16px;
    letter-spacing: .12em;
  }
  .gr3-hero h1 {
    font-size: clamp(44px, 3.15vw, 58px);
    line-height: 1.02;
    max-width: 500px;
    margin-bottom: 18px;
  }
  .gr3-hero p {
    font-size: 14px;
    line-height: 1.55;
    max-width: 430px;
    margin-bottom: 20px;
  }
  .gr3-hero-actions { gap: 10px; }
  .gr3-btn { padding: 11px 17px; font-size: 11px; }

  /* keep mountains visually low, as in the approved mockup */
  .gr3-mountain { left:-4%; right:-4%; bottom:-8%; height:40%; }
  .gr3-mountain-back { opacity:.33; }
  .gr3-mountain-mid { bottom:-13%; height:38%; opacity:.24; }
  .gr3-mountain-front { bottom:-19%; height:41%; opacity:.25; }

  /* small distant reader silhouette, not a dominant stick figure */
  .gr3-hero-person {
    right: 15%;
    bottom: 58px;
    width: 28px;
    height: 76px;
    transform: none;
    opacity: .92;
    filter: drop-shadow(0 5px 5px rgba(34,23,55,.12));
  }
  .gr3-hero-person:before {
    width: 15px;
    height: 15px;
    left: 7px;
  }
  .gr3-hero-person span {
    top: 13px;
    left: 8px;
    width: 12px;
    height: 39px;
    border-radius: 7px 7px 4px 4px;
  }
  .gr3-hero-person span:before,
  .gr3-hero-person span:after {
    width: 5px;
    height: 31px;
    top: 32px;
  }

  /* stats overlap only the hero edge, never the copy/buttons */
  .gr3-stats {
    width: min(1040px, calc(100% - 120px));
    margin-top: -34px;
    min-height: 68px;
    border-radius: 11px;
    box-shadow: 0 14px 34px rgba(65,45,98,.10);
  }
  .gr3-stat { padding: 13px 22px; gap: 10px; }
  .gr3-stat-icon { width: 30px; height: 30px; }
  .gr3-stat strong { font-size: 17px; }
  .gr3-stat small { font-size: 9px; }

  .gr3-section { padding-top: 50px; }
}

@media (min-width: 1500px) {
  .gr3-hero-content { transform: translateY(-2px); }
  .gr3-hero h1 { font-size: 56px; }
  .gr3-hero-person { right: 16%; }
}

/* === GlobeRead v2.9 — use generated mountain artwork as the homepage hero === */
.gr3-hero {
  background-image: url('assets/hero-mountains.png');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}
.gr3-hero-sky,
.gr3-mountain,
.gr3-hero-person {
  display: none !important;
}
/* subtle readability veil only on the copy side */
.gr3-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(252,250,255,.36) 0%, rgba(252,250,255,.18) 32%, rgba(255,255,255,0) 58%);
}
.gr3-hero-content { z-index: 5; }

@media (max-width: 900px) {
  .gr3-hero {
    background-position: 66% center;
  }
  .gr3-hero::after {
    background: linear-gradient(90deg, rgba(252,250,255,.68) 0%, rgba(252,250,255,.46) 55%, rgba(255,255,255,.08) 100%);
  }
}

/* v3.0 polish — stats strip + surprise band */
.gr3-stats {
  margin-top: -30px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(104,66,194,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(255,255,255,.9) 100%);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(57, 40, 92, .11), 0 2px 0 rgba(255,255,255,.55) inset;
}
.gr3-stats::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(111,71,212,.06), rgba(111,71,212,.3), rgba(255,212,171,.45), rgba(111,71,212,.18), rgba(111,71,212,.06));
}
.gr3-stat {
  padding: 20px 26px;
  gap: 14px;
  border-right: 1px solid rgba(230,225,237,.9);
}
.gr3-stat > div { min-width: 0; }
.gr3-stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(111,71,212,.14);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(244,239,255,.92));
  box-shadow: 0 10px 20px rgba(104,66,194,.08), inset 0 1px 0 rgba(255,255,255,.85);
}
.gr3-stat-icon svg,
.gr3-surprise-spark svg,
.gr3-btn-mini-icon svg,
.gr3-dice svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.gr3-stat strong {
  font-size: 18px;
  letter-spacing: -.02em;
}
.gr3-stat small {
  font-size: 11px;
  margin-top: 4px;
  color: #6e6878;
  letter-spacing: .01em;
}
.gr3-stat-articles .gr3-stat-icon { color:#6f47d4; }
.gr3-stat-topics .gr3-stat-icon { color:#7e58da; }
.gr3-stat-human .gr3-stat-icon { color:#6e55c8; }
.gr3-stat-noalgo .gr3-stat-icon { color:#8b66d8; }

.gr3-surprise-band {
  margin-top: 58px;
  min-height: 124px;
  border-radius: 18px;
  border: 1px solid #e5daf8;
  background: linear-gradient(100deg, #f6f0ff 0%, #faf6ff 52%, #f0e6ff 100%);
  box-shadow: 0 14px 32px rgba(90, 61, 150, .08);
}
.gr3-surprise-band::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  right: -48px;
  top: -78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,102,216,.13) 0%, rgba(139,102,216,.04) 44%, transparent 70%);
  pointer-events: none;
}
.gr3-surprise-copy { gap: 18px; position: relative; z-index: 1; }
.gr3-surprise-spark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(111,71,212,.12);
  box-shadow: 0 10px 20px rgba(104,66,194,.08);
  display: grid;
  place-items: center;
  color: var(--gr3-purple);
  flex: 0 0 auto;
}
.gr3-surprise-copy h2 { margin-bottom: 4px; }
.gr3-surprise-copy p { font-size: 13px; }
.gr3-surprise-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 46px;
  border-radius: 12px;
  padding: 13px 18px;
  font-size: 13px;
  position: relative;
  z-index: 1;
}
.gr3-btn-mini-icon {
  width: 20px;
  height: 20px;
  display: inline-grid;
  place-items: center;
}
.gr3-btn-mini-icon svg { width: 16px; height: 16px; stroke-width: 2; }
.gr3-dice {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: #7b56d6;
  transform: rotate(8deg);
  background: linear-gradient(180deg, rgba(255,255,255,.82), rgba(242,233,255,.9));
  border: 1px solid rgba(111,71,212,.15);
  box-shadow: 0 14px 24px rgba(104,66,194,.09);
  position: relative;
  z-index: 1;
}
.gr3-dice svg { width: 30px; height: 30px; stroke-width: 1.7; }

@media (max-width: 920px) {
  .gr3-stat { padding: 16px 16px; }
  .gr3-stat-icon { width: 40px; height: 40px; border-radius: 12px; }
  .gr3-stat strong { font-size: 17px; }
  .gr3-stat small { font-size: 10px; }
}
@media (max-width: 640px) {
  .gr3-stats { margin-top: -24px; }
  .gr3-surprise-band { grid-template-columns: 1fr; }
  .gr3-dice { display: none; }
}


/* v3.1 surprise band visual update */
.gr3-surprise-band {
  grid-template-columns: 1.2fr auto 92px;
  gap: 24px;
  min-height: 122px;
  padding: 24px 34px;
  border-radius: 16px;
  background: linear-gradient(90deg, #f6f0ff 0%, #f8f3ff 55%, #f1e8ff 100%);
}
.gr3-surprise-band::before {
  width: 260px;
  height: 260px;
  right: -60px;
  top: -105px;
  background: radial-gradient(circle, rgba(139,102,216,.12) 0%, rgba(139,102,216,.04) 40%, transparent 70%);
}
.gr3-surprise-copy { gap: 14px; }
.gr3-surprise-copy h2 {
  font-size: 22px;
  margin-bottom: 6px;
}
.gr3-surprise-copy p {
  font-size: 13px;
  line-height: 1.45;
  max-width: 320px;
}
.gr3-surprise-spark {
  width: 28px;
  height: 28px;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 0;
}
.gr3-surprise-spark svg {
  width: 14px;
  height: 14px;
  stroke-width: 2.1;
}
.gr3-surprise-button {
  min-width: 170px;
  justify-content: center;
  gap: 8px;
  padding: 14px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(104,66,194,.18);
}
.gr3-btn-mini-icon {
  width: 16px;
  height: 16px;
}
.gr3-btn-mini-icon svg {
  width: 15px;
  height: 15px;
  stroke: #ffffff;
  stroke-width: 1.9;
}
.gr3-dice-art {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}
.gr3-dice-art img {
  width: 72px;
  height: 72px;
  display: block;
}
.gr3-dice { display:none; }

@media (max-width: 740px) {
  .gr3-surprise-band {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px 20px;
  }
  .gr3-surprise-button { width: max-content; }
  .gr3-dice-art { display:none; }
}


/* v3.2 use user-provided real dice image */
.gr3-dice-art {
  width: 84px;
  height: 84px;
  align-self: center;
}
.gr3-dice-art img {
  width: 84px;
  height: auto;
  max-width: none;
  filter: drop-shadow(0 10px 16px rgba(105, 71, 190, .14));
  border-radius: 10px;
}

/* ══════════════════════════════════════════════════════════════════
   GlobeRead Library page v3.3 — matches discovery theme
══════════════════════════════════════════════════════════════════ */
.gr-all-articles-page {
    background:linear-gradient(180deg,#fff 0%,#fffdfb 62%,#faf8ff 100%);
    min-height:72vh;
    overflow:visible;
}
.gr-all-articles-intro {
    position:relative;
    min-height:255px;
    padding:48px 0 70px;
    overflow:hidden;
    text-align:left;
    background:
      linear-gradient(90deg, rgba(248,245,255,.99) 0%, rgba(248,245,255,.96) 28%, rgba(248,245,255,.58) 52%, rgba(248,245,255,.06) 76%),
      var(--trn-library-hero) right center / auto 100% no-repeat,
      linear-gradient(100deg,#f5f0ff,#fff0e3);
    border-bottom:1px solid rgba(104,66,194,.08);
}
.gr-all-articles-intro::after {
    content:'';
    position:absolute;
    inset:0;
    pointer-events:none;
    background:linear-gradient(180deg,rgba(255,255,255,0) 72%,rgba(255,255,255,.38) 100%);
}
.gr-all-articles-intro-inner { position:relative;z-index:2; }
.gr-all-kicker {
    display:inline-flex;
    align-items:center;
    gap:8px;
    margin-bottom:12px;
    color:#6141b9;
    font:800 11px/1.2 var(--font-body);
    letter-spacing:.14em;
}
.gr-all-kicker::before {
    content:'';
    width:6px;
    height:6px;
    border-radius:50%;
    background:#7654d1;
    box-shadow:0 0 0 4px rgba(118,84,209,.08);
}
.gr-all-articles-intro h1 {
    max-width:620px;
    margin:0 0 12px;
    font-family:var(--font-head);
    font-size:clamp(48px,5.3vw,72px);
    line-height:.98;
    letter-spacing:-.045em;
    color:#171522;
}
.gr-all-articles-intro p {
    max-width:560px;
    margin:0;
    color:#5f5968;
    font:500 15px/1.58 var(--font-body);
}
.gr-all-articles-feed {
    padding-top:0;
    padding-bottom:84px;
}
body:has(.gr-all-articles-page) .site-header {
    background:rgba(255,255,255,.95);
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(104,66,194,.08);
}
@media(max-width:900px){
    .gr-all-articles-intro {
        min-height:230px;
        padding:42px 0 62px;
        background:
          linear-gradient(90deg, rgba(248,245,255,.99) 0%, rgba(248,245,255,.93) 46%, rgba(248,245,255,.35) 72%),
          var(--trn-library-hero) 68% center / auto 100% no-repeat,
          linear-gradient(100deg,#f5f0ff,#fff0e3);
    }
    .gr-all-articles-intro h1 { font-size:52px; }
}
@media(max-width:620px){
    .gr-all-articles-intro {
        min-height:210px;
        padding:34px 0 58px;
        background:
          linear-gradient(90deg, rgba(248,245,255,.98) 0%, rgba(248,245,255,.89) 58%, rgba(248,245,255,.22) 100%),
          var(--trn-library-hero) 66% center / auto 100% no-repeat,
          linear-gradient(100deg,#f5f0ff,#fff0e3);
    }
    .gr-all-kicker { font-size:9px; }
    .gr-all-articles-intro h1 { font-size:43px; }
    .gr-all-articles-intro p { max-width:88%;font-size:13px; }
    .gr-all-articles-feed { padding-bottom:56px; }
}

/* ══════════════════════════════════════════════════════════════════
   GlobeRead Unified Product System — v3.5
   Shared visual language across topics, article pages, library,
   saved/history, about and account pages.
══════════════════════════════════════════════════════════════════ */
.gr-unified-page{
  --gr-purple:#6542c2;
  --gr-purple-dark:#4c2aa6;
  --gr-text:#171522;
  --gr-muted:#6f6979;
  --gr-line:#e8e2ef;
  --gr-soft:#f6f1ff;
  min-height:70vh;
  background:linear-gradient(180deg,#fff 0%,#fffdfb 64%,#faf8ff 100%);
  color:var(--gr-text);
}
.gr-unified-hero{
  position:relative;
  min-height:240px;
  padding:44px 0 68px;
  overflow:hidden;
  background:
    linear-gradient(90deg,rgba(248,245,255,.99) 0%,rgba(248,245,255,.95) 31%,rgba(248,245,255,.54) 58%,rgba(248,245,255,.08) 82%),
    var(--gr-unified-hero) right center / auto 100% no-repeat,
    linear-gradient(100deg,#f5f0ff,#fff0e3);
  border-bottom:1px solid rgba(101,66,194,.09);
}
.gr-unified-hero-inner{position:relative;z-index:2;max-width:760px;}
.gr-unified-kicker{
  display:inline-flex;align-items:center;gap:8px;
  color:#6848bf;font:800 10px/1.2 var(--font-body);
  letter-spacing:.14em;text-transform:uppercase;
}
.gr-unified-kicker::before{content:'';width:6px;height:6px;border-radius:50%;background:#7654d1;box-shadow:0 0 0 4px rgba(118,84,209,.08);}
.gr-unified-hero h1{
  margin:10px 0 12px;font-family:var(--font-head);font-size:clamp(44px,5vw,68px);
  line-height:1;letter-spacing:-.04em;color:var(--gr-text);
}
.gr-unified-hero p{max-width:610px;margin:0;color:#5f5968;font:500 15px/1.6 var(--font-body);}
.gr-unified-meta{margin-top:14px;color:#81798b;font-size:12px;}
.gr-unified-back{display:inline-block;margin-bottom:18px;color:#6f62a3;text-decoration:none;font-size:12px;font-weight:700;}
.gr-unified-back:hover{color:var(--gr-purple);}
.gr-unified-feed{padding-bottom:78px;}

/* Topic pages now use the exact library card/filter system */
.gr-topic-page .gr-unified-feed{padding-top:0;}
body:has(.gr-topic-page) .site-header,
body:has(.gr-favorites-page) .site-header,
body:has(.gr-article-page) .site-header{
  background:rgba(255,255,255,.95);backdrop-filter:blur(14px);border-bottom:1px solid rgba(101,66,194,.08);
}

/* My Library */
.gr-favorites-content{padding-top:28px;padding-bottom:80px;}
.gr-favorites-page .trn-favorites-wrap{max-width:none;margin:0;padding:0;}
.gr-favorites-page .trn-tabs{
  display:inline-flex;gap:6px;padding:5px;margin:0 0 24px;border:1px solid #e8e1ef;border-radius:999px;background:#fff;
  box-shadow:0 8px 26px rgba(45,31,70,.055);
}
.gr-favorites-page .trn-tab{
  margin:0;padding:9px 16px;border:0!important;border-radius:999px;color:#696273;font-size:12px;font-weight:700;
}
.gr-favorites-page .trn-tab.active{background:#efe8ff;color:var(--gr-purple);}
.gr-favorites-page .trn-tab-count{background:rgba(101,66,194,.08);color:var(--gr-purple);}
.gr-favorites-page .gr-card-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0!important;
}
.gr-favorites-page .gr-library-card{
  margin:0!important;padding:0!important;border:1px solid #e9e4ee!important;border-radius:16px!important;overflow:hidden!important;
  background:#fff!important;box-shadow:0 9px 28px rgba(40,29,62,.055)!important;transition:.2s ease!important;
}
.gr-favorites-page .gr-library-card:hover{transform:translateY(-3px);border-color:#d9ccee!important;box-shadow:0 16px 38px rgba(47,34,77,.10)!important;}
.gr-favorites-page .gr-library-card .trn-article-inner{display:flex!important;flex-direction:column!important;min-height:100%;padding:0!important;}
.gr-library-card-thumb{height:170px;background:linear-gradient(135deg,#efeaff,#ffe9dc);overflow:hidden;}
.gr-library-card-thumb img{width:100%;height:100%;display:block;object-fit:cover;}
.gr-card-fallback{display:grid;place-items:center;width:100%;height:100%;font-family:var(--font-head);font-size:52px;color:#8160d3;background:linear-gradient(135deg,#eee6ff,#ffece2);}
.gr-library-card-body{display:flex;flex-direction:column;flex:1;padding:15px 16px 14px;}
.gr-favorites-page .trn-meta-top{margin:0 0 9px!important;}
.gr-favorites-page .trn-badge{background:#f1ebff!important;color:#7555c3!important;border:0!important;border-radius:6px!important;padding:4px 7px!important;font-size:9px!important;}
.gr-favorites-page .trn-badge:nth-of-type(n+2){display:none;}
.gr-favorites-page .trn-date{font-size:9px;color:#999;}
.gr-favorites-page .trn-title{margin:0 0 7px!important;font-family:var(--font-head)!important;font-size:18px!important;line-height:1.26!important;}
.gr-favorites-page .trn-title a{color:var(--gr-text)!important;text-decoration:none!important;}
.gr-favorites-page .trn-resume{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;min-height:50px;margin:0 0 12px!important;color:#645d6d!important;font-size:11px!important;line-height:1.55!important;}
.gr-favorites-page .trn-footer{margin-top:auto!important;padding-top:11px!important;border-top:1px solid #eee9f2!important;}
.gr-favorites-page .trn-read-btn{color:var(--gr-purple)!important;font-weight:700!important;text-decoration:none!important;font-size:10px!important;}
.gr-favorites-page .trn-action-btn{border:0!important;background:#f7f3fb!important;border-radius:7px!important;color:#6b6473!important;font-size:9px!important;}
.gr-favorites-page .trn-favorites-empty{padding:70px 20px;border:1px dashed #ddd3e9;border-radius:18px;background:#fff;text-align:center;}
.gr-favorites-page .trn-back-btn{display:inline-flex;margin-top:10px;padding:10px 16px;background:#6542c2;color:#fff!important;border-radius:10px;text-decoration:none;font-size:12px;font-weight:700;}

/* Unified article page */
.gr-article-page{padding-bottom:84px;}
.gr-article-hero{padding:42px 0 34px;background:linear-gradient(180deg,#fbf8ff 0%,#fff 100%);border-bottom:1px solid rgba(101,66,194,.08);}
.gr-article-hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(340px,.92fr);gap:54px;align-items:center;}
.gr-article-cats{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:14px;}
.gr-article-cat{display:inline-flex;padding:5px 9px;border-radius:7px;background:#efe9ff;color:#7353c5;text-decoration:none;font-size:10px;font-weight:800;}
.gr-article-hero h1{margin:0 0 14px;font-family:var(--font-head);font-size:clamp(36px,4vw,58px);line-height:1.04;letter-spacing:-.035em;color:var(--gr-text);}
.gr-article-meta{display:flex;flex-wrap:wrap;gap:7px;color:#766f7f;font-size:12px;}
.gr-article-deck{max-width:540px;margin:18px 0 0;color:#5f5968;font-size:14px;line-height:1.6;}
.gr-article-hero-image{height:330px;border-radius:22px;overflow:hidden;background:linear-gradient(135deg,#eee6ff,#ffe9dd);box-shadow:0 20px 48px rgba(52,36,83,.12);}
.gr-article-hero-image img{width:100%;height:100%;object-fit:cover;display:block;}
.gr-article-content-wrap{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.55fr);gap:22px;padding-top:30px;align-items:start;}
.gr-article-summary-card,.gr-article-discovery-card{background:#fff;border:1px solid #e9e3ef;border-radius:18px;box-shadow:0 10px 32px rgba(43,30,65,.055);}
.gr-article-summary-card{padding:28px 30px;}
.gr-article-summary{margin:18px 0 24px;font-family:var(--font-head);font-size:20px;line-height:1.7;color:#302a39;}
.gr-article-cta-row{padding-top:20px;border-top:1px solid #eee8f3;}
.gr-article-primary-btn{display:inline-flex;padding:12px 17px;border-radius:11px;background:linear-gradient(180deg,#714dd1,#5c39bc);color:#fff!important;text-decoration:none;font-size:12px;font-weight:800;box-shadow:0 8px 22px rgba(101,66,194,.18);}
.gr-article-source-note{display:block;margin-top:10px;color:#8a8291;font-size:10px;}
.gr-article-discovery-card{padding:24px;position:sticky;top:90px;background:linear-gradient(180deg,#faf7ff,#f4eeff);}
.gr-article-discovery-card h2{margin:12px 0 8px;font-family:var(--font-head);font-size:24px;line-height:1.15;}
.gr-article-discovery-card p{margin:0 0 16px;color:#665f70;font-size:12px;line-height:1.6;}
.gr-article-discovery-actions{display:grid;gap:8px;}
.gr-article-discovery-actions a{display:flex;justify-content:space-between;padding:10px 12px;border-radius:10px;background:#fff;border:1px solid #e6dff0;color:#6542c2;text-decoration:none;font-size:11px;font-weight:700;}

/* Account pages: same GlobeRead surfaces and brand */
.trn-subscribe-wrap{background:linear-gradient(145deg,#f6f0ff 0%,#fff8f2 50%,#fff 100%)!important;}
.trn-subscribe-box{border:1px solid #e9e2ef!important;border-radius:20px!important;box-shadow:0 20px 50px rgba(49,33,76,.10)!important;}
.trn-sub-logo{font-family:var(--font-head)!important;color:#171522!important;letter-spacing:-.04em!important;}
.trn-sub-logo span{color:#6542c2!important;}
.trn-sub-btn,.trn-google-auth-btn{border-radius:11px!important;}
.trn-sub-btn{background:linear-gradient(180deg,#714dd1,#5b38bb)!important;border-color:#5b38bb!important;}

/* About page aligns with the same lavender/ivory editorial system */
.about-page{background:linear-gradient(180deg,#fff 0%,#fffdfb 58%,#faf8ff 100%)!important;}
.about-hero{background:linear-gradient(115deg,#f3edff 0%,#fff0e5 100%)!important;border-bottom:1px solid rgba(101,66,194,.09)!important;}
.about-badge{color:#6848bf!important;}
.about-title{color:#171522!important;}
.about-story-card,.about-value-card,.about-cta{border-color:#e9e2ef!important;box-shadow:0 10px 32px rgba(43,30,65,.055)!important;}
.about-btn-primary{background:#6542c2!important;border-color:#6542c2!important;}

@media(max-width:980px){
  .gr-article-hero-grid{grid-template-columns:1fr;gap:26px;}
  .gr-article-hero-image{height:300px;}
  .gr-article-content-wrap{grid-template-columns:1fr;}
  .gr-article-discovery-card{position:static;}
}
@media(max-width:860px){
  .gr-favorites-page .gr-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(max-width:620px){
  .gr-unified-hero{min-height:210px;padding:34px 0 58px;background:linear-gradient(90deg,rgba(248,245,255,.98) 0%,rgba(248,245,255,.87) 62%,rgba(248,245,255,.18) 100%),var(--gr-unified-hero) 68% center/auto 100% no-repeat,linear-gradient(100deg,#f5f0ff,#fff0e3);}
  .gr-unified-hero h1{font-size:42px;}
  .gr-unified-hero p{max-width:88%;font-size:13px;}
  .gr-favorites-page .gr-card-grid{grid-template-columns:1fr;}
  .gr-library-card-thumb{height:195px;}
  .gr-article-hero{padding-top:28px;}
  .gr-article-hero h1{font-size:36px;}
  .gr-article-hero-image{height:230px;border-radius:16px;}
  .gr-article-summary-card{padding:22px 20px;}
  .gr-article-summary{font-size:18px;}
}

/* Unified redirect/interstitial page */
.rd-page{background:linear-gradient(145deg,#f6f0ff 0%,#fff7ef 55%,#fff 100%)!important;}
.rd-card{border:1px solid #e9e2ef!important;border-radius:20px!important;box-shadow:0 20px 50px rgba(49,33,76,.10)!important;}
.rd-cat{background:#efe9ff!important;color:#7353c5!important;border-radius:7px!important;}
.rd-title{font-family:var(--font-head)!important;color:#171522!important;}
.rd-redirect-box{background:#faf7ff!important;border-color:#e6ddf0!important;}
.rd-btn-primary{background:linear-gradient(180deg,#714dd1,#5b38bb)!important;border-color:#5b38bb!important;border-radius:11px!important;}
.rd-brand-link{color:#171522!important;}
.rd-brand-link span{color:#6542c2!important;}
