:root {
    --font-heading: 'Merriweather', serif;
    --font-body: 'Inter', sans-serif;
    --cta-primary: #000080;
    --cta-secondary: #d64a44;
    --bg-light: #f8fafc;
    --text-main: #334155;
}

body {
    font-family: var(--font-body);
    color: var(--text-main);
    background-color: var(--bg-light);
    margin: 0;
    line-height: 1.6;
}

h1, h2, h3 { font-family: var(--font-heading); color: var(--cta-primary); }

/* Utility Classes */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Hero Section */
.hero {
    padding: 100px 0;
    background: linear-gradient(to bottom right, #ffffff, #e2e8f0);
    border-bottom: 1px solid #cbd5e1;
}
.hero h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.2; }
.hero p { font-size: 1.25rem; max-width: 700px; margin: 0 auto 40px auto; }

/* Sticky Header Implementation */
#nav-placeholder {
    position: sticky;
    top: 0;
    z-index: 1000; /* Keeps it above all other content */
    background-color: #ffffff; /* Ensures text doesn't overlap messily while scrolling */
    /* Optional: Adds a subtle shadow when scrolling for a premium look */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); 
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-body);
}

.btn-primary {
    background-color: var(--cta-primary);
    color: #ffffff !important; /* <--- Add !important to force white text */
    border: 2px solid var(--cta-primary);
}

.btn-primary:hover {
    background-color: #dc2626; /* Darker red for hover */
    color: #ffffff !important; 
}
.btn-outline { border: 2px solid var(--cta-primary); color: var(--cta-primary); margin-left: 15px; }

/* Grid Sections (For Blogs/Features) */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); border: 1px solid #e2e8f0; }


/* Blog Page Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns */
    gap: 30px;
    margin-bottom: 50px;
}

/* Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.pagination a {
    display: inline-block;
    padding: 10px 18px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.pagination a:hover, .pagination a.active {
    background-color: var(--cta-primary);
    color: #ffffff;
    border-color: var(--cta-primary);
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .blog-grid { grid-template-columns: repeat(2, 1fr); } /* 2 columns on tablet */
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; } /* 1 column on mobile */
}


/* SEO Breadcrumbs */
        .breadcrumbs {
            font-size: 0.9rem;
            color: #64748b;
            margin-bottom: 30px;
            text-align: center;
        }
        .breadcrumbs a { color: var(--cta-primary); text-decoration: none; font-weight: 600; }
        .breadcrumbs a:hover { text-decoration: underline; }
        .breadcrumbs span { margin: 0 8px; color: #cbd5e1; }




/* --- Article Specific Styles --- */
.article-wrapper {
    max-width: 800px;
    margin: 60px auto;
    padding: 0 20px;
}

.article-header { text-align: center; margin-bottom: 40px; }
.article-header h1 { font-size: 2.8rem; margin-bottom: 15px; color: var(--cta-primary); line-height: 1.2; }
.article-meta { color: #64748b; font-size: 0.95rem; margin-bottom: 30px; }

.article-hero-img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 40px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.article-content h2 { font-size: 2rem; margin: 50px 0 20px; border-bottom: 2px solid #f1f5f9; padding-bottom: 10px; }
.article-content h3 { font-size: 1.5rem; margin: 30px 0 15px; color: var(--text-main); }
.article-content p, .article-content li { font-size: 1.1rem; line-height: 1.8; margin-bottom: 20px; color: #334155; }

.key-takeaways {
    background-color: var(--bg-light, #f8fafc);
    border-left: 4px solid var(--cta-secondary);
    padding: 25px 30px;
    border-radius: 0 8px 8px 0;
    margin: 40px 0;
}
.key-takeaways h3 { margin-top: 0; color: var(--cta-secondary); font-size: 1.2rem; text-transform: uppercase; letter-spacing: 1px; }
.key-takeaways ul { margin-bottom: 0; padding-left: 20px; }
.key-takeaways li { margin-bottom: 10px; font-size: 1.05rem; }

.video-container {
    position: relative;
    padding-bottom: 56.25%; 
    height: 0;
    overflow: hidden;
    margin: 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.faq-item { margin-bottom: 15px; }
.faq-item details {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px 20px;
    transition: all 0.2s ease;
}
.faq-item details[open] { box-shadow: 0 4px 12px rgba(0,0,0,0.05); border-color: var(--cta-primary); }
.faq-item summary {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--cta-primary);
    cursor: pointer;
    list-style: none; 
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 1.5rem; color: var(--cta-secondary); }
.faq-item details[open] summary::after { content: '-'; }
.faq-item p { margin-top: 15px; margin-bottom: 0; font-size: 1.05rem; }