/* ============================================================
   GROWNUPS.CC — screen.css
   ============================================================ */

:root {
    --bg:        #0a1628;
    --sidebar:   #0d1e38;
    --panel:     #0f2444;
    --gold:      #d4a833;
    --gold-light:#f0cc6a;
    --gold-dark: #b8891f;
    --cream:     #f5f0e8;
    --border:    #1e3358;
    --text:      #f0e8d0;
    --text-dim:  #a0b8d8;
    --blue-mid:  #3a6aaa;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    font-size: 15px;
    line-height: 1.6;
}

/* ---- LAYOUT ---- */

.layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 190px;
    flex-shrink: 0;
    background: var(--sidebar);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.sidebar-inner {
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.main-content {
    margin-left: 190px;
    flex: 1;
    min-height: 100vh;
}

/* ---- CREDIT CARD LOGO ---- */

.card-logo {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
}

.card-face {
    background: linear-gradient(135deg, #1a3a6a 0%, #0d2244 100%);
    border-radius: 10px;
    padding: 14px 14px 12px;
    border: 1px solid rgba(212, 168, 51, 0.3);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.05);
    min-height: 90px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.chip {
    width: 26px;
    height: 20px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 3px;
    margin-bottom: 10px;
    position: relative;
    box-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

.chip::before {
    content: '';
    position: absolute;
    top: 5px;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(135deg, #c49a1a 0%, #e8b832 50%, #c49a1a 100%);
    border-radius: 2px;
}

.chip::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 8px;
    width: 10px;
    background: rgba(0,0,0,0.15);
    border-radius: 2px;
}

.card-brand {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.3em;
    color: var(--gold);
    text-transform: uppercase;
    line-height: 1;
}

.card-number {
    font-size: 9px;
    color: var(--gold-light);
    letter-spacing: 0.12em;
    opacity: 0.85;
    margin-top: 4px;
}

/* ---- SIDEBAR CONTENT ---- */

.tagline {
    font-size: 11px;
    color: var(--gold);
    line-height: 1.5;
    margin-bottom: 24px;
    font-style: italic;
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
}

.nav-link {
    display: block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: 4px;
    transition: color 0.15s, background 0.15s;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.nav-link:hover {
    color: var(--gold);
    background: rgba(212, 168, 51, 0.07);
}

.sidebar-footer {
    padding-top: 20px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}

.footer-note {
    font-size: 10px;
    color: var(--text-dim);
    line-height: 1.5;
    margin-bottom: 10px;
    font-style: italic;
}

.golden-empire {
    font-size: 10px;
    color: var(--text-dim);
}

.golden-empire a {
    color: var(--gold);
    text-decoration: none;
}

.golden-empire a:hover {
    text-decoration: underline;
}

/* ---- POST PANELS / FEATURED ---- */

.post-panels,
.featured-post {
    display: flex;
    min-height: 100vh;
}

.panel-left {
    flex: 60;
    background: var(--panel);
    border-right: 1px solid var(--border);
    position: relative;
    display: flex;
    flex-direction: column;
}

.panel-right {
    flex: 40;
    background: var(--cream);
    display: flex;
    flex-direction: column;
}

.panel-inner {
    padding: 40px 36px;
}

/* ---- GOLD STRIPE ---- */

.gold-stripe {
    height: 2px;
    background: linear-gradient(90deg, var(--gold-dark) 0%, var(--gold) 40%, var(--gold-light) 70%, var(--gold) 100%);
    flex-shrink: 0;
}

.panel-left {
    border-left: 4px solid var(--gold);
}

/* ---- LEFT PANEL CONTENT ---- */

.the-one-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.category-label {
    font-size: 11px;
    font-weight: 600;
    color: var(--blue-mid);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 10px;
}

.product-title {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    line-height: 1.2;
    margin-bottom: 24px;
}

.bullet-list {
    white-space: pre-line;
    font-size: 14px;
    color: var(--text);
    line-height: 2;
    margin-bottom: 28px;
}

/* ---- SPECS TABLE ---- */

.specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 28px;
}

.specs-table tr {
    border-bottom: 1px solid var(--border);
}

.specs-table tr:last-child {
    border-bottom: none;
}

.spec-label {
    padding: 8px 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    width: 35%;
}

.spec-value {
    padding: 8px 0;
    font-size: 13px;
    color: var(--text);
    font-weight: 600;
}

/* ---- PRICE + CTA ---- */

.price-display {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.cta-button {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%);
    color: #0a1628;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.04em;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 6px;
    transition: opacity 0.15s, transform 0.1s;
    text-transform: uppercase;
}

.cta-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

/* ---- RIGHT PANEL — IF YOU MUST ---- */

.panel-right .panel-inner {
    color: #1a1a1a;
}

.if-you-must {
    font-size: 12px;
    font-weight: 800;
    font-variant: small-caps;
    letter-spacing: 0.2em;
    color: #888;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.alternatives-list {
    display: flex;
    flex-direction: column;
}

.alt-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #e8e0d5;
}

.alt-row.last-row {
    border-bottom: none;
}

.alt-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
}

.alt-name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a1a;
}

.alt-roast {
    font-size: 12px;
    font-style: italic;
    color: #888;
    line-height: 1.4;
}

.alt-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.alt-price {
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.alt-btn {
    display: inline-block;
    background: #1a3a6a;
    color: var(--gold-light);
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 3px;
    white-space: nowrap;
    transition: background 0.15s;
    letter-spacing: 0.04em;
}

.alt-btn:hover {
    background: #0d2244;
}

/* ---- KG CARD WIDTH CLASSES (required by Ghost theme validator) ---- */

.kg-width-wide {
    margin-left: -36px;
    margin-right: -36px;
}

.kg-width-full {
    margin-left: calc(50% - 50vw + 95px);
    margin-right: calc(50% - 50vw);
}

/* ---- PAGE ---- */

.page-inner {
    max-width: 740px;
}

.post-body {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
}

.post-body h2, .post-body h3 {
    color: var(--text);
    margin: 28px 0 12px;
}

.post-body p {
    margin-bottom: 16px;
}

.post-body a {
    color: var(--gold);
}

/* ---- FEATURED CARD (index) ---- */

.featured-card {
    background: var(--panel);
    border-left: 4px solid var(--gold);
    border-top: 2px solid var(--gold);
}

.featured-inner {
    padding: 48px 40px;
    max-width: 760px;
}

.featured-excerpt {
    font-size: 15px;
    color: var(--text-dim);
    margin-bottom: 28px;
    line-height: 1.6;
}

.featured-card .product-title a {
    color: var(--text);
    text-decoration: none;
}

.featured-card .product-title a:hover {
    color: var(--gold);
}

/* ---- INDEX ARCHIVE ---- */

.archive-list {
    padding: 32px 36px;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.archive-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 16px;
}

.archive-row {
    display: flex;
    align-items: baseline;
    gap: 16px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    transition: color 0.15s;
}

.archive-row:last-child {
    border-bottom: none;
}

.archive-date {
    font-size: 11px;
    color: var(--text-dim);
    flex-shrink: 0;
    width: 100px;
    font-weight: 600;
}

.archive-title {
    font-size: 14px;
    color: var(--text);
    font-weight: 600;
}

.archive-row:hover .archive-title {
    color: var(--gold);
}
