/* style/news-industry-news.css */

/* Base styles for the page */
.page-news-industry-news {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: #FFFFFF; /* Default body background */
}

/* Header offset for fixed header */
.page-news-industry-news__hero-section {
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
}

/* Hero Section */
.page-news-industry-news__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-news-industry-news__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-news-industry-news__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 2;
}

.page-news-industry-news__hero-content {
    position: relative;
    z-index: 3;
    color: #FFFFFF;
    max-width: 900px;
    padding: 20px;
}

.page-news-industry-news__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    line-height: 1.2;
}

.page-news-industry-news__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-news-industry-news__hero-description a {
    color: #FFFF00; /* Link color for hero description */
    text-decoration: underline;
}

/* General Section Styling */
.page-news-industry-news__section {
    padding: 60px 20px;
    background-color: #FFFFFF;
    text-align: center;
}

.page-news-industry-news__section.page-news-industry-news__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #FFFFFF;
}

.page-news-industry-news__section.page-news-industry-news__light-bg {
    background-color: #f8f8f8; /* Light gray background */
    color: #333333;
}

.page-news-industry-news__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-news-industry-news__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #017439; /* Brand primary color */
}

.page-news-industry-news__section-title--white {
    color: #FFFFFF;
}

.page-news-industry-news__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: left;
}

.page-news-industry-news__text-block--white {
    color: #FFFFFF;
}

.page-news-industry-news__text-block a {
    color: #017439;
    text-decoration: none;
    font-weight: bold;
}

.page-news-industry-news__text-block--white a {
    color: #FFFF00; /* Yellow for links on dark background */
}

.page-news-industry-news__text-block a:hover {
    text-decoration: underline;
}

/* Highlighted keywords */
.page-news-industry-news .highlight {
    font-weight: bold;
    color: #017439; /* Brand primary color for highlights */
}

.page-news-industry-news__dark-bg .highlight {
    color: #FFFF00; /* Yellow for highlights on dark background */
}

/* Buttons */
.page-news-industry-news__btn-primary,
.page-news-industry-news__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
}

.page-news-industry-news__btn-primary {
    background-color: #C30808; /* Red for primary action (Register/Login) */
    color: #FFFF00; /* Yellow font for primary button */
    border: 2px solid #C30808;
    margin-top: 20px;
}

.page-news-industry-news__btn-primary:hover {
    background-color: #a00606;
    border-color: #a00606;
}

.page-news-industry-news__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Brand primary color for secondary button text */
    border: 2px solid #017439;
    margin-top: 15px;
}

.page-news-industry-news__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #017439;
}

/* Grid Layouts */
.page-news-industry-news__grid-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    margin-top: 40px;
}

.page-news-industry-news__grid-container--reverse {
    flex-direction: row-reverse;
}

.page-news-industry-news__grid-item {
    flex: 1;
    min-width: 300px;
}

.page-news-industry-news__grid-item.page-news-industry-news__text-content {
    flex: 1.5;
}

.page-news-industry-news__grid-item.page-news-industry-news__image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news-industry-news__image-full {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Promotion Cards */
.page-news-industry-news__promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-news-industry-news__promo-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 25px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #333333;
}

.page-news-industry-news__promo-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

.page-news-industry-news__promo-title {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #017439;
}

.page-news-industry-news__promo-title a {
    color: #017439;
    text-decoration: none;
}

.page-news-industry-news__promo-title a:hover {
    text-decoration: underline;
}

.page-news-industry-news__promo-description {
    font-size: 1em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-news-industry-news__promo-card .page-news-industry-news__btn-secondary {
    align-self: flex-start;
    margin-top: auto; /* Push button to bottom */
}

.page-news-industry-news__cta-text {
    margin-top: 40px;
    font-size: 1.1em;
}

.page-news-industry-news__cta-text a {
    color: #FFFF00; /* Yellow for links on dark background */
    text-decoration: underline;
}

/* Video Section */
.page-news-industry-news__video-section {
    background-color: #f0f0f0;
    padding-top: 60px; /* Default for non-hero sections */
    padding-bottom: 60px;
}

.page-news-industry-news__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-news-industry-news__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    cursor: pointer; /* Indicates it's clickable */
}

.page-news-industry-news__video-description {
    margin-top: 20px;
    font-size: 1.1em;
    color: #333333;
}

.page-news-industry-news__video-description a {
    color: #017439;
    text-decoration: underline;
}

.page-news-industry-news__video-cta {
    margin-top: 30px;
}

/* Feature Grid (Betting Types) */
.page-news-industry-news__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    text-align: left;
}

.page-news-industry-news__feature-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}