
/* =========================================
   SARNATH UNESCO ARTICLE
   JATAV HISTORY
========================================= */

.sarnath-page {
    background: #f5f8fc;
    padding: 22px 12px 45px;
    color: #263449;
}

.sarnath-container {
    max-width: 1050px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #d9e5f5;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 24px rgba(20, 55, 100, 0.06);
}

/* Breadcrumb */

.sarnath-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: #66758a;
    margin-bottom: 22px;
}

.sarnath-breadcrumb a {
    color: #1555a4;
    text-decoration: none;
}

.sarnath-breadcrumb a:hover {
    text-decoration: underline;
}

/* Header */

.sarnath-header {
    text-align: center;
    margin: 15px auto 25px;
    max-width: 850px;
}

.sarnath-label {
    display: inline-block;
    background: #e8f1ff;
    color: #174c99;
    border: 1px solid #b9d1f5;
    padding: 7px 15px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .6px;
}

.sarnath-header h1 {
    color: #102f69;
    font-size: clamp(27px, 4vw, 39px);
    line-height: 1.22;
    margin: 18px 0 13px;
    font-weight: 800;
}

.sarnath-subtitle {
    color: #617087;
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

/* Cover */

.sarnath-cover {
    margin: 25px 0;
}

.sarnath-cover img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid #d6e2f1;
}

.sarnath-cover figcaption {
    text-align: center;
    font-size: 13px;
    color: #6b7788;
    padding: 10px 5px 0;
    line-height: 1.6;
}

/* Article */

.sarnath-page article {
    font-size: 16px;
    line-height: 1.85;
}

.sarnath-page article p {
    margin: 13px 0;
    color: #35445a;
}

.sarnath-page article h2 {
    color: #143d7c;
    font-size: 25px;
    line-height: 1.35;
    margin: 0 0 17px;
    padding-bottom: 10px;
    border-bottom: 2px solid #d9e7fa;
}

.sarnath-page article h3 {
    color: #174f99;
    font-size: 19px;
    margin: 23px 0 8px;
}

.sarnath-page article a {
    color: #1559ad;
    font-weight: 600;
    text-decoration: none;
}

.sarnath-page article a:hover {
    text-decoration: underline;
}

.sarnath-page article ul {
    padding-left: 24px;
}

.sarnath-page article li {
    margin-bottom: 9px;
    color: #35445a;
}

/* Intro */

.sarnath-intro {
    background: #f3f7fd;
    border-left: 4px solid #2165b4;
    border-radius: 9px;
    padding: 17px 20px;
    margin: 25px 0;
}

/* Facts */

.sarnath-facts {
    background: #fff;
    border: 1px solid #d8e5f5;
    border-radius: 12px;
    padding: 20px;
    margin: 28px 0;
}

.sarnath-facts h2 {
    font-size: 22px !important;
    border-bottom: 1px solid #dbe6f4 !important;
}

.sarnath-facts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.sarnath-fact {
    background: #f5f8fd;
    border: 1px solid #e1eaf6;
    border-radius: 8px;
    padding: 13px;
}

.sarnath-fact span {
    display: block;
    color: #718096;
    font-size: 12px;
    margin-bottom: 5px;
}

.sarnath-fact strong {
    display: block;
    color: #173e79;
    font-size: 15px;
    line-height: 1.5;
}

/* TOC */

.sarnath-toc {
    background: #f7faff;
    border: 1px solid #d4e2f4;
    border-radius: 12px;
    padding: 20px;
    margin: 30px 0;
}

.sarnath-toc h2 {
    font-size: 21px !important;
    margin-bottom: 12px !important;
}

.sarnath-toc a {
    display: block;
    padding: 7px 0;
    border-bottom: 1px dashed #d8e3f1;
    font-size: 15px;
}

.sarnath-toc a:last-child {
    border-bottom: 0;
}

/* Sections */

.sarnath-section {
    margin: 36px 0;
    scroll-margin-top: 100px;
}

.sarnath-highlight {
    background: #eef5ff;
    border: 1px solid #cbdcf3;
    border-radius: 9px;
    padding: 16px;
    margin: 20px 0;
    color: #183d76;
}

.sarnath-note {
    background: #fffaf0;
    border-left: 4px solid #d9a43b;
    border-radius: 8px;
    padding: 15px 18px;
    margin: 20px 0;
    color: #5b4a28;
}

.sarnath-criterion {
    background: #f6f9fe;
    border: 1px solid #dce7f5;
    border-radius: 10px;
    padding: 17px;
    margin: 17px 0;
}

.sarnath-criterion h3 {
    margin-top: 0 !important;
}

/* Sources */

.sarnath-sources {
    background: #f7faff;
    border: 1px solid #dce7f5;
    border-radius: 10px;
    padding: 18px 18px 18px 40px !important;
}

.sarnath-sources li {
    margin: 10px 0;
}

/* FAQ */

.sarnath-faq details {
    border: 1px solid #dce6f2;
    border-radius: 9px;
    padding: 14px 16px;
    margin: 12px 0;
    background: #fff;
}

.sarnath-faq summary {
    color: #17477f;
    font-weight: 700;
    cursor: pointer;
    line-height: 1.5;
}

.sarnath-faq details p {
    margin-bottom: 0;
}

/* Conclusion */

.sarnath-conclusion {
    background: #f1f6fd;
    border: 1px solid #d4e3f6;
    border-radius: 12px;
    padding: 20px;
    margin: 35px 0 25px;
}

.sarnath-author-note {
    background: #fff;
    border: 1px solid #d6e3f3;
    border-radius: 10px;
    padding: 17px;
    margin-top: 30px;
}

.sarnath-author-note strong {
    color: #163f7e;
    font-size: 17px;
}

.sarnath-author-note p {
    margin: 7px 0 !important;
}

/* Responsive */

@media (max-width: 650px) {

    .sarnath-page {
        padding: 10px 7px 25px;
    }

    .sarnath-container {
        padding: 15px 13px;
        border-radius: 10px;
    }

    .sarnath-header h1 {
        font-size: 27px;
    }

    .sarnath-subtitle {
        font-size: 15px;
    }

    .sarnath-page article {
        font-size: 15px;
        line-height: 1.8;
    }

    .sarnath-page article h2 {
        font-size: 21px;
    }

    .sarnath-page article h3 {
        font-size: 18px;
    }

    .sarnath-facts-grid {
        grid-template-columns: 1fr;
    }

    .sarnath-facts {
        padding: 14px;
    }

    .sarnath-toc {
        padding: 15px;
    }

}


html {
    scroll-behavior: smooth;
    scroll-padding-top: 140px;
}

.sarnath-page .sarnath-section {
    scroll-margin-top: 140px;
}

/* TOC links */
.sarnath-toc a {
    display: block;
    padding: 10px 12px;
    color: #174c99;
    text-decoration: none;
    border-bottom: 1px solid #dce7f5;
    border-radius: 5px;
    cursor: pointer;
}

.sarnath-toc a:hover {
    background: #eaf2ff;
    color: #092e68;
}
