/* Mobile Responsive Styles for News Pages */

@media screen and (max-width: 1199px) {
    /* News Header Section */
    .news-header-section {
        width: 90%;
        margin-top: 8vw;
        margin-bottom: 8vw;
    }

    .news-main-header {
        font-size: 8vw;
        margin-bottom: 4vw;
    }

    .news-intro-text {
        font-size: 3.5vw;
    }

    /* News Grid - 2 columns for tablet */
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2vw;
    }

    .news-card {
        height: auto;
        min-height: 70vw;
        border-radius: 3vw;
    }

    .news-card-image-container {
        height: 30vw;
    }

    .news-card-content {
        padding: 4vw;
    }

    .news-card-date {
        font-size: 2.8vw;
        margin-bottom: 2vw;
    }

    .news-card-title {
        font-size: 3.8vw;
        margin: 0 0 2.5vw 0;
        padding: 0;
    }

    .news-card-excerpt {
        font-size: 3vw;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Load More Button */
    .load-more-button {
        padding: 3vw 6vw;
        font-size: 3.5vw;
        border-radius: 2vw;
        border-width: 0.3vw;
    }

    /* Bottom Section (CTA) */
    .news-bottom-section-container {
        display: none;
    }

    .news-bottom-section-container-mob {
        display: block;
        position: relative;
        margin-left: 4vw;
        margin-bottom: 34vw;
        margin-top: 34vw;
    }

    .news-bottom-section-image {
        width: 91.8vw;
        height: 96vw;
    }

    .news-bottom-section-left-container-content-header {
        text-align: center;
        color: #0F0F10;
        font-size: 4.5vw;
        font-family: "Mulish", Arial, sans-serif;
        font-weight: 700;
        position: absolute;
        top: 17vw;
        left: 11.4vw;
    }

    .news-bottom-section-right-text {
        position: absolute;
        width: 70vw;
        left: 11.4vw;
        top: 33vw;
        text-align: center;
        color: #535458;
    }

    .news-bottom-section-left-container-button-container {
        top: 68vw;
        position: absolute;
        width: 91.8vw;
    }

    .news-bottom-section-left-container-button {
        margin-top: 3.4vw;
        background-color: #779FEE;
        border: solid;
        border-width: 0.3vw;
        border-color: #0F0F10;
        display: grid;
        grid-template-columns: auto auto;
        gap: 2.7vw;
        border-radius: 2.6vw;
        height: 10.9vw;
        padding: 1.7vw;
        padding-top: 0.9vw;
        padding-bottom: 0.8vw;
        line-height: 1vw;
        color: #0F0F10;
        align-content: center;
        margin-left: auto;
        margin-right: auto;
    }

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

    .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: 3.5vw;
    }

    /* Article Page */
    .article-main {
        max-width: 90%;
    }

    .article-back-button-container {
        margin-top: 6vw;
        margin-bottom: 4vw;
    }

    .article-back-button {
        font-size: 3vw;
        gap: 1.5vw;
    }

    .back-arrow {
        width: 3vw;
        height: 3vw;
    }

    .article-header {
        margin-bottom: 5vw;
        padding: 0;
    }

    .article-title {
        font-size: 6.5vw;
        margin: 0 0 3vw 0;
        padding: 0;
        line-height: 1.3;
    }

    .article-date {
        font-size: 3vw;
    }

    .article-featured-image-container {
        margin: 0 0 6vw;
        border-radius: 3vw;
    }

    .article-featured-image {
        max-height: 80vw;
        object-fit: contain;
    }

    .article-content {
        font-size: 3.5vw;
        margin-bottom: 6vw;
    }

    .article-content h2 {
        font-size: 5.5vw;
        margin-top: 6vw;
        margin-bottom: 3vw;
    }

    .article-content h3 {
        font-size: 4.5vw;
        margin-top: 5vw;
        margin-bottom: 2.5vw;
    }

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

    .article-content img {
        max-height: 80vw;
        object-fit: contain;
        border-radius: 3vw;
        margin: 5vw 0;
    }

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

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

    .article-content blockquote {
        border-left-width: 0.8vw;
        padding-left: 4vw;
        margin: 4vw 0;
    }

    .article-tags-container {
        padding-top: 5vw;
        border-top-width: 0.3vw;
        margin-bottom: 6vw;
    }

    .article-tags-label {
        font-size: 3.5vw;
        margin-bottom: 2.5vw;
    }

    .article-tags {
        gap: 2vw;
    }

    .article-tag {
        font-size: 2.8vw;
        padding: 1.5vw 3vw;
        border-radius: 5vw;
    }

    .related-articles-section {
        margin-bottom: 10vw;
    }

    .related-articles-header {
        font-size: 6vw;
        margin-bottom: 5vw;
    }

    .article-cta-section {
        padding: 5vw 0;
        margin-bottom: 6vw;
    }

    .article-cta-text {
        font-size: 3.5vw;
    }

    /* Image Lightbox */
    .lightbox-close {
        font-size: 7vw;
        top: 3vw;
        right: 4vw;
    }

    .lightbox-image {
        max-width: 92vw;
        max-height: 85vh;
        border-radius: 2vw;
    }
}

@media screen and (max-width: 768px) {
    /* News Grid - 1 column for mobile */
    .news-grid {
        grid-template-columns: 1fr;
        gap: 4vw;
    }

    .news-header-section {
        width: 85%;
        margin-top: 10vw;
        margin-bottom: 10vw;
    }

    .news-main-header {
        font-size: 10vw;
        margin-bottom: 5vw;
    }

    .news-intro-text {
        font-size: 4vw;
    }

    .news-card {
        min-height: 90vw;
        border-radius: 4vw;
    }

    .news-card-image-container {
        height: 45vw;
    }

    .news-card-content {
        padding: 5vw;
    }

    .news-card-date {
        font-size: 3.5vw;
        margin-bottom: 2.5vw;
    }

    .news-card-title {
        font-size: 5vw;
        margin: 0 0 3vw 0;
        padding: 0;
    }

    .news-card-excerpt {
        font-size: 3.8vw;
        line-height: 1.7;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .load-more-container {
        margin-top: 6vw;
    }

    .load-more-button {
        padding: 4vw 8vw;
        font-size: 4vw;
        border-radius: 2.5vw;
    }

    .news-bottom-section-container-mob {
        display: block;
        position: relative;
        margin-left: 4vw;
        margin-bottom: 34vw;
        margin-top: 34vw;
    }

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

    .news-bottom-section-image {
        width: 91.8vw;
        height: 96vw;
    }

    .news-bottom-section-left-container-content-header {
        text-align: center;
        color: #0F0F10;
        font-size: 4.5vw;
        font-family: "Mulish", Arial, sans-serif;
        font-weight: 700;
        width: 70vw;
        z-index: 1;
        position: absolute;
        top: 17vw;
        left: 11.4vw;
    }

    .news-bottom-section-right-text {
        position: absolute;
        width: 70vw;
        left: 11.4vw;
        top: 40vw;
        text-align: center;
        color: #535458;
    }

    .news-bottom-section-left-container-button-container {
        top: 68vw;
        position: absolute;
        width: 91.8vw;
    }

    .news-bottom-section-left-container-button {
        margin-top: 3.4vw;
        background-color: #779FEE;
        border: solid;
        border-width: 0.13vw;
        border-color: #779FEE;
        display: grid;
        grid-template-columns: auto auto;
        gap: 2vw;
        border-radius: 2.5vw;
        height: 8.5vw;
        padding: 8.3vw;
        padding-top: 3.5vw;
        padding-bottom: 3.5vw;
        line-height: 1vw;
        color: #0F0F10;
        position: relative;
        margin-left: auto;
        margin-right: auto;
    }

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

    .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: 3.5vw;
    }

    /* Article Page Mobile */
    .article-main {
        max-width: 92%;
    }

    .article-back-button-container {
        margin-top: 8vw;
        margin-bottom: 5vw;
    }

    .article-back-button {
        font-size: 3.8vw;
        gap: 2vw;
    }

    .back-arrow {
        width: 4vw;
        height: 4vw;
    }

    .article-header {
        margin-bottom: 6vw;
        padding: 0;
    }

    .article-title {
        font-size: 8vw;
        margin: 0 0 4vw 0;
        padding: 0;
    }

    .article-date {
        font-size: 3.5vw;
    }

    .article-featured-image-container {
        margin: 0 0 7vw;
        border-radius: 4vw;
    }

    .article-featured-image {
        max-height: 100vw;
        object-fit: contain;
    }

    .article-content {
        font-size: 4vw;
        margin-bottom: 8vw;
    }

    .article-content h2 {
        font-size: 6.5vw;
        margin-top: 7vw;
        margin-bottom: 4vw;
    }

    .article-content h3 {
        font-size: 5.5vw;
        margin-top: 6vw;
        margin-bottom: 3vw;
    }

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

    .article-content img {
        border-radius: 4vw;
        margin: 6vw 0;
    }

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

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

    .article-content blockquote {
        border-left-width: 1vw;
        padding-left: 5vw;
        margin: 5vw 0;
    }

    .article-tags-container {
        padding-top: 6vw;
        margin-bottom: 8vw;
    }

    .article-tags-label {
        font-size: 4.5vw;
        margin-bottom: 3vw;
    }

    .article-tags {
        gap: 2.5vw;
    }

    .article-tag {
        font-size: 3.5vw;
        padding: 2vw 4vw;
        border-radius: 6vw;
    }

    .related-articles-section {
        margin-bottom: 12vw;
    }

    .related-articles-header {
        font-size: 7.5vw;
        margin-bottom: 6vw;
    }

    .no-articles-message {
        padding: 10vw 0;
        font-size: 4vw;
    }

    .article-cta-section {
        padding: 6vw 0;
        margin-bottom: 8vw;
    }

    .article-cta-text {
        font-size: 4vw;
    }

    /* Image Lightbox Mobile */
    .lightbox-close {
        font-size: 9vw;
        top: 4vw;
        right: 5vw;
    }

    .lightbox-image {
        max-width: 90vw;
        max-height: 80vh;
        border-radius: 3vw;
    }
}
