/* style/resources-game-strategy.css */

/* Base styles for the page content */
.page-resources-game-strategy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default dark text for light background */
    background-color: var(--dark-bg-1); /* This will be the body background, assumed dark */
}

/* Ensure main content area has a light background for readability */
.page-resources-game-strategy .page-resources-game-strategy__container,
.page-resources-game-strategy .page-resources-game-strategy__hero-content,
.page-resources-game-strategy .page-resources-game-strategy__hero-image-wrapper {
    background-color: #FFFFFF; /* Override with white for content blocks */
    color: #333333; /* Dark text for white background */
}

/* Hero Section */
.page-resources-game-strategy__hero-section {
    position: relative;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: linear-gradient(to bottom, #017439, #005a2d); /* Brand green gradient */
    color: #FFFFFF;
    padding-top: var(--header-offset, 120px); /* This should ensure the content starts below the header */
}

.page-resources-game-strategy__hero-content {
    max-width: 900px;
    margin-bottom: 40px;
    background-color: transparent; /* Ensure content background is transparent to show hero background */
    color: #FFFFFF; /* Light text for dark hero background */
}

.page-resources-game-strategy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFFF00; /* Use custom color for emphasis */
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-game-strategy__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #FFFFFF;
}

.page-resources-game-strategy__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-resources-game-strategy__btn-primary,
.page-resources-game-strategy__btn-secondary {
    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;
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    box-sizing: border-box;
    text-align: center;
}

.page-resources-game-strategy__btn-primary {
    background-color: #C30808; /* Custom Register/Login color */
    color: #FFFF00; /* Custom Register/Login font color */
    border: 2px solid #C30808;
}

.page-resources-game-strategy__btn-primary:hover {
    background-color: #e02020;
    transform: translateY(-2px);
}

.page-resources-game-strategy__btn-secondary {
    background-color: #FFFFFF;
    color: #017439; /* Primary brand color */
    border: 2px solid #017439;
}

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

.page-resources-game-strategy__hero-image-wrapper {
    width: 100%;
    max-width: 1000px;
    margin-top: 40px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    background-color: transparent; /* Ensure background is transparent */
}

.page-resources-game-strategy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-resources-game-strategy__section {
    padding: 60px 20px;
    background-color: #FFFFFF; /* Explicit white background for content sections */
    color: #333333; /* Dark text on white background */
    border-bottom: 1px solid #eee;
}

.page-resources-game-strategy__container {
    max-width: 1200px;
    margin: 0 auto;
    background-color: #FFFFFF; /* Explicit white background for content containers */
    color: #333333; /* Dark text on white background */
}

.page-resources-game-strategy__section-title {
    font-size: 2.5em;
    color: #017439; /* Primary brand color */
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.page-resources-game-strategy__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #C30808; /* Accent color */
    border-radius: 2px;
}

.page-resources-game-strategy__subsection-title {
    font-size: 1.8em;
    color: #017439;
    margin-top: 30px;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-game-strategy__text-block {
    font-size: 1.1em;
    margin-bottom: 15px;
    line-height: 1.7;
    color: #333333;
}

.page-resources-game-strategy__image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page-resources-game-strategy__list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page-resources-game-strategy__list-item {
    background-color: #f9f9f9;
    border-left: 5px solid #017439;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-radius: 5px;
    font-size: 1.1em;
    color: #333333;
}