/* style/resources-code-hi-game-fairness-audit.css */

:root {
    --primary-color: #017439;
    --primary-color-dark: #005c2e;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --background-dark: #0a0a0a;
    --register-color: #C30808;
    --register-color-dark: #a60606;
    --login-color: #C30808;
    --button-text-color: #FFFF00;
}

/* Base styles for the page content */
.page-resources-code-hi-game-fairness-audit {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default to light text for dark body background */
    background-color: var(--background-dark); /* Ensure consistency */
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-code-hi-game-fairness-audit__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.page-resources-code-hi-game-fairness-audit__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-code-hi-game-fairness-audit__section-title--white {
    color: var(--secondary-color);
}

.page-resources-code-hi-game-fairness-audit__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: var(--text-light); /* Default for dark sections */
}

.page-resources-code-hi-game-fairness-audit__paragraph--white {
    color: var(--text-light);
}

.page-resources-code-hi-game-fairness-audit__highlight {
    color: var(--button-text-color); /* Use a contrasting color for highlights */
    font-weight: bold;
}

.page-resources-code-hi-game-fairness-audit a {
    color: var(--button-text-color); /* Link color */
    text-decoration: none;
}

.page-resources-code-hi-game-fairness-audit a:hover {
    text-decoration: underline;
}

/* Color Contrast Enforcement */
.page-resources-code-hi-game-fairness-audit__dark-bg {
    background-color: var(--primary-color); /* Using brand primary for dark sections */
    color: var(--text-light);
}

.page-resources-code-hi-game-fairness-audit__light-bg {
    background-color: var(--secondary-color);
    color: var(--text-dark);
}

.page-resources-code-hi-game-fairness-audit__light-bg .page-resources-code-hi-game-fairness-audit__paragraph,
.page-resources-code-hi-game-fairness-audit__light-bg .page-resources-code-hi-game-fairness-audit__list-item,
.page-resources-code-hi-game-fairness-audit__light-bg .page-resources-code-hi-game-fairness-audit__list-heading,
.page-resources-code-hi-game-fairness-audit__light-bg .page-resources-code-hi-game-fairness-audit__card-title {
    color: var(--text-dark);
}

.page-resources-code-hi-game-fairness-audit__light-bg .page-resources-code-hi-game-fairness-audit__highlight {
    color: var(--primary-color); /* Highlight on light background */
}

/* Buttons */
.page-resources-code-hi-game-fairness-audit__btn-primary,
.page-resources-code-hi-game-fairness-audit__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    font-size: 1.1em;
    box-sizing: border-box; /* Ensure padding doesn't push width */
}

.page-resources-code-hi-game-fairness-audit__btn-primary {
    background-color: var(--register-color); /* Custom register color */
    color: var(--button-text-color); /* Custom button text color */
    border: 2px solid var(--register-color);
}