.news-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 30px;
    background: #fff;
    position: relative;
    z-index: 2;
}

.news-hero__container {
    display: grid;
    grid-template-columns: 1fr;
    align-items: end;
    max-width: 1280px;
    margin: 0 auto;
}

.news-hero__heading {
    text-align: center;
    grid-column: 1;
    grid-row: 1;
}

.news-hero__label {
    display: block;
    font-family: var(--font-family);
    font-weight: 800;
    font-size: 24px;
    line-height: 40px;
    letter-spacing: 4.8px;
    text-transform: uppercase;
    color: var(--color-primary-dark);
    opacity: 0.8;
}

.news-hero__title {
    font-family: var(--font-family-serif);
    font-weight: 700;
    font-size: 64px;
    line-height: 1.3;
    color: var(--color-primary-dark);
    margin: 0;
}

.news-hero__filter {
    grid-column: 1;
    grid-row: 1;
    justify-self: end;
    align-self: end;
    z-index: 2;
}

.news-dropdown {
    width: 299px;
    height: 49px;
    padding: 12px 44px 12px 16px;
    border: 1px solid rgba(184, 187, 194, 0.5);
    border-radius: 8px;
    background: #fff url('/img/icon-chevron-down.svg') no-repeat right 16px center;
    background-size: 24px 24px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #000;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

    .news-dropdown:hover {
        border-color: rgba(184, 187, 194, 0.8);
    }

    .news-dropdown:focus {
        outline: none;
        border-color: var(--color-primary-dark);
    }

.news-featured {
    padding: 0 80px;
    background: #fff;
    margin-bottom: 100px;
}

.news-featured__card {
    display: flex;
    align-items: center;
    gap: 23px;
    max-width: 1280px;
    margin: 0 auto;
    border-radius: 20px;
    position: relative;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

.news-featured__shape {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.news-featured__image {
    flex-shrink: 0;
    width: 516px;
    height: 398px;
    border-radius: 20px 0 0 20px;
    overflow: hidden;
}

    .news-featured__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.news-featured__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    flex: 1;
    padding: 16px 64px 20px 20px;
}

.news-featured__meta {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.news-featured__text-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.news-featured__date {
    font-family: var(--font-family-serif);
    font-weight: 700;
    font-size: 14px;
    color: #000;
}

.news-featured__title {
    font-family: var(--font-family-serif);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    color: #000;
    margin: 0;
}

.news-featured__desc {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 1.5;
    color: #000;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    overflow: hidden;
}

.news-featured__arrow {
    position: absolute;
    right: 24px;
    bottom: 7px;
    width: 42px;
    height: 42px;
    z-index: 5;
    transition: transform 0.3s ease;
}

.news-grid {
    padding: 0 clamp(16px, calc(10vw + 8px), 80px);
    margin-bottom: 100px;
    background: #fff;
}

.news-grid__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 24px;
    max-width: 1280px;
    margin: 0 auto;
}

.news-card {
    position: relative;
    width: 100%;
    aspect-ratio: 414 / 254;
    height: auto;
    border-radius: 20px;
    transition: transform 0.3s ease;
    filter: drop-shadow(0px 5px 15px rgba(0, 0, 0, 0.1));
}

    .news-card:hover {
        transform: translateY(-4px);
    }

.news-card__overlay-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    text-decoration: none;
}

.news-card__bg {
    display: flex;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: #004cc8;
    overflow: hidden;
    -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 414 254" xmlns="http://www.w3.org/2000/svg"><path d="M394 0C405.046 0 414 8.954 414 20V208H356.365C348.377 208 341.154 212.754 337.995 220.092L319.953 254H20C8.954 254 0 245.046 0 234V20C0 8.954 8.954 0 20 0H394Z" fill="black"/></svg>');
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 414 254" xmlns="http://www.w3.org/2000/svg"><path d="M394 0C405.046 0 414 8.954 414 20V208H356.365C348.377 208 341.154 212.754 337.995 220.092L319.953 254H20C8.954 254 0 245.046 0 234V20C0 8.954 8.954 0 20 0H394Z" fill="black"/></svg>');
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

.news-card__title {
    font-family: var(--font-family-serif, 'Fustat', sans-serif);
    font-weight: 700;
    font-size: clamp(12px, 1.3vw, 16px);
    line-height: 1.3;
    color: #ffffff;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card__image-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    z-index: 2;
    overflow: hidden;
}

.news-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.news-card:hover .news-card__image {
    transform: scale(1.05);
}

.news-card__arrow {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 36px;
    height: 36px;
    z-index: 5;
    transition: transform 0.3s ease;
    pointer-events: none;
}

    .news-card__arrow img {
        width: 100%;
        height: 100%;
    }

.news-card:hover .news-card__arrow {
    transform: translateX(4px);
}

.news-grid__more {
    display: flex;
    justify-content: center;
    margin-top: 56px;
}

.news-grid__more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 24px;
    min-width: 193px;
    height: 48px;
    border: 3px solid #004cc8;
    border-radius: 25px;
    background: #fff;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 2.7px;
    color: var(--color-primary-dark);
    text-transform: capitalize;
    cursor: pointer;
    box-shadow: 0px 2px 2px 0px rgba(1, 23, 60, 0.25), 0px 0px 16px 0px rgba(0, 76, 200, 0.5);
    transition: all 0.3s ease;
}

    .news-grid__more-btn:hover {
        background: var(--color-primary-dark);
        color: #fff;
        border-color: var(--color-primary-dark);
    }

.news-detail__hero {
    padding: calc(var(--header-height) + 50px) 80px 0;
    background: #fff;
}

.news-detail__hero-img {
    position: relative;
    max-width: 1280px;
    width: 100%;
    min-height: 400px;
    object-fit: contain;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto;
}

    .news-detail__hero-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .news-detail__hero-img::after {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 20px;
        pointer-events: none;
    }

.news-detail__wrapper {
    max-width: clamp(844px, calc(50vw + 80px), 1280px);
    margin: 0 auto;
    background: #fff;
    padding-bottom: 120px;
}

.news-detail__header {
    padding: 48px 0 0;
    background: #fff;
}

.news-detail__header-content {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 50px;
}

.news-detail__header-left {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 956px;
}

.news-detail__info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-detail__meta {
    display: flex;
    align-items: center;
    gap: 6px;
}

.news-detail__date {
    font-family: var(--font-family-serif);
    font-weight: 700;
    font-size: 14px;
    color: #000;
}

.news-detail__title {
    font-family: var(--font-family-serif);
    font-weight: 700;
    font-size: 32px;
    line-height: 1.3;
    color: #000;
    margin: 0;
}

.news-detail__share {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    padding-right: 12px;
    flex-shrink: 0;
}

.news-detail__share-label {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    color: #000;
}

.news-detail__share-icons {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .news-detail__share-icons a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
        transition: opacity 0.2s ease, transform 0.2s ease;
    }

        .news-detail__share-icons a:hover {
            opacity: 0.7;
            transform: translateY(-2px);
        }

        .news-detail__share-icons a img {
            filter: brightness(0) saturate(100%) invert(0%) sepia(3%) saturate(0%) hue-rotate(223deg) brightness(98%) contrast(103%);
        }

.news-detail__content {
    padding: 64px 0 0;
    max-width: clamp(844px, calc(50vw + 80px), 1280px);
    margin: 0 auto;
    background: #fff;
}

.news-detail__intro {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 32px;
    color: #000;
    margin: 0 0 42px;
}

.news-detail__section {
    margin-bottom: 42px;
}

    .news-detail__section:last-child {
        margin-bottom: 0;
    }

    .news-detail__section h2 {
        font-family: var(--font-family);
        font-weight: 700;
        font-size: 24px;
        line-height: 32px;
        color: #000;
        margin: 0 0 24px;
    }

    .news-detail__section p {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 20px;
        line-height: 32px;
        color: #000;
        margin: 0 0 16px;
    }

        .news-detail__section p:last-child {
            margin-bottom: 0;
        }

.news-detail__inline-img {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 42px;
    padding: 0 80px;
    background: #fff;
}

    .news-detail__inline-img img {
        width: 100%;
        border-radius: 16px;
        display: block;
    }

.news-detail__content blockquote {
    border-left: 4px solid var(--color-primary-dark);
    margin: 32px 0;
    padding: 16px 0 16px 24px;
    font-family: var(--font-family-serif);
    font-style: italic;
    font-size: 20px;
    line-height: 32px;
    color: var(--color-primary-dark);
}

.news-detail__content ul {
    padding: 0 0 0 24px;
    margin: 0 0 16px;
}

    .news-detail__content ul li {
        font-family: var(--font-family);
        font-weight: 400;
        font-size: 20px;
        line-height: 32px;
        color: #000;
        margin: 0 0 8px;
    }

        .news-detail__content ul li:last-child {
            margin-bottom: 0;
        }

.news-detail__cta {
    display: flex;
    justify-content: center;
    padding: 48px 80px 0;
    background: #fff;
    max-width: 1280px;
    margin: 0 auto;
}

.news-detail__related {
    padding: 0 20px 80px;
    background: #fff;
}

.news-detail__related-title {
    font-family: var(--font-family-serif);
    font-weight: 700;
    font-size: 40px;
    line-height: 1;
    color: var(--color-primary-dark);
    text-align: center;
    margin: 0 0 48px;
}

.news-detail__related-grid {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
}

.swiper-news {
    visibility: hidden;
    opacity: 0;
}

    .swiper-news.swiper-initialized {
        visibility: visible;
        opacity: 1;
        transition: opacity 0.1s ease;
    }

@media (max-width: 991.98px) {
    .news-hero {
        padding-top: calc(var(--header-height) + 24px);
    }

    .news-hero__container {
        padding: 0 24px;
    }

    .news-hero__label {
        font-size: 20px;
        letter-spacing: 4px;
    }

    .news-hero__title {
        font-size: 36px;
    }

    .news-dropdown {
        width: 200px;
    }

    .news-featured {
        padding: 0 24px;
        margin-bottom: 36px;
    }

    .news-featured__image {
        width: 380px;
        border-radius: 12px 0 0 12px;
    }

    .news-featured__content {
        padding: 0 16px;
    }

    .news-featured__title {
        font-size: 24px;
    }

    .news-featured__desc {
        font-size: 16px;
    }

    .news-featured__arrow {
        right: 0;
    }

    .news-grid {
        padding: 24px 24px 60px;
    }

    .news-grid__container {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .news-detail__hero {
        padding: calc(var(--header-height) + 30px) 24px 0;
    }

    .news-detail__hero-img {
        height: 280px;
    }

    .news-detail__header {
        padding: 32px 24px 0;
    }

    .news-detail__header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .news-detail__title {
        font-size: 26px;
    }

    .news-detail__content {
        padding: 48px 24px 0;
    }

    .news-detail__intro,
    .news-detail__section p {
        font-size: 18px;
        line-height: 30px;
    }

    .news-detail__section h2 {
        font-size: 22px;
    }

    .news-detail__inline-img {
        padding: 0 24px;
    }

    .news-detail__related {
        padding: 80px 24px 60px;
    }

    .news-detail__related-title {
        font-size: 32px;
    }

    .news-detail__related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .news-detail__cta {
        padding: 40px 24px 0;
    }
}

@media (max-width: 767.98px) {
    .news-hero {
        padding-top: calc(var(--header-height) + 50px);
    }

    .news-hero__container {
        padding: 0 20px;
    }

    .news-hero__filter {
        justify-self: stretch;
        align-self: auto;
        margin-top: 16px;
        grid-column: unset;
        grid-row: unset;
    }

    .news-dropdown {
        width: 100%;
    }

    .news-featured {
        padding: 0 20px;
        margin-bottom: 120px;
    }

    .news-featured__card {
        display: flex;
        flex-direction: column;
        position: relative;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        background-color: transparent;
        background-image: url('/img/resource-featured-card.svg');
        background-repeat: no-repeat;
        background-position: center;
        background-size: 100% 100%;
        border-radius: 20px 20px 0 20px;
        overflow: hidden;
        padding-bottom: 28px;
        height: 85dvh;
    }

    .news-featured__image {
        width: 100%;
        height: 334px;
        margin: 0;
        padding: 0;
        border-radius: 20px 20px 0 0;
        overflow: hidden;
        flex-shrink: 0;
    }

        .news-featured__image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .news-featured__content {
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding: 20px 20px 0 20px;
        box-sizing: border-box;
    }

    .news-featured__arrow {
        position: absolute;
        right: 12px;
        bottom: 0;
        width: 42px;
        height: 42px;
        z-index: 5;
    }

    .news-featured__desc {
        -webkit-line-clamp: 7;
        line-clamp: 7;
    }

    .news-featured__shape {
        display: none;
    }

    .news-grid {
        padding: 0 16px 48px;
    }

    .news-grid__container {
        grid-template-columns: 1fr;
    }

    .news-grid__more-btn {
        font-size: 16px;
        min-width: 170px;
        height: 44px;
    }

    .news-detail__hero {
        padding: calc(var(--header-height) + 16px) 16px 0;
    }

    .news-detail__hero-img {
        height: 200px;
        border-radius: 12px;
    }

        .news-detail__hero-img::after {
            border-radius: 12px;
        }

    .news-detail__header {
        padding: 24px 16px 0;
    }

    .news-detail__title {
        font-size: 22px;
    }

    .news-detail__content {
        padding: 32px 16px 0;
    }

    .news-detail__intro,
    .news-detail__section p {
        font-size: 16px;
        line-height: 26px;
    }

    .news-detail__section h2 {
        font-size: 20px;
        line-height: 28px;
    }

    .news-detail__content blockquote {
        font-size: 16px;
        line-height: 26px;
        padding: 12px 0 12px 16px;
    }

    .news-detail__content ul li {
        font-size: 16px;
        line-height: 26px;
    }

    .news-detail__inline-img {
        padding: 0 16px;
    }

    .news-detail__related {
        padding: 60px 16px 48px;
    }

    .news-detail__related-title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .news-detail__related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .news-detail__cta {
        padding: 32px 16px 0;
    }

    .news-detail__cta-btn {
        font-size: 16px;
        min-width: 170px;
        height: 44px;
    }

    .news-detail__share {
        flex-direction: row;
        align-items: center;
        gap: 16px;
    }
}
