body {
    background-image: url('../img/arcade-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/** CSS Variables **/
:root {
    --top-height: 78vh;
    --top-ad-height: 18vh;
    --top-content-height: calc(var(--top-height) - var(--top-ad-height));
    --primary-color: #1a1a1a;
    --secondary-color: #f8f9fa;
    --accent-color: #007bff;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --header-bg: #2c2c2c;
    --card-bg: #ffffff;
    --text-primary: #333333;
    --text-secondary: #666666;
}

.border-right {
    border-color: hsla(165,6%,86%,0.4) !important;
}

.news__divider {
    width: 100%;
    height: 2px;
    background-color: hsla(165,6%,86%,0.7);
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.news__promo .promo-wrapper img {
    max-height: var(--top-ad-height);
    width: auto;
}
/** News Listing **/
.news__listing {
    width: 100%;
}

.news__listing-post {
    position: relative;
    margin-bottom: 30px;
    padding: .15rem;
    border: 2px solid hsla(210,3%,76%,0.8);
}

.news__listing-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news__listing-post:hover img {
    filter: brightness(.3);
}

.news__listing-post__title {
    font-family: 'Roboto Condensed', 'AlienwareBold', sans-serif;
    background-color: white;
    color: black;
    padding: .5rem 2rem;
    text-transform: uppercase;
    width: 100%;
    height: 60px;
}

.news__listing-post:hover .news__listing-post__title {
    background-color: rgb(60,58,61);
    color: white;
}
/** Mobile News Listing **/
@media(max-width: 567px) {
    .news__listing {
        padding: .5rem;
    }

    .news__listing .row > [class*="col-"] {
        padding-left: 7.5px;
        padding-right: 7.5px;
    }

    .news__listing-post__title {
        padding: .25rem;
        font-size: .8em;
        height: 60px;
    }
}

/** Featured Widget **/
.featured-widget {
    padding-left: 6rem;
    padding-right: 6rem;
    width: 100%;
}


.featured-widget .news__listing-post {
    width: 33.33333%;
    padding-right: 10px;
    padding-left: 10px;
    margin-left: 5px;
    margin-right: 5px;
    border: none;
}

.featured-widget .news__listing-post .news__listing-post__info {
    padding: 1.25rem 1.75rem;
}

/** Mobile Featured Widget **/
@media(max-width: 576px) {
    .featured-widget {
        padding: 1rem;
    }

    .featured-widget .news__listing-post {
        width: 100%;
    }

    .featured-widget .news__listing-post .news__listing-post__info {
        padding: 0 2rem;
    }
}

/** Modern News Layout - Dark Theme with Cyan Accents **/

/** News Header **/
.news__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.news__header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.news__create-btn,
.news__filter-btn {
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-family: 'Roboto Condensed', sans-serif;
    border: 2px solid #00ffff;
    background: transparent;
    cursor: pointer;
}

.news__filter-btn:hover {
    color: #00ffff;
}

/** Hide Filter Controls **/
.news__filters {
    display: none !important;
}

/** News Card Styles - Main Design **/
.news-card-container {
    padding-bottom: 24px;
}
.news-card {
    padding: 0px;
    background: rgba(23, 23, 23, 0.79);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    margin-bottom: 0px;
    position: relative;
}

.news-card-image {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.news-card-image img {
    height: 100%;
    border-radius: 0px;
    padding: 0px;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    object-fit: cover;
}

.news-card-content {
    padding: 0px;
}

.news-card-title {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    background: transparent;
    text-align: left;
    font-size: 22px;
    padding: 10px;
    line-height: 24px;
    font-weight: 600;
}

.news-card-description {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    background: transparent;
    text-align: left;
    font-size: 18px;
    padding: 10px;
    line-height: 24px;
    font-weight: 400;
}

.news-card-read-more {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(0, 255, 255);
    background: transparent;
    text-align: right;
    font-size: 18px;
    padding: 10px;
    line-height: 24px;
    font-weight: 600;
    text-decoration: none;
    display: block;
}

.news-card-read-more:hover {
    color: #fff;
    text-decoration: none;
}

.news-card-footer {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px;
    background: rgba(23, 23, 23, 0.5);
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
}

.news-card-author {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(0, 255, 255);
    background: transparent;
    text-align: left;
    font-size: 14px;
    padding: 10px;
    line-height: 14px;
    width: 100%;
    font-weight: 600;
}

.news-card-date {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    background: transparent;
    text-align: right;
    font-size: 14px;
    padding: 10px;
    line-height: 14px;
    width: 100%;
    font-weight: 400;
}

/* Force button to right side */
.news__header .news__create-btn {
    margin-left: auto;
    flex-shrink: 0;
}

/* Main Container */
.news-landing-container {
    border-bottom: 1px solid #343A40 !important;
    margin: 0 auto !important;
    padding: 20px !important;
    background: rgba(23, 23, 23, 0.75) !important;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
}

/* News Header */
.news-header {
    text-align: center !important;
    margin-bottom: 30px !important;
}

.news-title {
    font-family: 'Roboto Condensed', sans-serif !important;
    color: #ffffff !important;
    font-size: 28px !important;
    font-weight: bold !important;
    margin: 0 0 15px 0 !important;
    line-height: 1.2 !important;
    display: inline-block !important;
    border-bottom: 1px solid #343A40 !important;
}

.news-meta {
    font-family: 'Roboto Condensed', sans-serif !important;
    color: #00ffff !important;
    font-size: 18px !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

/* News Featured Image Section */
.news-image-section {
    margin-bottom: 30px !important;
    text-align: center !important;
}

.news-featured-image {
    width: 100% !important;
    max-width: 800px !important;
    height: auto !important;
    border-radius: 15px !important;
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2) !important;
}

.news-body-image {
    float: right !important;
    margin: 0 0 20px 20px !important;
    max-width: 300px !important;
}

.news-body-image img {
    border-radius: 10px !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3) !important;
}

.news-description {
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 16px !important;
    font-weight: 300 !important;
    color: #fff !important;
    line-height: 1.6 !important;
}

.news-description p {
    margin-bottom: 15px !important;
}

.news-description a {
    color: #00ffff !important;
    text-decoration: none !important;
}

.news-description a:hover {
    color: #00cccc !important;
    text-decoration: underline !important;
}

.news-content * {
    max-width: 100% !important;
}

.news-content,
.news-content p {
    font-family: 'Roboto Condensed', 'AlienwareRegular', sans-serif !important;
    color: #ffffff;
}

/* News Actions */
.news-actions {
    margin-top: 30px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* News Social */
.news-social {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 20px !important;
}

/* Style the existing social sharing to match reference design */
.news-social .btn-group {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
}

.news-social .btn {
    background: transparent !important;
    border: none !important;
    padding: 10px !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-size: 24px !important;
    transition: all 0.3s ease !important;
    border-radius: 0 !important;
}

.news-social .btn:hover {
    color: #00ffff !important;
    transform: scale(1.1) !important;
    background: transparent !important;
}

/* User Action Buttons Styling */
.news-actions .btn-group .btn {
    color: #ffffff !important;
    background: transparent !important;
    font-family: 'Roboto Condensed', sans-serif !important;
    font-size: 14px !important;
    margin: 0 2px !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}


/* Related News Section - Grid Layout (No Carousel) */
.featured-widget.news {
    border-radius: 20px !important;
}

.featured-widget.news h3,
.featured-widget.news .widget-title {
    font-family: 'Roboto Condensed', sans-serif !important;
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 700 !important;
    margin: 0 0 30px 0 !important;
    text-align: center !important;
    border-bottom: 1px solid #444 !important;
    padding-bottom: 15px !important;
}

.featured-widget.news .container,
.featured-widget.news .row {
    margin: 0 !important;
    padding: 0 !important;
}

.featured-widget.news .col {
    padding: 10px !important;
    margin-bottom: 20px !important;
}

/* Ensure 6 posts display in grid (2 rows of 3 columns on desktop) */
@media (min-width: 768px) {
    .featured-widget.news .col {
        flex: 0 0 33.333333% !important;
        max-width: 33.333333% !important;
    }
}

@media (max-width: 767px) {
    .featured-widget.news .col {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .news-landing-container {
        padding-left: 0 !important;
        padding-right: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        border-radius: 0 !important;
    }

    .news-header,
    .news-image-section,
    .news-content,
    .news-actions,
    .news-social {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .news-title {
        font-size: 24px !important;
    }

    .news-meta {
        font-size: 16px !important;
    }
    
    .news-body-image {
        float: none !important;
        margin: 0 0 20px 0 !important;
        max-width: 100% !important;
        text-align: center !important;
    }
    
    .news-actions,
    .news-social {
        flex-direction: column !important;
        gap: 10px !important;
    }
}

/** Link Styling **/
.news-card a {
    font-family: 'Roboto Condensed', 'AlienwareRegular', sans-serif;
    text-decoration: none;
    color: rgb(0,255,255);
}

.news-card a:hover {
    text-decoration: none;
    color: inherit;
}

/** Responsive Design **/
@media (max-width: 768px) {
    .news__header {
        padding: 1.5rem 0;
    }
    
    .news__header-content {
        padding: 0 1rem;
    }
    
    .news-card-title {
        font-size: 18px;
        line-height: 20px;
    }
    
    .news-card-description {
        font-size: 16px;
        line-height: 20px;
    }
    
    .news-card-author,
    .news-card-date {
        font-size: 12px;
        padding: 8px;
    }
}

@media (max-width: 576px) {
    .news__header {
        padding: 1rem 0;
    }
    
    .news__header-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .news__create-btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .news-card-title {
        font-size: 16px;
        line-height: 18px;
    }
    
    .news-card-description {
        font-size: 14px;
        line-height: 18px;
    }
}

/* Featured News Lead Styles */
.news-lead-container {
    padding: 0px;
    color: transparent;
}

.news-lead-row {
    margin: 0px;
    padding: 0px;
}

.news-lead-col {
    padding: 10px;
}

.news-lead-card {
    padding: 0px;
    background: rgba(23, 23, 23, 0.79);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    border: 4px none rgba(33, 37, 41, 0.2);
}

.news-lead-image {
    height: 100%;
    border-radius: 0px;
    padding: 0px;
    width: 100%;
}

.news-lead-image--first {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.news-lead-image--other {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.news-lead-title {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    background: transparent;
    text-align: left;
    font-size: 22px;
    padding: 10px;
    line-height: 24px;
}

.news-lead-description {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
    background: transparent;
    text-align: left;
    font-size: 18px;
    padding: 10px;
    line-height: 24px;
}

.news-lead-read-more {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(0, 255, 255);
    background: transparent;
    text-align: right;
    font-size: 18px;
    padding: 10px;
    line-height: 24px;
}

.news-lead-footer {
    padding: 10px;
    background: rgba(23, 23, 23, 0.5);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
}

.news-lead-author {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: rgb(0, 255, 255);
    background: transparent;
    text-align: left;
    font-size: 14px;
    padding: 10px;
    line-height: 14px;
    width: 100%;
}

.news-lead-date {
    margin: 0px;
    font-family: 'Roboto Condensed', sans-serif;
    color: var(--bs-body-bg);
    background: transparent;
    text-align: right;
    font-size: 14px;
    padding: 10px;
    line-height: 14px;
    width: 100%;
}