/* ==================== FANDOM CHAPTER SECTION ==================== */

.fandom-chapter-section {
    display: flex;
    flex-direction: column;
    width: 100vw;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border-bottom: 8px solid var(--secondary-950);
}

.fandom-chapter-section__header-wrap {
    width: 100%;
    padding: 5rem 0;
    background-color: var(--fandom-chapter-background);
    border-bottom: 4px solid var(--secondary-950);
}

.fandom-chapter-section__intro {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 4rem;
    align-items: center;
}

.fandom-chapter-section--odd .fandom-chapter-section__intro {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.fandom-chapter-section--odd .fandom-chapter-section__intro-copy {
    order: 2;
}

.fandom-chapter-section--odd .fandom-chapter-section__intro-media {
    order: 1;
}

.fandom-chapter-section__intro-copy {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: flex-start;
}

.fandom-chapter-section__eyebrow {
    color: var(--secondary-950);
    background-color: var(--fandom-chapter-accent);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border: 3px solid var(--secondary-950);
    box-shadow: 4px 4px 0px var(--secondary-950);
    margin: 0;
}

.fandom-chapter-section__title {
    color: var(--fandom-chapter-primary-text);
    font-size: clamp(3rem, 5vw, 5.5rem);
    font-weight: 800;
    line-height: 0.9;
    text-transform: uppercase;
    text-shadow: 4px 4px 0px var(--secondary-950);
    margin: 0;
}

.fandom-chapter-section__description {
    color: var(--fandom-chapter-secondary-text);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.6;
    max-width: 54ch;
    margin: 0;
    text-align: start;
}

.fandom-chapter-section__meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.5rem;
}

.fandom-chapter-section__count-chip,
.fandom-chapter-section__hidden-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 2px solid var(--secondary-950);
}

.fandom-chapter-section__count-chip {
    background-color: var(--fandom-chapter-accent);
    color: var(--secondary-950);
}

.fandom-chapter-section__hidden-chip {
    background-color: transparent;
    color: var(--fandom-chapter-primary-text);
}

.fandom-chapter-section__footer {
    margin-top: 1.5rem;
}

/* Zero Gap for paths */
.fandom-chapter-section__paths {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0;
}

@media (max-width: 980px) {

    .fandom-chapter-section__intro,
    .fandom-chapter-section--odd .fandom-chapter-section__intro {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .fandom-chapter-section__intro-copy {
        align-items: center;
    }

    .fandom-chapter-section--odd .fandom-chapter-section__intro-copy,
    .fandom-chapter-section--odd .fandom-chapter-section__intro-media {
        order: initial;
    }
}