/* style/resources-responsible-gambling-guide.css */
:root {
    --primary-color: #DAA520; /* Luxury Gold */
    --secondary-color: #1E1E1E; /* Deep Black */
    --accent-color: #CC0000; /* Deep Red for highlights */
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
    --background-light: #f1f3f5;
    --background-card: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-responsible-gambling-guide {
    padding-top: 120px; /* For fixed header */
    background: var(--background-light);
    color: var(--text-color-dark);
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .page-resources-responsible-gambling-guide {
        padding-top: 100px; /* Adjust for mobile fixed header */
    }
}

.page-resources-responsible-gambling-guide a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-resources-responsible-gambling-guide a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

.page-resources-responsible-gambling-guide__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    overflow: hidden;
}

.page-resources-responsible-gambling-guide__hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-resources-responsible-gambling-guide__hero-image {
    width: 100%;
    max-width: 1000px; /* Adjusted for better visual balance */
    height: auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-resources-responsible-gambling-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-resources-responsible-gambling-guide__main-title {
    font-size: 42px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-resources-responsible-gambling-guide__main-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-resources-responsible-gambling-guide__main-title a:hover {
    text-decoration: underline;
}

.page-resources-responsible-gambling-guide__hero-description {
    font-size: 20px;
    color: var(--text-color-light);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-responsible-gambling-guide__hero-description a {
    color: var(--primary-color);
    font-weight: bold;
}

.page-resources-responsible-gambling-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.page-resources-responsible-gambling-guide__cta-button:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Hero Section */
@media (max-width: 768px) {
    .page-resources-responsible-gambling-guide__hero-section {
        padding: 40px 15px;
    }
    .page-resources-responsible-gambling-guide__main-title {
        font-size: 30px;
    }
    .page-resources-responsible-gambling-guide__hero-description {
        font-size: 16px;
    }
    .page-resources-responsible-gambling-guide__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-resources-responsible-gambling-guide__hero-image {
      margin-bottom: 20px;
    }
}


.page-resources-responsible-gambling-guide__section {
    padding: 60px 20px;
    margin-bottom: 0;
}

.page-resources-responsible-gambling-guide__container {
    max-width: 1000px;
    margin: 0 auto;
    background: var(--background-card);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.page-resources-responsible-gambling-guide__section-title {
    font-size: 32px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
}

.page-resources-responsible-gambling-guide__section-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.page-resources-responsible-gambling-guide__section-title a:hover {
    text-decoration: underline;
}

.page-resources-responsible-gambling-guide__introduction p,
.page-resources-responsible-gambling-guide__what-it-is p,
.page-resources-responsible-gambling-guide__advice p {
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--text-color-dark);
}

.page-resources-responsible-gambling-guide__introduction p:last-child,
.page-resources-responsible-gambling-guide__what-it-is p:last-child,
.page-resources-responsible-gambling-guide__advice p:last-child {
    margin-bottom: 0;
}

.page-resources-responsible-gambling-guide__content-grid {
    display: flex;
    gap: 40px;
    align-items: center;
    margin-top: 30px;
}

.page-resources-responsible-gambling-guide__content-grid .page-resources-responsible-gambling-guide__text-block {
    flex: 1;
}

.page-resources-responsible-gambling-guide__content-grid .page-resources-responsible-gambling-guide__image-block {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-resources-responsible-gambling-guide__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-responsible-gambling-guide__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-responsible-gambling-guide__card {
    background: var(--background-card);
    border-radius: 10px;
    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-color-dark);
    border: 1px solid var(--border-color);
}

.page-resources-responsible-gambling-guide__dark-bg .page-resources-responsible-gambling-guide__card {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-resources-responsible-gambling-guide__dark-bg .page-resources-responsible-gambling-guide__card a {
    color: var(--primary-color);
}

.page-resources-responsible-gambling-guide__dark-bg .page-resources-responsible-gambling-guide__card a:hover {
    color: var(--accent-color);
}

.page-resources-responsible-gambling-guide__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-resources-responsible-gambling-guide__card-icon {
    width: 120px; /* Adjusted to be larger than 100px */
    height: 120px; /* Adjusted to be larger than 100px */
    margin-bottom: 20px;
    object-fit: contain;
}

.page-resources-responsible-gambling-guide__card-title {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-responsible-gambling-guide__dark-bg .page-resources-responsible-gambling-guide__card-title {
    color: var(--primary-color);
}

.page-resources-responsible-gambling-guide__card p {
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color-dark);
}

.page-resources-responsible-gambling-guide__dark-bg .page-resources-responsible-gambling-guide__card p {
    color: var(--text-color-light);
}

.page-resources-responsible-gambling-guide__list {
    list-style: disc;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-color-dark);
}

.page-resources-responsible-gambling-guide__list li {
    margin-bottom: 10px;
}

.page-resources-responsible-gambling-guide__list li strong {
    color: var(--primary-color);
}

.page-resources-responsible-gambling-guide__dark-bg .page-resources-responsible-gambling-guide__list li strong {
    color: var(--primary-color);
}

.page-resources-responsible-gambling-guide__cta-wrapper {
    text-align: center;
    margin-top: 40px;
}

.page-resources-responsible-gambling-guide__btn-primary {
    background: var(--primary-color);
    color: var(--text-color-light);
}

.page-resources-responsible-gambling-guide__btn-primary:hover {
    background: var(--accent-color);
}

.page-resources-responsible-gambling-guide__btn-secondary {
    background: var(--background-card);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-responsible-gambling-guide__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-color-light);
    border-color: var(--primary-color);
}

/* FAQ Section */
.page-resources-responsible-gambling-guide__faq-list {
    margin-top: 40px;
}

.page-resources-responsible-gambling-guide__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-responsible-gambling-guide__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;
    color: var(--text-color-dark);
}

.page-resources-responsible-gambling-guide__faq-item.active .page-resources-responsible-gambling-guide__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
}

.page-resources-responsible-gambling-guide__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-responsible-gambling-guide__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-responsible-gambling-guide__faq-question:active {
    background: #eeeeee;
}

.page-resources-responsible-gambling-guide__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: var(--text-color-dark);
}

.page-resources-responsible-gambling-guide__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    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-responsible-gambling-guide__faq-item.active .page-resources-responsible-gambling-guide__faq-toggle {
    color: var(--accent-color);
    transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-resources-responsible-gambling-guide__section-title {
        font-size: 28px;
    }
    .page-resources-responsible-gambling-guide__content-grid {
        flex-direction: column;
    }
    .page-resources-responsible-gambling-guide__content-grid .page-resources-responsible-gambling-guide__image-block {
        order: -1; /* Image first on mobile */
        margin-bottom: 30px;
    }
    .page-resources-responsible-gambling-guide__card-grid {
        grid-template-columns: 1fr;
    }
    .page-resources-responsible-gambling-guide__container {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources-responsible-gambling-guide__main-title {
        font-size: 30px;
    }
    .page-resources-responsible-gambling-guide__hero-description {
        font-size: 16px;
    }
    .page-resources-responsible-gambling-guide__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-resources-responsible-gambling-guide__section {
        padding: 40px 15px;
    }
    .page-resources-responsible-gambling-guide__section-title {
        font-size: 24px;
        margin-bottom: 30px;
    }
    .page-resources-responsible-gambling-guide__introduction p,
    .page-resources-responsible-gambling-guide__what-it-is p,
    .page-resources-responsible-gambling-guide__advice p,
    .page-resources-responsible-gambling-guide__list,
    .page-resources-responsible-gambling-guide__card p {
        font-size: 15px;
    }
    .page-resources-responsible-gambling-guide__card-title {
        font-size: 20px;
    }
    .page-resources-responsible-gambling-guide__card-icon {
        width: 100px; /* Still larger than 80px */
        height: 100px;
    }
    .page-resources-responsible-gambling-guide__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-responsible-gambling-guide__faq-question h3 {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-resources-responsible-gambling-guide__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-resources-responsible-gambling-guide__faq-answer {
        padding: 0 15px;
    }
    .page-resources-responsible-gambling-guide__faq-item.active .page-resources-responsible-gambling-guide__faq-answer {
        padding: 15px !important;
    }
}

.page-resources-responsible-gambling-guide__dark-bg {
    background-color: var(--secondary-color);
    color: var(--text-color-light);
}

.page-resources-responsible-gambling-guide__dark-bg .page-resources-responsible-gambling-guide__section-title {
    color: var(--primary-color);
}

.page-resources-responsible-gambling-guide__dark-bg .page-resources-responsible-gambling-guide__container {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-responsible-gambling-guide__dark-bg p,
.page-resources-responsible-gambling-guide__dark-bg li {
    color: var(--text-color-light);
}

.page-resources-responsible-gambling-guide__dark-bg a {
    color: var(--primary-color);
}

.page-resources-responsible-gambling-guide__dark-bg a:hover {
    color: var(--accent-color);
}

.page-resources-responsible-gambling-guide__light-bg {
    background-color: var(--background-light);
    color: var(--text-color-dark);
}

.page-resources-responsible-gambling-guide__light-bg .page-resources-responsible-gambling-guide__section-title {
    color: var(--primary-color);
}

.page-resources-responsible-gambling-guide__light-bg .page-resources-responsible-gambling-guide__container {
    background: var(--background-card);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.page-resources-responsible-gambling-guide__light-bg p,
.page-resources-responsible-gambling-guide__light-bg li {
    color: var(--text-color-dark);
}

.page-resources-responsible-gambling-guide__light-bg a {
    color: var(--primary-color);
}

.page-resources-responsible-gambling-guide__light-bg a:hover {
    color: var(--accent-color);
}

/* Contrast Fixes */
.page-resources-responsible-gambling-guide__text-contrast-fix {
  color: #333333 !important;
  text-shadow: none !important;
}