/* style/resources-security-compliance.css */

/* Base styles for the page content area */
.page-resources-security-compliance {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Dark body background #111, so light text */
    background-color: transparent; /* Body background from shared.css */
}

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

.page-resources-security-compliance__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.page-resources-security-compliance__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: -1;
}

.page-resources-security-compliance__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    color: #ffffff;
}

.page-resources-security-compliance__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-security-compliance__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-security-compliance__hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* General Section Styles */
.page-resources-security-compliance__section {
    padding: 80px 20px;
    text-align: center;
}

.page-resources-security-compliance__dark-bg {
    background-color: #1a1a1a; /* Slightly lighter than body background for contrast */
    color: #ffffff;
}

.page-resources-security-compliance__light-bg {
    background-color: #f5f5f5;
    color: #333333;
}

.page-resources-security-compliance__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.page-resources-security-compliance__section-title {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section (dark or light bg) */
}

.page-resources-security-compliance__sub-title {
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-security-compliance__text-block {
    font-size: 1.1em;
    margin-bottom: 30px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Buttons */
.page-resources-security-compliance__btn-primary,
.page-resources-security-compliance__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.page-resources-security-compliance__btn-primary {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    border: 2px solid #017439;
}

.page-resources-security-compliance__btn-primary:hover {
    background-color: #005a2d; /* Darker shade */
    border-color: #005a2d;
}

.page-resources-security-compliance__btn-secondary {
    background-color: transparent;
    color: #017439; /* Main brand color */
    border: 2px solid #017439;
}

.page-resources-security-compliance__btn-secondary:hover {
    background-color: #017439;
    color: #ffffff;
}

/* Feature Grid */
.page-resources-security-compliance__feature-grid,
.page-resources-security-compliance__integrity-grid,
.page-resources-security-compliance__responsible-gambling-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.page-resources-security-compliance__feature-item,
.page-resources-security-compliance__integrity-item,
.page-resources-security-compliance__responsible-gambling-item {
    background-color: rgba(255, 255, 255, 0.05); /* Slightly transparent white for dark bg */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #ffffff;
}

.page-resources-security-compliance__light-bg .page-resources-security-compliance__feature-item,
.page-resources-security-compliance__light-bg .page-resources-security-compliance__integrity-item,
.page-resources-security-compliance__light-bg .page-resources-security-compliance__responsible-gambling-item {
    background-color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    color: #333333;
}

.page-resources-security-compliance__feature-icon,
.page-resources-security-compliance__security-icon,
.page-resources-security-compliance__card-image,
.page-resources-security-compliance__content-image {
    width: 100%; /* Ensure images fill their container */
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
    display: block; /* Remove extra space below images */
}

/* Image-Text Layout */
.page-resources-security-compliance__image-text-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    margin-top: 50px;
}

.page-resources-security-compliance__image-wrapper {
    flex: 1;
    min-width: 300px; /* Ensure image section doesn't collapse */
}

.page-resources-security-compliance__text-content {
    flex: 1.5;
}

.page-resources-security-compliance__text-content p {
    margin-bottom: 15px;
    color: inherit;
}

/* Security Features */
.page-resources-security-compliance__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}