/* ===================================================
   CARD READING PAGES — cards.css
   Video player, transcript layout, themes, pull quotes
   Also: Major Arcana index page (.cards-index-*)
   =================================================== */

/* ---- Major Arcana index page ---- */
.cards-index-main {
    background-color: #f6f4f2;
}

.cards-index-wrap {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 5rem;
}

.cards-index-intro {
    text-align: center;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid rgba(123, 45, 158, 0.12);
    margin-bottom: 2.5rem;
}

.cards-index-daily-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0.6rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    color: #483268;
    border: 2px solid #483268;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.cards-index-daily-link:hover {
    background: #483268;
    color: #fff;
}

.cards-index-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.cards-index-card a {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: inherit;
    gap: 0.4rem;
    padding: 0.75rem 0.5rem 1rem;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.cards-index-card a:hover {
    background: #faf7ff;
    transform: translateY(-3px);
}

.cards-index-card img {
    width: 100%;
    max-width: 140px;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 18px rgba(80, 20, 112, 0.18);
    display: block;
}

.cards-index-numeral {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.7rem;
    color: var(--brand-light, #bf3fa0);
    letter-spacing: 0.12em;
    margin-top: 0.5rem;
}

.cards-index-name {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.75rem;
    color: var(--brand-dark, #501470);
    line-height: 1.35;
}

.cards-index-keywords {
    font-size: 0.7rem;
    color: #888;
    line-height: 1.4;
}

.cards-index-about {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(123, 45, 158, 0.12);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cards-index-about h2 {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--brand-dark, #501470);
    font-size: 1.05rem;
    margin: 2rem 0 0.75rem;
}

.cards-index-about h2:first-child {
    margin-top: 0;
}

.cards-index-about p {
    color: #444;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.cards-index-cta {
    margin-top: 2rem;
    display: inline-block;
}

@media (max-width: 480px) {
    .cards-index-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 1rem;
    }
    .cards-index-header h1 {
        font-size: 1.35rem;
    }
}

/* ---- Breadcrumb — reset fixed nav styles from global style.css ---- */
.card-breadcrumb {
    position: static;
    background: transparent;
    border-bottom: none;
    box-shadow: none;
    padding: 1.25rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    z-index: auto;
}

.card-breadcrumb a {
    color: var(--brand, #7b2d9e);
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
}

.card-breadcrumb a:hover {
    text-decoration: underline;
}

/* ---- Article wrapper ---- */
.card-reading {
    padding-bottom: 4rem;
}

.card-reading .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ---- Video section (prominent, above the fold) ---- */
.card-video-section {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 2.5rem;
    padding: 2.5rem 0 2rem;
}

.card-video-player {
    flex: 0 0 42%;
    max-width: 420px;
}

.card-video-player video {
    width: 100%;
    border-radius: 8px;
    display: block;
    background: #0f0a1a;
    box-shadow: 0 6px 32px rgba(123, 45, 158, 0.25);
}

.card-video-meta {
    flex: 1;
    text-align: left;
    padding-top: 0.25rem;
}

.card-number-label {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--brand-light, #bf3fa0);
    font-size: 1rem;
    letter-spacing: 0.15em;
    margin: 0 0 0.35rem;
}

.card-video-meta h2 {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 2rem;
    margin: 0 0 0.5rem;
    color: var(--brand-dark, #501470);
}

.card-keywords {
    color: #666;
    font-size: 0.88rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0;
}

/* ---- Key themes (inside right column of video section) ---- */
.card-themes-heading {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--brand, #7b2d9e);
    font-size: 0.85rem;
    margin: 1.75rem 0 0.75rem;
    letter-spacing: 0.03em;
}

.card-themes-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.card-themes-list li {
    padding: 0.65rem 1rem 0.65rem 1.25rem;
    border-left: 3px solid var(--brand-light, #bf3fa0);
    background: #faf7ff;
    border-radius: 0 4px 4px 0;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #333;
}

/* ---- Transcript section (two-column: image + text) ---- */
.card-transcript-section {
    margin: 2.5rem 0;
    display: flex;
    gap: 2.5rem;
    align-items: flex-start;
}

.card-transcript-section h3 {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--brand, #7b2d9e);
    margin-bottom: 1rem;
}

.card-transcript-image {
    flex-shrink: 0;
}

.card-transcript-image img {
    width: 180px;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(123, 45, 158, 0.2);
    display: block;
}

.card-transcript-text {
    flex: 1;
}

.card-transcript-text p {
    font-size: 1.05rem;
    line-height: 1.85;
    color: #333;
    font-style: italic;
    margin: 0;
}

/* ---- Pull quotes ---- */
.card-quotes-section {
    margin: 2rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.card-pullquote {
    margin: 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid var(--brand, #7b2d9e);
    background: linear-gradient(90deg, #f8f2ff 0%, #fff 100%);
    border-radius: 0 6px 6px 0;
    font-family: 'Cinzel Decorative', cursive;
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--brand-dark, #501470);
    font-style: normal;
}

/* ---- CTA section ---- */
.card-cta-section {
    margin: 3.5rem 0 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, #f8f2ff 0%, #fdf0f8 100%);
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(123, 45, 158, 0.15);
}

.card-cta-section h3 {
    font-family: 'Cinzel Decorative', cursive;
    color: var(--brand-dark, #501470);
    margin-bottom: 0.75rem;
}

.card-cta-section p {
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

/* ---- Responsive ---- */
@media (max-width: 640px) {
    .card-video-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .card-video-player {
        flex: none;
        width: 100%;
        max-width: none;
    }

    .card-video-meta {
        text-align: center;
    }

    .card-transcript-section {
        flex-direction: column;
        gap: 1.5rem;
    }

    .card-transcript-image img {
        width: 140px;
        margin: 0 auto;
    }

    .card-video-meta h2 {
        font-size: 1.6rem;
    }

    .card-cta-section {
        padding: 1.75rem 1.25rem;
    }
}