:root {
    --primary-color: #26A9E0;
    --secondary-color: #FFFFFF;
    --login-color: #EA7C07;
    --text-color: #333333; /* Default for light backgrounds */
    --dark-text-color: #000000;
    --light-text-color: #ffffff;
    --border-color: #e0e0e0;
    --card-background: #ffffff;
    --section-padding-desktop: 80px 0;
    --section-padding-mobile: 40px 15px;
}

.page-resources-safe-access-guide {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--secondary-color); /* Assuming shared.css sets body to --color-auxiliary which is #FFFFFF */
}

.page-resources-safe-access-guide__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-resources-safe-access-guide__section-title {
    font-size: 36px;
    font-weight: bold;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.3;
}

.page-resources-safe-access-guide__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-safe-access-guide__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

.page-resources-safe-access-guide__btn-primary,
.page-resources-safe-access-guide__btn-secondary,
.page-resources-safe-access-guide__cta-button {
    display: inline-block;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsiveness */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow long words to break */
    max-width: 100%; /* Ensure buttons don't overflow */
}

.page-resources-safe-access-guide__cta-button {
    background: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.page-resources-safe-access-guide__cta-button:hover {
    background: #208cb2; /* Darken primary color */
    border-color: #208cb2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-safe-access-guide__btn-primary {
    background: var(--primary-color);
    color: var(--light-text-color);
    border: 2px solid var(--primary-color);
}

.page-resources-safe-access-guide__btn-primary:hover {
    background: #208cb2; /* Darken primary color */
    border-color: #208cb2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-safe-access-guide__btn-secondary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.page-resources-safe-access-guide__btn-secondary:hover {
    background: var(--primary-color);
    color: var(--light-text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Hero Section */
.page-resources-safe-access-guide__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--section-padding-desktop);
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
    background: linear-gradient(135deg, var(--primary-color) 0%, #aed6f1 100%); /* Light blue gradient */
    color: var(--light-text-color);
    overflow: hidden; /* Prevent image overflow */
}

.page-resources-safe-access-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; /* Ensure content is above any background elements */
}

.page-resources-safe-access-guide__hero-image {
    width: 100%;
    margin-bottom: 30px;
    max-height: 500px; /* Limit hero image height */
    overflow: hidden;
    border-radius: 12px;
}

.page-resources-safe-access-guide__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    border-radius: 12px;
}

.page-resources-safe-access-guide__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: 900px;
}

.page-resources-safe-access-guide__hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--light-text-color);
    line-height: 1.2;
}