:root {
    --primary-color: #1A202C;
    --secondary-color: #E53E3E;
    --text-light: #ffffff;
    --text-dark: #333333;
    --background-light: #ffffff;
    --border-color: #e0e0e0;
}

.page-resources-football-analysis {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Dark body background, so light text */
    background-color: var(--primary-color); /* Inherited from shared, ensuring contrast */
}

.page-resources-football-analysis__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-resources-football-analysis__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    padding-bottom: 80px;
    background-color: var(--primary-color);
    min-height: 600px;
    color: var(--text-light);
    overflow: hidden; /* Prevent image overflow */
}

.page-resources-football-analysis__hero-content {
    flex: 1;
    max-width: 50%;
    padding-right: 40px;
    z-index: 1;
}

.page-resources-football-analysis__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-light);
}

.page-resources-football-analysis__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light);
}

.page-resources-football-analysis__hero-buttons {
    display: flex;
    gap: 20px;
}

.page-resources-football-analysis__hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    max-width: 50%;
}

.page-resources-football-analysis__hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

/* General Section Styling */
.page-resources-football-analysis__section {
    padding: 60px 0;
    background-color: var(--background-light); /* Default light background for content sections */
    color: var(--text-dark); /* Dark text for light background */
}

.page-resources-football-analysis__dark-section {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.page-resources-football-analysis__section-title {
    font-size: 2.5em;
    text-align: center;
    margin-bottom: 40px;
    color: inherit; /* Inherit color from parent section */
}

.page-resources-football-analysis__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

/* Buttons */
.page-resources-football-analysis__btn-primary,
.page-resources-football-analysis__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: all 0.3s ease;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-football-analysis__btn-primary {
    background-color: var(--secondary-color);
    color: var(--text-light);
    border: 2px solid var(--secondary-color);
}

.page-resources-football-analysis__btn-primary:hover {
    background-color: #c02d2d; /* Manually darkened E53E3E */
    border-color: #c02d2d;
}

.page-resources-football-analysis__btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--text-light);
}

.page-resources-football-analysis__dark-section .page-resources-football-analysis__btn-secondary {
    color: var(--text-light);
    border-color: var(--text-light);
}
.page-resources-football-analysis__section:not(.page-resources-football-analysis__dark-section) .page-resources-football-analysis__btn-secondary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}


.page-resources-football-analysis__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}
.page-resources-football-analysis__dark-section .page-resources-football-analysis__btn-secondary:hover {
    background-color: var(--text-light);
    color: var(--primary-color);
}
.page-resources-football-analysis__section:not(.page-resources-football-analysis__dark-section) .page-resources-football-analysis__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}


/* Feature Grid */
.page-resources-football-analysis__feature-grid,
.page-resources-football-analysis__benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-resources-football-analysis__feature-card,
.page-resources-football-analysis__benefit-card {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    color: var(--text-dark);
}
.page-resources-football-analysis__dark-section .page-resources-football-analysis__benefit-card {
    background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white for dark section cards */
    color: var(--text-light);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-football-analysis__feature-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-football-analysis__feature-title,
.page-resources-football-analysis__benefit-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: inherit;
}

.page-resources-football-analysis__feature-description,
.page-resources-football-analysis__benefit-description {
    font-size: 1em;
    color: inherit;
}

/* Guide Section */
.page-resources-football-analysis__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.page-resources-football-analysis__guide-step {
    background-color: var(--background-light);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.page-resources-football-analysis__guide-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-football-analysis__guide-title {
    font-size: 1.8em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

/* CTA Section */
.page-resources-football-analysis__cta {
    background-color: var(--secondary-color);
    color: var(--text-light);
    text-align: center;
}

.page-resources-football-analysis__cta-content {
    max-width: 800px;
}