:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --button-register: #C30808;
    --button-login: #C30808;
    --font-register-login: #FFFF00;
    --background-light: #FFFFFF;
    --border-color: #e0e0e0;
}

.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

.page-resources__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources__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);
    background: linear-gradient(135deg, var(--primary-color) 0%, #3a9d66 100%);
    color: var(--text-light);
    overflow: hidden;
}

.page-resources__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-bottom: 40px;
}

.page-resources__hero-title {
    font-size: 3.2em;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--font-register-login);
}

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-light);
}

.page-resources__hero-cta-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-resources__hero-image-wrapper {
    width: 100%;
    max-width: 900px;
    margin-top: 40px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-resources__hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-resources__section {
    padding: 80px 0;
    text-align: center;
}

.page-resources__section-title {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-weight: bold;
    line-height: 1.3;
}

.page-resources__section-description {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

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

.page-resources__dark-section .page-resources__section-title,
.page-resources__dark-section .page-resources__section-description,
.page-resources__dark-section .page-resources__content-subtitle,
.page-resources__dark-section .page-resources__list-item,
.page-resources__dark-section .page-resources__list-item strong,
.page-resources__dark-section .page-resources__promo-title,
.page-resources__dark-section .page-resources__promo-text,
.page-resources__dark-section .page-resources__article-card-title,
.page-resources__dark-section .page-resources__article-card-text {
    color: var(--text-light);
}

.page-resources__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    text-align: left;
    align-items: center;
    margin-top: 40px;
}

.page-resources__content-grid--reverse {
    direction: rtl;
}

.page-resources__content-grid--reverse > * {
    direction: ltr;
}

.page-resources__content-block {
    padding: 20px;
    background: var(--background-light);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-resources__dark-section .page-resources__content-block {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.page-resources__content-subtitle {
    font-size: 1.8em;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-resources__dark-section .page-resources__content-subtitle {
    color: var(--font-register-login);
}

.page-resources__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-resources__list-item {
    background: #f9f9f9;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1.05em;
    color: var(--text-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}