:root {
    --primary-color: #017439; /* Main Green */
    --secondary-color: #FFFFFF; /* White */
    --register-login-bg: #C30808; /* Red for register/login buttons */
    --register-login-text: #FFFF00; /* Yellow for register/login button text */
    --text-dark: #333333;
    --text-light: #ffffff;
    --border-light: #e0e0e0;
    --background-light: #f9f9f9;
}

/* Base styles for the page content */
.page-resources-s666-plus-beginner-guide {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default text color for light body background */
    background-color: var(--secondary-color); /* Matches body background */
}

.page-resources-s666-plus-beginner-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Hero Section */
.page-resources-s666-plus-beginner-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
    padding-bottom: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a8d5f 100%); /* Green gradient */
    color: var(--text-light);
    overflow: hidden; /* Ensure content doesn't overflow */
}

.page-resources-s666-plus-beginner-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;
}

.page-resources-s666-plus-beginner-guide__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 30px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-s666-plus-beginner-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.page-resources-s666-plus-beginner-guide__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: var(--text-light);
    line-height: 1.2;
}

.page-resources-s666-plus-beginner-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-s666-plus-beginner-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--register-login-bg); /* Use specific red for CTA */
    color: var(--register-login-text); /* Use specific yellow for CTA text */
    text-decoration: none;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-s666-plus-beginner-guide__cta-button:hover {
    background: #e02a2a; /* Slightly darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* General Section Styles */
.page-resources-s666-plus-beginner-guide__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--border-light);
}

.page-resources-s666-plus-beginner-guide__section:last-of-type {
    border-bottom: none;
}

.page-resources-s666-plus-beginner-guide__section-title {
    font-size: 2.2em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-s666-plus-beginner-guide__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: -20px auto 40px auto;
    color: var(--text-dark);
}

.page-resources-s666-plus-beginner-guide__content-block {
    margin-bottom: 30px;
    font-size: 1.05em;
    color: var(--text-dark);
}

.page-resources-s666-plus-beginner-guide__content-block p {
    margin-bottom: 15px;
}

.page-resources-s666-plus-beginner-guide__content-block strong {
    color: var(--primary-color);
}