
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'DM Sans', Arial, sans-serif;
    color: #182334;
    line-height: 1.65;
}

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

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

/* HEADER */

.site-header {
    background: #fff;
    border-bottom: 1px solid #e9edf2;
}

.nav-container {
    min-height: 82px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 800;
}

.brand small {
    display: block;
    font-size: 10px;
    color: #758195;
}

.brand-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background: #102c4d;
    color: #fff;
    border-radius: 10px;
    font-size: 22px;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 13px;
    font-weight: 600;
}

.main-nav a.active,
.main-nav a:hover {
    color: #087f82;
}

.nav-button {
    background: #087f82;
    color: #fff !important;
    padding: 11px 18px;
    border-radius: 7px;
}

/* HERO */

.blog-hero {
    background: linear-gradient(115deg, #102b49, #124a62, #087f82);
    color: #fff;
    overflow: hidden;
}

.hero-container {
    min-height: 390px;
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
    padding-top: 45px;
    padding-bottom: 45px;
}

.hero-label,
.section-label {
    color: #0b8887;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
}

.hero-label {
    color: #8de0d4;
}

.hero-content h1 {
    font-size: clamp(36px, 5vw, 55px);
    line-height: 1.12;
    letter-spacing: -2px;
    margin: 15px 0;
}

.hero-content h1 span {
    color: #8de0d4;
}

.hero-content p {
    max-width: 580px;
    color: #d7e5ed;
    font-size: 15px;
    margin-bottom: 28px;
}

.primary-button,
.cta-button {
    display: inline-block;
    padding: 13px 20px;
    border-radius: 7px;
    font-size: 13px;
    font-weight: 700;
}

.primary-button {
    background: #fff;
    color: #12324d;
}

.hero-visual {
    min-height: 260px;
    display: grid;
    place-items: center;
    position: relative;
}

.visual-circle {
    width: 240px;
    height: 240px;
    border: 1px solid #ffffff55;
    border-radius: 50%;
    position: absolute;
}

.visual-card {
    width: 245px;
    padding: 28px;
    background: #fff;
    color: #17314a;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 20px 50px #001c2c55;
    transform: rotate(3deg);
}

.visual-icon {
    font-size: 25px;
    color: #087f82;
    margin-bottom: 18px;
}

.visual-card h3 {
    line-height: 1.3;
    font-size: 20px;
}

.visual-card p {
    font-size: 12px;
    color: #68778a;
}

/* BLOG SECTION */

.blog-section {
    padding-top: 70px;
    padding-bottom: 75px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: 32px;
    line-height: 1.2;
    margin: 8px 0;
}

.section-heading p {
    font-size: 13px;
    color: #718096;
}

.article-count {
    font-size: 11px;
    font-weight: 800;
    background: #f2f6f8;
    padding: 9px 13px;
    border-radius: 30px;
}

.filter-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 28px;
}

.filter-btn {
    border: 1px solid #e0e7ed;
    background: white;
    padding: 8px 15px;
    border-radius: 30px;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
}

.filter-btn.active,
.filter-btn:hover {
    background: #10324e;
    color: #fff;
    border-color: #10324e;
}

/* BLOG GRID */

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

.blog-card {
    border: 1px solid #e8edf1;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: .25s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px #17314a15;
}

.blog-image {
    height: 185px;
    padding: 18px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #143450, #168b8b);
}

.image-2 {
    background: linear-gradient(135deg, #293b62, #5977a4);
}

.image-3 {
    background: linear-gradient(135deg, #17635e, #56a58d);
}

.image-4 {
    background: linear-gradient(135deg, #503b6c, #9b75a6);
}

.image-5 {
    background: linear-gradient(135deg, #5b4b30, #bd9c5e);
}

.image-6 {
    background: linear-gradient(135deg, #284b63, #5c91a7);
}

.image-category {
    color: #fff;
    background: #ffffff35;
    border: 1px solid #ffffff55;
    border-radius: 30px;
    padding: 6px 10px;
    font-size: 10px;
    font-weight: 700;
    z-index: 1;
}

.image-icon {
    color: #fff;
    font-size: 48px;
    z-index: 1;
}

.blog-card-content {
    padding: 20px;
}

.blog-meta {
    display: flex;
    gap: 15px;
    color: #8995a3;
    font-size: 10px;
    font-weight: 600;
}

.blog-card h3 {
    font-size: 18px;
    line-height: 1.4;
    margin: 12px 0;
}

.blog-card h3 a:hover {
    color: #087f82;
}

.blog-card p {
    font-size: 12px;
    line-height: 1.7;
    color: #718096;
}

.read-more {
    display: inline-flex;
    gap: 8px;
    color: #087f82;
    font-size: 12px;
    font-weight: 800;
    margin-top: 8px;
}

.no-results {
    text-align: center;
    padding: 30px;
    color: #718096;
}

/* CTA */

.blog-cta {
    background: #f1f7f7;
    padding: 45px 0;
}

.cta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 25px;
}

.cta-content h2 {
    font-size: 26px;
    margin: 10px 0;
}

.cta-content p {
    font-size: 13px;
    color: #718096;
}

.cta-button {
    background: #087f82;
    color: #fff;
    white-space: nowrap;
}

/* FOOTER */

.site-footer {
    background: #10283f;
    color: #dce6ed;
    padding: 32px 0;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
}

.footer-content strong {
    font-size: 12px;
}

.footer-content p,
.copyright {
    color: #aab9c5;
    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 20px;
    font-size: 11px;
}

.copyright {
    grid-column: 1 / -1;
    border-top: 1px solid #ffffff20;
    padding-top: 15px;
}

/* RESPONSIVE */

[hidden] {
    display: none !important;
}

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

    .hero-container {
        grid-template-columns: 1fr .7fr;
    }
}

@media(max-width: 600px) {
    .nav-container {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
        gap: 15px;
    }

    .main-nav {
        width: 100%;
        justify-content: space-between;
        gap: 8px;
        font-size: 11px;
    }

    .hero-container {
        grid-template-columns: 1fr;
        padding: 45px 0;
    }

    .hero-visual {
        min-height: 190px;
    }

    .blog-section {
        padding: 45px 0;
    }

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

    .section-heading h2 {
        font-size: 26px;
    }

    .cta-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-links {
        flex-wrap: wrap;
    }

    .copyright {
        grid-column: auto;
    }
}
