/* Sub Hero Blog Styles - Matching Main Site Design */

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

body {
    font-family: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: white;
}

/* Header with background image */
.header {
    background: url('/images/ChatGPTImageJul29202512_07_51PM-nAcCE.png') center/cover;
    position: relative;
    padding: 3rem 1rem;
    text-align: center;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(1, 99, 228, 0.85);
}

.header-content {
    position: relative;
    z-index: 1;
    color: white;
}

.logo {
    width: 160px;
    height: 160px;
    margin: 0 auto 1rem;
    border-radius: 50%;
}

.header h1 {
    font-family: 'Lato', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.header p {
    font-size: 1.1rem;
    opacity: 0.95;
}

/* Navigation */
.nav {
    background: white;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 3px solid #A0EEEA;
}

.nav a {
    color: #0163E4;
    text-decoration: none;
    margin: 0 1.5rem;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 1rem;
}

.nav a:hover {
    color: #014BA8;
}

/* Container */
.container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Blog Post Cards (for index) */
.blog-post {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid #A0EEEA;
}

.blog-post:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(1, 99, 228, 0.15);
}

.blog-post h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #0163E4;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.blog-post h2 a {
    color: #0163E4;
    text-decoration: none;
}

.blog-post h2 a:hover {
    text-decoration: underline;
}

.meta {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.excerpt {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.8;
}

.read-more {
    display: inline-block;
    color: #0163E4;
    text-decoration: none;
    font-weight: 600;
    font-family: 'Lato', sans-serif;
}

.read-more:hover {
    text-decoration: underline;
}

/* Article Content */
article h1 {
    font-family: 'Lato', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #0163E4;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

article h2 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #0163E4;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

article h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    color: #333;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

article p {
    margin-bottom: 1.25rem;
    font-size: 1.05rem;
}

article ul, article ol {
    margin-left: 2rem;
    margin-bottom: 1.25rem;
}

article li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

article strong {
    color: #0163E4;
    font-weight: 600;
}

article em {
    font-style: italic;
    color: #555;
}

.back-link {
    display: inline-block;
    color: #0163E4;
    text-decoration: none;
    font-weight: 600;
    margin: 2rem 0;
}

.back-link:hover {
    text-decoration: underline;
}

/* CTA Box */
.cta-box {
    background: #A0EEEA;
    padding: 2.5rem;
    border-radius: 20px;
    text-align: center;
    margin: 3rem 0;
}

.cta-box h3 {
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    color: #0163E4;
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.cta-box p {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* Button matching main site style */
.cta-button {
    display: inline-block;
    padding: 20px 30px;
    text-decoration: none;
    justify-content: center;
    border-radius: 60px;
    border: 2px solid #FFFFFF;
    background-color: #0163E4;
    font-size: 20px;
    color: #FFFFFF;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    line-height: 18px;
    transition: all 0.3s;
}

.cta-button:hover {
    background-color: #014BA8;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 768px) {
    .header h1 {
        font-size: 2rem;
    }

    article h1 {
        font-size: 2rem;
    }

    article h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 1.5rem;
    }

    .cta-button {
        padding: 15px 25px;
        font-size: 18px;
    }
}
