/* style/resources-how-to-choose-reliable-online-casino.css */

:root {
    --primary-color: #FFD700;
    --secondary-color: #1A1A1A;
    --accent-color: #e74c3c; /* Red for emphasis */
    --text-on-dark: #ffffff;
    --text-on-light: #333333;
    --background-dark: #0a0a0a;
    --background-light: #f1f3f5;
    --border-color: #e0e0e0;
}

.page-resources-how-to-choose-reliable-online-casino {
    font-family: 'Arial', sans-serif;
    line-height: 1.7;
    color: var(--text-on-dark); /* Default text color for dark body background */
    background-color: var(--background-dark); /* Body background is dark */
}

.page-resources-how-to-choose-reliable-online-casino__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Fixed navigation bar spacing */
.page-resources-how-to-choose-reliable-online-casino__hero-section {
    padding-top: 180px; /* Desktop: Adjust based on fixed header height */
}

/* Hero Section */
.page-resources-how-to-choose-reliable-online-casino__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #000000);
    color: var(--text-on-dark);
}

.page-resources-how-to-choose-reliable-online-casino__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-how-to-choose-reliable-online-casino__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-width: 800px; /* Limit image width in hero for better composition */
}

.page-resources-how-to-choose-reliable-online-casino__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-how-to-choose-reliable-online-casino__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-how-to-choose-reliable-online-casino__main-title {
    font-size: 48px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-how-to-choose-reliable-online-casino__hero-description {
    font-size: 20px;
    color: var(--text-on-dark);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-choose-reliable-online-casino__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-reliable-online-casino__cta-button:hover {
    background: #FFC107;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    color: var(--secondary-color);
}

/* Content Sections */
.page-resources-how-to-choose-reliable-online-casino__content-section,
.page-resources-how-to-choose-reliable-online-casino__warning-section,
.page-resources-how-to-choose-reliable-online-casino__top-casinos-section,
.page-resources-how-to-choose-reliable-online-casino__expert-tips-section,
.page-resources-how-to-choose-reliable-online-casino__faq-section {
    padding: 60px 0;
}

.page-resources-how-to-choose-reliable-online-casino__light-bg {
    background-color: var(--background-light);
    color: var(--text-on-light);
}

.page-resources-how-to-choose-reliable-online-casino__dark-bg {
    background-color: var(--secondary-color);
    color: var(--text-on-dark);
}

.page-resources-how-to-choose-reliable-online-casino__section-title {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-how-to-choose-reliable-online-casino__light-bg .page-resources-how-to-choose-reliable-online-casino__section-title {
    color: var(--text-on-light);
}

.page-resources-how-to-choose-reliable-online-casino__dark-bg .page-resources-how-to-choose-reliable-online-casino__section-title {
    color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-online-casino__text-block {
    font-size: 17px;
    margin-bottom: 25px;
    text-align: justify;
}

.page-resources-how-to-choose-reliable-online-casino__text-block a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-resources-how-to-choose-reliable-online-casino__text-block a:hover {
    text-decoration: underline;
}

/* Feature Grid (Criteria Section) */
.page-resources-how-to-choose-reliable-online-casino__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-how-to-choose-reliable-online-casino__feature-card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-on-light);
}

.page-resources-how-to-choose-reliable-online-casino__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-reliable-online-casino__feature-icon {
    width: 100%;
    max-width: 120px; /* Ensure icon is not too small */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-how-to-choose-reliable-online-casino__feature-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-how-to-choose-reliable-online-casino__feature-description {
    font-size: 16px;
    line-height: 1.6;
}

/* CTA Section within content */
.page-resources-how-to-choose-reliable-online-casino__cta-section {
    text-align: center;
    margin-top: 60px;
    background: var(--primary-color);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    color: var(--secondary-color);
}

.page-resources-how-to-choose-reliable-online-casino__cta-text {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.page-resources-how-to-choose-reliable-online-casino__btn-primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-how-to-choose-reliable-online-casino__btn-primary:hover {
    background: #333333;
    color: var(--primary-color);
    border-color: #FFC107;
}

.page-resources-how-to-choose-reliable-online-casino__btn-secondary {
    background: var(--primary-color);
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
    margin: 0 10px;
}

.page-resources-how-to-choose-reliable-online-casino__btn-secondary:hover {
    background: #FFC107;
    color: var(--secondary-color);
    border-color: #333333;
}

/* Warning Section */
.page-resources-how-to-choose-reliable-online-casino__warning-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.page-resources-how-to-choose-reliable-online-casino__warning-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-reliable-online-casino__warning-item p {
    font-size: 17px;
    color: var(--text-on-dark);
    margin: 0;
}

.page-resources-how-to-choose-reliable-online-casino__warning-item p strong {
    color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-online-casino__warning-icon {
    width: 100%;
    max-width: 80px; /* Ensure icon is not too small */
    height: auto;
    flex-shrink: 0;
}

/* Expert Tips Section */
.page-resources-how-to-choose-reliable-online-casino__tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-resources-how-to-choose-reliable-online-casino__tip-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-resources-how-to-choose-reliable-online-casino__tip-item p {
    font-size: 17px;
    color: var(--text-on-dark);
    margin: 0;
}

.page-resources-how-to-choose-reliable-online-casino__tip-item p strong {
    color: var(--primary-color);
}

.page-resources-how-to-choose-reliable-online-casino__tip-icon {
    width: 100%;
    max-width: 100px; /* Ensure icon is not too small */
    height: auto;
    margin-bottom: 15px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-resources-how-to-choose-reliable-online-casino__faq-list {
    margin-top: 40px;
}

.page-resources-how-to-choose-reliable-online-casino__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-how-to-choose-reliable-online-casino__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-how-to-choose-reliable-online-casino__faq-item.active .page-resources-how-to-choose-reliable-online-casino__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: var(--text-on-light);
}

.page-resources-how-to-choose-reliable-online-casino__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-how-to-choose-reliable-online-casino__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-how-to-choose-reliable-online-casino__faq-question:active {
    background: #eeeeee;
}

.page-resources-how-to-choose-reliable-online-casino__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-on-light);
}

.page-resources-how-to-choose-reliable-online-casino__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-how-to-choose-reliable-online-casino__faq-item.active .page-resources-how-to-choose-reliable-online-casino__faq-toggle {
    color: var(--primary-color);
    transform: rotate(45deg);
}

/* General Image Responsiveness */
.page-resources-how-to-choose-reliable-online-casino img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-how-to-choose-reliable-online-casino__main-title {
        font-size: 40px;
    }

    .page-resources-how-to-choose-reliable-online-casino__hero-description {
        font-size: 18px;
    }

    .page-resources-how-to-choose-reliable-online-casino__section-title {
        font-size: 32px;
    }

    .page-resources-how-to-choose-reliable-online-casino__feature-title {
        font-size: 22px;
    }

    .page-resources-how-to-choose-reliable-online-casino__cta-text {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .page-resources-how-to-choose-reliable-online-casino__hero-section {
        padding-top: 140px !important; /* Mobile: Adjust based on fixed header height */
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-resources-how-to-choose-reliable-online-casino__main-title {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .page-resources-how-to-choose-reliable-online-casino__hero-description {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .page-resources-how-to-choose-reliable-online-casino__cta-button {
        padding: 12px 30px;
        font-size: 16px;
        margin-top: 20px;
    }

    .page-resources-how-to-choose-reliable-online-casino__content-section,
    .page-resources-how-to-choose-reliable-online-casino__warning-section,
    .page-resources-how-to-choose-reliable-online-casino__top-casinos-section,
    .page-resources-how-to-choose-reliable-online-casino__expert-tips-section,
    .page-resources-how-to-choose-reliable-online-casino__faq-section {
        padding: 40px 0;
    }

    .page-resources-how-to-choose-reliable-online-casino__container {
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-resources-how-to-choose-reliable-online-casino__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-resources-how-to-choose-reliable-online-casino__text-block {
        font-size: 15px;
    }

    .page-resources-how-to-choose-reliable-online-casino__feature-card {
        padding: 20px;
    }

    .page-resources-how-to-choose-reliable-online-casino__feature-icon {
        max-width: 100px;
    }

    .page-resources-how-to-choose-reliable-online-casino__feature-title {
        font-size: 20px;
    }

    .page-resources-how-to-choose-reliable-online-casino__cta-section {
        padding: 30px 20px;
    }

    .page-resources-how-to-choose-reliable-online-casino__cta-text {
        font-size: 18px;
    }

    .page-resources-how-to-choose-reliable-online-casino__warning-item,
    .page-resources-how-to-choose-reliable-online-casino__tip-item {
        padding: 20px;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .page-resources-how-to-choose-reliable-online-casino__warning-item p,
    .page-resources-how-to-choose-reliable-online-casino__tip-item p {
        font-size: 15px;
    }

    .page-resources-how-to-choose-reliable-online-casino__warning-icon,
    .page-resources-how-to-choose-reliable-online-casino__tip-icon {
        max-width: 70px;
        margin-bottom: 15px;
    }

    .page-resources-how-to-choose-reliable-online-casino__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }

    .page-resources-how-to-choose-reliable-online-casino__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }

    .page-resources-how-to-choose-reliable-online-casino__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }

    .page-resources-how-to-choose-reliable-online-casino__faq-answer {
        padding: 0 15px;
    }

    .page-resources-how-to-choose-reliable-online-casino__faq-item.active .page-resources-how-to-choose-reliable-online-casino__faq-answer {
        padding: 15px !important;
    }
    
    .page-resources-how-to-choose-reliable-online-casino img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-resources-how-to-choose-reliable-online-casino__section,
    .page-resources-how-to-choose-reliable-online-casino__card,
    .page-resources-how-to-choose-reliable-online-casino__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-resources-how-to-choose-reliable-online-casino__cta-button.page-resources-how-to-choose-reliable-online-casino__btn-secondary {
        margin-bottom: 15px;
    }
    .page-resources-how-to-choose-reliable-online-casino__cta-section a {
        display: block;
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .page-resources-how-to-choose-reliable-online-casino__main-title {
        font-size: 28px;
    }

    .page-resources-how-to-choose-reliable-online-casino__hero-description {
        font-size: 15px;
    }

    .page-resources-how-to-choose-reliable-online-casino__section-title {
        font-size: 24px;
    }

    .page-resources-how-to-choose-reliable-online-casino__feature-grid {
        grid-template-columns: 1fr;
    }

    .page-resources-how-to-choose-reliable-online-casino__tip-list {
        grid-template-columns: 1fr;
    }

    .page-resources-how-to-choose-reliable-online-casino__cta-text {
        font-size: 16px;
    }
}