.main-hero {
    height: 100vh;
    padding: 128px 50px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    position: relative;
    background-size: cover;
    background-position: center;
    color: #fff;
    border-radius: 0;
    box-sizing: border-box;
}

.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;
}

.hero-header {
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    z-index: 2;
}

.hero-header>span {
    font-family: Plus Jakarata Sans, sans-serif;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.618;
}

.hero-blog-title a {
    width: 80%;
    font-family: Urbanist, sans-serif;
    font-size: 2.617rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.hero-header>p {
    font-family: Plus Jakarata Sans, sans-serif;
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
    .hero-header {
        width: 100%;
        align-items: flex-start;
    }

    .hero-blog-title a {
        width: 100%;
        font-size: 2.617rem;
    }
}

@media screen and (max-width: 430px) {
    .main-hero {
        padding: 100px 20px 50px 20px;
        height: 80vh;
        /* min-height: 60vh; */
        align-items: center;
        box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.5);
    }

    .hero-header {
        gap: 8px;
    }

    .hero-blog-title a {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .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(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.blog-list-wrapper .blog-col {
    display: flex;
    flex-direction: column;
    background-color: #fff;

    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-list-wrapper .blog-col:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* --- BLOG IMAGE --- */
.blog-list-wrapper .blog-image {
    width: 100%;

    overflow: hidden;
    position: relative;
}

.blog-list-wrapper .blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Keeps aspect ratio and crops */
    display: block;
    transition: transform 0.3s ease;
}

.blog-list-wrapper .blog-col:hover .blog-image img {
    transform: scale(1.05); /* Slight zoom on hover */
}

/* --- BLOG INFO --- */
.blog-list-wrapper .blog-info {
    padding: 1.5rem;
    flex-grow: 1;
}


.blog-list-wrapper .blog-info h2{
    margin: 0 0 1rem;
}

.blog-list-wrapper .blog-info h2 a {
    font-family: Urbanist, sans-serif;
    font-size: 1.618rem;
    font-weight: 700;
    line-height: 1.2;
    color: #000000;
}

.blog-list-wrapper .blog-info p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.2rem;
    line-height: 1.618;
    color: #333;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .blog-list-wrapper .blog-info h2 {
        font-size: 1.618rem;
    }

    .blog-list-wrapper .blog-info p {
        font-size: 1rem;
    }

    .blog-list-wrapper .blog-row {
        gap: 1.5rem;
    }
}


.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;
}
