/* style/resources-spinph99-introduction.css */

.page-resources-spinph99-introduction {
    color: #333333; /* Dark text for light body background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
}

.page-resources-spinph99-introduction__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    color: #ffffff;
    text-align: center;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-resources-spinph99-introduction__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    min-height: 500px;
}

.page-resources-spinph99-introduction__hero-container {
    position: relative;
    width: 100%;
    max-width: 1920px;
    height: 675px; /* Fixed height for the hero container to define the image display area */
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 20px;
}

.page-resources-spinph99-introduction__hero-content {
    position: relative;
    z-index: 3;
    background-color: rgba(26, 43, 76, 0.7); /* Main color with transparency */
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-spinph99-introduction__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: #FFD700; /* Accent color for title */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.page-resources-spinph99-introduction__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-spinph99-introduction__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-spinph99-introduction__hero-button {
    display: inline-block;
    padding: 15px 30px;
    background-color: #FFD700; /* Accent color */
    color: #1A2B4C; /* Main color */
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-resources-spinph99-introduction__hero-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-spinph99-introduction__hero-button--secondary {
    background-color: #1A2B4C; /* Main color */
    color: #FFD700; /* Accent color */
    border: 2px solid #FFD700;
}

.page-resources-spinph99-introduction__hero-button--secondary:hover {
    background-color: #2b3f66;
    border-color: #e6c200;
}

.page-resources-spinph99-introduction__content-area {
    max-width: 800px; /* Content width for readability */
    margin: 40px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.page-resources-spinph99-introduction__back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #1A2B4C;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-spinph99-introduction__back-link:hover {
    color: #FFD700;
}

.page-resources-spinph99-introduction__article {
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-spinph99-introduction__section-title {
    font-size: 2em;
    color: #1A2B4C;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #FFD700;
    padding-bottom: 10px;
}

.page-resources-spinph99-introduction__paragraph {
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-spinph99-introduction__highlight {
    color: #1A2B4C;
    font-weight: bold;
}

.page-resources-spinph99-introduction__article-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min image width */
    min-height: 200px; /* Enforce min image height */
    object-fit: cover;
}

.page-resources-spinph99-introduction__article-image--portrait {
    max-width: 400px; /* Adjust max-width for portrait images */
}

.page-resources-spinph99-introduction__cta-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #FFD700;
    color: #1A2B4C;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

.page-resources-spinph99-introduction__cta-button:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-spinph99-introduction__cta-button--secondary {
    background-color: #1A2B4C;
    color: #FFD700;
    border: 2px solid #FFD700;
}

.page-resources-spinph99-introduction__cta-button--secondary:hover {
    background-color: #2b3f66;
    border-color: #e6c200;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-spinph99-introduction__hero-title {
        font-size: 2.8em;
    }
    .page-resources-spinph99-introduction__hero-description {
        font-size: 1.1em;
    }
    .page-resources-spinph99-introduction__hero-container {
        height: 550px;
    }
}

@media (max-width: 768px) {
    .page-resources-spinph99-introduction__hero-title {
        font-size: 2.2em;
    }
    .page-resources-spinph99-introduction__hero-description {
        font-size: 1em;
    }
    .page-resources-spinph99-introduction__hero-actions {
        flex-direction: column;
    }
    .page-resources-spinph99-introduction__hero-button {
        width: 80%;
        max-width: 300px;
    }
    .page-resources-spinph99-introduction__hero-container {
        height: 450px;
    }
    .page-resources-spinph99-introduction__content-area {
        padding: 15px;
        margin: 20px auto;
    }
    .page-resources-spinph99-introduction__section-title {
        font-size: 1.8em;
    }
    .page-resources-spinph99-introduction__article-image {
        max-width: 100%;
        height: auto; /* Ensure images are responsive and don't overflow */
        min-width: 200px; /* Enforce min image width */
        min-height: 200px; /* Enforce min image height */
    }
    .page-resources-spinph99-introduction__article-image--portrait {
        max-width: 100%; /* Portrait images also full width on mobile */
    }
    .page-resources-spinph99-introduction {
        overflow-x: hidden; /* Prevent horizontal scroll */
    }
    /* Mobile specific image sizing for content area */
    .page-resources-spinph99-introduction img {
        max-width: 100% !important;
        height: auto !important;
    }
}

@media (max-width: 480px) {
    .page-resources-spinph99-introduction__hero-title {
        font-size: 1.8em;
    }
    .page-resources-spinph99-introduction__hero-description {
        font-size: 0.9em;
    }
    .page-resources-spinph99-introduction__hero-content {
        padding: 25px;
    }
    .page-resources-spinph99-introduction__hero-container {
        height: 380px;
    }
    .page-resources-spinph99-introduction__section-title {
        font-size: 1.5em;
    }
    .page-resources-spinph99-introduction__article {
        font-size: 1em;
    }
}