/* style/resources-game-strategy-guide.css */
:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --login-button-color: #EA7C07;
    --background-color: #FFFFFF;
    --black-color: #000000;
}

.page-resources-game-strategy-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--background-color); /* Matches body background from shared.css */
}

.page-resources-game-strategy-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-game-strategy-guide__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources-game-strategy-guide__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

/* HERO Section */
.page-resources-game-strategy-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
    background: linear-gradient(135deg, var(--primary-color) 0%, #4DC3F5 100%); /* Adjusted gradient for better visual */
    color: var(--text-light);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-resources-game-strategy-guide__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1; /* Ensure content is above any background elements */
}

.page-resources-game-strategy-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    display: block; /* Ensure img behaves as a block element */
    object-fit: cover;
    max-width: 100%; /* Important for responsiveness */
    height: auto; /* Maintain aspect ratio */
    min-height: 200px; /* Minimum size requirement */
}

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

.page-resources-game-strategy-guide__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: var(--text-light);
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

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

.page-resources-game-strategy-guide__cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
    width: 100%; /* Ensure group takes full width to center effectively */
    max-width: 100%;
    box-sizing: border-box;
}

.page-resources-game-strategy-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.2em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    max-width: 100%; /* Ensure button adapts to width */
    box-sizing: border-box;
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word;
}

.page-resources-game-strategy-guide__btn-primary {
    background: var(--login-button-color); /* Use login color for primary CTA */
    color: var(--text-light);
    border: 2px solid transparent;
}

.page-resources-game-strategy-guide__btn-primary:hover {
    background: #FF8C00; /* Slightly darker orange */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

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

.page-resources-game-strategy-guide__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

/* Section specific styles */
.page-resources-game-strategy-guide__introduction-section,
.page-resources-game-strategy-guide__specific-strategies-section,
.page-resources-game-strategy-guide__responsible-betting-section,
.page-resources-game-strategy-guide__faq-section {
    padding: 60px 0;
    background-color: var(--background-color); /* Light background */
    color: var(--text-dark);
}

.page-resources-game-strategy-guide__general-principles-section,
.page-resources-game-strategy-guide__apply-strategies-section,
.page-resources-game-strategy-guide__conclusion-section {
    padding: 60px 0;
    background-color: var(--primary-color); /* Dark background */
    color: var(--text-light);
}

.page-resources-game-strategy-guide__general-principles-section .page-resources-game-strategy-guide__section-title,
.page-resources-game-strategy-guide__apply-strategies-section .page-resources-game-strategy-guide__section-title,
.page-resources-game-strategy-guide__conclusion-section .page-resources-game-strategy-guide__section-title {
    color: var(--text-light);
}

.page-resources-game-strategy-guide__general-principles-section .page-resources-game-strategy-guide__text-block,
.page-resources-game-strategy-guide__apply-strategies-section .page-resources-game-strategy-guide__text-block,
.page-resources-game-strategy-guide__conclusion-section .page-resources-game-strategy-guide__text-block {
    color: var(--text-light);
}

.page-resources-game-strategy-guide__image-full-width {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    max-width: 100%; /* Ensure responsiveness */
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-game-strategy-guide__list {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-resources-game-strategy-guide__list-item {
    background: var(--secondary-color);
    color: var(--text-dark);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease;
}

.page-resources-game-strategy-guide__general-principles-section .page-resources-game-strategy-guide__list-item,
.page-resources-game-strategy-guide__apply-strategies-section .page-resources-game-strategy-guide__list-item,
.page-resources-game-strategy-guide__conclusion-section .page-resources-game-strategy-guide__list-item {
    background: rgba(255, 255, 255, 0.15); /* Lighter background for dark sections */
    color: var(--text-light);
}

.page-resources-game-strategy-guide__general-principles-section .page-resources-game-strategy-guide__list-item h3,
.page-resources-game-strategy-guide__apply-strategies-section .page-resources-game-strategy-guide__list-item h3,
.page-resources-game-strategy-guide__conclusion-section .page-resources-game-strategy-guide__list-item h3 {
    color: var(--text-light);
    margin-top: 0;
    font-size: 1.3em;
}

.page-resources-game-strategy-guide__list-item:hover {
    transform: translateY(-5px);
}

.page-resources-game-strategy-guide__list-item strong {
    color: var(--primary-color);
}

.page-resources-game-strategy-guide__general-principles-section .page-resources-game-strategy-guide__list-item strong,
.page-resources-game-strategy-guide__apply-strategies-section .page-resources-game-strategy-guide__list-item strong,
.page-resources-game-strategy-guide__conclusion-section .page-resources-game-strategy-guide__list-item strong {
    color: var(--secondary-color);
}

.page-resources-game-strategy-guide__game-strategy-card {
    background: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 30px;
    overflow: hidden;
    color: var(--text-dark);
}

.page-resources-game-strategy-guide__card-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-game-strategy-guide__card-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    min-height: 200px; /* Minimum size requirement */
}

.page-resources-game-strategy-guide__card-text {
    font-size: 1.1em;
    margin-bottom: 15px;
}

.page-resources-game-strategy-guide__cta-group--center {
    margin-top: 40px;
    text-align: center;
}

/* Responsible Betting section link */
.page-resources-game-strategy-guide__responsible-betting-section a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-game-strategy-guide__responsible-betting-section a:hover {
    color: #007bb5;
}

/* FAQ styles */
.page-resources-game-strategy-guide__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}