/* style/resources.css */

/* Base styles for the page content */
.page-resources {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light background */
    background-color: var(--secondary-color, #FFFFFF); /* Inherit from shared, fallback to white */
}

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

/* Hero Section */
.page-resources__hero-section {
    position: relative;
    padding: 80px 0;
    text-align: center;
    color: #ffffff; /* Light text for dark background */
    background-color: #26A9E0; /* Brand primary color */
    padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
}

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

.page-resources__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources__hero-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

/* General Content Sections */
.page-resources__content-section {
    padding: 60px 0;
}

.page-resources__section-title {
    font-size: 2.2em;
    text-align: center;
    margin-bottom: 40px;
    color: #26A9E0; /* Brand primary color for titles */
    font-weight: bold;
}

.page-resources__sub-title {
    font-size: 1.6em;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #26A9E0; /* Brand primary color for subtitles */
    font-weight: bold;
}

.page-resources__text-block {
    margin-bottom: 20px;
    font-size: 1.05em;
    line-height: 1.7;
    color: #333333;
}

.page-resources__text-block a {
    color: #26A9E0;
    text-decoration: none;
    font-weight: bold;
}

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

.page-resources__image-wrapper {
    margin: 30px auto;
    text-align: center;
}

.page-resources__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: block; /* Ensures max-width works as expected */
    margin: 0 auto;
}

.page-resources__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333;
}

.page-resources__list-item {
    margin-bottom: 10px;
    font-size: 1.05em;
    line-height: 1.6;
}

.page-resources__list-item strong {
    color: #26A9E0;
}

/* Video Section */
.page-resources__video-section {
    padding: 60px 0;
    text-align: center;
}

.page-resources__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-resources__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    cursor: pointer;
}

.page-resources__video-caption {
    margin-top: 15px;
    font-style: italic;
    color: #555555;
    font-size: 0.95em;
}

/* CTA Buttons */
.page-resources__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.page-resources__btn-primary,
.page-resources__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;
    box-sizing: border-box; /* Ensure padding doesn't increase width */
    max-width: 100%; /* For responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

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

.page-resources__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
    transform: translateY(-2px);
}