.news-detail-main {
    width: 100%;
}

.news-container {
    max-width: 1020px;
    margin: 0 auto;
    padding: 60px 20px 100px;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
    margin-top: 30px;
}

.news-title {
    text-align: center !important;
    color: var(--color-black) !important;
    margin-bottom: 20px;
    font-weight: 600 !important;
    font-size: var(--font-size-lead-in-1) !important;
    line-height: var(--line-height-lead-in-1) !important;
    letter-spacing: 0%;
}

.news-meta {
    display: flex;
    justify-content: center;
}

.news-date-pill {
    background-color: var(--color-navy-blue);
    color: var(--color-white);
    padding: 4px 14px 6px;
    border-radius: 20px;
    font-weight: 500;
    font-size: var(--font-size-body-r) !important;
    line-height: var(--line-height-body-r) !important;
    letter-spacing: 0%;
}

.news-content-body {
    margin-bottom: 40px;
    border-top: 1px solid var(--color-black-trans-10);
    padding-top: 40px;
    font-weight: 400;
    font-size: var(--font-size-body-r) !important;
    line-height: var(--line-height-body-r) !important;
    letter-spacing: 0%;
}

.news-content-body img {
    max-width: 100%;
    height: auto;
    margin: 20px 0;
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 20px;
}

.news-content-body p {
    margin-bottom: 20px;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 400;
    font-size: var(--font-size-body-r) !important;
    line-height: var(--line-height-body-r) !important;
    letter-spacing: 0%;
}

.news-downloads {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
}

.news-downloads .btn-secondary:not(:hover) {
    background-color: var(--color-gray-light);
}

.news-back-action {
    margin-bottom: 0;
}

.news-back-action .btn-primary::after {
    order: -2;
    transform: rotate(180deg);
}

.news-back-action .btn-primary::before {
    order: -1;
}

.news-back-action .btn-primary .btn-text-wrapper {
    order: 0;
}

.news-related-section {
    width: 100%;
    margin-top: 0; 
}

.news-content-body h1,
.news-content-body h2,
.news-content-body h3,
.news-content-body h4,
.news-content-body h5,
.news-content-body h6 {
    font-weight: 500;
    letter-spacing: 0%;
    text-align: center;
    margin-bottom: 20px;
    padding-top: 20px;
}

.news-content-body h2 {
    font-size: var(--font-size-lead-in-3) !important;
    line-height: var(--line-height-lead-in-3) !important;
}

.news-content-body .wp-block-columns {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding-top: 20px;
}

.news-content-body .wp-block-column {
    flex: 1;
    min-width: 0;
}

.news-content-body .wp-block-columns .wp-block-image {
    margin: 0;
    width: 100%;
}

.news-content-body .wp-block-columns .wp-block-image img {
    width: 100%!important;
    height: 100%!important;
    max-height: none;
    aspect-ratio: 478 / 270;
    object-fit: cover;
    border-radius: 20px;
    margin: 0;
}

@media (max-width: 767px) {
    .news-title {
        font-size: var(--font-size-lead-in-2) !important;
        line-height: var(--line-height-lead-in-2) !important;
    }
    
    .news-content-body .wp-block-columns {
        gap: 20px;
        flex-direction: column;
    }

    .news-content-body .wp-block-columns .wp-block-column:not(:last-child) {
        margin-bottom: 0;
    }

    .news-container {
        padding: 60px 0 70px;
    }

    .news-header {
        margin-top: 0;
        margin-bottom: 35px;
    }

    .news-content-body {
        padding-top: 35px;
    }

    .news-downloads {
        flex-direction: column;
    }

    .news-downloads .btn-secondary {
        width: fit-content;
    }

    .news-content-body img {
        aspect-ratio: 330 / 135;
    }
}

.news-content-block.has-border-top .news-block-title {
    border-bottom: 1px solid var(--color-black-trans-10);
    padding-bottom: 20px;
}

.news-subtitles-wrapper {
    margin-top: 20px;
}

.news-subtitle-item {
    margin-bottom: 20px;
}

.news-subtitle-item .news-block-subtitle {
    font-size: var(--font-size-body-r) !important;
    line-height: var(--line-height-body-r) !important;
    font-weight: 500;
    text-align: left;
    margin-bottom: 10px;
    padding-top: 0;
}