/* Blog pages: keeps the site-wide styles in css/styles.css and adds only article-specific rules. */
.blog-index-hero {
    position: relative;
    overflow: hidden;
    padding: 82px 0 78px;
    background: linear-gradient(135deg, #d9edf7 0%, #a6c6d8 55%, #8eb3c9 100%);
}

.blog-index-hero:after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -56px;
    height: 105px;
    background: #fff;
    border-radius: 50% 50% 0 0/55% 55% 0 0;
    box-shadow: 0 -10px 0 rgba(159, 235, 229, .85);
}

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

.blog-index-hero h1 {
    max-width: 1050px;
    margin: 12px auto 0;
    text-align: center;
    font-size: clamp(32px, 4.5vw, 58px);
    line-height: 1.12;
    color: #25313c
}

.blog-card-label {
    display: block;
    text-align: center;
    color: #0a6f87;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: 13px
}

.blog-article .section {
    padding-top: 62px;
    padding-bottom: 60px
}

.blog-article-content {
    max-width: 1100px;
    margin: 0 auto
}

.blog-article-hero-image {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 0 34px;
    border-radius: 0;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08)
}

.blog-article-content h2 {
    margin: 42px 0 14px;
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.2;
    color: #303b45
}

.blog-article-content h3 {
    margin: 28px 0 9px;
    font-size: clamp(20px, 2vw, 28px);
    line-height: 1.3;
    color: #39444d
}

.blog-article-content p,
.blog-article-content li {
    font-size: 16px;
    line-height: 1.85;
    color: #58636c
}

.blog-article-content ul,
.blog-article-content ol {
    padding-left: 28px
}

.blog-article-content li {
    margin: 7px 0
}

.blog-article-content a.inline-link {
    color: #176bc1;
    text-decoration: underline;
    text-underline-offset: 3px
}

.blog-article-content a.inline-link:hover {
    color: #63c8ec
}

.blog-note {
    padding: 18px 22px;
    margin: 26px 0;
    border-left: 4px solid #20a9c0;
    background: #f1fafc;
    border-radius: 6px
}

.blog-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 36px
}

.newsletter {
    padding: 52px 20px;
    background: linear-gradient(135deg, #216f89, #2b8199);
    color: #fff;
    text-align: center
}

.newsletter h2 {
    margin: 0 0 18px;
    font-size: 28px
}

.newsletter-form {
    max-width: 620px;
    margin: 0 auto;
    display: flex;
    gap: 0
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    padding: 13px 16px;
    border: 1px solid rgba(255, 255, 255, .8);
    background: transparent;
    color: #fff;
    border-radius: 4px 0 0 4px
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, .9)
}

.newsletter-form button {
    padding: 13px 24px;
    border: 0;
    background: #0754a1;
    color: #fff;
    font-weight: 700;
    border-radius: 0 4px 4px 0;
    cursor: pointer
}

.blog-footer {
    background: #23272b;
    color: #fff
}

.blog-footer .container {
    padding-top: 54px;
    padding-bottom: 34px
}

.blog-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 40px
}

.blog-footer h3 {
    margin: 0 0 15px;
    color: #fff
}

.blog-footer p,
.blog-footer li,
.blog-footer a {
    color: #aeb8bf;
    font-size: 14px;
    line-height: 1.7
}

.blog-footer a:hover {
    color: #69d7e8
}

.blog-footer ul {
    list-style: none;
    padding: 0;
    margin: 0
}

.blog-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 18px;
    margin-top: 34px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #7e898f;
    font-size: 12px
}

.blog-disclaimer {
    font-size: 13px !important;
    color: #7d878e !important;
    font-style: italic;
    margin-top: 30px
}

.blog-article-content img.content-image {
    display: block;
    max-width: 720px;
    width: 100%;
    height: auto;
    margin: 22px 0;
    border-radius: 8px
}

.blog-article-content .two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px
}

.blog-article-content .two-col>div {
    min-width: 0
}

@media(max-width:900px) {
    .blog-footer-grid {
        grid-template-columns: 1fr 1fr
    }

    .blog-article .section {
        padding-top: 44px
    }

    .blog-article-content p,
    .blog-article-content li {
        font-size: 15px
    }

    .blog-article-content .two-col {
        grid-template-columns: 1fr
    }
}

@media(max-width:600px) {
    .blog-index-hero {
        padding: 60px 0 70px
    }

    .blog-index-hero h1 {
        font-size: 30px
    }

    .blog-footer-grid {
        grid-template-columns: 1fr
    }

    .newsletter-form {
        flex-direction: column
    }

    .newsletter-form input,
    .newsletter-form button {
        border-radius: 4px
    }

    .newsletter-form button {
        margin-top: 8px
    }

    .blog-footer-bottom {
        flex-direction: column
    }
}

/* Blog Hero Image - Match Article Text Width */
.blog-article-content .blog-article-hero-image {
    display: block;
    width: 100% !important;
    max-width: none !important;
    height: auto;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}

/* =========================================
   BLOG HERO — FULL WIDTH + FULL IMAGE
   ========================================= */

.blog-article-content .blog-article-hero-image {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 0 34px 0 !important;
    box-sizing: border-box;
}