.main-hero {
    height: 100vh;
    padding: 32px 0px;
    display: flex;
    align-items: flex-end;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    box-sizing: border-box;
    box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.1);
}

.main-hero .hero-header {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 50px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
    z-index: 2;
}

.main-hero .hero-blog-title {
    width: 70%;
    font-family: Urbanist, sans-serif;
    font-size: 3.14rem;
    font-weight: 800;
    line-height: 1.2;
    text-align: left;
    color: #ffffff;
    opacity: 1;
}

.main-hero .hero-blog-title a {
    display: inline-block;
    width: 100%;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: #ffffff;
    opacity: 1;
    text-decoration: none;
}

.main-hero .hero-header>p {
    width: 50%;
    font-family: Plus Jakarta Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
    text-align: left;
    color: #ffffff;
}

.main-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(270deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.60) 100%);
    z-index: 0;
}

.main-hero .hero-header>span {
    font-family: Plus Jakarata Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
}

.main-hero .hero-header>p {
    font-family: Plus Jakarata Sans, sans-serif;
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {

    .main-hero {
        padding: 0;
        align-items: center;
    }

    .main-hero .hero-header {
        width: 100%;
        padding: 40px;
        align-items: flex-start;
    }

    .main-hero .hero-blog-title {
        font-size: 2.617rem;
        width: 100%;
    }

    .main-hero .hero-header>p {
        width: 100%;
        font-size: 1rem;
    }
}

@media screen and (max-width: 430px) {
    .main-hero {
        padding: 0;
        height: 80vh;
        box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5);
    }

    .main-hero .hero-header {
        padding: 20px;
        gap: 8px;
    }

    .main-hero .hero-blog-title {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .main-hero .hero-header>p {
        font-size: 1rem;
    }

}

/* --- BLOG GRID / LISTING --- */
.blog-list-wrapper .blog-row {
    max-width: 1440px;
    margin: 0 auto;
    margin-top: 64px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-list-wrapper .blog-card {
    min-height: 100%;
    border: 1px solid rgba(16, 75, 136, 0.1);
    border-radius: 28px;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(16, 75, 136, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-list-wrapper .blog-card:hover {
    transform: translateY(-8px);
    border-color: rgba(16, 75, 136, 0.22);
    box-shadow: 0 26px 56px rgba(16, 75, 136, 0.14);
}

.blog-list-wrapper .blog-card-link {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    color: inherit;
    text-decoration: none;
}

.blog-list-wrapper .blog-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #dce5eb;
}

.blog-list-wrapper .blog-card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(16, 75, 136, 0) 0%, rgba(16, 75, 136, 0.06) 100%);
}

.blog-list-wrapper .blog-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.blog-list-wrapper .blog-card:hover .blog-card-media img {
    transform: scale(1.04);
}

.blog-list-wrapper .blog-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1.6rem;
    background:
        radial-gradient(circle at top left, rgba(16, 75, 136, 0.04), transparent 38%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, #ffffff 100%);
}

.blog-list-wrapper .blog-card-top {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.blog-list-wrapper .blog-card-category {
    width: fit-content;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(16, 75, 136, 0.08);
    color: #104b88;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1;
    text-transform: uppercase;
}

.blog-list-wrapper .blog-card-title {
    margin: 0;
    font-family: Urbanist, sans-serif;
    font-size: 1.72rem;
    font-weight: 700;
    line-height: 1.14;
    color: #102742;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-list-wrapper .blog-card-excerpt {
    margin: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.618;
    color: #5c6b7a;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

.blog-list-wrapper .blog-card-meta {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(16, 75, 136, 0.1);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
}

.blog-list-wrapper .blog-card-meta-item {
    position: relative;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 500;
    line-height: 1.5;
    color: #667688;
}

.blog-list-wrapper .blog-card-meta-item + .blog-card-meta-item::before {
    content: "";
    display: inline-block;
    width: 4px;
    height: 4px;
    margin: 0 1rem 0 0.1rem;
    border-radius: 50%;
    vertical-align: middle;
    background: rgba(16, 75, 136, 0.35);
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .blog-list-wrapper .blog-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .blog-list-wrapper .blog-row {
        gap: 1.5rem;
    }

    .blog-list-wrapper .blog-card-title {
        font-size: 1.5rem;
    }

    .blog-list-wrapper .blog-card-body {
        padding: 1.35rem;
    }
}

@media (max-width: 640px) {
    .blog-list-wrapper .blog-row {
        grid-template-columns: 1fr;
    }
}


.blog-pagination {
    margin: 40px 0;
    text-align: center;
}

.blog-pagination ul {
    list-style: none;
    padding: 0;
    display: inline-flex;
    gap: 8px;
}

.blog-pagination li a,
.blog-pagination li span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #333;
    transition: all 0.3s ease;
}

.blog-pagination li a:hover {
    background-color: #104b88;
    color: #fff;
    border-color: #104b88;
}

.blog-pagination li .current {
    background-color: #104b88;
    color: #fff;
    border-color: #104b88;
}
