/* style/resources.css */

/* --- General Page Styling --- */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Default text color for dark body background #0a0a0a */
    background-color: transparent; /* Body background is handled by shared.css */
}

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

.page-resources__section-title {
    font-size: 2.5em;
    color: #26A9E0; /* Brand main color */
    text-align: center;
    margin-bottom: 30px;
    font-weight: bold;
    line-height: 1.2;
}

.page-resources__section-description {
    font-size: 1.1em;
    text-align: center;
    margin-bottom: 40px;
    color: #f0f0f0;
}

.page-resources__subtitle {
    font-size: 1.8em;
    color: #26A9E0;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-resources__sub-subtitle {
    font-size: 1.4em;
    color: #f0f0f0;
    margin-top: 25px;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-resources p {
    margin-bottom: 15px;
    color: #e0e0e0;
}

.page-resources a {
    color: #26A9E0;
    text-decoration: none;
}

.page-resources a:hover {
    text-decoration: underline;
}

/* --- Buttons --- */
.page-resources__btn-primary,
.page-resources__btn-secondary,
.page-resources__btn-small {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box; /* Ensure padding and border are included in the element's total width and height */
    white-space: normal; /* Allow text to wrap */
    word-wrap: break-word; /* Break long words */
}

.page-resources__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-resources__btn-primary:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

.page-resources__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-resources__btn-small {
    padding: 8px 18px;
    font-size: 0.9em;
    border-radius: 5px;
    background-color: #26A9E0;
    color: #ffffff;
    border: 1px solid #26A9E0;
    margin-top: 15px;
}

.page-resources__btn-small:hover {
    background-color: #1e87c0;
    border-color: #1e87c0;
}

/* --- Hero Section --- */
.page-resources__hero-section {
    position: relative;
    padding: 120px 0 60px; /* Default desktop padding, will be adjusted by JS for header offset if needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 500px;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources__hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
    z-index: 1;
}

.page-resources__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    filter: none; /* Ensure no CSS filter changes image color */
}

.page-resources__hero-section .page-resources__container {
    position: relative;
    z-index: 2;
    max-width: 900px;
}

.page-resources__hero-title {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
}

.page-resources__hero-description {
    font-size: 1.3em;
    color: #f0f0f0;
    margin-bottom: 40px;
    line-height: 1.5;
}

.page-resources__hero-cta {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

/* --- Video Section --- */
.page-resources__video-section {
    position: relative;
    padding: 60px 0;
    background-color: #0a0a0a; /* Ensure dark background for video section */
    text-align: center;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px; /* Max width for video */
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    background-color: #000; /* Fallback for video background */
}

.page-resources__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: none; /* Ensure no CSS filter changes video color */
    object-fit: cover;
}

.page-resources__video-description {
    font-size: 1.1em;
    color: #e0e0e0;
    margin-top: 20px;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Content Areas --- */
.page-resources__content-area {
    padding: 60px 0;
}

.page-resources__introduction {
    background-color: #1a1a1a; /* Dark background for sections */
}

.page-resources__promotion-types {
    background-color: #0d0d0d;
}

.page-resources__how-to-claim {
    background-color: #1a1a1a;
}

.page-resources__optimization {
    background-color: #0d0d0d;
}

.page-resources__faq {
    background-color: #1a1a1a;
}

.page-resources__conclusion {
    background-color: #0d0d0d;
    text-align: center;
}

.page-resources__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources__grid--2-col {
    grid-template-columns: repeat(2, 1fr);
}

.page-resources__grid--2-col-reverse {
    grid-template-columns: repeat(2, 1fr);
}
.page-resources__grid--2-col-reverse .page-resources__text-block {
    order: 2;
}
.page-resources__grid--2-col-reverse .page-resources__image-wrapper {
    order: 1;
}