/* style/sports-betting-guide.css */

/* Base styles for the page content */
.page-sports-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
    overflow-x: hidden; /* Prevent horizontal scroll on wider elements */
}

.page-sports-betting-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-sports-betting-guide__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color */
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-sports-betting-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #017439;
    border-radius: 2px;
}

.page-sports-betting-guide__text-block {
    margin-bottom: 20px;
    font-size: 1.1em;
    text-align: justify;
}

.page-sports-betting-guide__text-block--white {
    color: #ffffff;
}

/* Links within content */
.page-sports-betting-guide a {
    color: #017439;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-sports-betting-guide a:hover {
    color: #005a2e;
    text-decoration: underline;
}

/* Buttons */
.page-sports-betting-guide__btn-primary,
.page-sports-betting-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%; /* Ensure responsiveness */
    box-sizing: border-box; /* Include padding/border in width */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Break long words */
}

.page-sports-betting-guide__btn-primary {
    background-color: #C30808; /* Register/Login color */
    color: #FFFF00; /* Register/Login font color */
    border: 2px solid #C30808;
}

.page-sports-betting-guide__btn-primary:hover {
    background-color: #e00b0b;
    border-color: #e00b0b;
    color: #ffffff;
}

.page-sports-betting-guide__btn-secondary {
    background-color: transparent;
    color: #017439;
    border: 2px solid #017439;
}

.page-sports-betting-guide__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* CTA Buttons container */
.page-sports-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

/* Hero Section */
.page-sports-betting-guide__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;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-sports-betting-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-sports-betting-guide__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: -1;
}

.page-sports-betting-guide__hero-content {
    position: relative;
    z-index: 1;
    color: #ffffff;
    max-width: 900px;
    padding: 20px;
}

.page-sports-betting-guide__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #ffffff;
}

.page-sports-betting-guide__hero-description {
    font-size: 1.5em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-sports-betting-guide__hero-actions .page-sports-betting-guide__btn-primary,
.page-sports-betting-guide__hero-actions .page-sports-betting-guide__btn-secondary {
    margin: 10px;
}

/* General Section Styling */
.page-sports-betting-guide__intro-section,
.page-sports-betting-guide__types-section,
.page-sports-betting-guide__responsible-gaming-section,
.page-sports-betting-guide__tips-section,
.page-sports-betting-guide__cta-section {
    padding: 80px 0;
    background-color: #FFFFFF; /* Light background for these sections */
}

.page-sports-betting-guide__dark-bg {
    background-color: #017439; /* Brand primary color for dark sections */
    color: #ffffff;
}

.page-sports-betting-guide__dark-bg .page-sports-betting-guide__section-title {
    color: #ffffff;
}

.page-sports-betting-guide__dark-bg .page-sports-betting-guide__section-title::after {
    background-color: #ffffff;
}

/* Video Section */
.page-sports-betting-guide__video-section {
    padding: 80px 0;
    text-align: center;
}

.page-sports-betting-guide__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 900px;
    margin: 40px auto;
    background-color: #000; /* Placeholder background */
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    box-sizing: border-box;
}

.page-sports-betting-guide__video-wrapper .page-sports-betting-guide__video,
.page-sports-betting-guide__video-wrapper .page-sports-betting-guide__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-sports-betting-guide__video-link {
    display: block; /* Make the anchor tag block-level to cover the video */
}

/* Grid Container for Cards */
.page-sports-betting-guide__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Card Styling */
.page-sports-betting-guide__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Ensure cards have equal height in a row */
}

.page-sports-betting-guide__card--dark {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark background */
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-sports-betting-guide__card--dark .page-sports-betting-guide__card-title {
    color: #ffffff;
}

.page-sports-betting-guide__card--dark .page-sports-betting-guide__btn-primary {
    background-color: #C30808;
    color: #FFFF00;
    border-color: #C30808;
}

.page-sports-betting-guide__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    margin-bottom: 20px;
}

.page-sports-betting-guide__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
    padding: 0 20px;
}

.page-sports-betting-guide__card-description {
    font-size: 1em;
    color: #555555;
    padding: 0 20px;
    flex-grow: 1; /* Allow description to take available space */
}

.page-sports-betting-guide__card-description--white {
    color: #f0f0f0;
}

.page-sports-betting-guide__card .page-sports-betting-guide__btn-primary {
    margin-top: 20px;
    align-self: center;
}

/* Lists */
.page-sports-betting-guide__ordered-list,
.page-sports-betting-guide__unordered-list {
    list-style-position: inside;
    margin-left: 20px;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.page-sports-betting-guide__ordered-list li,
.page-sports-betting-guide__unordered-list li {
    margin-bottom: 10px;
    text-align: justify;
}