/* ==========================================================================
   PREMIUM BLOG DETAILS PAGE STYLES - BIRLA OPEN MINDS PRE-SCHOOL NEWTOWN
   ========================================================================== */

/* Reading Progress Bar */
#reading-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4.5px;
    background: transparent;
    z-index: 99999;
}

#reading-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #f28b00 0%, #ff5252 50%, #4facfe 100%);
    box-shadow: 0 0 10px rgba(242, 139, 0, 0.6);
    transition: width 0.1s ease-out;
}

/* Page Background */
.blog-details-section {
    padding: 40px 0 90px;
    background: #fdfdfc;
    position: relative;
}

/* Breadcrumbs Area */
.blog-details-breadcrumbs {
    background: linear-gradient(135deg, #fff8ee 0%, #edf6ff 50%, #fdf2f4 100%);
    padding: 28px 0;
    border-bottom: 1px solid #f0e6d6;
    position: relative;
}

.details-breadcrumb-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.details-breadcrumb-nav li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.details-breadcrumb-nav a {
    color: #2b6cb0;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.details-breadcrumb-nav a:hover {
    color: #f28b00;
}

.details-breadcrumb-nav .sep {
    color: #cbd5e0;
    font-size: 10px;
}

.details-breadcrumb-nav .active {
    color: #4a5568;
    font-weight: 600;
    max-width: 500px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Main Article Wrapper */
.article-main-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 42px 48px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1ece1;
    margin-bottom: 45px;
    position: relative;
    outline: none;
}

/* Article Category Pills */
.article-category-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 18px;
}

.article-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    background: #fff3dc;
    color: #c05621;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 2px 6px rgba(192, 86, 33, 0.08);
}

.article-cat-pill:hover {
    background: linear-gradient(135deg, #f28b00 0%, #ff6b6b 100%);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(242, 139, 0, 0.25);
}

/* Title */
.article-title {
    font-family: "Montserrat", "Poppins", sans-serif;
    font-size: 34px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.32;
    margin-bottom: 22px;
    letter-spacing: -0.5px;
}

/* Author & Meta Bar */
.article-author-card {
    display: flex;
    align-items: center;
    padding: 14px 18px;
    background: linear-gradient(135deg, #ffffff 0%, #fcfbf9 100%);
    border-radius: 16px;
    border: 1px solid #ede8de;
    margin-bottom: 28px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.author-info-left {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
}

.author-avatar {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #fed7aa;
    box-shadow: 0 3px 10px rgba(242, 139, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 3px 6px;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.author-meta-details {
    flex-grow: 1;
}

.author-meta-name {
    font-size: 15.5px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.author-meta-name i.fa-check-circle {
    color: #0284c7;
    font-size: 13.5px;
}

.author-sub-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.author-sub-meta .meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: #475569;
    background: #f1f5f9;
    padding: 3px 9px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.author-sub-meta .meta-item i {
    color: #f28b00;
    font-size: 11.5px;
}

.author-sub-meta .meta-item.location-item i {
    color: #ef4444;
}

/* Featured Cover Image */
.article-featured-media-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 0 35px 0;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.09);
    background: #f8fafc;
}

.article-cover-img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.article-featured-media-wrapper:hover .article-cover-img {
    transform: scale(1.02);
}

.article-media-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px 20px;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    color: #ffffff;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Excerpt Lead */
.article-lead-excerpt {
    font-size: 18.5px;
    line-height: 1.75;
    color: #2d3748;
    font-weight: 500;
    padding: 22px 28px;
    background: linear-gradient(135deg, #fffaf0 0%, #fff6e5 100%);
    border-left: 5px solid #f28b00;
    border-radius: 12px;
    margin-bottom: 35px;
    position: relative;
    box-shadow: 0 4px 15px rgba(242, 139, 0, 0.05);
}

.article-lead-excerpt::before {
    content: "“";
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 70px;
    line-height: 1;
    font-family: Georgia, serif;
    color: rgba(242, 139, 0, 0.15);
    pointer-events: none;
}

/* Table of Contents Box */
.article-toc-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px 26px;
    border: 1px solid #e2e8f0;
    margin-bottom: 35px;
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    margin-bottom: 12px;
}

.toc-title {
    font-size: 16px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-title i {
    color: #f28b00;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list li {
    margin-bottom: 8px;
    padding-left: 14px;
    position: relative;
}

.toc-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #f28b00;
    font-weight: bold;
}

.toc-list a {
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.toc-list a:hover {
    color: #f28b00;
    text-decoration: underline;
}

/* Rich Content Body Typography */
.article-body-content {
    font-size: 16.5px;
    line-height: 1.9;
    color: #374151;
}

.article-body-content h2 {
    font-family: "Montserrat", "Poppins", sans-serif;
    font-size: 27px;
    font-weight: 800;
    color: #1a202c;
    margin-top: 42px;
    margin-bottom: 18px;
    padding-left: 14px;
    border-left: 4px solid #f28b00;
    line-height: 1.35;
}

.article-body-content h3 {
    font-family: "Montserrat", "Poppins", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2d3748;
    margin-top: 34px;
    margin-bottom: 14px;
}

.article-body-content h4 {
    font-size: 18.5px;
    font-weight: 700;
    color: #4a5568;
    margin-top: 26px;
    margin-bottom: 12px;
}

.article-body-content p {
    margin-bottom: 22px;
}
.article-body-content ul{
    list-style: disc;
}
.article-body-content ol{
    list-style: decimal;
}
.article-body-content ul,
.article-body-content ol {
    margin-bottom: 26px;
    padding-left: 28px;
}

.article-body-content li {
    margin-bottom: 10px;
    line-height: 1.75;
}

.article-body-content blockquote {
    margin: 32px 0;
    padding: 22px 28px;
    background: linear-gradient(135deg, #f0fdf4 0%, #e6fffa 100%);
    border-left: 5px solid #38b2ac;
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #234e52;
    font-size: 17.5px;
    line-height: 1.75;
    box-shadow: 0 4px 15px rgba(56, 178, 172, 0.08);
}

.article-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

/* Image alignments inside article body */
.article-body-content img[style*="float: left"] {
    margin: 10px 24px 18px 0 !important;
    clear: left;
}

.article-body-content img[style*="float: right"] {
    margin: 10px 0 18px 24px !important;
    clear: right;
}

.article-body-content img[style*="display: inline"] {
    margin: 6px 10px !important;
}

.article-body-content table {
    width: 100%;
    margin: 28px 0;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.article-body-content table th,
.article-body-content table td {
    padding: 14px 18px;
    border: 1px solid #e2e8f0;
}

.article-body-content table th {
    background: #edf2f7;
    font-weight: 700;
    color: #2d3748;
}

/* ==========================================================================
   RICH CONTENT STUDIO TEMPLATE BLOCKS (Synchronized with Admin Preview)
   ========================================================================== */

/* 1. Key Takeaway Callout Box */
.article-body-content .blog-takeaway-box {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f3ff 100%);
    border-left: 5px solid #3699ff;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 28px 0;
    box-shadow: 0 4px 16px rgba(54, 153, 255, 0.08);
}

.article-body-content .blog-takeaway-box .box-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.article-body-content .blog-takeaway-box .box-title i {
    color: #3699ff;
    margin-right: 8px;
    font-size: 18px;
}

.article-body-content .blog-takeaway-box p {
    margin-bottom: 0;
    color: #334155;
    font-size: 15px;
    line-height: 1.7;
}

/* 2. Pro Tip Callout Box */
.article-body-content .blog-protip-box {
    background: linear-gradient(135deg, #f0fff6 0%, #e6faf0 100%);
    border-left: 5px solid #10b981;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 28px 0;
    box-shadow: 0 4px 16px rgba(16, 185, 129, 0.08);
}

.article-body-content .blog-protip-box .box-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.article-body-content .blog-protip-box .box-title i {
    color: #10b981;
    margin-right: 8px;
    font-size: 18px;
}

.article-body-content .blog-protip-box p {
    margin-bottom: 0;
    color: #047857;
    font-size: 15px;
    line-height: 1.7;
}

/* 3. Warning Alert Box */
.article-body-content .blog-warning-box {
    background: linear-gradient(135deg, #fff9f0 0%, #fff4e5 100%);
    border-left: 5px solid #f59e0b;
    border-radius: 14px;
    padding: 20px 24px;
    margin: 28px 0;
    box-shadow: 0 4px 16px rgba(245, 158, 11, 0.08);
}

.article-body-content .blog-warning-box .box-title {
    font-size: 16.5px;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.article-body-content .blog-warning-box .box-title i {
    color: #f59e0b;
    margin-right: 8px;
    font-size: 18px;
}

.article-body-content .blog-warning-box p {
    margin-bottom: 0;
    color: #78350f;
    font-size: 15px;
    line-height: 1.7;
}

/* 4. Styled Blockquote */
.article-body-content .blog-quote-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #1e293b;
    border-radius: 16px;
    padding: 26px 30px;
    margin: 32px 0;
    position: relative;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
}

.article-body-content .blog-quote-card .quote-text {
    font-size: 18px;
    font-style: italic;
    color: #1e293b;
    line-height: 1.7;
    margin-bottom: 12px;
}

.article-body-content .blog-quote-card .quote-author {
    font-size: 13.5px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* 5. Modern Data & Comparison Table */
.article-body-content .blog-table-responsive {
    width: 100%;
    overflow-x: auto;
    margin: 28px 0;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.article-body-content .blog-modern-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
}

.article-body-content .blog-modern-table th {
    background: #1e293b;
    color: #ffffff;
    font-weight: 700;
    padding: 15px 20px;
    text-align: left;
    font-size: 14.5px;
    letter-spacing: 0.3px;
    border: none;
}

.article-body-content .blog-modern-table td {
    padding: 14px 20px;
    border-top: 1px solid #f1f5f9;
    border-bottom: none;
    border-left: none;
    border-right: none;
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
}

.article-body-content .blog-modern-table tr:nth-child(even) td {
    background: #fafbfd;
}

.article-body-content .blog-modern-table tr:hover td {
    background: #f0f7ff;
}

/* 6. Single FAQ Card Block */
.article-body-content .blog-faq-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 5px solid #3b82f6;
    border-radius: 14px;
    padding: 22px 24px;
    margin: 24px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.article-body-content .blog-faq-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.1);
}

.article-body-content .blog-faq-card .faq-question {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    line-height: 1.45;
}

.article-body-content .blog-faq-card .faq-question i {
    color: #3b82f6;
    margin-right: 12px;
    font-size: 19px;
    flex-shrink: 0;
}

.article-body-content .blog-faq-card .faq-answer {
    font-size: 15px;
    color: #475569;
    line-height: 1.75;
    margin-bottom: 0;
    padding-left: 31px;
}

/* 6b. Interactive FAQ Accordion Group & Dropdown */
.article-body-content .blog-faq-accordion {
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-body-content .blog-faq-item,
.article-body-content details.blog-faq-item,
.article-body-content details.blog-faq-dropdown {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 14px;
}

.article-body-content .blog-faq-item:hover,
.article-body-content details.blog-faq-item:hover,
.article-body-content details.blog-faq-dropdown:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.article-body-content .blog-faq-item.active,
.article-body-content details[open].blog-faq-item,
.article-body-content details[open].blog-faq-dropdown {
    border-color: #93c5fd;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.12);
}

.article-body-content .faq-accordion-header,
.article-body-content summary.faq-accordion-header {
    padding: 18px 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    background: #ffffff;
    user-select: none;
    transition: background 0.2s ease;
    list-style: none;
    outline: none;
}

.article-body-content summary.faq-accordion-header::-webkit-details-marker,
.article-body-content details.blog-faq-item summary::-webkit-details-marker,
.article-body-content details.blog-faq-dropdown summary::-webkit-details-marker {
    display: none !important;
}

.article-body-content summary.faq-accordion-header::marker,
.article-body-content details.blog-faq-item summary::marker,
.article-body-content details.blog-faq-dropdown summary::marker {
    display: none !important;
}

.article-body-content .blog-faq-item.active .faq-accordion-header,
.article-body-content details[open] > summary.faq-accordion-header,
.article-body-content details[open] > summary {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.article-body-content .faq-q-text {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.45;
    display: flex;
    align-items: center;
}

.article-body-content .faq-chevron {
    color: #64748b;
    font-size: 14px;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.article-body-content .blog-faq-item.active .faq-chevron,
.article-body-content details[open] summary .faq-chevron {
    transform: rotate(180deg);
    color: #3b82f6;
}

.article-body-content .faq-accordion-body {
    padding: 16px 22px 20px 22px;
    background: #ffffff;
    margin: 0 !important;
    outline: none;
}

.article-body-content div.blog-faq-item:not(.active) .faq-accordion-body {
    padding: 0 22px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.article-body-content div.blog-faq-item.active .faq-accordion-body {
    padding: 16px 22px 20px 22px;
    max-height: 800px;
}

.article-body-content .faq-accordion-body p {
    font-size: 15px;
    color: #475569;
    line-height: 1.75;
    margin: 0 !important;
    padding: 0 !important;
    outline: none !important;
}

/* Eliminate empty paragraph gaps */
.article-body-content .ql-custom-block {
    display: block;
    width: 100%;
    margin: 20px 0;
    outline: none;
}

.article-body-content details,
.article-body-content .blog-faq-item,
.article-body-content .blog-faq-accordion {
    min-height: 0 !important;
    height: auto !important;
    outline: none !important;
}

.article-body-content details summary,
.article-body-content .faq-accordion-header {
    min-height: 0 !important;
    margin: 0 !important;
}

.article-body-content details > p:empty,
.article-body-content details > br,
.article-body-content details > p > br:only-child,
.article-body-content .blog-faq-item > p:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important;
    line-height: 0 !important;
}

/* 7. Call To Action (CTA) Box */
.article-body-content .blog-cta-box {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    border-radius: 20px;
    padding: 38px 30px;
    margin: 36px 0;
    color: #ffffff;
    text-align: center;
    box-shadow: 0 14px 40px rgba(30, 58, 138, 0.25);
    position: relative;
    overflow: hidden;
}

.article-body-content .blog-cta-box::before {
    content: "";
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(242, 139, 0, 0.2);
    border-radius: 50%;
    pointer-events: none;
}

.article-body-content .blog-cta-box h4 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 12px;
    font-size: 24px;
    line-height: 1.35;
}

.article-body-content .blog-cta-box p {
    color: #cbd5e1;
    font-size: 15.5px;
    line-height: 1.65;
    max-width: 600px;
    margin: 0 auto 24px auto;
}

.article-body-content .blog-cta-box .btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f28b00 0%, #ff5252 100%);
    color: #ffffff !important;
    font-weight: 700;
    padding: 13px 32px;
    border-radius: 30px;
    text-decoration: none !important;
    font-size: 15px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(242, 139, 0, 0.35);
}

.article-body-content .blog-cta-box .btn-cta:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 10px 25px rgba(242, 139, 0, 0.45);
    color: #ffffff !important;
}

/* 8. Step-by-Step Guide List */
.article-body-content .blog-step-list {
    margin: 28px 0;
    padding: 0;
    list-style: none;
}

.article-body-content .blog-step-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 18px;
    background: #fafbfd;
    padding: 18px 22px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.article-body-content .blog-step-list .step-num {
    background: linear-gradient(135deg, #f28b00 0%, #ea580c 100%);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    margin-right: 16px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(242, 139, 0, 0.3);
}

.article-body-content .blog-step-list .step-content {
    font-size: 15px;
    color: #334155;
    line-height: 1.65;
}

/* 9. Feature Checklist */
.article-body-content .blog-checklist {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 22px 26px;
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.article-body-content .checklist-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 15px;
    color: #334155;
    line-height: 1.6;
}

.article-body-content .checklist-item .check-icon {
    color: #10b981;
    font-size: 19px;
    margin-top: 2px;
    flex-shrink: 0;
}

/* 10. Highlights / Stats Grid */
.article-body-content .blog-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
    margin: 30px 0;
}

.article-body-content .stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
    transition: transform 0.25s ease;
}

.article-body-content .stat-card:hover {
    transform: translateY(-3px);
    border-color: #cbd5e1;
}

.article-body-content .stat-card .stat-number {
    font-size: 26px;
    font-weight: 800;
    color: #f28b00;
    line-height: 1.2;
    margin-bottom: 4px;
}

.article-body-content .stat-card .stat-label {
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Callout Box for Parent Highlights */
.parent-tip-card {
    background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
    border-left: 5px solid #3b82f6;
    border-radius: 14px;
    padding: 22px 26px;
    margin: 35px 0;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.07);
}

.parent-tip-title {
    font-size: 17px;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.parent-tip-text {
    font-size: 15px;
    color: #1e3a8a;
    line-height: 1.65;
    margin: 0;
}

/* Interactive Article Feedback */
.article-feedback-card {
    background: #fafaf9;
    border-radius: 16px;
    padding: 20px 24px;
    margin: 40px 0 20px 0;
    border: 1px dashed #cbd5e0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.feedback-label {
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
    margin: 0;
}

.feedback-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feedback-btn {
    padding: 7px 16px;
    border-radius: 20px;
    border: 1px solid #cbd5e0;
    background: #ffffff;
    font-size: 13.5px;
    font-weight: 700;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.feedback-btn:hover {
    background: #f7fafc;
    border-color: #a0aec0;
    transform: translateY(-1px);
}

.feedback-btn.active-yes {
    background: #48bb78;
    color: #ffffff;
    border-color: #48bb78;
}

.feedback-btn.active-no {
    background: #f56565;
    color: #ffffff;
    border-color: #f56565;
}

/* Share & Tags Footer */
.article-footer-meta {
    margin-top: 35px;
    padding-top: 25px;
    border-top: 1px solid #edf2f7;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.article-share-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    width: 100%;
}

.article-share-links span.share-title {
    font-size: 14.5px;
    font-weight: 700;
    color: #334155;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.share-btn-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    text-decoration: none !important;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    border: none;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.08);
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.share-btn.whatsapp { background: #25d366; }
.share-btn.facebook { background: #1877f2; }
.share-btn.twitter { background: #000000; }
.share-btn.linkedin { background: #0a66c2; }
.share-btn.copy-link { background: #4a5568; cursor: pointer; }
.share-btn.print-page { background: #718096; cursor: pointer; }

/* Author Bio Box */
.author-bio-card {
    background: linear-gradient(135deg, #f8fafc 0%, #fffaf0 100%);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #fbd38d;
    margin-top: 40px;
    display: flex;
    gap: 22px;
    align-items: center;
}

.author-bio-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #f28b00;
    padding: 8px 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(242, 139, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-bio-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.author-bio-content h4 {
    font-size: 18px;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 6px;
}

.author-bio-content p {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 12px;
}

.author-bio-links a {
    font-size: 12px;
    font-weight: 700;
    color: #f28b00;
    text-decoration: none;
    margin-right: 12px;
    white-space: nowrap;
}

.author-bio-links a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   PREVIOUS / NEXT POST CARDS
   ========================================================================== */

.post-navigation-card {
    margin-bottom: 45px;
}

.post-nav-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.post-nav-item {
    background: #ffffff;
    border-radius: 18px;
    padding: 22px 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1ece1;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.post-nav-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(242, 139, 0, 0.12);
    border-color: #fbd38d;
}

.post-nav-item.next {
    text-align: right;
    align-items: flex-end;
}

.post-nav-direction {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f28b00;
    margin-bottom: 8px;
}

.post-nav-title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.45;
    margin: 0;
}

.post-nav-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.post-nav-title a:hover {
    color: #f28b00;
}

/* ==========================================================================
   RELATED ARTICLES SHOWCASE
   ========================================================================== */

.related-posts-section {
    margin-top: 50px;
}

.related-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 26px;
}

.related-section-title {
    font-family: "Montserrat", "Poppins", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: #1a202c;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    line-height: 1.25;
}

.related-section-title span {
    color: #f28b00;
}

.related-all-link {
    font-size: 13.5px;
    font-weight: 700;
    color: #2b6cb0;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f0f7ff;
    border-radius: 20px;
    border: 1px solid #d0e6ff;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.related-all-link:hover {
    background: #f28b00;
    color: #ffffff;
    border-color: #f28b00;
    transform: translateX(2px);
}

.related-card {
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1ece1;
    transition: all 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(242, 139, 0, 0.12);
    border-color: #fbd38d;
}

.related-card-media {
    width: 100%;
    height: 175px;
    overflow: hidden;
    position: relative;
    background: #edf2f7;
}

.related-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.related-card:hover .related-card-img {
    transform: scale(1.08);
}

.related-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.related-card-meta {
    font-size: 12px;
    color: #718096;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.related-card-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 10px;
}

.related-card-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-card-title a:hover {
    color: #f28b00;
}

.related-card-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

/* ==========================================================================
   SIDEBAR WIDGETS
   ========================================================================== */

.sidebar-sticky-wrap {
    position: sticky;
    top: 100px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1ece1;
    margin-bottom: 30px;
}

.widget-title {
    font-family: "Montserrat", "Poppins", sans-serif;
    font-size: 18.5px;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 22px;
    padding-bottom: 12px;
    border-bottom: 2px solid #fff3dc;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background: #f28b00;
    border-radius: 2px;
}

/* Sidebar Search Form */
.sidebar-search-form {
    position: relative;
}

.sidebar-search-input {
    width: 100%;
    height: 48px;
    padding: 8px 50px 8px 18px;
    border-radius: 30px;
    border: 2px solid #edf2f7;
    background: #f8fafc;
    font-size: 14px;
    color: #2d3748;
    transition: all 0.25s ease;
}

.sidebar-search-input:focus {
    background: #ffffff;
    border-color: #f28b00;
    outline: none;
    box-shadow: 0 0 0 4px rgba(242, 139, 0, 0.12);
}

.sidebar-search-submit {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f28b00;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sidebar-search-submit:hover {
    background: #d97706;
    transform: translateY(-50%) scale(1.06);
}

/* Sidebar Categories List */
.sidebar-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.sidebar-cat-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 16px;
    border-radius: 12px;
    background: #f8fafc;
    color: #4a5568;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.25s ease;
    border: 1px solid transparent;
}

.sidebar-cat-list li a:hover {
    background: #fffaf0;
    color: #f28b00;
    border-color: #fed7aa;
    transform: translateX(4px);
}

.sidebar-cat-list li a .cat-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 24px;
    padding: 0 8px;
    border-radius: 12px;
    font-size: 11.5px;
    font-weight: 700;
    background: #edf2f7;
    color: #718096;
    transition: all 0.2s ease;
}

.sidebar-cat-list li a:hover .cat-count {
    background: #f28b00;
    color: #ffffff;
}

/* Recent / Trending Posts in Sidebar */
.sidebar-recent-posts-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sidebar-recent-post {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 16px;
    border-bottom: 1px solid #edf2f7;
    position: relative;
}

.sidebar-recent-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.recent-post-thumb {
    width: 74px;
    height: 74px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: #edf2f7;
    position: relative;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.recent-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sidebar-recent-post:hover .recent-post-thumb img {
    transform: scale(1.1);
}

.recent-post-badge-rank {
    position: absolute;
    bottom: 2px;
    right: 2px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 10px;
    font-weight: 800;
    padding: 1px 5px;
    border-radius: 6px;
}

.recent-post-info {
    flex-grow: 1;
}

.recent-post-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}

.recent-post-title a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.recent-post-title a:hover {
    color: #f28b00;
}

.recent-post-date {
    font-size: 12px;
    color: #a0aec0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Quick Admission / Contact Widget */
.quick-contact-widget {
    background: linear-gradient(135deg, #fffcf6 0%, #fff7eb 100%);
    border: 1px solid #fed7aa;
}

.sidebar-contact-form .form-group {
    margin-bottom: 14px;
    position: relative;
}

.sidebar-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.sidebar-input-wrapper i {
    position: absolute;
    left: 14px;
    color: #a0aec0;
    font-size: 13px;
    pointer-events: none;
}

.sidebar-contact-input {
    width: 100%;
    padding: 10px 14px 10px 38px;
    border-radius: 5px;
    border: 1px solid #cbd5e0;
    background: #ffffff;
    font-size: 15px;
    color: #2d3748;
    font-weight: 500;
    transition: all 0.25s ease;
}

.sidebar-contact-input:focus {
    border-color: #f28b00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 139, 0, 0.15);
}

.sidebar-contact-textarea {
    width: 100%;
    height: 75px;
    padding: 10px 14px 10px 38px;
    border-radius: 10px;
    border: 1px solid #cbd5e0;
    background: #ffffff;
    font-size: 13.5px;
    color: #2d3748;
    resize: none;
    transition: all 0.25s ease;
}

.sidebar-contact-textarea:focus {
    border-color: #f28b00;
    outline: none;
    box-shadow: 0 0 0 3px rgba(242, 139, 0, 0.15);
}

.sidebar-submit-btn {
    width: 100%;
    height: 46px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f28b00 0%, #e65100 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 14.5px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(242, 139, 0, 0.3);
}

.sidebar-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(242, 139, 0, 0.4);
    background: linear-gradient(135deg, #d97706 0%, #c2410c 100%);
}

/* Admissions Open Spotlight Banner */
.sidebar-cta-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #0f172a 100%);
    color: #ffffff;
    border-radius: 22px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.25);
}

.sidebar-cta-card::before {
    content: "";
    position: absolute;
    width: 140px;
    height: 140px;
    background: rgba(242, 139, 0, 0.2);
    border-radius: 50%;
    top: -40px;
    right: -40px;
    pointer-events: none;
}

.sidebar-cta-icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fbd38d;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 16px;
}

.sidebar-cta-card h4 {
    color: #ffffff;
    font-size: 21px;
    font-weight: 800;
    margin-bottom: 8px;
}

.sidebar-cta-card p {
    color: #cbd5e1;
    font-size: 13.5px;
    line-height: 1.55;
    margin-bottom: 20px;
}

.sidebar-cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 20px;
    background: #f28b00;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border-radius: 30px;
    border: none;
    text-decoration: none !important;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(242, 139, 0, 0.35);
}

.sidebar-cta-btn:hover {
    background: #d97706;
    color: #ffffff;
    transform: translateY(-2px);
}

.sidebar-cta-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none !important;
    transition: all 0.25s ease;
}

.sidebar-cta-whatsapp-btn:hover {
    background: #25d366;
    color: #ffffff;
    border-color: #25d366;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 991px) {
    .article-main-card {
        padding: 30px 24px;
    }
    .article-title {
        font-size: 28px;
    }
    .author-bio-card {
        flex-direction: column;
        text-align: center;
    }
    .post-nav-row {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .post-nav-item.next {
        text-align: left;
        align-items: flex-start;
    }
    .related-posts-section {
        margin-top: 40px;
    }
    .related-section-header {
        margin-bottom: 22px;
    }
    .related-section-title {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .blog-details-section {
        padding: 24px 0 60px;
    }
    .blog-details-breadcrumbs {
        padding: 16px 0;
    }
    .details-breadcrumb-nav {
        font-size: 12px;
        gap: 6px;
    }
    .details-breadcrumb-nav .active {
        max-width: 220px;
    }
    .article-main-card {
        padding: 18px 16px;
        border-radius: 18px;
        margin-bottom: 30px;
    }
    .article-cat-pill {
        font-size: 11px;
        padding: 4px 12px;
    }
    .article-title {
        font-size: 21px;
        line-height: 1.35;
        margin-bottom: 16px;
    }
    .article-author-card {
        padding: 12px 14px;
        border-radius: 14px;
        margin-bottom: 22px;
        background: #fafaf9;
    }
    .author-info-left {
        gap: 12px;
        align-items: flex-start;
    }
    .author-avatar {
        width: 52px;
        height: 52px;
        border-radius: 50%;
        padding: 2px 4px;
    }
    .author-meta-name {
        font-size: 13.5px;
        margin-bottom: 4px;
    }
    .author-sub-meta {
        gap: 5px;
    }
    .author-sub-meta .meta-item {
        font-size: 10.5px;
        padding: 2px 6px;
        border-radius: 5px;
        gap: 4px;
    }
    .article-featured-media-wrapper {
        border-radius: 14px;
        margin-bottom: 22px;
    }
    .article-lead-excerpt {
        font-size: 14.5px;
        line-height: 1.65;
        padding: 14px 16px;
        border-radius: 10px;
        margin-bottom: 22px;
    }
    .article-body-content {
        font-size: 15px;
        line-height: 1.75;
    }
    .article-body-content h2 {
        font-size: 19px;
        margin-top: 28px;
        margin-bottom: 12px;
    }
    .article-body-content h3 {
        font-size: 17px;
        margin-top: 22px;
        margin-bottom: 10px;
    }
    .article-feedback-card {
        padding: 14px;
        border-radius: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .article-footer-meta {
        padding-top: 20px;
        margin-top: 28px;
        border-top: 1px solid #edf2f7;
    }
    .article-share-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        width: 100%;
    }
    .article-share-links span.share-title {
        font-size: 13.5px;
        width: 100%;
    }
    .share-btn-group {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 10px;
        width: 100%;
        flex-wrap: wrap;
    }
    .share-btn {
        width: 40px;
        height: 40px;
        font-size: 15.5px;
    }
    .author-bio-card {
        padding: 20px 16px;
        border-radius: 16px;
        flex-direction: column;
        text-align: center;
        gap: 14px;
        margin-top: 30px;
    }
    .author-bio-avatar {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin: 0 auto;
    }
    .author-bio-content h4 {
        font-size: 16px;
    }
    .author-bio-content p {
        font-size: 13px;
    }
    .related-posts-section {
        margin-top: 35px;
    }
    .related-section-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 8px 12px;
        margin-bottom: 18px;
    }
    .related-section-title {
        font-size: 18px;
        line-height: 1.25;
        gap: 7px;
    }
    .related-section-title i {
        font-size: 16px;
    }
    .related-all-link {
        font-size: 12px;
        padding: 4px 11px;
        gap: 5px;
    }
    .related-card {
        border-radius: 16px;
        margin-bottom: 15px;
    }
    .related-card-media {
        height: 185px;
    }
    .related-card-body {
        padding: 15px 16px;
    }
    .related-card-title {
        font-size: 15px;
    }
}

@media (max-width: 400px) {
    .related-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .related-section-title {
        font-size: 17px;
    }
    .related-all-link {
        align-self: flex-start;
    }
}