:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #26A9E0; /* Using primary color as a dark background for contrast */
    --login-button-color: #EA7C07;
    --black-color: #000000;
}

.page-news-today-highlights {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light); /* Default light background */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-news-today-highlights__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-news-today-highlights__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-news-today-highlights__subsection-title {
    font-size: 2em;
    color: var(--primary-color);
    text-align: center;
    margin-top: 50px;
    margin-bottom: 30px;
}

.page-news-today-highlights__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.page-news-today-highlights__highlight {
    color: var(--primary-color);
    font-weight: bold;
}

.page-news-today-highlights a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-news-today-highlights a:hover {
    text-decoration: underline;
}

/* Button styles */
.page-news-today-highlights__btn-primary,
.page-news-today-highlights__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
    box-sizing: border-box;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text break */
}

.page-news-today-highlights__btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.page-news-today-highlights__btn-primary:hover {
    background-color: #1e87b6; /* Manually darkened */
    color: var(--text-light);
}

.page-news-today-highlights__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-news-today-highlights__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-news-today-highlights__btn-center {
    display: block;
    margin: 30px auto;
    max-width: 250px;
}

/* Hero Section */
.page-news-today-highlights__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-align: center;
    min-height: 600px;
    overflow: hidden;
    background-color: var(--primary-color); /* Fallback background */
}

.page-news-today-highlights__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-news-today-highlights__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Overlay for text readability */
}

.page-news-today-highlights__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    padding: 20px;
}

.page-news-today-highlights__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.2;
}

.page-news-today-highlights__hero-description {
    font-size: 1.4em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-news-today-highlights__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Light/Dark Background Sections */
.page-news-today-highlights__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

.page-news-today-highlights__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0;
}

.page-news-today-highlights__dark-bg .page-news-today-highlights__section-title,
.page-news-today-highlights__dark-bg .page-news-today-highlights__subsection-title,
.page-news-today-highlights__dark-bg .page-news-today-highlights__highlight {
    color: var(--secondary-color); /* White for titles on dark background */
}

.page-news-today-highlights__dark-bg a {
    color: var(--secondary-color);
}

.page-news-today-highlights__dark-bg .page-news-today-highlights__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border-color: var(--secondary-color);
}

.page-news-today-highlights__dark-bg .page-news-today-highlights__btn-primary:hover {
    background-color: #f0f0f0; /* Slightly darker white */
    color: var(--primary-color);
}

.page-news-today-highlights__dark-bg .page-news-today-highlights__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.page-news-today-highlights__dark-bg .page-news-today-highlights__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Image content */
.page-news-today-highlights__image-content {
    display: block;
    margin: 40px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Match Card Grid */
.page-news-today-highlights__match-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 50px;
}

.page-news-today-highlights__match-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.page-news-today-highlights__match-card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    display: block;
}

.page-news-today-highlights__match-card-content {
    padding: 20px;
    flex-grow: 1;
    color: var(--text-light);
}

.page-news-today-highlights__match-card-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.page-news-today-highlights__match-card-title a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-news-today-highlights__match-card-title a:hover {
    text-decoration: underline;
}

.page-news-today-highlights__match-card-text {
    font-size: 1em;
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-news-today-highlights__match-card-link {
    display: inline-block;
    color: var(--primary-color);
    background-color: var(--secondary-color);
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.page-news-today-highlights__match-card-link:hover {
    background-color: #f0f0f0;
    text-decoration: none;
}

/* Feature Grid */
.page-news-today-highlights__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-today-highlights__feature-item {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

.page-news-today-highlights__feature-image {
    width: 100%; /* Ensure it takes full width of its container */
    max-width: 250px; /* Max width for image */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-news-today-highlights__feature-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-news-today-highlights__feature-text {
    font-size: 1em;
    color: var(--text-dark);
}

/* Guide Section */
.page-news-today-highlights__guide-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 40px;
}

.page-news-today-highlights__guide-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: var(--text-light);
}

.page-news-today-highlights__guide-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-news-today-highlights__guide-text {
    font-size: 1.1em;
    color: var(--text-light);
}

/* Promotions Section */
.page-news-today-highlights__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-news-today-highlights__promo-card {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-dark);
}

.page-news-today-highlights__promo-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
}

.page-news-today-highlights__promo-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-news-today-highlights__promo-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-news-today-highlights__promo-title a:hover {
    text-decoration: underline;
}

.page-news-today-highlights__promo-text {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* FAQ Section */
.page-news-today-highlights__faq-list {
    margin-top: 40px;
}

.page-news-today-highlights__faq-item {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--text-light);
}

.page-news-today-highlights__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    color: var(--secondary-color);
    background-color: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-news-today-highlights__faq-question::-webkit-details-marker {
    display: none;
}

.page-news-today-highlights__faq-question::marker {
    display: none;
}

.page-news-today-highlights__faq-item[open] .page-news-today-highlights__faq-question {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-news-today-highlights__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 10px;
}

.page-news-today-highlights__faq-answer {
    padding: 0 20px 20px;
    font-size: 1em;
    color: var(--text-light);
}

.page-news-today-highlights__faq-answer p {
    margin-bottom: 10px;
    color: var(--text-light);
}

/* CTA Section */
.page-news-today-highlights__cta-section {
    padding: 80px 0;
    text-align: center;
}

.page-news-today-highlights__text-center {
    text-align: center;
}

.page-news-today-highlights__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-news-today-highlights__hero-title {
        font-size: 3em;
    }
    .page-news-today-highlights__hero-description {
        font-size: 1.2em;
    }
    .page-news-today-highlights__section-title {
        font-size: 2em;
    }
    .page-news-today-highlights__subsection-title {
        font-size: 1.8em;
    }
}

@media (max-width: 768px) {
    .page-news-today-highlights {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-news-today-highlights__container {
        padding: 0 15px;
    }

    /* Fixed header offset for mobile */
    .page-news-today-highlights__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-news-today-highlights__hero-title {
        font-size: 2.2em;
    }
    .page-news-today-highlights__hero-description {
        font-size: 1em;
    }
    .page-news-today-highlights__hero-cta {
        flex-direction: column;
        gap: 15px;
    }
    .page-news-today-highlights__btn-primary,
    .page-news-today-highlights__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-news-today-highlights__cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
        flex-wrap: wrap !important;
    }
    .page-news-today-highlights__section-title {
        font-size: 1.8em;
    }
    .page-news-today-highlights__subsection-title {
        font-size: 1.5em;
    }

    /* Image responsive */
    .page-news-today-highlights img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-news-today-highlights__image-content,
    .page-news-today-highlights__match-card-image,
    .page-news-today-highlights__feature-image,
    .page-news-today-highlights__promo-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important; /* Ensure images scale down */
    }

    .page-news-today-highlights__introduction-section,
    .page-news-today-highlights__matches-section,
    .page-news-today-highlights__why-choose-us-section,
    .page-news-today-highlights__guide-section,
    .page-news-today-highlights__promotions-section,
    .page-news-today-highlights__faq-section,
    .page-news-today-highlights__cta-section {
        padding: 40px 0;
    }

    .page-news-today-highlights__match-card-grid,
    .page-news-today-highlights__feature-grid,
    .page-news-today-highlights__promo-grid {
        grid-template-columns: 1fr;
    }

    .page-news-today-highlights__feature-item,
    .page-news-today-highlights__promo-card {
        padding: 20px;
    }
    
    /* Ensure all containing elements for images/buttons/videos also handle overflow */
    .page-news-today-highlights__section,
    .page-news-today-highlights__card,
    .page-news-today-highlights__container,
    .page-news-today-highlights__hero-section,
    .page-news-today-highlights__introduction-section,
    .page-news-today-highlights__matches-section,
    .page-news-today-highlights__why-choose-us-section,
    .page-news-today-highlights__guide-section,
    .page-news-today-highlights__promotions-section,
    .page-news-today-highlights__faq-section,
    .page-news-today-highlights__cta-section,
    .page-news-today-highlights__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        /* For sections that might have content extending beyond padding */
        overflow-x: hidden !important; 
    }
    .page-news-today-highlights__hero-image-wrapper {
        height: 100%; /* Maintain height for hero image */
    }
}