:root {
    --primary-color: #1A2A44;
    --secondary-color: #FFCC00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --accent-color-hover: #e6b800; /* Slightly darker yellow for hover */
    --link-color: #007bff;
    --link-hover-color: #0056b3;
}

.page-casino-reviews-standards {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for the main content area, assuming dark body bg */
    background-color: var(--primary-color); /* Main sections will use this or light bg */
    padding-top: 120px; /* Desktop: Space for fixed header */
}

.page-casino-reviews-standards__hero-banner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a4a64 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding-top: 180px; /* Desktop: Ensure content is below fixed header */
}

.page-casino-reviews-standards__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-casino-reviews-standards__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-casino-reviews-standards__hero-title .highlight {
    color: var(--secondary-color);
}

.page-casino-reviews-standards__hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.page-casino-reviews-standards__hero-cta {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 40px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-casino-reviews-standards__hero-cta:hover {
    background-color: var(--accent-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-casino-reviews-standards__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 40px;
}

.page-casino-reviews-standards__section-title .highlight {
    color: var(--primary-color);
}

.page-casino-reviews-standards__section-title--light {
    color: var(--text-light);
}

.page-casino-reviews-standards__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-casino-reviews-standards__section-description--light {
    color: var(--text-light);
}

.page-casino-reviews-standards__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-casino-reviews-standards__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
    padding: 60px 0;
}

.page-casino-reviews-standards__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 60px 0;
}

.page-casino-reviews-standards__introduction-section p {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: justify;
}

.page-casino-reviews-standards__introduction-section p strong {
    color: var(--primary-color);
}

.page-casino-reviews-standards__image-wrapper {
    margin: 40px 0;
    text-align: center;
}

.page-casino-reviews-standards__content-image {
    max-width: 80%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-casino-reviews-standards__standards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-casino-reviews-standards__standard-card {
    background-color: var(--text-light);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-reviews-standards__standard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-casino-reviews-standards__standard-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-casino-reviews-standards__standard-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-casino-reviews-standards__standard-card p {
    font-size: 16px;
    line-height: 1.7;
    text-align: justify;
}

.page-casino-reviews-standards__action-text {
    text-align: center;
    font-size: 18px;
    margin-top: 50px;
    font-weight: 500;
}

.page-casino-reviews-standards__action-text--light {
    color: var(--text-light);
}

.page-casino-reviews-standards__action-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-casino-reviews-standards__action-text a:hover {
    color: var(--accent-color-hover);
    text-decoration: underline;
}

.page-casino-reviews-standards__faq-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-casino-reviews-standards__faq-section .page-casino-reviews-standards__section-title {
    margin-bottom: 50px;
}

.page-casino-reviews-standards__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-casino-reviews-standards__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-casino-reviews-standards__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-casino-reviews-standards__faq-item.active .page-casino-reviews-standards__faq-answer {
    max-height: 2000px !important; /* Sufficiently large value */
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-casino-reviews-standards__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-casino-reviews-standards__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-casino-reviews-standards__faq-question:active {
    background: #eeeeee;
}

.page-casino-reviews-standards__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px; /* Slightly larger for better readability */
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--primary-color); /* Use primary color for question */
}

.page-casino-reviews-standards__faq-toggle {
    font-size: 28px; /* Larger for better visibility */
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color); /* Use primary color for toggle */
    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: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
}

.page-casino-reviews-standards__faq-item.active .page-casino-reviews-standards__faq-toggle {
    color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: rotate(45deg);
}

.page-casino-reviews-standards__faq-answer p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
}

.page-casino-reviews-standards__related-articles-section {
    padding: 60px 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-casino-reviews-standards__articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-casino-reviews-standards__article-card {
    background-color: var(--text-light);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-casino-reviews-standards__article-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.page-casino-reviews-standards__article-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-casino-reviews-standards__article-content {
    padding: 25px;
}

.page-casino-reviews-standards__article-title {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
}

.page-casino-reviews-standards__article-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-casino-reviews-standards__article-title a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-casino-reviews-standards__article-excerpt {
    font-size: 15px;
    color: #555555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.page-casino-reviews-standards__read-more-btn {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-casino-reviews-standards__read-more-btn:hover {
    background-color: #3a4a64;
    transform: translateY(-2px);
}

@media (max-width: 1024px) {
    .page-casino-reviews-standards__hero-title {
        font-size: 40px;
    }

    .page-casino-reviews-standards__hero-subtitle {
        font-size: 18px;
    }

    .page-casino-reviews-standards__section-title {
        font-size: 32px;
    }

    .page-casino-reviews-standards__section-description {
        font-size: 16px;
    }

    .page-casino-reviews-standards__standards-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .page-casino-reviews-standards__standard-title {
        font-size: 20px;
    }

    .page-casino-reviews-standards__article-title {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .page-casino-reviews-standards {
        padding-top: 100px !important;
    }

    .page-casino-reviews-standards__hero-banner {
        padding-top: 160px !important;
        padding: 60px 15px;
    }

    .page-casino-reviews-standards__hero-title {
        font-size: 32px;
    }

    .page-casino-reviews-standards__hero-subtitle {
        font-size: 16px;
    }

    .page-casino-reviews-standards__hero-cta {
        padding: 12px 30px;
        font-size: 16px;
    }

    .page-casino-reviews-standards__section-title {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .page-casino-reviews-standards__section-description {
        font-size: 15px;
        margin-bottom: 40px;
    }

    .page-casino-reviews-standards__container {
        padding: 0 15px;
    }

    .page-casino-reviews-standards__light-bg,
    .page-casino-reviews-standards__dark-section,
    .page-casino-reviews-standards__faq-section,
    .page-casino-reviews-standards__related-articles-section {
        padding: 40px 0;
    }

    .page-casino-reviews-standards__introduction-section p {
        font-size: 15px;
    }

    .page-casino-reviews-standards__content-image {
        max-width: 95%;
    }

    .page-casino-reviews-standards__standards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-casino-reviews-standards__standard-card {
        padding: 25px;
    }

    .page-casino-reviews-standards__standard-icon {
        width: 60px;
        height: 60px;
    }

    .page-casino-reviews-standards__standard-title {
        font-size: 18px;
    }

    .page-casino-reviews-standards__standard-card p {
        font-size: 14px;
    }

    .page-casino-reviews-standards__action-text {
        font-size: 16px;
        margin-top: 40px;
    }

    .page-casino-reviews-standards__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    
    .page-casino-reviews-standards__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    
    .page-casino-reviews-standards__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    
    .page-casino-reviews-standards__faq-answer {
        padding: 0 15px;
    }
    
    .page-casino-reviews-standards__faq-item.active .page-casino-reviews-standards__faq-answer {
        padding: 15px !important;
    }

    .page-casino-reviews-standards__articles-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .page-casino-reviews-standards__article-image {
        height: 180px;
    }

    .page-casino-reviews-standards__article-content {
        padding: 20px;
    }

    .page-casino-reviews-standards__article-title {
        font-size: 18px;
    }

    .page-casino-reviews-standards__article-excerpt {
        font-size: 14px;
    }

    .page-casino-reviews-standards__read-more-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .page-casino-reviews-standards img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    
    .page-casino-reviews-standards__section,
    .page-casino-reviews-standards__card,
    .page-casino-reviews-standards__container,
    .page-casino-reviews-standards__hero-banner {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}