
:root {
    --navy:#1B3A6B;
    --navy2:#2A5298;
    --navy-dark:#0c1f3d;
    --orange:#E8671A;
    --orange2:#F58035;
    --orange-pale:#FFF4ED;
    --bg:#F2F5FB;
    --white:#fff;
    --text:#111827;
    --muted:#64748b;
    --border:#dce6f5;
    --r-sm:8px;
    --r-md:14px;
    --r-lg:22px;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--text);
    background: var(--white);
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.65;
    overflow-x: clip;
}

a {
    color: inherit;
    text-decoration: none;
}

.page-hero-in,
.section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-hero {
    position: relative;
    overflow: hidden;
    padding: 70px 48px 60px;
    background: linear-gradient(135deg, var(--navy-dark) 0%, #152d5a 60%, #1e3f7a 100%);
}

.blog-hero::before {
    content: 'BLOG';
    position: absolute;
    right: -10px;
    bottom: -20px;
    color: rgba(255,255,255,.03);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 14rem;
    letter-spacing: 8px;
    line-height: 1;
    pointer-events: none;
}

.blog-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 48px;
    align-items: center;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: rgba(255,255,255,.45);
    font-family: 'Space Mono', monospace;
    font-size: .66rem;
    letter-spacing: 1px;
}

.breadcrumb a {
    color: rgba(255,255,255,.45);
}

.breadcrumb a:hover,
.breadcrumb .bc-cur {
    color: var(--orange2);
}

.blog-hero h1 {
    margin: 0 0 16px;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(3.4rem, 7vw, 6.5rem);
    letter-spacing: 3px;
    line-height: .95;
}

.blog-hero h1 span {
    color: var(--orange2);
}

.bh-sub {
    max-width: 560px;
    margin: 0;
    color: rgba(255,255,255,.72);
    font-size: 1.05rem;
    line-height: 1.8;
}

.blog-hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-hero-image img {
    display: block;
    width: 100%;
    max-width: 500px;
    max-height: 430px;
    object-fit: contain;
    filter: drop-shadow(0 24px 45px rgba(0,0,0,.28));
    animation: blogHeroFloat 4s ease-in-out infinite alternate;
}

@keyframes blogHeroFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-12px); }
}

.section {
    padding: 80px 48px;
}

.section h2 {
    margin: 0 0 34px;
    color: var(--navy);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 3.2rem;
    letter-spacing: 2px;
    line-height: 1;
}

.section h2 span {
    color: var(--orange);
}


/* ===== BLOG SEARCH + CATEGORY FILTERS ===== */

.blog-controls {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 22px;
}

.blog-heading-wrap {
    min-width: 0;
}

.blog-kicker {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    margin-bottom: 16px;
    padding: 5px 15px;
    color: var(--orange);
    background: var(--orange-pale);
    border: 1px solid rgba(232,103,26,.25);
    border-radius: 100px;
    font-family: 'Space Mono', monospace;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: 1.7px;
    text-transform: uppercase;
}

.blog-controls .blog-page-title {
    margin-bottom: 0;
}

.blog-search-form {
    width: 100%;
    max-width: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.blog-search-input {
    width: 100%;
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    color: var(--text);
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    outline: none;
    font-family: 'DM Sans', sans-serif;
    font-size: .92rem;
    transition: .2s;
}

.blog-search-input:focus {
    border-color: var(--orange);
    box-shadow: 0 0 0 4px rgba(232,103,26,.10);
}

.blog-search-btn {
    min-width: 96px;
    height: 48px;
    padding: 0 20px;
    color: #fff;
    background: var(--orange);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: .9rem;
    font-weight: 700;
    transition: .2s;
}

.blog-search-btn:hover {
    background: #c5581a;
    transform: translateY(-1px);
}

.blog-filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 32px;
}

.blog-filter-link {
    min-height: 38px;
    padding: 7px 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--navy);
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: 100px;
    font-size: .82rem;
    font-weight: 700;
    transition: .2s;
}

.blog-filter-link:hover,
.blog-filter-link.active {
    color: #fff;
    background: var(--orange);
    border-color: var(--orange);
}

.blog-filter-count {
    min-width: 23px;
    height: 23px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: var(--bg);
    border-radius: 100px;
    font-family: 'Space Mono', monospace;
    font-size: .58rem;
    line-height: 1;
}

.blog-filter-link.active .blog-filter-count,
.blog-filter-link:hover .blog-filter-count {
    color: var(--orange);
    background: #fff;
}

.blog-filter-summary {
    width: 100%;
    margin: -14px 0 28px;
    color: var(--muted);
    font-size: .88rem;
}

.blog-filter-summary strong {
    color: var(--navy);
}

.blog-clear-filter {
    margin-left: 6px;
    color: var(--orange);
    font-weight: 700;
}

@media(max-width: 850px) {
    .blog-controls {
        align-items: stretch;
        flex-direction: column;
        gap: 22px;
    }

    .blog-search-form {
        max-width: 100%;
    }
}

@media(max-width: 480px) {
    .blog-search-input{
        padding: 13px 16px;
    }
    .blog-search-form {
        grid-template-columns: 1fr;
    }

    .blog-search-btn {
        width: 100%;
    }

    .blog-filter-row {
        gap: 7px;
    }

    .blog-filter-link {
        padding: 7px 12px;
        font-size: .76rem;
    }
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.blog-card {
    min-width: 0;
    overflow: hidden;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    transition: .3s;
}

.blog-card:hover {
    border-color: var(--orange);
    box-shadow: 0 16px 40px rgba(232,103,26,.1);
    transform: translateY(-5px);
}

.bc-img {
    height: 210px;
    overflow: hidden;
    background: var(--bg);
}

.bc-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .45s ease;
}

.blog-card:hover .bc-img img {
    transform: scale(1.06);
}

.bc-body {
    padding: 20px;
}

.bc-tag {
    display: block;
    margin-bottom: 8px;
    color: var(--orange);
    font-family: 'Space Mono', monospace;
    font-size: .58rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.bc-title {
    min-height: 58px;
    margin-bottom: 8px;
    color: var(--navy);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.4rem;
    letter-spacing: 1.2px;
    line-height: 1.08;
}

.bc-desc {
    min-height: 70px;
    margin: 0 0 16px;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.65;
}

.bc-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.bc-meta {
    color: var(--muted);
    font-family: 'Space Mono', monospace;
    font-size: .58rem;
    letter-spacing: .3px;
}

.bc-read {
    flex-shrink: 0;
    color: var(--orange);
    font-family: 'Space Mono', monospace;
    font-size: .6rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.bc-read:hover {
    color: #c5581a;
}

.blog-card.blog-hidden {
    display: none;
}

.blog-load-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 38px;
}

.blog-load-more-btn {
    padding: 13px 36px;
    color: #fff;
    background: var(--orange);
    border: 0;
    border-radius: var(--r-sm);
    box-shadow: 0 6px 24px rgba(232,103,26,.25);
    cursor: pointer;
    font-family: 'DM Sans', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    transition: .25s ease;
}

.blog-load-more-btn:hover {
    background: #c5581a;
    transform: translateY(-2px);
}

.blog-load-more-btn.hide {
    display: none;
}

.ctas {
    position: relative;
    overflow: hidden;
    padding: 90px 48px;
    background: var(--navy-dark);
    text-align: center;
}

.ctas-in {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}

.ctas h2 {
    margin: 0 0 16px;
    color: var(--white);
    font-family: 'Bebas Neue', sans-serif;
    font-size: 4rem;
    letter-spacing: 2px;
}

.ctas h2 span {
    color: var(--orange);
}

.ctas p {
    margin: 0 0 32px;
    color: rgba(255,255,255,.7);
    line-height: 1.8;
}

.cta-btns {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-glow,
.btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 26px;
    border-radius: var(--r-sm);
    font-weight: 700;
}

.btn-glow {
    background: var(--orange);
    color: #fff;
}

.btn-ghost {
    color: rgba(255,255,255,.8);
    border: 1px solid rgba(255,255,255,.2);
}

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

@media(max-width: 900px) {
    .blog-hero {
        padding: 50px 24px 40px;
    }

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

    .blog-hero-image img {
        max-width: 360px;
        max-height: 280px;
    }

    .section {
        padding: 60px 24px;
    }

    .ctas {
        padding: 70px 24px;
    }
}

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

    .section {
        padding-left: 18px;
        padding-right: 18px;
    }

    .section h2 {
        font-size: 2.5rem;
    }

    .bc-title,
    .bc-desc {
        min-height: 0;
    }

    .bc-footer {
        align-items: flex-start;
        flex-direction: column;
    }
}

.blog-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 42px;
}

.blog-page-numbers {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-page-number,
.blog-page-nav {
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    background: #ffffff;
    border: 1.5px solid var(--border);
    border-radius: 9px;
    font-size: 14px;
    font-weight: 700;
    transition: all .2s ease;
}

.blog-page-number:hover,
.blog-page-number.active,
.blog-page-nav:hover {
    color: #ffffff;
    background: var(--orange);
    border-color: var(--orange);
    transform: translateY(-2px);
}

.blog-page-number.active {
    pointer-events: none;
}

.blog-page-nav {
    min-width: 110px;
}

.blog-page-nav.disabled {
    color: #94a3b8;
    background: #f1f5f9;
    border-color: #e2e8f0;
    cursor: not-allowed;
    pointer-events: none;
}

@media(max-width: 576px) {
    .blog-pagination {
        gap: 10px;
    }

    .blog-page-nav {
        min-width: 98px;
        height: 40px;
        font-size: 13px;
    }

    .blog-page-number {
        min-width: 40px;
        height: 40px;
    }
}

.blog-search-form {
    width: 100%;
    max-width: 520px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blog-search-input {
    flex: 1;
}

.blog-search-clear-btn {
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 17px;
    color: var(--navy);
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: 12px;
    font-size: .85rem;
    font-weight: 700;
}

.blog-search-clear-btn:hover {
    color: #ffffff;
    background: var(--navy);
    border-color: var(--navy);
}

@media (max-width: 480px) {
    .blog-search-form {
        align-items: stretch;
        flex-direction: column;
    }

    .blog-search-btn,
    .blog-search-clear-btn {
        width: 100%;
    }
}

.news-event-content img,
.news-event-content figure,
.news-event-content picture,
.news-event-content svg,
.news-event-content canvas,
.news-event-content .elementor-widget-image,
.news-event-content .elementor-widget-icon,
.news-event-content .elementor-widget-icon-list {
    display: none !important;
}