/* style/resources-latest-betting-tech-trends.css */

:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #121212; /* Body background from shared.css */
    --accent-login: #EA7C07;
}

.page-resources-latest-betting-tech-trends {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--background-dark);
}

.page-resources-latest-betting-tech-trends__hero-section {
    position: relative;
    width: 100%;
    height: 600px; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
    overflow: hidden;
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-latest-betting-tech-trends__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: 2;
}

.page-resources-latest-betting-tech-trends__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-resources-latest-betting-tech-trends__main-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    line-height: 1.2;
}

.page-resources-latest-betting-tech-trends__intro-text {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page-resources-latest-betting-tech-trends__content-section {
    padding: 60px 0;
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__light-bg {
    background-color: #1a1a1a; /* Slightly lighter dark background for contrast */
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__dark-bg {
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-latest-betting-tech-trends__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-latest-betting-tech-trends__article-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.page-resources-latest-betting-tech-trends__article-block p {
    font-size: 1.1em;
    color: var(--text-light);
    margin-bottom: 15px;
}

.page-resources-latest-betting-tech-trends__article-block ul {
    list-style: disc inside;
    margin-left: 20px;
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__article-block li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__article-block strong {
    color: var(--primary-color);
}

.page-resources-latest-betting-tech-trends__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Ensure minimum size */
    min-width: 200px;
    min-height: 200px;
}

.page-resources-latest-betting-tech-trends__subsection-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-latest-betting-tech-trends__btn-primary,
.page-resources-latest-betting-tech-trends__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;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-resources-latest-betting-tech-trends__btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    margin-right: 15px;
}

.page-resources-latest-betting-tech-trends__btn-primary:hover {
    background-color: darken(var(--primary-color), 10%);
    border-color: darken(var(--primary-color), 10%);
}

.page-resources-latest-betting-tech-trends__btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-latest-betting-tech-trends__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-latest-betting-tech-trends__cta-section {
    padding: 80px 20px;
    text-align: center;
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.page-resources-latest-betting-tech-trends__cta-title {
    font-size: 2.8em;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

.page-resources-latest-betting-tech-trends__cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: var(--secondary-color);
}

.page-resources-latest-betting-tech-trends__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* FAQ Section */
.page-resources-latest-betting-tech-trends__faq-section {
    padding: 60px 0;
    background-color: var(--background-dark);
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-latest-betting-tech-trends__faq-item {
    background-color: #1a1a1a; /* Slightly lighter dark background for items */
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-resources-latest-betting-tech-trends__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: #262626; /* Darker background for question */
    transition: background-color 0.3s ease;
}

.page-resources-latest-betting-tech-trends__faq-question:hover {
    background-color: #333333;
}

.page-resources-latest-betting-tech-trends__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-latest-betting-tech-trends__faq-item.active .page-resources-latest-betting-tech-trends__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-latest-betting-tech-trends__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__faq-item.active .page-resources-latest-betting-tech-trends__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-resources-latest-betting-tech-trends__faq-answer p {
    margin-bottom: 15px;
    color: var(--text-light);
}

.page-resources-latest-betting-tech-trends__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-latest-betting-tech-trends__faq-answer .page-resources-latest-betting-tech-trends__btn-secondary {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-latest-betting-tech-trends__main-title {
        font-size: 2.8em;
    }
    .page-resources-latest-betting-tech-trends__section-title {
        font-size: 2em;
    }
    .page-resources-latest-betting-tech-trends__subsection-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-resources-latest-betting-tech-trends {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-latest-betting-tech-trends__hero-section {
        height: 450px;
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-latest-betting-tech-trends__hero-content {
        padding: 15px;
    }

    .page-resources-latest-betting-tech-trends__main-title {
        font-size: 2.2em;
        margin-bottom: 15px;
    }

    .page-resources-latest-betting-tech-trends__intro-text {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-resources-latest-betting-tech-trends__content-section {
        padding: 40px 0;
    }

    .page-resources-latest-betting-tech-trends__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-latest-betting-tech-trends__subsection-title {
        font-size: 1.3em;
    }

    .page-resources-latest-betting-tech-trends__article-block {
        gap: 20px;
    }

    .page-resources-latest-betting-tech-trends__image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        min-width: 200px !important;
        min-height: 200px !important;
    }

    .page-resources-latest-betting-tech-trends__container,
    .page-resources-latest-betting-tech-trends__article-block,
    .page-resources-latest-betting-tech-trends__faq-section,
    .page-resources-latest-betting-tech-trends__cta-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }

    .page-resources-latest-betting-tech-trends__btn-primary,
    .page-resources-latest-betting-tech-trends__btn-secondary,
    .page-resources-latest-betting-tech-trends a[class*="button"],
    .page-resources-latest-betting-tech-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;
        margin-right: 0;
    }

    .page-resources-latest-betting-tech-trends__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-latest-betting-tech-trends__faq-question {
        font-size: 1.1em;
        padding: 15px;
    }

    .page-resources-latest-betting-tech-trends__faq-answer {
        padding: 0 15px;
    }

    .page-resources-latest-betting-tech-trends__faq-item.active .page-resources-latest-betting-tech-trends__faq-answer {
        padding: 15px;
    }

    .page-resources-latest-betting-tech-trends__cta-title {
        font-size: 2em;
    }
}