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

/* Custom color variables */
:root {
    --win55-primary-color: #11A84E;
    --win55-secondary-color: #22C768;
    --win55-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --win55-card-bg: #11271B;
    --win55-background: #08160F;
    --win55-text-main: #F2FFF6;
    --win55-text-secondary: #A7D9B8;
    --win55-border: #2E7A4E;
    --win55-glow: #57E38D;
    --win55-gold: #F2C14E;
    --win55-divider: #1E3A2A;
    --win55-deep-green: #0A4B2C;
}

/* Base styles for the page content, ensuring contrast with body background */
.page-news-gambling-industry-trends {
    background-color: var(--win55-background); /* Matches body background if not overridden by shared */
    color: var(--win55-text-main); /* Light text on dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Add some padding at the bottom */
}

/* Hero Section */
.page-news-gambling-industry-trends__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, more bottom padding */
    overflow: hidden; /* Ensure content doesn't overflow */
    box-sizing: border-box;
}

.page-news-gambling-industry-trends__hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-news-gambling-industry-trends__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-width: 1200px; /* Constrain image width for large screens */
    border-radius: 8px;
}

.page-news-gambling-industry-trends__hero-content {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: center;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--win55-text-main);
}

.page-news-gambling-industry-trends__main-title {
    font-size: clamp(2.2rem, 4vw, 3rem); /* Responsive font size for H1 */
    color: var(--win55-gold); /* Gold color for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5); /* Subtle glow */
}

.page-news-gambling-industry-trends__description {
    font-size: 1.1rem;
    color: var(--win55-text-secondary);
    margin-bottom: 30px;
}

/* General Section Styles */
.page-news-gambling-industry-trends__section {
    padding: 60px 20px;
    background-color: var(--win55-background); /* Default background */
    color: var(--win55-text-main);
}

.page-news-gambling-industry-trends__section--dark {
    background-color: var(--win55-card-bg); /* Darker background for contrast sections */
}

.page-news-gambling-industry-trends__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for container */
    box-sizing: border-box;
}

.page-news-gambling-industry-trends__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    color: var(--win55-primary-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-news-gambling-industry-trends__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--win55-divider);
    border-radius: 2px;
}

.page-news-gambling-industry-trends__content-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-news-gambling-industry-trends__sub-title {
    font-size: clamp(1.4rem, 2.5vw, 1.8rem);
    color: var(--win55-glow);
    margin-top: 30px;
    margin-bottom: 15px;
    border-left: 4px solid var(--win55-primary-color);
    padding-left: 15px;
}

.page-news-gambling-industry-trends__text {
    font-size: 1rem;
    color: var(--win55-text-main);
    margin-bottom: 10px;
}

.page-news-gambling-industry-trends__text a {
    color: var(--win55-secondary-color);
    text-decoration: underline;
}

.page-news-gambling-industry-trends__text a:hover {
    color: var(--win55-glow);
    text-decoration: none;
}

.page-news-gambling-industry-trends__text--center {
    text-align: center;
}

.page-news-gambling-industry-trends__highlight {
    color: var(--win55-gold);
    font-weight: bold;
}

.page-news-gambling-industry-trends__image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Minimum size requirement */
    min-height: 200px; /* Minimum size requirement */
}

/* Video Section Styles */
.page-news-gambling-industry-trends__video-section {
    padding: 60px 20px;
    background-color: var(--win55-background);
}

.page-news-gambling-industry-trends__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: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.page-news-gambling-industry-trends__video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    object-fit: cover;
}

.page-news-gambling-industry-trends__video-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Call to Action Button Styles */
.page-news-gambling-industry-trends__cta-button {
    display: inline-block;
    padding: 15px 30px;
    background: var(--win55-button-gradient);
    color: var(--win55-text-main); /* White text on button */
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%; /* Ensure button responsiveness */
    box-sizing: border-box;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    margin-top: 20px;
}

.page-news-gambling-industry-trends__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-news-gambling-industry-trends__cta-button--secondary {
    background: var(--win55-deep-green);
    border: 2px solid var(--win55-primary-color);
}

.page-news-gambling-industry-trends__cta-button--secondary:hover {
    background: var(--win55-primary-color);
}

.page-news-gambling-industry-trends__cta-button--gold {
    background: var(--win55-gold);
    color: var(--win55-deep-green); /* Dark text on gold button */
    font-weight: bold;
}

.page-news-gambling-industry-trends__cta-button--gold:hover {
    background: linear-gradient(180deg, #F2C14E 0%, #D4A53C 100%);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-news-gambling-industry-trends__hero-content {
        max-width: 768px;
    }
    .page-news-gambling-industry-trends__container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .page-news-gambling-industry-trends {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-news-gambling-industry-trends__hero-section {
        padding: 10px 0 40px 0;
    }

    .page-news-gambling-industry-trends__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

    .page-news-gambling-industry-trends__main-title {
        font-size: 2rem !important; /* Mobile specific font size */
        line-height: 1.3;
    }

    .page-news-gambling-industry-trends__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .page-news-gambling-industry-trends__section {
        padding: 40px 0; /* Adjust section padding for mobile */
    }

    .page-news-gambling-industry-trends__container {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-news-gambling-industry-trends__section-title {
        font-size: 2rem !important;
        margin-bottom: 30px;
    }

    .page-news-gambling-industry-trends__sub-title {
        font-size: 1.3rem !important;
        margin-top: 20px;
        margin-bottom: 10px;
    }

    .page-news-gambling-industry-trends__text {
        font-size: 0.95rem;
    }

    /* Mobile image responsiveness */
    .page-news-gambling-industry-trends img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: unset !important; /* Allow smaller images if needed, but still responsive */
        min-height: unset !important;
    }
    
    /* Mobile button responsiveness */
    .page-news-gambling-industry-trends__cta-button,
    .page-news-gambling-industry-trends__btn-primary,
    .page-news-gambling-industry-trends__btn-secondary,
    .page-news-gambling-industry-trends a[class*="button"],
    .page-news-gambling-industry-trends a[class*="btn"] {
        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;
    }
    
    /* Button container mobile adaptation */
    .page-news-gambling-industry-trends__cta-buttons,
    .page-news-gambling-industry-trends__button-group,
    .page-news-gambling-industry-trends__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }

    .page-news-gambling-industry-trends__cta-buttons {
        display: flex;
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    /* Video section mobile responsiveness */
    .page-news-gambling-industry-trends__video-section {
        padding-top: 10px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .page-news-gambling-industry-trends__video-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px; /* Add inner padding for video wrapper */
    }

    .page-news-gambling-industry-trends__video-wrapper video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
}