/* style/resources-latest-slot-strategies.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-login-btn-bg: #C30808;
    --register-login-btn-text: #FFFF00;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #017439; /* Using primary color for dark sections */
    --border-light: #e0e0e0;
}

.page-resources-latest-slot-strategies {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light backgrounds */
    background-color: var(--bg-light); /* Assuming body background is light */
}

.page-resources-latest-slot-strategies__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.page-resources-latest-slot-strategies__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 600px;
    padding-top: var(--header-offset, 120px); /* Adjust for fixed header */
    overflow: hidden;
    text-align: center;
    color: var(--text-light); /* White text for dark background */
    background: var(--bg-dark);
}

.page-resources-latest-slot-strategies__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.6;
}

.page-resources-latest-slot-strategies__hero-section .page-resources-latest-slot-strategies__container {
    position: relative;
    z-index: 1;
    padding-top: 50px;
    padding-bottom: 50px;
}

.page-resources-latest-slot-strategies__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
}

.page-resources-latest-slot-strategies__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources-latest-slot-strategies__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap; /* Ensure responsiveness for buttons */
}

.page-resources-latest-slot-strategies__btn-primary,
.page-resources-latest-slot-strategies__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-resources-latest-slot-strategies__btn-primary {
    background-color: var(--register-login-btn-bg);
    color: var(--register-login-btn-text);
    border: 2px solid var(--register-login-btn-bg);
}

.page-resources-latest-slot-strategies__btn-primary:hover {
    background-color: #a70707;
    border-color: #a70707;
}

.page-resources-latest-slot-strategies__btn-secondary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-latest-slot-strategies__btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

/* General Sections */
.page-resources-latest-slot-strategies__section-title {
    font-size: 2.5em;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    color: var(--primary-color);
}

.page-resources-latest-slot-strategies__section-title--white {
    color: var(--text-light);
}