/* =============================================
   System Font Stack: Georgia Ref Plus family
   These are system/web-safe fonts, not Google Fonts.
   Declared here for consistent fallback ordering.
   ============================================= */
/* @font-face {
    font-family: 'Georgia Ref Plus';
    src: local('Georgia Ref Plus');
    font-display: swap;
}

@font-face {
    font-family: 'Georgia';
    src: local('Georgia');
    font-display: swap;
}

@font-face {
    font-family: 'Lucida Sans Unicode';
    src: local('Lucida Sans Unicode'), local('Lucida Grande');
    font-display: swap;
}

@font-face {
    font-family: 'Tahoma';
    src: local('Tahoma');
    font-display: swap;
} */

.breadcumb-title {
    /* font-family: "Lora", serif; */
    font-size: 3.125em;
    font-weight: 700;
    font-style: normal;
    line-height: 1.2em;
    text-decoration: none;
    text-transform: none;
    letter-spacing: 0px;
}

.breadcrumbs {
    font-size: 18px;
    line-height: 21px;
    font-weight: 500;
}

:root {
    --saffron: #FF9933;
    --deep-orange: #E65100;
    --bg-page: #FFFBF2;
    /* Warm off-white */
    --bg-surface: #ffffff;
    --text-primary: #2d241e;
    /* Deep earthy brown/black */
    --text-secondary: #705b4d;
    --accent-color: #D97706;
    /* Subtle saffron/gold */
    --border-light: #eaddd0ff;
    --font-ui: 'Poppins', sans-serif;
    --font-reading: 'Lora', serif;
    --font-sanskrit: 'Yatra One', serif;
    /* Special font for headers/Sanskrit feel */
    --font-shloka: 'Georgia Ref Plus', Georgia, 'Lucida Sans Unicode', Tahoma, serif;
    /* Font stack for shloka/blockquote text */
}

body {
    background: #fffbf2;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--saffron) !important;
}

.swiper-pagination-bullet-active {
    background: var(--saffron) !important;
}

.glass-nav {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
}

.plyr--full-ui.plyr--video .plyr__control--overlaid {
    background: var(--saffron);
}

a {
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--accent-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-reading) !important;
}

/* Reading Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    z-index: 1001;
}

.progress-bar {
    height: 4px;
    background: #0f4d4a;
    width: 0%;
}

/* Responsive Navigation */
.navbar {
    font-family: var(--font-ui);
    background-color: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border-light);
    padding: 16px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.navbar-brand {
    font-family: var(--font-sanskrit);
    font-size: 1.5rem;
    color: var(--accent-color);
    letter-spacing: 0.5px;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 32px;
}

.nav-menu li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.nav-menu li a:hover {
    color: var(--accent-color);
}

/* Hamburger Icon */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--text-primary);
    border-radius: 3px;
    transition: 0.3s;
}

/* Layout Container */
.container {
    max-width: 1150px;
    margin: 40px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 60px;
}

/* Main Content */
.article-header {
    margin-bottom: 30px;
}

.category-tag {
    font-family: var(--font-ui);
    display: inline-block;
    background-color: #fef3c7;
    color: #b45309;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
}

.post-title {
    font-size: 3rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.post-description {
    font-family: var(--font-ui);
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-image {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* JS Table of Contents */
.toc-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 4px 24px;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border-light) transparent;
}

.toc-box::-webkit-scrollbar {
    width: 5px;
}

.toc-box::-webkit-scrollbar-track {
    background: transparent;
}

.toc-box::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

.toc-box::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

.toc-heading {
    margin-top: 15px !important;
}

.toc-sublist li {
    margin: 0 !important;
}

.toc-box h3 {
    font-family: var(--font-ui);
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.toc-list {
    list-style: none;
    font-family: var(--font-ui);
}

.toc-list li {
    margin-bottom: 10px;
}

.toc-list span {
    color: var(--accent-color);
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 500;
    transition: opacity 0.2s;
}

.toc-list span:hover {
    opacity: 0.7;
    text-decoration: underline;
}

/* TOC Sub-list (h3 items nested under h2) */
.toc-sublist {
    list-style: none;
    padding-left: 20px;
    margin-top: 6px;
    border-left: 2px solid var(--border-light);
}

.toc-sublist li {
    margin-bottom: 6px;
}

.toc-sub-link {
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    color: var(--text-secondary) !important;
}

.toc-sub-link:hover {
    color: var(--accent-color) !important;
}

/* Active TOC Link */
.toc-link.toc-active {
    color: var(--text-primary) !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    position: relative;
}

/* 
.toc-link.toc-active::before {
    content: '';
    position: absolute;
    left: -12px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 16px;
    background: var(--accent-color);
    border-radius: 2px;
} */

.toc-sub-link.toc-active::before {
    left: -14px;
}

/* H3 scroll margin */
.article-body h3 {
    scroll-margin-top: 100px;
}

/* Article Typography */
.article-body {
    font-size: 1.06rem;
    line-height: 1.5;
    letter-spacing: 0.25px;
    color: var(--text-primary);
}

/* .article-body p { margin-bottom: 28px; } */
.article-body h2 {
    font-family: var(--font-sanskrit);
    font-size: 2rem;
    margin: 48px 0 20px 0;
    color: #1B4D88;
    scroll-margin-top: 100px;
    /* Offset for sticky header */
}

/* Special Shloka Blockquote Design */
.shloka-box {
    background-color: #fdf8f0;
    border: 1px solid #eaddd0;
    border-left: 6px solid var(--accent-color);
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 8px 8px 0;
    text-align: center;
}

.shloka-sanskrit {
    font-size: 1.4rem;
    font-weight: 600;
    color: #b45309;
    margin-bottom: 20px;
    line-height: 1.6;
}

.shloka-words {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 4px;
    line-height: 1.6;
}

.shloka-translation {
    font-style: italic;
    font-size: 1.1rem;
    color: var(--text-primary);
}

/* Sidebar Widgets */
.sidebar {
    font-family: var(--font-ui);
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget {
    background: var(--bg-surface);
    border: 1px solid var(--border-light);
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
    border-bottom: 2px solid #fef3c7;
    display: inline-block;
    padding-bottom: 5px;
}

/* Categories Widget */
.category-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    background: var(--bg-page);
    border: 1px solid var(--border-light);
    padding: 6.5px 12px;
    border-radius: 20px;
    font-size: 0.84rem;
    color: var(--text-secondary);
    transition: 0.2s;
}

.chip:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

/* Newsletter Widget */
.newsletter-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.5;
}

.newsletter-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 12px;
    border: 1px solid var(--border-light);
    border-radius: 4px;
    font-family: var(--font-ui);
    font-size: 0.9rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent-color);
}

.btn-subscribe {
    width: 100%;
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.btn-subscribe:hover {
    background-color: #b45309;
}

/* Footer */
.footer {
    font-family: var(--font-ui);
    background: var(--bg-surface);
    border-top: 1px solid var(--border-light);
    padding: 40px 5%;
    text-align: center;
    margin-top: 60px;
    color: var(--text-secondary);
}

/* Mobile Responsive Rules */
@media (max-width: 900px) {
    .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .post-title {
        font-size: 2rem;
    }

    .post-description {
        font-size: 1.05rem;
    }

    /* Mobile Navbar */
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-surface);
        border-bottom: 1px solid var(--border-light);
        padding: 20px 5%;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
    }

    .nav-menu.active {
        display: flex;
    }
}

/* =============================================
           Blog Content Styles (from post.php)
           Scoped to .article-body for dynamic content
           ============================================= */
.article-body h1 {
    color: #d35400;
    margin: 15px 0px 30px 0px;
    font-size: 2.2em;
}

.article-body h2 {
    color: #275d59;
    margin-top: 25px;
    border-bottom: 2px solid #f39c12;
    padding-bottom: 8px;
    font-size: 1.4em;
    scroll-margin-top: 100px;
    font-weight: 600;
}

.article-body h3 {
    color: #275d59;
    margin-top: 30px;
    font-size: 1.3em;
    font-weight: 550;
}

.article-body h4 {
    margin: 0;
    scroll-margin: 5rem;
    font-weight: 600;
    font-size: 1.5rem;
    line-height: 1.2;
}

.article-body ul {
    padding-left: 20px;
    list-style: disc;
}

.article-body ul,
.article-body ol {
    margin: 12px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body blockquote {
    font-style: italic;
    background: #fffbe6 !important;
    color: #000 !important;
    border-left: 4px solid #ffcc00;
    padding: 10px 15px;
    margin: 15px 0;
    font-size: 1.5em;
    line-height: 2.3rem;
}

.article-body blockquote p {
    font-size: 1.15rem;
    line-height: 1.6em;
    font-weight: 400;
    font-style: normal;
}

.article-body em {
    color: #800000;
}

.article-body .underline {
    text-decoration: underline;
}

.article-body .highlight {
    background: #fff9d6;
    padding: 15px;
    border-left: 4px solid #f2c94c;
    margin: 20px 0;
}

.article-body .highlight-box {
    background-color: #fff9e6;
    padding: 20px;
    border-left: 5px solid #f39c12;
    margin: 25px 0;
    border-radius: 0 5px 5px 0;
}

.article-body .faq {
    background: #f3f3f3;
    padding: 15px;
    border-radius: 8px;
}

.article-body .faq h3 {
    margin: 0;
    font-size: 1.2rem;
}

.article-body .faq p {
    margin-bottom: 15px;
}

p {
    margin: 0;
}

.article-body .schedule-card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    margin: 25px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.article-body .cta-button {
    display: inline-block;
    background-color: #e67e22;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin: 25px 0;
    text-align: center;
    transition: background-color 0.3s;
}

.article-body .cta-button:hover {
    background-color: #c0392b;
}

.article-body img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 25px auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.article-body .content-img {
    max-width: 80%;
}

.article-body .table-of-contents {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
    margin: 30px 0;
}

.article-body .table-of-contents ol {
    columns: 2;
    column-gap: 40px;
}

.article-body .img-style {
    width: 100%;
    border-radius: 10px;
    filter: brightness(85%);
    transition: filter 0.3s ease;
}

.article-body .img-style:hover {
    filter: brightness(100%);
}

@media screen and (max-width: 480px) {
    .article-body h2 {
        font-size: 1.4em;
        line-height: 1.2;
        letter-spacing: 0;
    }
}

@media (max-width: 768px) {
    .article-body .table-of-contents ol {
        columns: 1;
    }
}

/* blockquote p { */
/* Please include all fonts in css file of below of google fonts library include */

/* font-family: var(--font-shloka);
    font-size: 1.4rem;
    font-weight: bold;
    color: #800000;
    line-height: 1.8;
    margin-bottom: 15px;
    font-style: italic; */
/* } */

.shloka-translation {
    font-family: 'Verdana', sans-serif;
    font-size: 1.1rem;
    color: #333;
    line-height: 1.6;
    border-top: 1px solid #FF9933;
    padding-top: 15px;
}

.shloka-reference {
    display: block;
    margin-top: 15px;
    font-weight: bold;
    color: #FF9933;
    letter-spacing: 1px;
}

.faq-question {
    font-size: 1.15rem;
}