
/* =========================================
   SHREEMAD BHAGAVAD GITA
   CHAPTER PAGE DESIGN
========================================= */


/* CHAPTER HERO */

.chapter-hero {
    padding: 35px;
    margin: 25px 0 35px;

    border: 1px solid var(--border);
    border-radius: 20px;

    background: var(--surface-soft);
}

.chapter-hero-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.chapter-label {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.chapter-hero h1 {
    margin: 12px 0;
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    line-height: 1.5;
}

.chapter-description {
    max-width: 750px;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 2;
}

.chapter-number-large {
    font-family: "Inter", sans-serif;
    font-size: 90px;
    font-weight: 800;
    line-height: 1;
    color: var(--primary);
    opacity: 0.13;
}


/* CHAPTER STATISTICS */

.chapter-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-top: 28px;
}

.chapter-stat {
    padding: 17px;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--surface);
}

.chapter-stat span {
    display: block;
    color: var(--text-secondary);
    font-size: 11px;
    margin-bottom: 5px;
}

.chapter-stat strong {
    display: block;
    color: var(--text);
    font-size: 21px;
    font-weight: 700;
}


/* CHAPTER CONTENT */

.chapter-content-section {
    margin: 45px 0;
}

.chapter-section-heading {
    margin-bottom: 20px;
}

.chapter-section-heading h2 {
    font-size: 24px;
    font-weight: 700;
    margin-top: 7px;
}

.chapter-section-heading p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 7px;
    line-height: 1.9;
}


/* INFORMATION CARD */

.chapter-info-card {
    padding: 27px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.chapter-info-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.chapter-info-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 2;
    margin-bottom: 12px;
}

.chapter-info-card p:last-child {
    margin-bottom: 0;
}


/* VERSE AREA */

.verse-section {
    margin: 50px 0;
}

.verse-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.verse-toolbar h2 {
    font-size: 23px;
    font-weight: 700;
}

.verse-count {
    padding: 7px 13px;
    border-radius: 30px;
    background: var(--surface-soft);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
}

.verse-placeholder {
    padding: 35px 25px;
    text-align: center;
    border: 1px dashed var(--border);
    border-radius: 17px;
    background: var(--surface);
}

.verse-placeholder-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 17px;

    display: grid;
    place-items: center;

    border-radius: 50%;
    background: var(--surface-soft);
    color: var(--primary);
}

.verse-placeholder-icon svg {
    width: 27px;
    height: 27px;
}

.verse-placeholder h3 {
    font-size: 18px;
    margin-bottom: 9px;
}

.verse-placeholder p {
    max-width: 570px;
    margin: auto;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.9;
}


/* CHAPTER NAVIGATION */

.chapter-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;

    margin: 50px 0 20px;
    padding: 22px;

    background: var(--surface-soft);
    border: 1px solid var(--border);
    border-radius: 16px;
}

.chapter-navigation a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
}

.chapter-navigation a:hover {
    color: var(--primary-dark);
}

.chapter-navigation a svg {
    width: 17px;
    height: 17px;
}

.chapter-navigation .disabled {
    opacity: 0.35;
    pointer-events: none;
}


/* RESPONSIVE */

@media (max-width: 650px) {

    .chapter-hero {
        padding: 23px 19px;
        margin-top: 15px;
    }

    .chapter-number-large {
        font-size: 55px;
    }

    .chapter-hero h1 {
        font-size: 27px;
    }

    .chapter-description {
        font-size: 12px;
    }

    .chapter-stats {
        gap: 9px;
    }

    .chapter-stat {
        padding: 12px 9px;
    }

    .chapter-stat strong {
        font-size: 17px;
    }

    .chapter-stat span {
        font-size: 10px;
    }

    .chapter-info-card {
        padding: 20px;
    }

    .chapter-section-heading h2 {
        font-size: 21px;
    }

    .verse-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .verse-placeholder {
        padding: 27px 18px;
    }

    .chapter-navigation {
        padding: 17px 12px;
    }

    .chapter-navigation a {
        font-size: 11px;
    }

}

@media (max-width: 360px) {

    .chapter-number-large {
        font-size: 40px;
    }

    .chapter-hero-top {
        gap: 5px;
    }

    .chapter-stats {
        grid-template-columns: 1fr;
    }

}
