/* =========================================
   BLOG SECTION
========================================= */

.blog-section {
    padding: 90px 0 100px;
    background: #f7faf9;
}

.blog-container {
    max-width: 1132px;
}

.blog-heading {
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
    margin-top: 15px;
}

.blog-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-bottom: 17px;
    color: #b17a0d;
    font-family: "DM Sans", sans-serif;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.blog-label span {
    width: 22px;
    height: 1px;
    flex: 0 0 auto;
    background: #c89025;
}

.blog-heading h2 {
    margin: 0 0 15px;
    color: #003e50;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 39px;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.6px;
}

.blog-heading p {
    margin: 0 auto;
    color: #355a60;
    font-family: "DM Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
}

/* Cards */

.blog-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #e2e9e8;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(20, 58, 65, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(20, 58, 65, 0.1);
}

.blog-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 180px;
    background: #e9f4f3;
    color: #0a99a5;
    font-size: 34px;
    overflow: hidden;
}

.blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-category {
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #e9f4f3;
    color: #0a99a5;
    font-family: "DM Sans", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.blog-card-body h3 {
    margin: 0 0 10px;
    font-family: "DM Sans", sans-serif;
    font-size: 16.5px;
    font-weight: 700;
    line-height: 1.35;
}

.blog-card-body h3 a {
    color: #003e50;
    text-decoration: none;
}

.blog-card-body h3 a:hover {
    color: #0a99a5;
}

.blog-card-body p {
    flex: 1;
    margin: 0 0 16px;
    color: #486c71;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #eef2f1;
}

.blog-card-meta span {
    color: #8ba0a3;
    font-family: "DM Sans", sans-serif;
    font-size: 11.5px;
}

.blog-card-link {
    color: #0a99a5;
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
}

.blog-card-link:hover {
    color: #067c86;
}

/* Detail page */

.blog-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
    color: #0a99a5;
    font-family: "DM Sans", sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.blog-back-link:hover {
    color: #067c86;
}

.blog-article {
    padding: 34px 36px 38px;
    border: 1px solid #e2e9e8;
    border-radius: 13px;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(20, 58, 65, 0.07);
}

.blog-article h1 {
    margin: 10px 0 8px;
    color: #003e50;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
}

.blog-article-meta {
    margin: 0 0 20px;
    color: #8ba0a3;
    font-family: "DM Sans", sans-serif;
    font-size: 12.5px;
}

.blog-article-image {
    width: 100%;
    max-height: 380px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 26px;
}

.blog-article-content {
    color: #355a60;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    line-height: 1.85;
}

@media (max-width: 575.98px) {
    .blog-section {
        padding: 60px 0 70px;
    }

    .blog-heading h2 {
        font-size: 32px;
    }

    .blog-article {
        padding: 26px 22px 28px;
    }

    .blog-article h1 {
        font-size: 27px;
    }
}
