/* ================================================================
   PlyNewsIndia - Plywood & Timber SEO Guides
   Clean White Theme
   ================================================================ */

:root {
    --theme-color: #ed0635;
    --theme-color2: #ff6508;
    --title-color: #171b2a;
    --body-color: #334155;
    --white-color: #ffffff;
    --smoke-bg: #f8f9fc;
    --border-light: #e2e8f0;
}

/* ================================================================
   1. SIGNATURE RED HEADER TOP BAR (FULL WIDTH)
   ================================================================ */
.header-top {
    background-color: #ed0635 !important;
    padding: 10px 0 !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    width: 100% !important;
    display: block !important;
}

.header-top span,
.header-top strong,
.header-top i,
.header-top a {
    color: #ffffff !important;
}

.header-top a:hover {
    color: #ffebee !important;
    text-decoration: underline;
}

.header-top .header-social a {
    color: #ffffff !important;
    margin-left: 14px;
    font-size: 14px;
    transition: opacity 0.2s;
}

.header-top .header-social a:hover {
    opacity: 0.8;
}

/* ================================================================
   2. FULL SCREEN / EDGE-TO-EDGE FLUID LAYOUT (NO GAPS ON LEFT/RIGHT)
   ================================================================ */
.container,
.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
}

@media (min-width: 576px) {
    .container,
    .container-fluid {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }
}

@media (min-width: 992px) {
    .container,
    .container-fluid {
        padding-left: 45px !important;
        padding-right: 45px !important;
    }
}

@media (min-width: 1400px) {
    .container,
    .container-fluid {
        padding-left: 60px !important;
        padding-right: 60px !important;
    }
}

@media (min-width: 1800px) {
    .container,
    .container-fluid {
        padding-left: 75px !important;
        padding-right: 75px !important;
    }
}

/* Sticky Sidebar on Desktop */
@media (min-width: 992px) {
    .col-lg-4 aside {
        position: -webkit-sticky;
        position: sticky;
        top: 90px;
        z-index: 10;
    }
}

/* Brand Logo & Sticky Navbar in Blog Header (YourStory Animation) */
.vs-header {
    position: relative;
    z-index: 999;
    width: 100%;
    background: #ffffff;
    transition: min-height 0.25s ease;
}

.sticky-wrapper {
    position: relative;
    width: 100%;
    height: auto !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.3s ease,
                background-color 0.3s ease,
                padding 0.3s ease;
    will-change: transform;
}

/* Persistent Fixed Sticky Mode */
.sticky-wrapper.ys-sticky,
.sticky-wrapper.is-fixed,
.sticky-wrapper.fixed-top,
.vs-header.blk .sticky-wrapper {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08) !important;
    border-bottom: 2px solid #ed0635 !important;
    transform: translateY(0) !important;
    z-index: 99999 !important;
}

/* Persistent Fixed Navbar: NEVER hide on scroll down */
.sticky-wrapper.ys-sticky.ys-nav-hidden,
.sticky-wrapper.ys-nav-hidden {
    transform: translateY(0) !important;
}

/* Fixed Navbar Visible */
.sticky-wrapper.ys-sticky.ys-nav-visible,
.sticky-wrapper.ys-nav-visible {
    transform: translateY(0) !important;
}

/* Brand Logo: Clean, Prominent & Fixed Proportions */
.brand-logo-lockup {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    padding: 8px 0;
    transition: padding 0.3s ease;
}

.brand-logo-img {
    height: 54px !important;
    max-height: 54px !important;
    width: auto !important;
    max-width: 270px !important;
    object-fit: contain !important;
    display: block !important;
    transition: height 0.3s ease, max-height 0.3s ease, max-width 0.3s ease;
}

/* Nav menu links */
.main-menu.menu-style1 ul li a {
    color: #171b2a !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.2px;
    padding: 22px 14px;
    display: inline-block;
    transition: color 0.25s, padding 0.3s ease;
}

.main-menu.menu-style1 ul li a:hover,
.main-menu.menu-style1 ul li:hover > a {
    color: #ed0635 !important;
}

/* Compact / chota when fixed (YourStory Style) */
.sticky-wrapper.ys-sticky .brand-logo-lockup,
.vs-header.blk .brand-logo-lockup {
    padding: 5px 0 !important;
}

.sticky-wrapper.ys-sticky .brand-logo-img,
.vs-header.blk .brand-logo-img {
    height: 40px !important;
    max-height: 40px !important;
    max-width: 200px !important;
}

.sticky-wrapper.ys-sticky .main-menu.menu-style1 ul li a,
.vs-header.blk .main-menu.menu-style1 ul li a {
    padding: 13px 12px !important;
    font-size: 13.5px !important;
}

@media (max-width: 1199px) and (min-width: 992px) {
    .main-menu.menu-style1 ul li a {
        padding: 22px 8px !important;
        font-size: 13px !important;
    }
    .sticky-wrapper.ys-sticky .main-menu.menu-style1 ul li a,
    .vs-header.blk .main-menu.menu-style1 ul li a {
        padding: 13px 7px !important;
        font-size: 12.5px !important;
    }
    .brand-logo-img {
        height: 46px !important;
        max-height: 46px !important;
        max-width: 230px !important;
    }
    .sticky-wrapper.ys-sticky .brand-logo-img,
    .vs-header.blk .brand-logo-img {
        height: 36px !important;
        max-height: 36px !important;
        max-width: 180px !important;
    }
}

@media (max-width: 991px) {
    .brand-logo-img {
        height: 44px !important;
        max-height: 44px !important;
        max-width: 220px !important;
    }
    .sticky-wrapper.ys-sticky .brand-logo-img,
    .vs-header.blk .brand-logo-img {
        height: 34px !important;
        max-height: 34px !important;
        max-width: 170px !important;
    }
}

/* Breadcrumb Navigation */
.blog-breadcrumb-wrapper {
    background: #f8fafc;
    border-bottom: 1px solid var(--border-light);
    padding: 16px 0;
    font-size: 13px;
    color: #64748b;
}

.blog-breadcrumb-wrapper a {
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.blog-breadcrumb-wrapper a:hover {
    color: var(--theme-color);
}

.blog-breadcrumb-wrapper .sep {
    margin: 0 8px;
    color: #94a3b8;
}

.blog-breadcrumb-wrapper .current-crumb {
    color: var(--title-color);
    font-weight: 600;
}

/* Article Hero Header */
.article-hero-header {
    padding: 50px 0 35px;
    background: #ffffff;
}

.article-category-tag {
    display: inline-block;
    background: #fff0f2;
    color: var(--theme-color);
    border: 1px solid #ffd1d8;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 16px;
}

.article-main-title {
    font-family: 'Antonio', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.22;
    color: var(--title-color);
    letter-spacing: -0.3px;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .article-main-title {
        font-size: 28px;
    }
}

.article-lead-p {
    font-size: 18px;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 24px;
    font-weight: 400;
}

.article-meta-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    color: #64748b;
}

.author-pill {
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-avatar-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--title-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
}

.verified-badge {
    color: #16a34a;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Featured Hero Figure */
.article-featured-figure {
    margin: 30px 0 45px;
    border-radius: 14px;
    overflow: hidden;
    background: #0e121d;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.article-featured-figure img {
    width: 100%;
    height: auto;
    max-height: 580px;
    object-fit: cover;
    display: block;
}

.article-featured-figure figcaption {
    padding: 12px 20px;
    background: #f8fafc;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: #64748b;
    font-style: italic;
}

/* Table of Contents */
.article-toc-box {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--theme-color);
    border-radius: 10px;
    padding: 24px 28px;
    margin-bottom: 40px;
}

.article-toc-title {
    font-family: 'Antonio', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 8px 24px;
}

.article-toc-list li a {
    color: #334155;
    font-size: 14px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.article-toc-list li a:hover {
    color: var(--theme-color);
    padding-left: 4px;
}

/* Article Body Typography */
.article-body-content {
    font-size: 16px;
    line-height: 1.85;
    color: #334155;
}

.article-body-content h2 {
    font-family: 'Antonio', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--title-color);
    margin-top: 45px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.article-body-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--theme-color);
}

.article-body-content h3 {
    font-family: 'Antonio', sans-serif;
    font-size: 21px;
    font-weight: 700;
    color: var(--title-color);
    margin-top: 32px;
    margin-bottom: 14px;
}

.article-body-content p {
    margin-bottom: 20px;
}

.article-body-content ul, 
.article-body-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-body-content li {
    margin-bottom: 10px;
}

.article-body-content strong {
    color: var(--title-color);
}

.article-body-content a {
    color: var(--theme-color);
    text-decoration: underline;
    font-weight: 600;
}

.article-body-content a:hover {
    color: #c4042b;
}

/* Callout Highlights */
.spec-callout {
    background: #fdf2f4;
    border-left: 4px solid var(--theme-color);
    padding: 22px 26px;
    border-radius: 0 10px 10px 0;
    margin: 32px 0;
}

.spec-callout h4 {
    font-family: 'Antonio', sans-serif;
    font-size: 18px;
    color: var(--title-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.spec-callout p {
    margin: 0;
    font-size: 15px;
    color: #475569;
}

/* Technical Comparison Table */
.tech-table-wrapper {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    margin: 35px 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.tech-table-header {
    background: #171b2a;
    color: #ffffff;
    padding: 16px 22px;
    font-family: 'Antonio', sans-serif;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tech-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    text-align: left;
}

.tech-comparison-table th {
    background: #f8fafc;
    color: #1e293b;
    font-weight: 700;
    padding: 14px 18px;
    border-bottom: 2px solid var(--border-light);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tech-comparison-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.tech-comparison-table tr:hover {
    background-color: #fbfcfe;
}

.badge-tier-top {
    display: inline-block;
    padding: 3px 9px;
    background: #fee2e2;
    color: #dc2626;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

.badge-tier-spec {
    display: inline-block;
    padding: 3px 9px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
}

/* Thames Brand Spotlight Box */
.thames-spotlight-card {
    background: linear-gradient(135deg, #171b2a 0%, #0e121d 100%);
    color: #ffffff;
    border-radius: 14px;
    padding: 34px 38px;
    margin: 45px 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(23, 27, 42, 0.2);
}

.thames-spotlight-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(237, 6, 53, 0.3) 0%, transparent 70%);
}

.thames-spotlight-card h3 {
    font-family: 'Antonio', sans-serif;
    font-size: 26px;
    color: #ffffff;
    margin-bottom: 12px;
}

.thames-spotlight-card p {
    color: #94a3b8;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.thames-spotlight-card .spec-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.thames-spotlight-card .spec-badge {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #cbd5e1;
}

/* FAQ Accordion Styling */
.faq-section-block {
    margin: 45px 0;
}

.faq-item-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item-card:hover {
    border-color: #cbd5e1;
}

.faq-question-btn {
    width: 100%;
    padding: 18px 22px;
    background: #ffffff;
    border: none;
    text-align: left;
    font-family: 'Antonio', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--title-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.faq-question-btn i {
    color: var(--theme-color);
    font-size: 14px;
    transition: transform 0.2s;
}

.faq-answer-body {
    padding: 0 22px 20px;
    font-size: 15px;
    color: #475569;
    line-height: 1.75;
}

/* Author Box */
.article-author-card {
    background: #f8fafc;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 26px 30px;
    margin: 50px 0 35px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.article-author-card .author-pic {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--title-color);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    flex-shrink: 0;
}

.article-author-card h4 {
    font-family: 'Antonio', sans-serif;
    font-size: 19px;
    color: var(--title-color);
    margin-bottom: 4px;
}

.article-author-card .designation {
    font-size: 12px;
    color: var(--theme-color);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.article-author-card p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Sidebar Widgets */
.blog-sidebar-widget {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 26px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.widget-title {
    font-family: 'Antonio', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--theme-color);
}

.sidebar-related-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-related-item {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sidebar-related-item:last-child {
    border-bottom: none;
}

.sidebar-related-item .item-cat {
    font-size: 11px;
    font-weight: 700;
    color: var(--theme-color);
    text-transform: uppercase;
}

.sidebar-related-item a {
    font-size: 14px;
    font-weight: 600;
    color: var(--title-color);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.2s;
}

.sidebar-related-item a:hover {
    color: var(--theme-color);
}
