/* ==========================================================================
   WebnNets IT Solutions - Blog & Article Stylesheet
   Inspired by echoVME Digital & High-Performance Editorial UX
   ========================================================================== */

/* --- Smart Fit Blog Card (EchoVME Signature Layout) --- */
.blog-smart-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-smart-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(24, 63, 114, 0.12);
    border-color: rgba(0, 161, 205, 0.3);
}

.blog-smart-thumb-wrap {
    position: relative;
    width: 100%;
    background: #0b1a2e;
    overflow: hidden;
    aspect-ratio: 700 / 300;
}

.blog-smart-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.4s ease;
}

.blog-smart-card:hover .blog-smart-img {
    transform: scale(1.02);
}

.blog-smart-body {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-smart-title {
    font-size: 26px;
    line-height: 1.35;
    margin: 12px 0 15px 0;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.blog-smart-title a {
    color: inherit;
    transition: var(--transition);
}

.blog-smart-title a:hover {
    color: var(--primary-color);
}

.blog-smart-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.blog-smart-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
}

/* --- Category Filter & Search Bar --- */
.blog-filter-section {
    padding: 30px 0 20px 0;
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
}

.blog-filter-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.blog-category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.cat-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--quaternary-color);
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.cat-pill:hover,
.cat-pill.active {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 161, 205, 0.25);
}

.blog-search-box {
    position: relative;
    min-width: 280px;
}

.blog-search-input {
    width: 100%;
    padding: 10px 16px 10px 40px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: var(--bg-light);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: var(--transition);
}

.blog-search-input:focus {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 161, 205, 0.15);
}

.blog-search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 14px;
    pointer-events: none;
}

/* --- Featured Article Hero Card --- */
.featured-blog-section {
    padding: 40px 0 20px 0;
}

.featured-blog-card {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    border: 1px solid rgba(229, 231, 235, 0.8);
    transition: var(--transition);
}

.featured-blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(24, 63, 114, 0.15);
}

.featured-blog-img-wrap {
    position: relative;
    overflow: hidden;
    min-height: 340px;
    background: #0b1a2e;
}

.featured-blog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.featured-blog-card:hover .featured-blog-img {
    transform: scale(1.04);
}

.featured-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, #ff5722, #ff9800);
    color: #ffffff;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px;
    border-radius: 50px;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
    z-index: 2;
}

.featured-blog-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-meta-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.blog-cat-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 161, 205, 0.1);
    color: var(--primary-color);
    font-weight: 700;
    font-size: 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-blog-title {
    font-size: 26px;
    line-height: 1.35;
    margin-bottom: 15px;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.featured-blog-title a {
    color: inherit;
    transition: var(--transition);
}

.featured-blog-title a:hover {
    color: var(--primary-color);
}

.featured-blog-desc {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 25px;
}

.featured-blog-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--bg-light);
    border: 2px solid var(--primary-color);
}

.author-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--secondary-color);
    margin: 0;
}

.author-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* --- Blog Main Layout: Left Column & Sidebar --- */
.blog-layout-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr;
    gap: 40px;
    padding: 40px 0 80px 0;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.blog-post-card {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(0, 161, 205, 0.3);
}

.blog-post-thumb-wrap {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: #0f172a;
}

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

.blog-post-card:hover .blog-post-thumb {
    transform: scale(1.05);
}

.blog-post-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-post-title {
    font-size: 19px;
    line-height: 1.4;
    margin: 10px 0 12px 0;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
}

.blog-post-title a {
    color: inherit;
    transition: var(--transition);
}

.blog-post-title a:hover {
    color: var(--primary-color);
}

.blog-post-snippet {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.blog-post-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
}

.read-more-link {
    font-weight: 700;
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--secondary-color);
    transform: translateX(3px);
}

/* --- Sidebar Widgets (echoVME Style) --- */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    padding: 30px;
    box-shadow: var(--shadow);
}

.widget-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--bg-light);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 45px;
    height: 2px;
    background: var(--primary-color);
}

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

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

.sidebar-cat-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--quaternary-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    padding: 6px 0;
}

.sidebar-cat-list a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.cat-count {
    background: var(--bg-light);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
}

.recent-post-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-color);
}

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

.recent-post-thumb {
    width: 75px;
    height: 65px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
}

.recent-post-info h5 {
    font-size: 14px;
    line-height: 1.35;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.recent-post-info h5 a {
    color: var(--secondary-color);
    transition: var(--transition);
}

.recent-post-info h5 a:hover {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: 12px;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Sidebar Lead Banner */
.sidebar-cta-card {
    background: linear-gradient(135deg, var(--secondary-color), #0a254e);
    color: #ffffff;
    border-radius: var(--border-radius-lg);
    padding: 35px 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-premium);
}

.sidebar-cta-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 120px;
    height: 120px;
    background: rgba(0, 161, 205, 0.2);
    border-radius: 50%;
}

.sidebar-cta-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.sidebar-cta-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.sidebar-cta-desc {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.55;
}

.sidebar-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff !important;
    color: var(--secondary-color) !important;
    font-weight: 800 !important;
    font-size: 13.5px;
    padding: 13px 26px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    text-decoration: none;
}

.sidebar-cta-btn:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 161, 205, 0.4);
}

.sidebar-cta-card .btn-premium {
    background: #ffffff !important;
    color: var(--secondary-color) !important;
    font-weight: 800 !important;
}

.sidebar-cta-card .btn-premium:hover {
    background: var(--primary-color) !important;
    color: #ffffff !important;
}

/* --- Single Post Detail Page Styles --- */
.single-post-wrapper {
    padding: 50px 0 90px 0;
}

.single-post-header {
    max-width: 900px;
    margin: 0 auto 35px auto;
    text-align: left;
}

.single-post-title {
    font-size: 38px;
    line-height: 1.25;
    margin: 15px 0 20px 0;
    color: var(--secondary-color);
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
}

.post-header-meta-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    font-size: 13.5px;
    color: var(--text-muted);
}

.post-header-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.single-post-featured-media {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-premium);
    background: #0b1a2e;
}

.single-post-featured-media img {
    width: 100%;
    height: auto;
    display: block;
}

/* Post Layout: Content + Sticky Sidebar */
.post-layout-container {
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 50px;
    max-width: 1280px;
    margin: 0 auto;
}

.post-article-content {
    color: #2d3748;
    font-size: 16.5px;
    line-height: 1.8;
}

.post-article-content p {
    margin-bottom: 22px;
}

.post-article-content h2 {
    font-size: 26px;
    line-height: 1.35;
    color: var(--secondary-color);
    margin: 45px 0 18px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-light);
    position: relative;
    scroll-margin-top: 100px;
}

.post-article-content h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--primary-color);
}

.post-article-content h3 {
    font-size: 20px;
    line-height: 1.4;
    color: var(--secondary-color);
    margin: 30px 0 14px 0;
    scroll-margin-top: 100px;
}

.post-article-content ul,
.post-article-content ol {
    margin-bottom: 25px;
    padding-left: 24px;
}

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

/* Quick Highlights Callout (echoVME Style) */
.post-quick-highlights {
    background: linear-gradient(135deg, rgba(0, 161, 205, 0.06), rgba(2, 129, 215, 0.08));
    border-left: 4px solid var(--primary-color);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    padding: 25px 30px;
    margin: 30px 0;
}

.post-quick-highlights h4 {
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.post-quick-highlights ul {
    margin: 0;
    padding-left: 20px;
}

.post-quick-highlights li {
    margin-bottom: 8px;
    font-size: 15px;
}

/* Interactive Table of Contents (ToC) */
.post-toc-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 28px 32px;
    margin: 35px 0 45px 0;
    box-shadow: var(--shadow);
}

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

.post-toc-title {
    font-size: 18px;
    font-weight: 800;
    color: var(--secondary-color);
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.post-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    columns: 2;
    column-gap: 30px;
}

.post-toc-list li {
    margin-bottom: 10px;
    break-inside: avoid;
}

.post-toc-list a {
    color: var(--quaternary-color);
    font-size: 14.5px;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
}

.post-toc-list a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.post-toc-list a span.toc-num {
    color: var(--primary-color);
    font-weight: 700;
}

/* Specs & Details Table / Grid */
.update-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 18px;
    margin: 25px 0 35px 0;
}

.update-detail-item {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.update-detail-item:hover {
    border-color: var(--primary-color);
    background: #ffffff;
    box-shadow: var(--shadow);
}

.update-detail-icon {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: rgba(0, 161, 205, 0.12);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.update-detail-text label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.update-detail-text strong {
    font-size: 14.5px;
    color: var(--secondary-color);
}

/* Modern Card Boxes for Core Factors & Step By Step */
.feature-box-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 25px 0 35px 0;
}

.feature-box-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 24px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.feature-box-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.feature-box-card h4 {
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-box-card p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Step-by-Step Guidance Timeline */
.step-guide-timeline {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0 35px 0;
}

.step-guide-item {
    display: flex;
    gap: 20px;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 22px 26px;
    transition: var(--transition);
}

.step-guide-item:hover {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.step-guide-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(0, 161, 205, 0.3);
}

.step-guide-body h4 {
    font-size: 17px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.step-guide-body p {
    font-size: 14.5px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Search Intent Cards */
.intent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 20px 0 30px 0;
}

.intent-card {
    background: #ffffff;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
}

.intent-card strong {
    display: block;
    color: var(--secondary-color);
    font-size: 15px;
    margin-bottom: 4px;
}

.intent-card span {
    font-size: 13.5px;
    color: var(--text-muted);
}

/* Technical SEO Checklist */
.tech-seo-checklist {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin: 25px 0 35px 0;
}

.tech-checklist-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 16px 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.tech-check-icon {
    color: #10b981;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.tech-check-text strong {
    display: block;
    font-size: 14.5px;
    color: var(--secondary-color);
    margin-bottom: 4px;
}

.tech-check-text p {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* Author / Agency Bio Card at Post End */
.post-author-box {
    background: linear-gradient(135deg, #f8fbfd, var(--bg-light));
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    padding: 35px;
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 50px 0 40px 0;
}

.post-author-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: #ffffff;
    padding: 10px;
    border: 2px solid var(--border-color);
    object-fit: contain;
    flex-shrink: 0;
}

.post-author-info h4 {
    font-size: 20px;
    color: var(--secondary-color);
    margin-bottom: 8px;
}

.post-author-info p {
    font-size: 14.5px;
    color: var(--quaternary-color);
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Social Share Bar */
.post-share-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin: 35px 0;
}

.post-share-label {
    font-weight: 700;
    font-size: 14px;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.share-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 15px;
    transition: var(--transition);
}

.share-btn.linkedin { background: #0077b5; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.facebook { background: #1877f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.copylink { background: var(--quaternary-color); }

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Post Accordion / FAQs */
.blog-faq-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    transition: var(--transition);
}

.blog-faq-header {
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: #ffffff;
    font-weight: 700;
    font-size: 16px;
    color: var(--secondary-color);
    transition: var(--transition);
}

.blog-faq-header:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.blog-faq-icon {
    font-size: 14px;
    transition: transform 0.3s ease;
    color: var(--primary-color);
}

.blog-faq-item.active .blog-faq-icon {
    transform: rotate(180deg);
}

.blog-faq-body {
    padding: 0 24px 20px 24px;
    display: none;
    font-size: 15px;
    color: var(--quaternary-color);
    line-height: 1.65;
}

.blog-faq-item.active .blog-faq-body {
    display: block;
}

/* Sticky Post Sidebar */
.sticky-post-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
    .blog-layout-grid,
    .post-layout-container {
        grid-template-columns: 1fr;
    }

    .sticky-post-sidebar {
        position: static;
    }

    .post-toc-list {
        columns: 1;
    }

    .featured-blog-card {
        grid-template-columns: 1fr;
    }

    .featured-blog-img-wrap {
        min-height: 260px;
    }

    .single-post-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .blog-filter-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-search-box {
        min-width: 100%;
    }

    .featured-blog-content {
        padding: 25px 20px;
    }

    .featured-blog-title {
        font-size: 22px;
    }

    .single-post-title {
        font-size: 25px;
    }

    .post-author-box {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }

    .update-details-grid,
    .tech-seo-checklist,
    .feature-box-grid {
        grid-template-columns: 1fr;
    }
}

