/* ============================================
   ARTICLES PAGE STYLES
   ============================================ */

/* Articles Hero Banner */
.articles-hero-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
}

@media (min-width: 576px) {
    .articles-hero-banner {
        height: 350px;
    }
}

@media (min-width: 768px) {
    .articles-hero-banner {
        height: 400px;
    }
}

@media (min-width: 992px) {
    .articles-hero-banner {
        height: 450px;
    }
}

@media (min-width: 1200px) {
    .articles-hero-banner {
        height: 400px;
    }
}

.articles-hero-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.articles-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.articles-hero-overlay {
    position: absolute;
    inset: 0;
    mix-blend-mode: multiply;
    background-image: linear-gradient(90deg, rgba(3, 141, 181, 0.4) 0%, rgba(3, 141, 181, 0.4) 100%), linear-gradient(90deg, rgba(37, 55, 75, 0.5) 0%, rgba(37, 55, 75, 0.5) 100%);
}

.articles-hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.articles-hero-title {
    color: #FFF;
    text-align: center;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 28px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    padding: 0 16px;
}

@media (min-width: 576px) {
    .articles-hero-title {
        font-size: 36px;
    }
}

@media (min-width: 768px) {
    .articles-hero-title {
        font-size: 48px;
        padding: 0 24px;
    }
}

@media (min-width: 992px) {
    .articles-hero-title {
        font-size: 64px;
        padding: 0 32px;
    }
}

@media (min-width: 1200px) {
    .articles-hero-title {
        font-size: 72px;
    }
}

/* Articles Grid Section */
.articles-grid-section {
    padding: 60px 0;
    background-color: #FFF;
}

@media (min-width: 768px) {
    .articles-grid-section {
        padding: 80px 0;
    }
}

@media (min-width: 992px) {
    .articles-grid-section {
        padding: 100px 0;
    }
}

.article-card-link {
    display: block;
    text-decoration: none;
    height: 100%;
}

.article-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.article-image-wrapper {
    width: 100%;
    height: 250px;
    overflow: hidden;
    background-color: #F9FAFB;
}

@media (min-width: 768px) {
    .article-image-wrapper {
        height: 280px;
    }
}

@media (min-width: 992px) {
    .article-image-wrapper {
        height: 300px;
    }
}

.article-image {
    width: 100%;
    height: 100%;
    object-fit: none;
    transition: transform 0.3s ease;
}

.article-card:hover .article-image {
    transform: scale(1.05);
}

.article-title-box {
    background-color: #038DB5;
    padding: 20px 24px;
    min-height: 80px;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .article-title-box {
        padding: 24px 28px;
        min-height: 105px;
    }
}

.article-title {
    color: #FFF;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

@media (min-width: 768px) {
    .article-title {
        font-size: 18px;
    }
}

@media (min-width: 992px) {
    .article-title {
        font-size: 20px;
    }
}

/* Article CTA Section */
.article-cta-section {
    position: relative;
    overflow: hidden;
    padding: 60px 0;
    background-color: #25374B;
}

@media (min-width: 768px) {
    .article-cta-section {
        padding: 100px 0;
    }
}

@media (min-width: 992px) {
    .article-cta-section {
        padding: 60px 0;
    }
}

.article-cta-background {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.article-cta-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-cta-overlay {
    position: absolute;
    inset: 0;
}

.article-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFF;
}

.article-cta-text {
    color: #FFF;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 16px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (min-width: 768px) {
    .article-cta-text {
        font-size: 28px;
        margin-bottom: 20px;
    }
}

@media (min-width: 992px) {
    .article-cta-text {
        font-size: 32px;
        margin-bottom: 24px;
    }
}

.article-cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 300;
    line-height: 1.5;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .article-cta-subtext {
        font-size: 24px;
        margin-bottom: 48px;
    }
}

@media (min-width: 992px) {
    .article-cta-subtext {
        font-size: 28px;
        margin-bottom: 56px;
    }
}

.article-cta-btn-wrapper {
    display: flex;
    justify-content: center;
}

.article-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background-color: transparent;
    color: #FFF;
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid #FFF;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.article-cta-btn:hover {
    background-color: #FFF;
    color: #038DB5;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.article-cta-btn i {
    font-size: 18px;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .articles-grid-section {
        padding: 40px 0;
    }
    
    .article-image-wrapper {
        height: 220px;
    }
    
    .article-title-box {
        padding: 16px 20px;
        min-height: 70px;
    }
    
    .article-title {
        font-size: 14px;
    }
    
    .article-cta-section {
        padding: 60px 0;
    }

    .article-cta-text {
        font-size: 20px;
    }

    .article-cta-subtext {
        font-size: 16px;
    }

    .article-cta-btn {
        font-size: 16px;
        padding: 14px 32px;
    }
}
