/* style/resources-smart-betting-guide.css */

/* Base styles for the page content */
.page-resources-smart-betting-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text on light background */
    background-color: #ffffff; /* Page background color */
}

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

.page-resources-smart-betting-guide__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-smart-betting-guide__section-title {
    font-size: 2.5em;
    color: #017439; /* Brand primary color for titles */
    margin-bottom: 20px;
    text-align: center;
}

.page-resources-smart-betting-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.page-resources-smart-betting-guide__hero-section {
    position: relative;
    color: #ffffff;
    padding: 0 20px 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 70vh;
    box-sizing: border-box;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    overflow: hidden; /* To contain the absolute image */
}

.page-resources-smart-betting-guide__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.page-resources-smart-betting-guide__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-resources-smart-betting-guide__hero-content-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-resources-smart-betting-guide__hero-content {
    position: relative; /* Make content appear above overlay */
    max-width: 900px;
    z-index: 2; /* Higher z-index than overlay */
}

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

.page-resources-smart-betting-guide__hero-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-resources-smart-betting-guide__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-smart-betting-guide__btn-register,
.page-resources-smart-betting-guide__btn-login,
.page-resources-smart-betting-guide__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    font-size: 1.1em;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons are responsive */
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-smart-betting-guide__btn-register {
    background-color: #C30808; /* Custom color for Register */
    color: #FFFF00; /* Custom text color for Register */
    border: 2px solid #C30808;
}

.page-resources-smart-betting-guide__btn-register:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
}

.page-resources-smart-betting-guide__btn-login {
    background-color: #C30808; /* Custom color for Login */
    color: #FFFF00; /* Custom text color for Login */
    border: 2px solid #C30808;
}

.page-resources-smart-betting-guide__btn-login:hover {
    background-color: #e02a2a;
    border-color: #e02a2a;
}

.page-resources-smart-betting-guide__btn-secondary {
    background-color: #ffffff;
    color: #017439;
    border: 2px solid #017439;
}

.page-resources-smart-betting-guide__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #005f2e;
    border-color: #005f2e;
}

/* Dark Background Section */
.page-resources-smart-betting-guide__dark-bg {
    background-color: #017439; /* Brand primary color */
    color: #ffffff;
}

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

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__paragraph {
    color: #f0f0f0;
}

/* Features Grid / Game Types Grid / Steps Grid */
.page-resources-smart-betting-guide__features-grid,
.page-resources-smart-betting-guide__game-types-grid,
.page-resources-smart-betting-guide__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-smart-betting-guide__feature-card,
.page-resources-smart-betting-guide__game-card,
.page-resources-smart-betting-guide__step-card {
    background-color: #ffffff;
    color: #333333;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease;
    min-height: 200px; /* Enforce min height for card content */
    display: flex;
    flex-direction: column;
}

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__feature-card,
.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__game-card {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-resources-smart-betting-guide__feature-card:hover,
.page-resources-smart-betting-guide__game-card:hover,
.page-resources-smart-betting-guide__step-card:hover {
    transform: translateY(-5px);
}

.page-resources-smart-betting-guide__card-title {
    font-size: 1.5em;
    color: #017439;
    margin-bottom: 15px;
}

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__card-title {
    color: #ffffff;
}

.page-resources-smart-betting-guide__card-title a {
    color: #017439;
    text-decoration: none;
}

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__card-title a {
    color: #ffffff;
}

.page-resources-smart-betting-guide__card-title a:hover {
    text-decoration: underline;
}

.page-resources-smart-betting-guide__card-description {
    font-size: 1em;
    color: #555555;
}

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__card-description {
    color: #f0f0f0;
}

/* Image blocks */
.page-resources-smart-betting-guide__image-block {
    margin: 40px auto;
    max-width: 1000px;
    text-align: center;
}

.page-resources-smart-betting-guide__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    display: block; /* Ensures proper spacing and alignment */
    margin: 0 auto;
    min-width: 200px; /* Enforce minimum size */
    min-height: 200px; /* Enforce minimum size */
}

/* Benefit List / Security List */
.page-resources-smart-betting-guide__benefit-list,
.page-resources-smart-betting-guide__security-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    margin-bottom: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    text-align: left;
}

.page-resources-smart-betting-guide__list-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-height: 180px;
}

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__list-item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.page-resources-smart-betting-guide__list-title {
    font-size: 1.4em;
    color: #017439;
    margin-bottom: 10px;
}

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__list-title {
    color: #ffffff;
}

.page-resources-smart-betting-guide__list-description {
    font-size: 1em;
    color: #555555;
}

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__list-description {
    color: #f0f0f0;
}

.page-resources-smart-betting-guide__list-description a {
    color: #017439;
    text-decoration: underline;
}

.page-resources-smart-betting-guide__dark-bg .page-resources-smart-betting-guide__list-description a {
    color: #ffffff;
}

/* CTA Section */
.page-resources-smart-betting-guide__cta-section {
    background-color: #f5f5f5;
    padding: 80px 0;
}

.page-resources-smart-betting-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* FAQ Section */
.page-resources-smart-betting-guide__faq-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.page-resources-smart-betting-guide__faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    text-align: left;
}

.page-resources-smart-betting-guide__faq-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-resources-smart-betting-guide__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: #f9f9f9;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #333333;
    transition: background-color 0.3s ease;
}

.page-resources-smart-betting-guide__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-smart-betting-guide__faq-question h3 {
    margin: 0;
    color: #333333;
    font-size: 1em; /* Adjust to fit parent font size */
}

.page-resources-smart-betting-guide__faq-toggle {
    font-size: 1.5em;
    font-weight: normal;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-resources-smart-betting-guide__faq-item.active .page-resources-smart-betting-guide__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-smart-betting-guide__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    background-color: #ffffff;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.page-resources-smart-betting-guide__faq-item.active .page-resources-smart-betting-guide__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-smart-betting-guide__faq-answer p {
    margin-bottom: 0;
    color: #555555;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-smart-betting-guide__hero-title {
        font-size: 3em;
    }
    .page-resources-smart-betting-guide__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-smart-betting-guide__hero-section {
        min-height: 60vh;
        padding: 100px 15px 60px;
        padding-top: var(--header-offset, 120px) !important; /* Mobile fixed header spacing */
    }
    .page-resources-smart-betting-guide__hero-title {
        font-size: 2.2em;
    }
    .page-resources-smart-betting-guide__hero-description {
        font-size: 1em;
    }
    .page-resources-smart-betting-guide__hero-buttons {
        flex-direction: column;
        gap: 15px;
    }
}