/* ========================================
   TELL PROJECTS - BLOG POST STYLESHEET v2.0
   WordPress-Style Professional Blog Design
   Clean, Modern, Mobile-First Approach
   ======================================== */

/* ===== CSS VARIABLES (Blog-Specific) ===== */
:root {
    --blog-max-width: 900px;
    --blog-content-padding: 60px;
    --blog-mobile-padding: 30px;
    --blog-reading-line-height: 1.8;
}

/* ===== BLOG PAGE HERO SECTION ===== */
.page-header.blog-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-secondary) 100%);
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    margin-top: 100px; /* Account for fixed navbar */
}

.page-header.blog-header .container {
    position: relative;
    z-index: 2;
}

.page-header.blog-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--gold-primary) 0%, #f4d03f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.page-header.blog-header .section-badge {
    background: rgba(209, 160, 4, 0.1);
    color: var(--gold-primary);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header.blog-header .blog-meta {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-top: 25px;
}

.page-header.blog-header .blog-meta div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.page-header.blog-header .blog-meta i {
    color: var(--gold-primary);
}

/* Decorative background elements */
.page-header.blog-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(209, 160, 4, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

.page-header.blog-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(209, 160, 4, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    pointer-events: none;
}

/* ===== BREADCRUMBS ===== */
.breadcrumbs {
    background: var(--bg-secondary);
    padding: 15px 0;
    margin-top: 100px; /* Account for fixed navbar */
}

.breadcrumbs nav ol {
    display: flex;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumbs nav ol li a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs nav ol li a:hover {
    color: #f4d03f;
    text-decoration: underline;
}

/* ===== MAIN BLOG CONTENT CONTAINER ===== */
.blog-content {
    padding: 80px 0;
    background: var(--bg-dark);
    min-height: calc(100vh - 600px);
}

.blog-content .container {
    max-width: var(--blog-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BLOG ARTICLE WRAPPER ===== */
.blog-article {
    background: var(--bg-dark);  /* Dark background to match site theme */
    border-radius: 20px;
    padding: var(--blog-content-padding);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(209, 160, 4, 0.2);
    margin: 0 auto;
}

/* Remove duplicate main/article wrappers that cause issues */
.blog-article > main,
.blog-article > article > main {
    all: unset;
    display: block;
}

/* ===== TYPOGRAPHY - WORDPRESS STYLE ===== */

/* Hide duplicate H1 titles inside content */
.blog-article main > h1:first-of-type,
.blog-article > h1:first-of-type {
    display: none; /* Hero already has H1 */
}

.blog-article h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: var(--text-primary);  /* Light text for dark background */
    margin-top: 50px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gold-primary);
    line-height: 1.3;
    font-weight: 700;
}

.blog-article h2:first-child {
    margin-top: 0;
}

.blog-article h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    color: var(--gold-primary);
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 600;
}

.blog-article h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--text-primary);  /* Light text for dark background */
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.blog-article p {
    color: var(--text-secondary);  /* Light gray text for dark background */
    font-size: 1.1rem;
    line-height: var(--blog-reading-line-height);
    margin-bottom: 25px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
}

.blog-article p:last-child {
    margin-bottom: 0;
}

/* Strong and emphasis */
.blog-article strong,
.blog-article b {
    color: var(--gold-primary);
    font-weight: 600;
}

.blog-article em,
.blog-article i {
    font-style: italic;
    color: var(--text-secondary);  /* Light gray for dark background - CONTRAST FIX */
}

/* ===== LISTS - WORDPRESS STYLE ===== */
.blog-article ul,
.blog-article ol {
    margin: 25px 0;
    padding-left: 40px;
    color: var(--text-secondary);
}

.blog-article ul {
    list-style-type: disc;
}

.blog-article ol {
    list-style-type: decimal;
}

.blog-article li {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
    color: var(--text-secondary);  /* Light gray text for dark background */
}

.blog-article li strong {
    color: var(--gold-primary);
}

.blog-article li::marker {
    color: var(--gold-primary);
    font-weight: bold;
}

/* Nested lists */
.blog-article ul ul,
.blog-article ol ol,
.blog-article ul ol,
.blog-article ol ul {
    margin: 10px 0;
}

/* ===== MAP SECTION INSIDE ARTICLE ===== */
.blog-article .blog-map-section {
    background: linear-gradient(135deg, rgba(15, 35, 64, 0.9), rgba(10, 22, 40, 0.95));
    border: 2px solid rgba(209, 160, 4, 0.3);
    border-radius: 20px;
    padding: 50px;
    margin: 60px 0;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
}

.blog-article .blog-map-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 20px;
    text-align: center;
    margin-top: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.blog-article .blog-map-section > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 40px;
    font-size: 1.2rem;
    line-height: 1.6;
}

.blog-article .blog-map-container {
    border-radius: 15px;
    overflow: hidden;
    height: 450px;
    margin-bottom: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(209, 160, 4, 0.4);
}

.blog-article .blog-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

.blog-article .blog-map-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 35px;
}

.blog-article .blog-map-info-item {
    background: rgba(209, 160, 4, 0.08);
    padding: 25px;
    border-radius: 12px;
    border: 2px solid rgba(209, 160, 4, 0.25);
    text-align: center;
    transition: all 0.3s ease;
}

.blog-article .blog-map-info-item:hover {
    background: rgba(209, 160, 4, 0.15);
    border-color: rgba(209, 160, 4, 0.5);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(209, 160, 4, 0.2);
}

.blog-article .blog-map-info-item i {
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
    display: block;
}

.blog-article .blog-map-info-item h4 {
    color: var(--gold-primary);
    font-size: 1.3rem;
    margin: 15px 0 10px 0;
    font-weight: 600;
}

.blog-article .blog-map-info-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    margin: 0;
    line-height: 1.6;
}

.blog-article .blog-map-info-item a {
    color: var(--gold-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.blog-article .blog-map-info-item a:hover {
    color: #f4d03f;
    text-decoration: underline;
}

/* ===== LINKS - WORDPRESS STYLE ===== */
.blog-article a {
    color: var(--gold-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
    font-weight: 500;
}

.blog-article a:hover {
    color: #f4d03f;
    text-decoration: none;
}

.blog-article a:visited {
    color: #b8860b;
}

/* ===== IMAGES - WORDPRESS STYLE ===== */
.blog-article img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    margin: 30px 0;
    display: block;
}

.blog-article figure {
    margin: 40px 0;
}

.blog-article figcaption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 10px;
    font-style: italic;
}

/* ===== BLOCKQUOTES - WORDPRESS STYLE ===== */
.blog-article blockquote {
    background: var(--bg-secondary);
    border-left: 4px solid var(--gold-primary);
    padding: 25px 30px;
    margin: 35px 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: var(--text-primary);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.blog-article blockquote p {
    margin-bottom: 15px;
    font-size: 1.15rem;
    line-height: 1.7;
}

.blog-article blockquote p:last-child {
    margin-bottom: 0;
}

.blog-article blockquote cite {
    display: block;
    margin-top: 15px;
    font-size: 0.95rem;
    color: var(--gold-primary);
    font-weight: 600;
}

/* ===== CODE BLOCKS - WORDPRESS STYLE ===== */
.blog-article code {
    background: var(--bg-secondary);
    color: var(--gold-primary);
    padding: 3px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.95em;
}

.blog-article pre {
    background: var(--bg-secondary);
    border: 1px solid rgba(209, 160, 4, 0.2);
    border-radius: 10px;
    padding: 25px;
    overflow-x: auto;
    margin: 30px 0;
}

.blog-article pre code {
    background: none;
    padding: 0;
    border-radius: 0;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* ===== TABLES - WORDPRESS STYLE ===== */
.blog-article table {
    width: 100%;
    margin: 35px 0;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.blog-article th,
.blog-article td {
    padding: 15px 20px;
    text-align: left;
    border-bottom: 1px solid rgba(209, 160, 4, 0.1);
}

.blog-article th {
    background: var(--gold-primary);
    color: var(--bg-dark);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
}

.blog-article td {
    color: var(--text-secondary);
    font-size: 1rem;
}

.blog-article tbody tr:hover {
    background: rgba(209, 160, 4, 0.05);
    transition: background 0.3s ease;
}

.blog-article tbody tr:last-child td {
    border-bottom: none;
}

/* ===== TABLE OF CONTENTS - WORDPRESS STYLE ===== */
.blog-article > section[aria-label="Table of contents"],
.blog-article section:has(> h2:first-child:contains("Table of Contents")) {
    background: var(--bg-secondary);
    border: 2px solid rgba(209, 160, 4, 0.2);
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.blog-article section[aria-label="Table of contents"] h2 {
    margin-top: 0;
    border-bottom: none;
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.blog-article section[aria-label="Table of contents"] ul {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

.blog-article section[aria-label="Table of contents"] li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(209, 160, 4, 0.1);
}

.blog-article section[aria-label="Table of contents"] li:last-child {
    border-bottom: none;
}

.blog-article section[aria-label="Table of contents"] a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.blog-article section[aria-label="Table of contents"] a:hover {
    color: var(--gold-primary);
    padding-left: 10px;
}

.blog-article section[aria-label="Table of contents"] a::before {
    content: '→';
    color: var(--gold-primary);
    font-weight: bold;
}

/* ===== CALL-TO-ACTION SECTION ===== */
.blog-cta {
    background: linear-gradient(135deg, var(--gold-primary), #c4940a);
    padding: 50px;
    border-radius: 20px;
    text-align: center;
    margin: 60px 0;
    box-shadow: 0 15px 40px rgba(209, 160, 4, 0.4);
}

.blog-cta h3 {
    color: var(--bg-dark) !important;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    margin: 0 0 20px 0 !important;
    padding: 0 !important;
    border: none !important;
    font-family: 'Playfair Display', serif;
}

.blog-cta p {
    color: var(--bg-dark) !important;
    font-size: 1.15rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.blog-cta .btn {
    background: var(--bg-dark);
    color: var(--gold-primary);
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.blog-cta .btn:hover {
    background: var(--bg-secondary);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* FAQ base styles now in main.css — accordion overrides in services.css */

/* ===== RESPONSIVE DESIGN - MOBILE FIRST ===== */

/* Tablets and smaller (< 768px) */
@media (max-width: 768px) {
    .page-header.blog-header {
        padding: 60px 0 40px;
    }

    .page-header.blog-header h1 {
        font-size: 2rem;
    }

    .page-header.blog-header .blog-meta {
        gap: 15px;
        font-size: 0.85rem;
    }

    .blog-article {
        padding: var(--blog-mobile-padding);
        border-radius: 15px;
    }

    .blog-article h2 {
        font-size: 1.6rem;
        margin-top: 35px;
    }

    .blog-article h3 {
        font-size: 1.3rem;
        margin-top: 30px;
    }

    .blog-article p,
    .blog-article li {
        font-size: 1rem;
    }

    .blog-article ul,
    .blog-article ol {
        padding-left: 25px;
    }

    .blog-cta {
        padding: 35px 25px;
    }

    .blog-cta h3 {
        font-size: 1.5rem !important;
    }

    .blog-cta p {
        font-size: 1rem !important;
    }

    .blog-article table {
        font-size: 0.9rem;
    }

    .blog-article th,
    .blog-article td {
        padding: 12px 15px;
    }
}

/* Mobile phones (< 480px) */
@media (max-width: 480px) {
    .page-header.blog-header h1 {
        font-size: 1.6rem;
    }

    .blog-content {
        padding: 40px 0;
    }

    .blog-article {
        padding: 25px 20px;
    }

    .blog-article h2 {
        font-size: 1.4rem;
    }

    .blog-article h3 {
        font-size: 1.2rem;
    }

    .blog-cta {
        padding: 30px 20px;
    }

    .faq-question {
        padding: 18px 20px;
    }
}

/* ===== PRINT STYLES ===== */
@media print {
    .blog-article {
        box-shadow: none;
        border: none;
        padding: 0;
    }

    .page-header.blog-header::before,
    .page-header.blog-header::after {
        display: none;
    }

    .blog-cta,
    .faq-section {
        display: none;
    }
}

/* ===== ACCESSIBILITY IMPROVEMENTS ===== */
.blog-article :focus {
    outline: 2px solid var(--gold-primary);
    outline-offset: 4px;
}

.blog-article a:focus-visible {
    outline: 2px solid var(--gold-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Skip to content link for screen readers */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gold-primary);
    color: var(--bg-dark);
    padding: 8px 16px;
    text-decoration: none;
    z-index: 100;
}

.skip-to-content:focus {
    top: 0;
}

/* ===== SMOOTH SCROLL BEHAVIOR ===== */
html {
    scroll-behavior: smooth;
}

/* Scroll margin for anchor links (accounts for fixed header) */
.blog-article section[id],
.blog-article h2[id],
.blog-article h3[id] {
    scroll-margin-top: 120px;
}

/* ===== BLOG HERO SECTION - CLEAN & SIMPLE ===== */
.blog-hero {
    position: relative;
    background: var(--bg-secondary);
    padding: 40px 20px;
    margin-top: 100px;
    margin-bottom: 40px;
}

/* Hide video and overlay - they cause issues */
.blog-hero .hero-video,
.blog-hero .hero-overlay {
    display: none;
}

/* Hide standalone stars and rating text */
.blog-hero > i.fas.fa-star,
.blog-hero > span.rating-text {
    display: none;
}

/* Trust badges grid */
.blog-hero .trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 900px;
    margin: 0 auto 30px;
}

.blog-hero .trust-badges-grid .trust-badge {
    background: rgba(209, 160, 4, 0.1);
    border: 1px solid rgba(209, 160, 4, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
}

.blog-hero .trust-badges-grid .trust-badge i {
    font-size: 2.5rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
    display: block;
}

.blog-hero .trust-badges-grid .trust-badge h4 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.blog-hero .trust-badges-grid .trust-badge p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
}

/* Map section */
.blog-hero .blog-map-section {
    background: rgba(15, 35, 64, 0.8);
    border-radius: 15px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.blog-hero .blog-map-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--gold-primary);
    margin-bottom: 15px;
    text-align: center;
}

.blog-hero .blog-map-section > p {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.blog-hero .blog-map-container {
    border-radius: 12px;
    overflow: hidden;
    height: 400px;
    margin-bottom: 25px;
}

.blog-hero .blog-map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.blog-hero .blog-map-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.blog-hero .blog-map-info-item {
    background: rgba(209, 160, 4, 0.1);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(209, 160, 4, 0.2);
}

.blog-hero .blog-map-info-item i {
    color: var(--gold-primary);
    font-size: 1.5rem;
    margin-bottom: 10px;
    display: block;
}

.blog-hero .blog-map-info-item h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.blog-hero .blog-map-info-item p,
.blog-hero .blog-map-info-item a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin: 0;
    text-decoration: none;
}

.blog-hero .blog-map-info-item a:hover {
    color: var(--gold-primary);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .blog-hero {
        padding: 30px 15px;
    }

    .blog-hero .trust-badges-grid {
        grid-template-columns: 1fr;
    }

    .blog-hero .blog-map-section {
        padding: 25px 15px;
    }

    .blog-hero .blog-map-container {
        height: 300px;
    }

    .blog-hero .blog-map-info {
        grid-template-columns: 1fr;
    }

    /* Prevent horizontal overflow on mobile */
    .blog-hero,
    .blog-hero * {
        max-width: 100%;
        overflow-x: hidden;
    }

    .blog-hero .blog-map-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .blog-hero .blog-map-container {
        width: 100%;
        max-width: 100%;
    }

    .blog-hero .trust-badges-grid {
        width: 100%;
        max-width: 100%;
    }

    /* Customer Reviews Section - Mobile */
    .customer-reviews-section .container {
        padding: 0 15px !important;
    }

    .customer-reviews-section h2 {
        font-size: 1.8rem !important;
    }

    .customer-reviews-section p {
        font-size: 1rem !important;
    }

    /* Contractor CTA - Mobile */
    .contractor-cta-advanced {
        padding: 30px 15px !important;
        margin: 30px 0 !important;
    }

    .contractor-cta-header h2 {
        font-size: 1.6rem !important;
    }

    .contractor-cta-header .subheading {
        font-size: 1.1rem !important;
    }

    .contractor-cta-header .header-description {
        font-size: 0.95rem !important;
    }

    /* Benefits Grid - Stack on Mobile */
    .contractor-cta-benefits {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .benefit-card {
        padding: 20px !important;
    }

    .benefit-card h3 {
        font-size: 1.2rem !important;
    }

    .benefit-card p {
        font-size: 0.9rem !important;
    }

    /* Stats Grid - 2 Columns on Mobile */
    .contractor-cta-stats {
        grid-template-columns: 1fr 1fr !important;
        gap: 15px !important;
    }

    .stat-item {
        padding: 15px !important;
    }

    .stat-number {
        font-size: 1.8rem !important;
    }

    .stat-label {
        font-size: 0.85rem !important;
    }

    /* CTA Actions - Stack Buttons */
    .contractor-cta-actions {
        flex-direction: column !important;
        gap: 15px !important;
    }

    .contractor-cta-actions a {
        width: 100% !important;
        justify-content: center !important;
        padding: 15px 20px !important;
        font-size: 0.95rem !important;
    }

    /* Requirements List */
    .contractor-cta-requirements {
        padding: 20px !important;
    }

    .contractor-cta-requirements h3 {
        font-size: 1.3rem !important;
    }

    .contractor-cta-requirements ul li {
        font-size: 0.9rem !important;
        padding: 8px 0 !important;
    }
}

/* =============================================
   BLOG LISTING PAGE STYLES (blog.html)
   Premium redesign v3.0 — Feb 2026
   ============================================= */

/* ===== BLOG LISTING HERO ===== */
.blog-hero {
    background: linear-gradient(135deg, #0a1628 0%, #0d1f3d 50%, #0f2340 100%);
    padding: 100px 20px 70px;
    text-align: center;
    border-bottom: 2px solid rgba(209, 160, 4, 0.3);
    position: relative;
    overflow: hidden;
}

.blog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(209, 160, 4, 0.1) 0%, transparent 70%);
    animation: blogPulse 4s ease-in-out infinite;
}

@keyframes blogPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.blog-hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.blog-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    animation: blogSlideDown 0.8s ease-out;
}

@keyframes blogSlideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to { opacity: 1; transform: translateY(0); }
}

.blog-hero p {
    font-size: 1.2rem;
    color: #b0b0b0;
    margin-bottom: 30px;
    animation: blogFadeIn 1s ease-out 0.3s both;
}

@keyframes blogFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.blog-hero .hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: blogFadeIn 1s ease-out 0.6s both;
}

.blog-hero .stat-item {
    text-align: center;
}

.blog-hero .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #d1a004;
    font-family: 'Playfair Display', serif;
}

.blog-hero .stat-label {
    font-size: 0.9rem;
    color: #b0b0b0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== CATEGORY FILTER SYSTEM ===== */
.category-filters {
    background: linear-gradient(135deg, #0f2340 0%, #0d1f3d 100%);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(209, 160, 4, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.filter-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    color: #d1a004;
    font-weight: 600;
    font-size: 1.1rem;
}

.filter-header i {
    font-size: 1.2rem;
}

.filter-buttons-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.category-filter-btn {
    padding: 12px 24px;
    background: #0a1628;
    border: 2px solid rgba(209, 160, 4, 0.3);
    border-radius: 50px;
    color: #b0b0b0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-filter-btn i {
    font-size: 1rem;
    color: #d1a004;
}

.category-filter-btn:hover {
    border-color: #d1a004;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(209, 160, 4, 0.2);
}

.category-filter-btn.active {
    background: linear-gradient(135deg, #d1a004 0%, #f4c430 100%);
    color: #0a1628;
    border-color: #d1a004;
    font-weight: 700;
    box-shadow: 0 5px 25px rgba(209, 160, 4, 0.5);
}

.category-filter-btn.active i {
    color: #0a1628;
}

/* ===== SEARCH BAR ===== */
.search-section {
    position: relative;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.search-wrapper {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #d1a004;
    font-size: 1.2rem;
    pointer-events: none;
}

.search-bar {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: #0a1628;
    border: 2px solid rgba(209, 160, 4, 0.3);
    border-radius: 50px;
    color: #ffffff;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.search-bar:focus {
    outline: none;
    border-color: #d1a004;
    box-shadow: 0 0 30px rgba(209, 160, 4, 0.3);
    transform: translateY(-2px);
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Results Info */
.results-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 20px 25px;
    background: #0f2340;
    border-radius: 15px;
    border: 1px solid rgba(209, 160, 4, 0.2);
}

.results-count {
    font-size: 1rem;
    color: #b0b0b0;
}

.results-count strong {
    color: #d1a004;
    font-size: 1.2rem;
}

/* ===== PREMIUM BLOG CARDS GRID ===== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* ===== BLOG CARD ===== */
.blog-card {
    background: #0f2340;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(209, 160, 4, 0.2);
    cursor: pointer;
    position: relative;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(209, 160, 4, 0.15);
    border-color: rgba(209, 160, 4, 0.5);
}

.blog-card-image {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
}

.blog-card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.blog-card-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 8px 16px;
    background: #d1a004;
    color: #0a1628;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(209, 160, 4, 0.4);
}

.blog-card-content {
    padding: 25px;
}

.blog-card-title {
    margin: 0 0 12px 0;
    font-size: 1.25rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1.4;
    color: #ffffff;
}

.blog-card-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog-card-title a:hover {
    color: #d1a004;
}

.blog-card-excerpt {
    color: #b0b0b0;
    line-height: 1.6;
    margin-bottom: 18px;
    font-size: 0.95rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 18px;
    font-size: 0.85rem;
    color: #888;
}

.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-card-meta i,
.blog-card-date i,
.blog-card-read-time i {
    color: #d1a004;
}

.blog-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d1a004;
    font-weight: 600;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.blog-card-link:hover {
    gap: 12px;
    color: #f4c430;
}

.blog-card-link i {
    transition: transform 0.3s ease;
}

.blog-card:hover .blog-card-link i {
    transform: translateX(4px);
}

.blog-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.blog-tag {
    padding: 5px 12px;
    background: rgba(209, 160, 4, 0.1);
    border: 1px solid rgba(209, 160, 4, 0.3);
    border-radius: 15px;
    color: #d1a004;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.blog-tag:hover {
    background: #d1a004;
    color: #0a1628;
}

/* ===== PAGINATION ===== */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 50px 0;
}

.page-btn {
    min-width: 45px;
    height: 45px;
    padding: 0 15px;
    background: #0f2340;
    border: 2px solid rgba(209, 160, 4, 0.3);
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.page-btn:hover {
    border-color: #d1a004;
    background: #d1a004;
    color: #0a1628;
    transform: translateY(-2px);
}

.page-btn.active {
    background: #d1a004;
    color: #0a1628;
    border-color: #d1a004;
    box-shadow: 0 5px 20px rgba(209, 160, 4, 0.5);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Loading & No Results */
#loading, #noResults {
    text-align: center;
    padding: 80px 20px;
    color: #b0b0b0;
    font-size: 1.2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(209, 160, 4, 0.2);
    border-top: 4px solid #d1a004;
    border-radius: 50%;
    animation: blogSpin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes blogSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Clear Filters Button */
.clear-filters-btn {
    padding: 12px 25px;
    background: linear-gradient(135deg, #d1a004 0%, #f4c430 100%);
    border: none;
    border-radius: 50px;
    color: #0a1628;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 5px 20px rgba(209, 160, 4, 0.4);
}

.clear-filters-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(209, 160, 4, 0.6);
}

/* ===== BLOG LISTING RESPONSIVE ===== */
@media (min-width: 1200px) {
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .blog-hero h1 {
        font-size: 2.5rem;
    }

    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .category-filter-btn {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
}

@media (max-width: 767px) {
    .blog-hero {
        padding: 80px 20px 50px;
    }

    .blog-hero h1 {
        font-size: 2rem;
    }

    .blog-hero .hero-stats {
        gap: 25px;
    }

    .blog-hero .stat-number {
        font-size: 2rem;
    }

    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .category-filters {
        padding: 20px;
    }

    .filter-buttons-row {
        gap: 8px;
    }

    .category-filter-btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }

    .search-bar {
        padding: 15px 15px 15px 50px;
        font-size: 0.95rem;
    }

    .blog-card-content {
        padding: 20px;
    }

    .blog-card-title {
        font-size: 1.15rem;
    }

    .results-info {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
