/* ===================================
   Header / Navigation
   =================================== */
.logo,
.btn-outline-white img,
.language-selector img {
    filter: invert(1);
}

.nav-text {
    color: #282828;
}

.menu-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    filter: invert(1);
}

.btn-outline-white {
    border: 1px solid #282828;

    color: #282828;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 570px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(0deg, rgba(248, 249, 249, 1) 0%, rgba(248, 249, 249, 1) 100%),
        url('../../../../assets/img/main/line-16.svg') 50% 50% / cover;
    padding: 150px 0 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(0deg, rgba(248, 249, 249, 0.3) 0%, rgba(248, 249, 249, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-title {
    font-weight: 500;
    font-size: var(--font-size-xl);
    line-height: normal;
    color: var(--primary);
}

.hero-description {
    font-size: var(--font-size-medium);
    line-height: 28px;
    color: var(--text-gray);
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
        padding: 100px 0 0px;
    }

    .hero-title {
        font-size: var(--font-size-xl-mobile);
    }

    .hero-description {
        font-size: var(--font-size-small-mobile);
        line-height: 26px;
    }
}

/* Main Content */
.main-content {
    background: #f8fafa;
}

/* Featured Section */
.featured-section {
    padding: 60px 0;
    background: #FAF5F2;
}

.featured-section .container-wide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
}

.featured-large {
    position: relative;
}

.featured-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.featured-link:hover {
    opacity: 0.9;
}

.featured-image-wrapper {
    position: relative;
    width: 100%;
    height: 434px;
    overflow: hidden;
}

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

.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
    padding: 3rem;
}

.featured-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.article-date-light {
    font-size: var(--font-size-small);
    line-height: 25.9px;
    color: #ffffff;
}

.article-title-light {
    font-weight: bold;
    font-size: var(--font-size-medium);
    line-height: 25.9px;
    color: #ffffff;
    text-align: right;
}

.article-excerpt-light {
    font-family: var(--body-font-family);
    font-size: var(--font-size-small);
    line-height: 28px;
    color: #ffffff;
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-small-grid {
    display: flex;
    flex-direction: column;
    gap: 2.1875rem;
}

.featured-small {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.featured-small-link {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.featured-small-link:hover {
    opacity: 0.8;
}

.small-image {
    width: 240px;
    height: 196px;
    object-fit: cover;
    flex-shrink: 0;
}

.small-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    flex: 1;
    margin: auto;
}

.article-date {
    font-size: var(--font-size-small);
    line-height: 25.9px;
    color: var(--secondary);
}

.article-title-small {
    font-weight: bold;
    font-size: var(--font-size-medium);
    line-height: 25.9px;
    color: var(--primary);
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .featured-section .container-wide {
        grid-template-columns: 1fr;
    }

    .featured-small {
        flex-direction: row-reverse;
    }
}

@media (max-width: 768px) {
    .featured-image-wrapper {
        height: 300px;
    }

    .featured-overlay {
        padding: 1.5rem;
    }

    .small-image {
        width: 150px;
        height: 120px;
    }

    .article-title-small {
        font-size: var(--font-size-small-mobile);
    }
}

/* Articles Section */
.articles-section {
    padding: 0px 0px 100px 0;
    background: #FAF5F2;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5rem 1.25rem;
}

.article-card {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.article-card-link {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.article-card-link:hover {
    opacity: 0.8;
}

.card-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
}

.card-title {
    font-weight: bold;
    font-size: var(--font-size-medium);
    line-height: 25.9px;
    color: var(--primary);
    text-align: right;
}

.card-excerpt {
    font-family: var(--body-font-family);
    font-size: var(--font-size-small);
    line-height: 28px;
    color: var(--text-gray);
    text-align: right;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem 1.25rem;
    }
}

@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .card-image {
        height: 200px;
    }

    .card-title {
        font-size: var(--font-size-medium-mobile);
    }

    .card-excerpt {
        font-size: var(--font-size-small-mobile);
        line-height: 24px;
    }
}