/* Navy & Gold Design - Clean Professional */

:root {
    --deep-navy: #0a1628;
    --slate-blue: #1e3a5f;
    --accent-gold: #d4a574;
    --warm-white: #faf8f5;
    --light-grey: #e8e6e1;
    --text-dark: #2a2a2a;
    --text-muted: #6b7280;
    --white: #ffffff;
    --success: #059669;
    --warning: #f59e0b;
    --danger: #dc2626;
    --border: #e5e7eb;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background: var(--warm-white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--deep-navy);
    border-bottom: none;
    padding: 1rem 0;
    position: sticky;
    top: 2.5rem;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(10, 22, 40, 0.2);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

/* Hide mobile menu toggle on desktop */
.mobile-menu-toggle {
    display: none;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    white-space: nowrap;
}

.logo span {
    color: var(--accent-gold);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-gold);
}

.btn-nav {
    background: var(--accent-gold);
    color: var(--deep-navy) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
}

.btn-nav:hover {
    background: #c9975b;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--slate-blue) 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--deep-navy);
}

.btn-primary:hover {
    background: #c9975b;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

.btn-secondary {
    background: white;
    color: var(--deep-navy);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--accent-gold);
    border: 2px solid var(--accent-gold);
}

.btn-outline:hover {
    background: var(--accent-gold);
    color: var(--deep-navy);
}

/* Sections */
section {
    padding: 4rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--deep-navy);
    text-align: center;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Stats Bar */
.stats-bar {
    background: var(--white);
    padding: 3rem 0;
    border-top: 1px solid var(--light-grey);
    border-bottom: 1px solid var(--light-grey);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 1.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Cards Grid - NO ICONS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    padding: 2rem;
    transition: all 0.2s;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(10, 22, 40, 0.1);
    transform: translateY(-2px);
    border-color: var(--accent-gold);
}

.card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--deep-navy);
}

.card p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Dark Cards with Gold Border */
.dark-card {
    background: #1a2332;
    border: 2px solid var(--accent-gold);
    border-radius: 12px;
    padding: 2.5rem;
    transition: all 0.3s;
}

.dark-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(212, 165, 116, 0.2);
}

.dark-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--accent-gold);
    font-weight: 600;
}

.dark-card p {
    color: #d1d5db;
    line-height: 1.7;
    font-size: 0.95rem;
}

.card-badge {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--deep-navy);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Policy Comparison */
.policy-card {
    background: white;
    border: 2px solid var(--light-grey);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.policy-card.featured {
    border-color: var(--accent-gold);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.15);
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--light-grey);
}

.policy-header h3 {
    font-size: 1.75rem;
    color: var(--deep-navy);
}

.rating {
    color: var(--warning);
    font-size: 1.1rem;
}

.features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.features-list li {
    padding: 0.75rem 0;
    padding-left: 1.75rem;
    position: relative;
    border-bottom: 1px solid var(--warm-white);
}

.features-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: 700;
    font-size: 1.2rem;
}

.price-tag {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 1.5rem 0;
}

/* Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--light-grey);
}

.comparison-table th {
    background: var(--deep-navy);
    color: white;
    font-weight: 600;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

/* Form */
.form-section {
    background: var(--warm-white);
    padding: 4rem 0;
}

.form-wrapper {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 8px;
    border: 1px solid var(--light-grey);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--light-grey);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 165, 116, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.checkbox-label {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input {
    margin-top: 0.25rem;
    cursor: pointer;
}

/* Footer */
footer {
    background: var(--deep-navy);
    color: white;
    padding: 3rem 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-logo span {
    color: var(--accent-gold);
}

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--accent-gold);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    border-top: 1px solid var(--slate-blue);
    padding-top: 1.5rem;
    text-align: center;
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-disclaimer {
    background: var(--slate-blue);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #d1d5db;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--deep-navy);
    color: white;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 10000;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-accept,
.cookie-reject {
    padding: 0.6rem 1.5rem;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-weight: 600;
}

.cookie-accept {
    background: var(--accent-gold);
    color: var(--deep-navy);
}

.cookie-reject {
    background: transparent;
    color: white;
    border: 1px solid white;
}

/* Article Content */
.article-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-section h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--deep-navy);
}

.article-section h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--slate-blue);
}

.article-section p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-section ul,
.article-section ol {
    margin: 1.5rem 0 1.5rem 2rem;
    color: var(--text-dark);
}

.article-section li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Fine Cards */
.fine-card {
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.fine-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-grey);
}

.fine-company {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep-navy);
}

.fine-amount {
    font-size: 2rem;
    font-weight: 700;
    color: var(--danger);
}

.fine-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Calculator */
.calculator-section {
    background: var(--warm-white);
    padding: 4rem 0;
}

.calculator-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-form {
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    padding: 3rem;
}

.calc-step {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--light-grey);
}

.calc-step:last-of-type {
    border-bottom: none;
}

.calc-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--deep-navy);
}

.results-box {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--slate-blue) 100%);
    color: white;
    padding: 3rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 2rem;
}

.results-amount {
    font-size: 4rem;
    font-weight: 700;
    margin: 1rem 0;
    color: var(--accent-gold);
}

.risk-badge {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    /* HIDE NEWS BANNER ON MOBILE */
    .news-banner {
        display: none !important;
    }
    
    /* Reset header to top position when banner is hidden */
    header {
        top: 0 !important;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Mobile menu toggle button */
    .mobile-menu-toggle {
        display: block !important;
        background: var(--accent-gold);
        border: 2px solid var(--accent-gold);
        color: var(--deep-navy);
        font-size: 1.8rem;
        font-weight: 700;
        cursor: pointer;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        line-height: 1;
        position: relative;
        z-index: 10000;
        box-shadow: 0 2px 8px rgba(212, 165, 116, 0.4);
    }
    
    /* Make logo smaller on mobile */
    .logo {
        font-size: 1.3rem;
    }
    
    /* Adjust hamburger size */
    .mobile-menu-toggle {
        font-size: 1.5rem !important;
        padding: 0.5rem !important;
    }
    
    /* Reduce header padding on small screens */
    header {
        padding: 1rem 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    /* Show menu when toggled */
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-navy);
        padding: 1rem 0;
        gap: 0.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        z-index: 999;
    }
    
    .nav-links.active li {
        text-align: center;
    }
    
    .nav-links.active a {
        padding: 0.75rem 1rem;
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .form-row,
    .cards-grid {
        grid-template-columns: 1fr;
    }
    
    .policy-header,
    .fine-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .results-amount {
        font-size: 2.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.hidden { display: none; }

/* Blog Styles */
.blog-post-card {
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    transition: all 0.2s;
}

.blog-post-card:hover {
    box-shadow: 0 4px 12px rgba(10, 22, 40, 0.1);
    transform: translateY(-2px);
}

.blog-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.blog-category {
    background: var(--accent-gold);
    color: var(--deep-navy);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 600;
}

.blog-date {
    color: var(--text-muted);
}

.blog-post-card h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.blog-post-card h2 a {
    color: var(--deep-navy);
    text-decoration: none;
    transition: color 0.2s;
}

.blog-post-card h2 a:hover {
    color: var(--accent-gold);
}

.blog-post-card p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1rem;
}

.blog-read-more {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
}

.blog-read-more:hover {
    color: var(--deep-navy);
}

/* Blog Post Content */
.blog-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.blog-content h2 {
    font-size: 2rem;
    margin: 2.5rem 0 1rem;
    color: var(--deep-navy);
}

.blog-content h3 {
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    color: var(--slate-blue);
}

.blog-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.blog-content ul, .blog-content ol {
    margin: 1.5rem 0 1.5rem 2rem;
}

.blog-content li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

/* Latest Posts Section */
.latest-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.latest-post-card {
    background: white;
    border: 1px solid var(--light-grey);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.latest-post-card:hover {
    box-shadow: 0 8px 24px rgba(10, 22, 40, 0.12);
    transform: translateY(-4px);
}

.post-image {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.post-image-placeholder {
    font-size: 5rem;
    opacity: 0.6;
}

.post-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.post-date {
    color: var(--text-muted);
}

.post-read {
    color: var(--text-muted);
}

.post-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.post-body p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex: 1;
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
}

.post-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.05em;
}

.post-tag + .post-tag::before {
    content: "/ ";
    color: var(--light-grey);
    margin-right: 0.25rem;
}

/* More Stories Button */
.btn-more-stories {
    display: inline-block;
    background: var(--accent-gold);
    color: var(--deep-navy);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-more-stories:hover {
    background: #c9975b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212, 165, 116, 0.3);
}

@media (max-width: 768px) {
    .latest-posts-grid {
        grid-template-columns: 1fr;
    }
}

/* Floating Quote Button */
.floating-quote-btn {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-gold);
    color: var(--deep-navy);
    padding: 1.1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(212, 165, 116, 0.5);
    z-index: 9999;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    animation: pulse 2s infinite;
}

.floating-quote-btn:hover {
    background: #c9975b;
    transform: translateX(-50%) translateY(-3px);
    box-shadow: 0 8px 30px rgba(212, 165, 116, 0.6);
}

.floating-quote-btn .btn-arrow {
    font-size: 1.3rem;
    transition: transform 0.2s;
}

.floating-quote-btn:hover .btn-arrow {
    transform: translateX(4px);
}

@keyframes pulse {
    0%   { box-shadow: 0 4px 20px rgba(212, 165, 116, 0.5); }
    50%  { box-shadow: 0 4px 30px rgba(212, 165, 116, 0.8); }
    100% { box-shadow: 0 4px 20px rgba(212, 165, 116, 0.5); }
}

@media (max-width: 768px) {
    .floating-quote-btn {
        bottom: 1rem;
        left: 1rem;
        right: 1rem;
        transform: none;
        justify-content: center;
        font-size: 1.1rem;
    }

    .floating-quote-btn:hover {
        transform: translateY(-3px);
    }
}

/* Blog Sidebar Layout */
.blog-layout {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
}

.blog-sidebar {
    height: fit-content;
}

.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sidebar-related {
    background: var(--deep-navy);
    border: none;
    border-radius: 8px;
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
}

.sidebar-related h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.sidebar-article {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid var(--light-grey);
    text-decoration: none;
    transition: all 0.2s;
}

.sidebar-article:last-child {
    border-bottom: none;
}

.sidebar-article:hover {
    transform: translateX(4px);
}

.sidebar-img {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.sidebar-content {
    flex: 1;
}

.sidebar-content h5 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep-navy);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.sidebar-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.sidebar-cta {
    background: linear-gradient(135deg, var(--deep-navy) 0%, var(--slate-blue) 100%);
    color: white;
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
}

.sidebar-cta h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.sidebar-cta p {
    color: #d1d5db;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.blog-main-content {
    max-width: 800px;
}

.blog-main-content h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--deep-navy);
    margin-bottom: 2rem;
    line-height: 1.2;
}

.blog-main-content .lead {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
}

.blog-main-content h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin: 3rem 0 1.5rem;
}

.blog-main-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--slate-blue);
    margin: 2rem 0 1rem;
}

.blog-main-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.blog-main-content ul {
    margin: 1.5rem 0 1.5rem 2rem;
    line-height: 1.8;
}

.blog-main-content li {
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .blog-sidebar {
        position: relative;
        top: 0;
    }
    
    .blog-main-content h1 {
        font-size: 1.8rem;
    }
}

/* Article Meta Top (Category + Date above headline) */
.article-meta-top {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.article-category {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Large Sidebar Articles */
.sidebar-article-large {
    display: block;
    text-decoration: none;
    margin-bottom: 2.5rem;
    transition: transform 0.2s;
}

.sidebar-article-large:hover {
    transform: translateY(-4px);
}

.sidebar-img-large {
    width: 100%;
    height: 150px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s;
}

.sidebar-article-large:hover .sidebar-img-large {
    opacity: 0.9;
}

.sidebar-article-large h5 {
    font-size: 0.95rem;
    font-weight: 400;
    color: white;
    line-height: 1.5;
    margin: 0;
    padding: 0 0.25rem;
}

.sidebar-article-large:hover h5 {
    color: var(--accent-gold);
}

/* Modern Blog Cards (matching reference image) */
.blog-cards-modern {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card-modern {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.blog-card-modern:hover {
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateY(-4px);
    border-color: var(--accent-gold);
}

.blog-card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-card-body {
    padding: 1.5rem;
}

.blog-card-meta-top {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: #6b7280;
}

.blog-meta-date,
.blog-meta-read {
    color: #9ca3af;
}

.blog-card-heading {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.blog-card-heading a {
    color: #111827;
    text-decoration: none;
}

.blog-card-heading a:hover {
    color: var(--accent-gold);
}

.blog-card-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.blog-card-tags-bottom {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-tag-bottom {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.blog-tag-separator {
    color: #d1d5db;
    font-weight: 300;
}

@media (max-width: 1024px) {
    .blog-cards-modern {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .blog-cards-modern {
        grid-template-columns: 1fr;
    }
}

/* Quote Provider Buttons */
.quote-provider-btn {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quote-provider-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--accent-gold);
    transform: translateY(-2px);
}

.quote-provider-btn strong {
    font-size: 1.2rem;
    color: white;
}

.quote-provider-btn span {
    font-size: 0.9rem;
    color: var(--accent-gold);
}

@media (max-width: 768px) {
    #quote > div > div {
        grid-template-columns: 1fr !important;
    }
}

/* Compliance Tools Section */
.compliance-tools-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.compliance-tool-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.compliance-tool-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: var(--accent-gold);
}

.compliance-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.compliance-tool-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 0.5rem;
}

.compliance-provider {
    font-size: 0.85rem;
    color: var(--accent-gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.compliance-desc {
    font-size: 0.9rem;
    color: #4b5563;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
}

.compliance-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--deep-navy);
    margin-bottom: 0.75rem;
}

.compliance-cta {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--accent-gold);
    color: var(--deep-navy);
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.2s;
}

.compliance-tool-card:hover .compliance-cta {
    background: var(--deep-navy);
    color: var(--accent-gold);
}

@media (max-width: 1024px) {
    .compliance-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .compliance-tools-grid {
        grid-template-columns: 1fr;
    }
}

/* Fines Section - 4 Column Grid */
@media (max-width: 1200px) {
    .cards-grid[style*="repeat(4"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 640px) {
    .cards-grid[style*="repeat(4"] {
        grid-template-columns: 1fr !important;
    }
}

/* Latest Post News Banner */
.news-banner {
    background: #1a1a1a;
    padding: 0.65rem 0;
    text-align: center;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 165, 116, 0.3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1001;
}

.news-banner a:hover {
    text-decoration: underline !important;
}

/* Push header down below news banner */
@media (max-width: 768px) {
    header {
        position: fixed;
        top: 0 !important;
        left: 0;
        right: 0;
        width: 100%;
    }
    
    .news-banner .container {
        flex-direction: column;
        gap: 0.3rem !important;
    }
    
    .news-banner span:nth-child(2) {
        font-size: 0.8rem;
    }
}

/* iPhone and small mobile screens (414px and below) */
@media (max-width: 414px) {
    .logo {
        font-size: 1.1rem !important;
    }
    
    .mobile-menu-toggle {
        font-size: 1.3rem !important;
        padding: 0.3rem !important;
    }
    
    header {
        padding: 0.75rem 0 !important;
    }
    
    .container {
        padding: 0 15px !important;
    }
    
    nav {
        gap: 0.5rem;
    }
}

/* Mobile Hero Headline Fix */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem !important;
        padding: 0 1rem;
        word-wrap: break-word;
    }
    
    .hero {
        min-height: 400px !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Mobile Hero Subtitle */
@media (max-width: 768px) {
    .hero p {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
}
/* Enhanced Mobile Fixes */
@media (max-width: 768px) {
    /* Hero Headline - Better wrapping */
    .hero h1 {
        font-size: 1.5rem !important;
        padding: 0 1rem;
        word-wrap: break-word;
        white-space: normal !important;
        overflow-wrap: break-word;
        hyphens: auto;
        line-height: 1.4 !important;
        max-width: 100%;
    }
    
    .hero p {
        font-size: 0.95rem !important;
        padding: 0 1rem;
    }
    
    /* Mobile Menu Toggle - Make it visible */
    .mobile-menu-toggle {
        display: block !important;
        background: transparent;
        border: 2px solid var(--accent-gold);
        color: var(--accent-gold);
        font-size: 1.5rem;
        padding: 0.5rem 0.8rem;
        cursor: pointer;
        border-radius: 4px;
    }
    
    /* Hide desktop nav, show mobile */
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--deep-navy);
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    }
    
    .nav-links.active {
        display: flex !important;
    }
    
    .nav-links li {
        width: 100%;
        text-align: center;
        margin: 0.5rem 0;
    }
}

/* Ensure mobile menu toggle shows on smaller screens */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.3rem !important;
    }
    
    .mobile-menu-toggle {
        display: block !important;
        z-index: 1000;
    }
    
    nav .nav-links {
        display: none !important;
    }
    
    nav .nav-links.active {
        display: flex !important;
    }
}


/* Mobile Navigation Fix - Prevent white box on right */
@media (max-width: 768px) {
    /* Ensure nav container doesn't overflow */
    header {
        position: relative;
        overflow: visible;
    }
    
    header nav {
        position: relative;
        overflow: visible;
    }
    
    /* Hide nav links by default on mobile */
    header .nav-links {
        display: none !important;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--deep-navy);
        flex-direction: column;
        padding: 0;
        margin: 0;
        z-index: 9999;
        border-top: 2px solid var(--accent-gold);
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    }
    
    /* Show nav when active */
    header .nav-links.active {
        display: flex !important;
    }
    
    /* Style nav items */
    header .nav-links li {
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    header .nav-links li:last-child {
        border-bottom: none;
    }
    
    header .nav-links li a {
        display: block;
        padding: 1rem;
        color: white;
        text-decoration: none;
        text-align: center;
        width: 100%;
    }
    
    header .nav-links li a:hover {
        background: rgba(212, 165, 116, 0.1);
    }
    
    /* Prevent body overflow on mobile */
    body {
        overflow-x: hidden;
    }
}
