/* ── EXTRAS LIST PAGE ───────────────────────────────────────────────── */
.extras-pub-hero {
    padding: 56px 0 32px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}
.extras-pub-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(28px, 5vw, 44px);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 10px;
}
.extras-pub-sub {
    font-size: 16px;
    color: var(--muted);
    max-width: 520px;
}
.extras-pub-list {
    padding: 48px 24px 80px;
}
.extras-pub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 56px;
}
.extras-pub-card {
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: transform .2s, border-color .2s;
}
.extras-pub-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212,168,71,.3);
}
.extras-pub-img {
    height: 180px;
    overflow: hidden;
    background: rgba(255,255,255,.04);
}
.extras-pub-img picture, .extras-pub-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
    transition: transform .3s;
}
.extras-pub-card:hover .extras-pub-img img { transform: scale(1.04); }
.extras-pub-no-img {
    height: 180px;
    display: flex; align-items: center; justify-content: center;
    font-size: 48px; color: rgba(255,255,255,.1);
}
.extras-pub-body {
    padding: 16px;
    display: flex; flex-direction: column; gap: 6px; flex: 1;
}
.extras-pub-name {
    font-family: 'Playfair Display', serif;
    font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.4;
}
.extras-pub-desc {
    font-size: 12px; color: var(--muted); line-height: 1.5;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    flex: 1;
}
.extras-pub-price {
    font-size: 14px; font-weight: 600; color: var(--accent);
}
.extras-pub-more {
    font-size: 12px; color: var(--accent); font-weight: 500;
}

/* CTA block */
.extras-pub-cta {
    background: var(--surface);
    border: 1px solid rgba(212,168,71,.2);
    border-radius: 14px;
    padding: 40px;
    text-align: center;
}
.extras-pub-cta h2 {
    font-family: 'Playfair Display', serif;
    font-size: 24px; font-weight: 600; color: var(--ink); margin-bottom: 10px;
}
.extras-pub-cta p {
    font-size: 15px; color: var(--muted); margin-bottom: 20px;
}

/* ── SINGLE EXTRA PAGE ──────────────────────────────────────────────── */
.extra-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding: 40px 24px 80px;
    max-width: 1100px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .extra-layout { grid-template-columns: 1fr; }
}

/* Hero image */
.extra-hero-img {
    height: clamp(220px, 35vw, 400px);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}
.extra-hero-img picture, .extra-hero-img img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}

/* Header */
.extra-header {
    display: flex; align-items: flex-start;
    justify-content: space-between; gap: 16px;
    margin-bottom: 20px; flex-wrap: wrap;
}
.extra-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(22px, 4vw, 34px);
    font-weight: 600; color: var(--ink); line-height: 1.25;
}
.extra-price-badge {
    background: rgba(212,168,71,.12);
    border: 1px solid rgba(212,168,71,.3);
    border-radius: 8px; padding: 8px 16px;
    font-size: 18px; font-weight: 700; color: var(--accent);
    white-space: nowrap; text-align: center;
}
.extra-price-badge span {
    display: block; font-size: 11px; font-weight: 400; color: var(--muted);
}

/* Description */
.extra-description {
    font-size: 16px; line-height: 1.8; color: var(--ink);
    margin-bottom: 28px;
}

/* Book box */
.extra-book-box {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    background: rgba(212,168,71,.06);
    border: 1px solid rgba(212,168,71,.2);
    border-radius: 12px; padding: 20px 24px;
    margin-bottom: 40px;
}
.extra-book-title {
    font-weight: 600; color: var(--ink); margin-bottom: 4px;
}
.extra-book-sub { font-size: 13px; color: var(--muted); }

/* Sections */
.extra-section { margin-bottom: 40px; }
.extra-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px; font-weight: 600; color: var(--ink);
    margin-bottom: 16px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

/* Related resources */
.extra-resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}
.extra-resource-card {
    text-decoration: none;
    background: var(--surface);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 10px; overflow: hidden;
    transition: border-color .2s, transform .2s;
}
.extra-resource-card:hover { border-color: rgba(212,168,71,.3); transform: translateY(-2px); }
.extra-resource-img { height: 100px; overflow: hidden; }
.extra-resource-img picture, .extra-resource-img img { width:100%;height:100%;object-fit:cover;display:block; }
.extra-resource-no-img {
    height: 100px; display:flex;align-items:center;justify-content:center;
    font-size:28px;color:rgba(255,255,255,.1);background:rgba(255,255,255,.03);
}
.extra-resource-body { padding: 10px; }
.extra-resource-type { font-size: 11px; color: var(--muted); margin-bottom: 3px; }
.extra-resource-name { font-size: 13px; font-weight: 600; color: var(--ink); }

/* Related posts */
.extra-posts-list { display: flex; flex-direction: column; gap: 12px; }
.extra-post-card {
    display: flex; gap: 14px; text-decoration: none;
    padding: 12px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,.06);
    transition: border-color .2s, background .2s;
}
.extra-post-card:hover {
    border-color: rgba(212,168,71,.2);
    background: rgba(212,168,71,.04);
}
.extra-post-img { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.extra-post-img picture, .extra-post-img img { width:100%;height:100%;object-fit:cover;display:block; }
.extra-post-date { font-size: 11px; color: var(--muted); margin-bottom: 4px; }
.extra-post-title { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.extra-post-meta { font-size: 12px; color: var(--muted); margin-top: 4px; }

/* Sidebar */
.extra-price-box {
    background: var(--surface);
    border: 1px solid rgba(212,168,71,.2);
    border-radius: 12px; padding: 24px;
    margin-bottom: 24px;
}
.extra-price-val { font-size: 26px; font-weight: 700; color: var(--accent); }
.extra-price-note { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* Other extras */
.extra-others { display: flex; flex-direction: column; gap: 10px; }
.extra-others-title {
    font-size: 13px; font-weight: 600; color: var(--muted);
    letter-spacing: .06em; text-transform: uppercase; margin-bottom: 4px;
}
.extra-other-card {
    display: flex; gap: 12px; text-decoration: none;
    padding: 8px; border-radius: 8px;
    border: 1px solid rgba(255,255,255,.05);
    transition: border-color .2s, background .2s;
}
.extra-other-card:hover { border-color: rgba(212,168,71,.2); background: rgba(212,168,71,.04); }
.extra-other-img { width: 52px; height: 52px; border-radius: 6px; overflow: hidden; flex-shrink: 0; }
.extra-other-img picture, .extra-other-img img { width:100%;height:100%;object-fit:cover;display:block; }
.extra-other-no-img {
    display:flex;align-items:center;justify-content:center;
    font-size:20px;color:rgba(255,255,255,.1);background:rgba(255,255,255,.03);
}
.extra-other-name { font-size: 13px; font-weight: 500; color: var(--ink); line-height: 1.3; }
.extra-other-price { font-size: 12px; color: var(--accent); margin-top: 2px; }
.extra-all-link { font-size: 13px; color: var(--accent); text-decoration: none; font-weight: 500; }
.extra-all-link:hover { text-decoration: underline; }

.extra-sidebar { align-self: start; position: sticky; top: 80px; }
