/* style/resources-responsible-gambling-guide.css */

/* Base styles for the page content */
.page-resources-responsible-gambling-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light background */
    background-color: var(--background-color, #ffffff); /* Inherit from shared, default white */
}

/* Hero Section */
.page-resources-responsible-gambling-guide__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #ffffff;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

.page-resources-responsible-gambling-guide__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-responsible-gambling-guide__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-responsible-gambling-guide__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
}

.page-resources-responsible-gambling-guide__hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.page-resources-responsible-gambling-guide__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* CTA Button */
.page-resources-responsible-gambling-guide__cta-button {
    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;
    cursor: pointer;
    max-width: 100%; /* Ensures responsiveness for buttons */
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-responsible-gambling-guide__btn-primary {
    background-color: #26A9E0; /* Main brand color */
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources-responsible-gambling-guide__btn-primary:hover {
    background-color: #1e87bb;
    transform: translateY(-2px);
}

.page-resources-responsible-gambling-guide__btn-secondary {
    background-color: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-responsible-gambling-guide__btn-secondary:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

/* General Section Styles */
.page-resources-responsible-gambling-guide__section {
    padding: 60px 20px;
    background-color: var(--background-color, #ffffff); /* Default light background */
}

.page-resources-responsible-gambling-guide__section:nth-of-type(even) {
    background-color: #f8f8f8; /* Slightly different background for alternating sections */
}

.page-resources-responsible-gambling-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources-responsible-gambling-guide__section-title {
    font-size: 2.5em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-responsible-gambling-guide__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #26A9E0;
    border-radius: 2px;
}

.page-resources-responsible-gambling-guide__subsection-title {
    font-size: 1.8em;
    color: #333333;
    margin-top: 40px;
    margin-bottom: 20px;
}

.page-resources-responsible-gambling-guide__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
}

/* Card Grid for Principles Section */
.page-resources-responsible-gambling-guide__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-responsible-gambling-guide__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 450px; /* Ensure cards have minimum height for consistent layout */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.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-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}