#rydge-cal { all: initial; display: block; font-family: 'Jost', sans-serif; }
#rydge-cal * { box-sizing: border-box; margin: 0; padding: 0; }
#rydge-cal {
    --olive: #6b7c3f; --olive-dark: #4e5c2d; --olive-light: #8a9a57;
    --cream: #f5f2ea; --warm-white: #faf8f3;
    --text-dark: #2a2a22; --text-mid: #4a4a3a; --text-muted: #8a8a7a;
    --border: #ddd9cc;
    --leaf-bg: #d6ecca; --leaf-text: #2e5418;
    --root-bg: #ecddc8; --root-text: #6b3e10;
    --fruit-bg: #f0d8cc; --fruit-text: #7a2e14;
    --flower-bg: #e2d6f0; --flower-text: #3e2470;
    color: var(--text-dark); background: var(--cream); width: 100%;
}

/* ── PAGE HEADER ── */
#rydge-cal .page-header {
    background: var(--olive); padding: 3.5rem 2rem; text-align: center;
}
#rydge-cal .page-header-title {
    font-family: 'Cormorant Garamond', serif; font-weight: 300;
    font-size: clamp(2rem,5vw,3.2rem); color: #fff;
    letter-spacing: 0.12em; text-transform: uppercase;
}
#rydge-cal .page-header-sub {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.2rem; color: rgba(255,255,255,0.75);
    margin-top: 0.4rem; letter-spacing: 0.04em;
}

/* ── INTRO TEXT ── */
#rydge-cal .intro-wrap {
    max-width: 860px; margin: 0 auto; padding: 3rem 2rem 2.5rem;
}
#rydge-cal .intro-lead {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.22rem; color: var(--text-mid); text-align: center;
    max-width: 680px; margin: 0 auto 2rem; line-height: 1.9;
}
#rydge-cal .intro-p {
    font-size: 1rem; color: var(--text-mid); line-height: 1.9;
    text-align: center; max-width: 680px; margin: 0 auto 1.2rem;
}

/* ── CALENDAR LOGO HEADER ── */
#rydge-cal .cal-logo-header {
    background: var(--olive); padding: 0;
    display: grid; grid-template-columns: 1fr auto;
    align-items: stretch; overflow: hidden; position: relative;
}
#rydge-cal .cal-logo-left {
    padding: 2rem 2.5rem 1.8rem; display: flex;
    flex-direction: column; justify-content: flex-end; position: relative; z-index: 2;
}
#rydge-cal .cal-logo {
    font-family: 'Cormorant Garamond', serif; font-weight: 300;
    font-size: clamp(2rem,5vw,3.2rem); color: #fff;
    letter-spacing: 0.1em; line-height: 1;
}
#rydge-cal .cal-logo-sub {
    font-size: 0.65rem; letter-spacing: 0.28em; text-transform: uppercase;
    color: rgba(255,255,255,0.6); margin-top: 0.4rem;
}
#rydge-cal .cal-header-right {
    padding: 1.5rem 2.5rem; text-align: right; display: flex;
    flex-direction: column; justify-content: center;
    align-items: flex-end; gap: 0.3rem; position: relative; z-index: 2;
}
#rydge-cal .optimal-badge {
    background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px; padding: 0.35rem 0.8rem; font-size: 0.65rem;
    letter-spacing: 0.18em; text-transform: uppercase; color: #fff; font-weight: 500;
}
#rydge-cal .optimal-dates {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem; color: rgba(255,255,255,0.9); font-weight: 300;
}
#rydge-cal .optimal-hem {
    font-size: 0.62rem; letter-spacing: 0.14em;
    color: rgba(255,255,255,0.55); text-transform: uppercase;
}
#rydge-cal .header-cosmos {
    position: absolute; right: 220px; top: 50%;
    transform: translateY(-50%); opacity: 0.18; pointer-events: none;
}

/* ── MONTH BAR ── */
#rydge-cal .month-bar {
    background: var(--warm-white); padding: 1.2rem 2.5rem;
    display: flex; align-items: baseline; justify-content: space-between;
    border-bottom: 1px solid var(--border);
}
#rydge-cal .month-name {
    font-family: 'Cormorant Garamond', serif; font-weight: 300;
    font-size: clamp(2.8rem,7vw,4.5rem); color: var(--text-dark);
    letter-spacing: -0.01em; line-height: 1;
}
#rydge-cal .month-year {
    font-weight: 300; font-size: 1rem; color: var(--text-muted);
    letter-spacing: 0.22em; margin-left: 0.7rem;
}
#rydge-cal .month-bar-right { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; }
#rydge-cal .optimal-window-pill {
    background: var(--olive); color: #fff; font-size: 0.62rem;
    letter-spacing: 0.18em; text-transform: uppercase;
    padding: 0.25rem 0.7rem; border-radius: 3px; font-weight: 500;
}
#rydge-cal .hemisphere-note { font-size: 0.65rem; color: var(--text-muted); letter-spacing: 0.1em; }

/* ── CALENDAR GRID ── */
#rydge-cal .cal-wrap { padding: 0 2.5rem; background: var(--warm-white); }
#rydge-cal .cal-grid { width: 100%; border-collapse: collapse; }
#rydge-cal .cal-grid thead th {
    font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase;
    color: var(--text-muted); padding: 0.7rem 0.4rem; text-align: left;
    border-bottom: 0.5px solid var(--border); font-weight: 400; width: 14.28%;
}
#rydge-cal .cal-grid td {
    vertical-align: top; padding: 0.45rem 0.5rem 0.6rem;
    border-right: 0.5px solid rgba(0,0,0,0.04);
    height: 100px; width: 14.28%; position: relative;
}
#rydge-cal .cal-grid tr { border-bottom: 0.5px solid var(--border); }
#rydge-cal .day-leaf   { background: var(--leaf-bg); }
#rydge-cal .day-root   { background: var(--root-bg); }
#rydge-cal .day-fruit  { background: var(--fruit-bg); }
#rydge-cal .day-flower { background: var(--flower-bg); }
#rydge-cal .day-empty  { background: var(--cream); }
#rydge-cal .opt-dot {
    position: absolute; top: 6px; right: 6px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--olive); opacity: 0.65;
}
#rydge-cal .day-num {
    font-family: 'Cormorant Garamond', serif; font-size: 1.15rem;
    font-weight: 400; color: var(--text-dark); line-height: 1; margin-bottom: 4px;
}
#rydge-cal .day-badge {
    display: inline-block; font-size: 0.58rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 1px 5px; border-radius: 2px; margin-bottom: 3px;
}
#rydge-cal .badge-leaf   { background: rgba(46,84,24,0.18); color: var(--leaf-text); }
#rydge-cal .badge-root   { background: rgba(107,62,16,0.18); color: var(--root-text); }
#rydge-cal .badge-fruit  { background: rgba(122,46,20,0.18); color: var(--fruit-text); }
#rydge-cal .badge-flower { background: rgba(62,36,112,0.18); color: var(--flower-text); }
#rydge-cal .day-sign {
    font-size: 0.72rem; color: var(--text-mid);
    display: block; margin-top: 1px; line-height: 1.3;
}
#rydge-cal .day-sign .sym { font-size: 0.85rem; margin-right: 2px; }
#rydge-cal .day-sign .name { font-style: italic; color: var(--text-muted); font-size: 0.68rem; }
#rydge-cal .phase-row { display: flex; align-items: center; gap: 4px; margin-top: 3px; }
#rydge-cal .phase-name {
    font-size: 0.58rem; font-weight: 500; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--olive-dark);
}
#rydge-cal .moon-icon { display: inline-block; vertical-align: middle; }

/* ── FOOTER PHASES ── */
#rydge-cal .cal-footer {
    background: var(--warm-white); padding: 0.85rem 2.5rem;
    border-top: 0.5px solid var(--border);
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.7rem; letter-spacing: 0.08em;
}
#rydge-cal .phases-bar { color: var(--text-muted); text-transform: uppercase; }
#rydge-cal .phases-bar strong { color: var(--olive-dark); font-weight: 500; }

/* ── COMMENTARY (editable weekly/monthly boxes) ── */
#rydge-cal .commentary-wrap {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 1.5rem; padding: 2rem 2.5rem; background: var(--cream);
}
#rydge-cal .commentary-card {
    background: var(--warm-white); border: 0.5px solid var(--border);
    border-radius: 6px; padding: 1.4rem 1.5rem;
}
#rydge-cal .commentary-label {
    font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--olive); margin-bottom: 0.4rem;
}
#rydge-cal .commentary-hr {
    border: none; border-top: 1px solid var(--olive); opacity: 0.3; margin-bottom: 0.9rem;
}
#rydge-cal .commentary-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.08rem; color: var(--text-mid); line-height: 1.85;
}
#rydge-cal .updated-line {
    font-size: 0.68rem; color: var(--text-muted); letter-spacing: 0.08em;
    margin-top: 1rem; padding-top: 0.7rem; border-top: 0.5px solid var(--border);
}
#rydge-cal .updated-line span { color: var(--olive); font-weight: 500; }

/* ── CALENDAR LEGEND STRIP ── */
#rydge-cal .legend-strip {
    display: flex; gap: 1.2rem; flex-wrap: wrap; align-items: center;
    padding: 1rem 2.5rem 1.5rem; background: var(--cream);
    border-top: 0.5px solid var(--border); font-size: 0.72rem; color: var(--text-mid);
}
#rydge-cal .legend-item { display: flex; align-items: center; gap: 6px; }
#rydge-cal .legend-swatch {
    width: 14px; height: 14px; border-radius: 2px;
    border: 0.5px solid rgba(0,0,0,0.1); flex-shrink: 0;
}

/* ── GUIDE SECTIONS ── */
#rydge-cal .guide-wrap { max-width: 860px; margin: 0 auto; padding: 3rem 2rem 2rem; }
#rydge-cal .guide-section { margin-bottom: 2.5rem; }
#rydge-cal .section-label {
    font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--olive); margin-bottom: 0.5rem;
}
#rydge-cal .section-hr {
    border: none; border-top: 1px solid var(--olive); opacity: 0.4; margin-bottom: 1.4rem;
}
#rydge-cal .guide-p {
    font-size: 1rem; color: var(--text-mid); line-height: 1.9; margin-bottom: 1rem;
}
#rydge-cal .guide-quote {
    border-left: 3px solid var(--olive); padding: 1rem 1.5rem;
    margin: 1.5rem 0; background: rgba(107,124,63,0.06); border-radius: 0 6px 6px 0;
}
#rydge-cal .guide-quote p {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.18rem; color: var(--olive-dark); line-height: 1.85;
}

/* ── TABLES ── */
#rydge-cal .table-wrap { overflow-x: auto; margin-bottom: 0; }
#rydge-cal .guide-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
#rydge-cal .guide-table thead tr { background: var(--olive); }
#rydge-cal .guide-table thead th {
    color: #fff; font-family: 'Jost', sans-serif; font-weight: 400;
    font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
    padding: 0.75rem 1rem; text-align: left;
}
#rydge-cal .guide-table td {
    padding: 0.85rem 1rem; color: var(--text-mid);
    vertical-align: top; line-height: 1.6; border-bottom: 1px solid var(--border);
}
#rydge-cal .guide-table .alt { background: rgba(107,124,63,0.04); }
#rydge-cal .type-badge {
    display: inline-block; font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    padding: 2px 7px; border-radius: 3px; margin-bottom: 6px;
}
#rydge-cal .type-badge.leaf   { background: rgba(46,84,24,0.15); color: #2e5418; }
#rydge-cal .type-badge.root   { background: rgba(107,62,16,0.15); color: #6b3e10; }
#rydge-cal .type-badge.fruit  { background: rgba(122,46,20,0.15); color: #7a2e14; }
#rydge-cal .type-badge.flower { background: rgba(62,36,112,0.15); color: #3e2470; }
#rydge-cal .sub-label {
    font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em;
    color: var(--olive-dark); font-weight: 500;
}
#rydge-cal .sign-sub { display: block; font-size: 0.78rem; color: var(--text-muted); margin-top: 4px; }

/* ── CLOSING BANNER ── */
#rydge-cal .closing-banner {
    background: var(--olive); color: #fff; padding: 2.5rem;
    border-radius: 6px; margin: 0 2rem 2.5rem; text-align: center;
}
#rydge-cal .closing-banner h3 {
    font-family: 'Cormorant Garamond', serif; font-weight: 300;
    font-size: 1.7rem; letter-spacing: 0.06em; margin-bottom: 1rem;
}
#rydge-cal .closing-banner p {
    font-size: 0.97rem; line-height: 1.9; opacity: 0.88;
    max-width: 600px; margin: 0 auto 1rem;
}

/* ── BUY NOW SECTION ── */
#rydge-cal .buy-section {
    background: var(--cream); padding: 3.5rem 2rem;
    text-align: center; border-top: 1px solid var(--border);
}
#rydge-cal .buy-available {
    font-size: 0.65rem; letter-spacing: 0.26em; text-transform: uppercase;
    color: var(--olive); font-weight: 500; margin-bottom: 0.8rem;
}
#rydge-cal .buy-title {
    font-family: 'Cormorant Garamond', serif; font-weight: 300;
    font-size: clamp(1.8rem,4vw,2.8rem); color: var(--text-dark);
    letter-spacing: 0.02em; line-height: 1.2; margin-bottom: 0.5rem;
}
#rydge-cal .buy-author {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.1rem; color: var(--olive); margin-bottom: 0.3rem;
}
#rydge-cal .buy-sub {
    font-size: 0.78rem; letter-spacing: 0.12em; color: #7a7a6a;
    text-transform: uppercase; margin-bottom: 0.5rem;
}
#rydge-cal .buy-divider {
    display: flex; align-items: center; gap: 1.2rem;
    max-width: 340px; margin: 1.2rem auto;
}
#rydge-cal .buy-divider-line { flex: 1; height: 0.5px; background: var(--olive); opacity: 0.35; }
#rydge-cal .buy-tagline {
    font-family: 'Cormorant Garamond', serif; font-style: italic;
    font-size: 1.08rem; color: #5a5a4a;
    max-width: 500px; margin: 0 auto 1.8rem; line-height: 1.85;
}
#rydge-cal .buy-price {
    font-family: 'Cormorant Garamond', serif; font-size: 1.5rem;
    color: var(--text-dark); font-weight: 400; margin-bottom: 1.8rem;
}
#rydge-cal .buy-btn {
    display: inline-block; background: var(--olive); color: #fff;
    font-size: 0.72rem; font-weight: 500; letter-spacing: 0.22em;
    text-transform: uppercase; text-decoration: none;
    padding: 1.1rem 3rem; border-radius: 3px; border: 1px solid var(--olive-dark);
}
#rydge-cal .buy-secure {
    margin-top: 1.2rem; font-size: 0.68rem; color: #9a9a8a; letter-spacing: 0.1em;
}

/* ── RESPONSIVE ── */
@media (max-width: 700px) {
    #rydge-cal .cal-logo-header { grid-template-columns: 1fr; }
    #rydge-cal .cal-header-right { display: none; }
    #rydge-cal .cal-logo-left, #rydge-cal .month-bar,
    #rydge-cal .cal-wrap, #rydge-cal .cal-footer,
    #rydge-cal .commentary-wrap, #rydge-cal .legend-strip { padding-left: 1rem; padding-right: 1rem; }
    #rydge-cal .commentary-wrap { grid-template-columns: 1fr; }
    #rydge-cal .cal-grid td { height: 78px; padding: 0.3rem; }
    #rydge-cal .header-cosmos { display: none; }
    #rydge-cal .closing-banner { margin: 0 1rem 2rem; }
}