/* style/resources-online-betting-safety-tips.css */

:root {
    --primary-color: #003366;
    --secondary-color: #FFCC00;
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --background-dark: #121212;
    --card-background-dark: rgba(255, 255, 255, 0.08);
    --border-color: rgba(255, 255, 255, 0.15);
}

.page-resources-online-betting-safety-tips {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-on-dark); /* Default text color for the page, assuming dark body background */
    background-color: var(--background-dark);
}

.page-resources-online-betting-safety-tips__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

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

.page-resources-online-betting-safety-tips__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 51, 102, 0.7), rgba(0, 0, 0, 0.8));
    z-index: 2;
}

.page-resources-online-betting-safety-tips__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--text-on-dark);
}

.page-resources-online-betting-safety-tips__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-online-betting-safety-tips__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-on-dark);
}

.page-resources-online-betting-safety-tips__hero-cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-online-betting-safety-tips__btn-primary,
.page-resources-online-betting-safety-tips__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-online-betting-safety-tips__btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-online-betting-safety-tips__btn-primary:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

.page-resources-online-betting-safety-tips__btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.page-resources-online-betting-safety-tips__btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.page-resources-online-betting-safety-tips__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
    background-color: var(--background-dark);
    color: var(--text-on-dark);
}

.page-resources-online-betting-safety-tips__container {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
}

.page-resources-online-betting-safety-tips__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 40px;
    padding-top: 20px;
}

.page-resources-online-betting-safety-tips__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    line-height: 1.7;
    color: var(--text-on-dark);
}

.page-resources-online-betting-safety-tips__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-resources-online-betting-safety-tips__grid-item {
    background-color: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-resources-online-betting-safety-tips__image-content {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-resources-online-betting-safety-tips__item-title {
    font-size: 1.5em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-resources-online-betting-safety-tips__feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-resources-online-betting-safety-tips__feature-item {
    background-color: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
}

.page-resources-online-betting-safety-tips__image-with-text {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 50px;
}

.page-resources-online-betting-safety-tips__image-left {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-resources-online-betting-safety-tips__image-right {
    flex: 1;
    max-width: 50%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.page-resources-online-betting-safety-tips__text-content {
    flex: 1;
}

.page-resources-online-betting-safety-tips__list {
    list-style: none;
    padding: 0;
    margin-bottom: 50px;
}

.page-resources-online-betting-safety-tips__list-item {
    background-color: var(--card-background-dark);
    padding: 25px;
    margin-bottom: 15px;
    border-radius: 8px;
    border-left: 5px solid var(--secondary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-resources-online-betting-safety-tips__list-item .page-resources-online-betting-safety-tips__item-title {
    color: var(--secondary-color);
    margin-top: 0;
    font-size: 1.3em;
}

.page-resources-online-betting-safety-tips__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-resources-online-betting-safety-tips__card {
    background-color: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    color: var(--text-on-dark);
}

.page-resources-online-betting-safety-tips__card-title {
    font-size: 1.4em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-resources-online-betting-safety-tips__support-section {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.page-resources-online-betting-safety-tips__support-section .page-resources-online-betting-safety-tips__text-content a {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-resources-online-betting-safety-tips__support-section .page-resources-online-betting-safety-tips__text-content a:hover {
    color: #e6b800;
}

.page-resources-online-betting-safety-tips__faq-section {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-online-betting-safety-tips__faq-item {
    background-color: var(--card-background-dark);
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.page-resources-online-betting-safety-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--secondary-color);
    cursor: pointer;
    background-color: rgba(0, 51, 102, 0.7);
    transition: background-color 0.3s ease;
}

.page-resources-online-betting-safety-tips__faq-question:hover {
    background-color: rgba(0, 51, 102, 0.9);
}

.page-resources-online-betting-safety-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-online-betting-safety-tips__faq-item.active .page-resources-online-betting-safety-safety-tips__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-online-betting-safety-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-on-dark);
}

.page-resources-online-betting-safety-tips__faq-item.active .page-resources-online-betting-safety-tips__faq-answer {
    max-height: 1000px !important; /* Use !important to ensure it overrides */
    padding: 20px 25px;
}

.page-resources-online-betting-safety-tips__faq-answer p {
    margin-top: 0;
    margin-bottom: 10px;
}

.page-resources-online-betting-safety-tips__cta-bottom {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .page-resources-online-betting-safety-tips__hero-title {
        font-size: 2.5em;
    }

    .page-resources-online-betting-safety-tips__section-title {
        font-size: 2em;
    }

    .page-resources-online-betting-safety-tips__image-with-text,
    .page-resources-online-betting-safety-tips__support-section {
        flex-direction: column;
        text-align: center;
    }

    .page-resources-online-betting-safety-tips__image-left,
    .page-resources-online-betting-safety-tips__image-right {
        max-width: 80%;
    }
}

@media (max-width: 768px) {
    .page-resources-online-betting-safety-tips {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-online-betting-safety-tips__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important; /* Ensure mobile header offset */
    }

    .page-resources-online-betting-safety-tips__hero-title {
        font-size: 1.8em;
    }

    .page-resources-online-betting-safety-tips__hero-description {
        font-size: 1em;
    }

    .page-resources-online-betting-safety-tips__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
    }

    .page-resources-online-betting-safety-tips__btn-primary,
    .page-resources-online-betting-safety-tips__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-online-betting-safety-tips__content-area {
        padding: 30px 15px;
    }

    .page-resources-online-betting-safety-tips__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-online-betting-safety-tips__grid-layout,
    .page-resources-online-betting-safety-tips__feature-list,
    .page-resources-online-betting-safety-tips__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-resources-online-betting-safety-tips__image-left,
    .page-resources-online-betting-safety-tips__image-right {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    /* Mobile image responsive adaptation */
    .page-resources-online-betting-safety-tips img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-resources-online-betting-safety-tips__section,
    .page-resources-online-betting-safety-tips__card,
    .page-resources-online-betting-safety-tips__container,
    .page-resources-online-betting-safety-tips__image-with-text,
    .page-resources-online-betting-safety-tips__support-section,
    .page-resources-online-betting-safety-tips__faq-section,
    .page-resources-online-betting-safety-tips__cta-bottom {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden; /* Prevent horizontal scroll */
    }

    .page-resources-online-betting-safety-tips__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }

    .page-resources-online-betting-safety-tips__faq-answer {
        padding: 15px 20px;
    }

    .page-resources-online-betting-safety-tips__cta-bottom {
        flex-direction: column;
        gap: 15px;
    }
}