@font-face {
    font-family: "Mulish";
    src: url("../fonts/Mulish-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}
@font-face {
    font-family: "Mulish";
    src: url("../fonts/Mulish-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: "Jost";
    src: url("../fonts/Jost-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

/* Hide language switcher on news pages but maintain spacing */
.languages-container {
    visibility: hidden;
    pointer-events: none;
}

/* News Header Section */
.news-header-section {
    text-align: center;
    margin: auto;
    width: 62.5vw;
    margin-top: 3.4vw;
    margin-bottom: 4.5vw;
}

.news-main-header {
    margin-bottom: 1.5vw;
}

.news-intro-text {
    font-size: 1.125vw;
    color: #9B9DA0;
}

/* News Grid Container */
.news-grid-container {
    margin-left: 1.35vw;
    margin-right: 1.35vw;
    margin-bottom: 10.5vw;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7vw;
    margin-bottom: 3.8vw;
}

/* News Card - Based on approach-block design */
.news-card {
    border-radius: 1.4vw;
    background-color: #F0F0F2;
    box-shadow: 0 0.13vw 0.2vw rgba(15, 15, 16, 0.15);
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 31vw;
}

.news-card:hover {
    transform: translateY(-0.5vw);
    box-shadow: 0 0.5vw 1vw rgba(15, 15, 16, 0.2);
}

.news-card-image-container {
    width: 100%;
    height: 14vw;
    overflow: hidden;
    background-color: #E1E2E5;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.news-card-content {
    padding: 2vw;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-card-date {
    font-family: "Jost", Arial, sans-serif;
    font-size: 0.875vw;
    color: #9B9DA0;
    margin-bottom: 0.8vw;
    display: block;
}

.news-card-title {
    font-family: "Mulish", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.4vw;
    color: #0F0F10;
    line-height: 130%;
    margin: 0 0 1vw 0;
    padding: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt-wrapper {
    position: relative;
    max-height: 6.5em;
    overflow: hidden;
    flex-grow: 1;
}

.news-card-excerpt {
    font-size: 0.95vw;
    line-height: 1.6;
    color: #5B5C5F;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-excerpt-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2.5em;
    background: linear-gradient(transparent, #F0F0F2);
}

/* Load More Button */
.load-more-container {
    text-align: center;
    margin-top: 2.7vw;
}

.load-more-button {
    border-radius: 0.73vw;
    border: 0.13vw solid #0F0F10;
    background-color: #0F0F10;
    color: #F0F0F2;
    padding: 1.1vw 2.5vw;
    font-family: "Jost", Arial, sans-serif;
    font-weight: 500;
    font-size: 1vw;
    cursor: pointer;
    transition: all 0.3s ease;
}

.load-more-button:hover {
    background-color: transparent;
    color: #0F0F10;
}

/* No Articles Message */
.no-articles-message {
    text-align: center;
    padding: 5vw 0;
    color: #9B9DA0;
}

/* Bottom Section (CTA) - Branded Design */
.news-bottom-section-image {
    width: 97vw;
}

.news-bottom-section-container {
    margin-bottom: 13.8vw;
    position: relative;
}

.news-bottom-section-right-container {
    position: absolute;
    width: 28vw;
    height: 11.1vw;
    background-color: #0F0F10;
    border-radius: 1.4vw;
    top: 3.4vw;
    left: 65.5vw;
    z-index: 1;
    align-content: center;
}

.news-bottom-section-right-text {
    width: 24vw;
    margin: auto;
    margin-top: auto;
    color: #D2D4D9;
}

.news-bottom-section-left-container {
    height: 23vw;
    width: 31.7vw;
    position: absolute;
    top: 17.3vw;
    left: 3.5vw;
    background: url('../images/Folder.svg') no-repeat center;
    background-size: cover;
    align-content: center;
}

.news-bottom-section-left-container-content {
    margin: auto;
    width: 26.6vw;
    height: 13.1vw;
    margin-top: 1vw;
}

.news-bottom-section-left-container-content-header {
    color: #0F0F10;
    font-size: 2vw;
    font-family: "Mulish", Arial, sans-serif;
    font-weight: 700;
}

.news-bottom-section-left-container-button {
    margin-top: 3.4vw;
    background-color: #0F0F10;
    border: solid;
    border-width: 0.13vw;
    border-color: #0F0F10;
    display: grid;
    grid-template-columns: auto auto;
    gap: 0.5vw;
    border-radius: 0.9vw;
    height: 3vw;
    padding: 1.7vw;
    padding-top: 0.9vw;
    padding-bottom: 0.8vw;
    line-height: 1vw;
    color: #F0F0F2;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-bottom-section-left-container-button > .angled-arrow {
    width: 1vw;
    height: 1vw;
    content: url("../images/Angled_Arrow.svg");
}

.news-bottom-section-left-container-button:hover > .angled-arrow {
    content: url("../images/Angled_Arrow_Black.svg");
}

.news-bottom-section-left-container-button:hover {
    background-color: transparent;
    color: #0F0F10;
}

.news-bottom-section-left-container-button-text {
    text-align: right;
    font-family: "Jost", Arial, sans-serif;
    font-weight: 500;
    font-size: 1vw;
}

.news-bottom-section-container-mob {
    display: none;
}

/* ============================================
   ARTICLE PAGE STYLES
   ============================================ */

.article-main {
    max-width: 70vw;
    margin: 0 auto;
}

/* Back Button */
.article-back-button-container {
    margin-top: 2vw;
    margin-bottom: 2vw;
}

.article-back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5vw;
    font-family: "Jost", Arial, sans-serif;
    font-size: 0.95vw;
    color: #5B5C5F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-back-button:hover {
    color: #0F0F10;
}

.back-arrow {
    width: 1vw;
    height: 1vw;
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

.article-back-button:hover .back-arrow {
    transform: rotate(90deg) translateX(-0.2vw);
}

/* Article Container */
.article-container {
    margin-bottom: 6vw;
}

/* Article Header - Title and Date */
.article-header {
    text-align: center;
    margin-bottom: 3vw;
    padding: 0;
}

.article-title {
    margin: 0 0 1.5vw 0;
    padding: 0;
    line-height: 120%;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 2vw;
}

.article-date {
    font-family: "Jost", Arial, sans-serif;
    font-size: 0.95vw;
    color: #9B9DA0;
    white-space: nowrap;
}

/* Featured Image - Separate from header */
.article-featured-image-container {
    width: 100%;
    margin: 0 0 4vw;
    border-radius: 1.4vw;
    overflow: hidden;
}

.article-featured-image {
    width: 100%;
    max-height: 30vw;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Article Content */
.article-content {
    font-family: "Jost", Arial, sans-serif;
    font-size: 1.125vw;
    line-height: 1.8;
    color: #0F0F10;
    margin-bottom: 3.8vw;
}

.article-content h2 {
    font-family: "Mulish", Arial, sans-serif;
    font-weight: 700;
    font-size: 2vw;
    margin-top: 3vw;
    margin-bottom: 1.5vw;
    line-height: 130%;
}

.article-content h3 {
    font-family: "Mulish", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5vw;
    margin-top: 2.5vw;
    margin-bottom: 1.2vw;
    line-height: 130%;
}

.article-content p {
    margin-bottom: 1.5vw;
}

.article-content img {
    width: 100%;
    height: auto;
    border-radius: 1.4vw;
    margin: 2.5vw 0;
}

.article-content ul,
.article-content ol {
    margin-bottom: 1.5vw;
    padding-left: 2vw;
}

.article-content li {
    margin-bottom: 0.8vw;
}

.article-content blockquote {
    border-left: 0.3vw solid #0F0F10;
    padding-left: 2vw;
    margin: 2vw 0;
    font-style: italic;
    color: #5B5C5F;
}

.article-content a {
    color: #0F0F10;
    text-decoration: underline;
    transition: opacity 0.3s ease;
}

.article-content a:hover {
    opacity: 0.7;
}

/* Article Tags */
.article-tags-container {
    padding-top: 2.7vw;
    border-top: 0.1vw solid #E1E2E5;
    margin-bottom: 3.8vw;
}

.article-tags-label {
    font-family: "Mulish", Arial, sans-serif;
    font-weight: 700;
    font-size: 1.1vw;
    margin-bottom: 1vw;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7vw;
}

.article-tag {
    font-family: "Jost", Arial, sans-serif;
    font-size: 0.875vw;
    padding: 0.5vw 1.2vw;
    background-color: #F0F0F2;
    border-radius: 2vw;
    color: #5B5C5F;
}

/* Related Articles Section */
.related-articles-section {
    margin-bottom: 6vw;
}

.related-articles-header {
    font-family: "Mulish", Arial, sans-serif;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3vw;
}

.related-articles-grid {
    margin-bottom: 0;
}

/* Article CTA Section */
.article-cta-section {
    text-align: center;
    padding: 3vw 0;
    margin-bottom: 4vw;
}

.article-cta-text {
    font-family: "Jost", Arial, sans-serif;
    font-size: 1.1vw;
    color: #5B5C5F;
}

.article-cta-link {
    color: #779FEE;
    text-decoration: none;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.article-cta-link:hover {
    opacity: 0.7;
}

/* Image Lightbox */
.image-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    transition: opacity 0.4s ease, background-color 0.4s ease;
    overflow: hidden;
}

.image-lightbox.active {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.85);
}

.lightbox-image {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    max-width: 96vw;
    max-height: 96vh;
    width: 96vw;
    height: auto;
    object-fit: contain;
    border-radius: 0.5vw;
    box-shadow: 0 1vw 3vw rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.image-lightbox.active .lightbox-image {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.lightbox-close {
    position: fixed;
    top: 1.5vw;
    right: 2vw;
    color: #F0F0F2;
    font-size: 2.5vw;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.3s ease;
    line-height: 1;
    user-select: none;
    opacity: 0;
    z-index: 10000;
}

.image-lightbox.active .lightbox-close {
    opacity: 1;
}

.lightbox-close:hover {
    opacity: 0.7 !important;
}
