/* style/index-about-ph987.css */
.page-index-about-ph987 {
    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-index-about-ph987__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #000000;
    color: #FFFFFF;
    padding: 0;
}

.page-index-about-ph987__hero-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.page-index-about-ph987__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    opacity: 0.6;
}

.page-index-about-ph987__hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    max-width: 900px;
    padding: 20px;
}

.page-index-about-ph987__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    line-height: 1.2;
}

.page-index-about-ph987__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-index-about-ph987__hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.page-index-about-ph987__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    min-width: 200px; /* Ensure button minimum size */
}

.page-index-about-ph987__button--primary {
    background-color: #FCBC45; /* Login button color */
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-index-about-ph987__button--primary:hover {
    background-color: #E6A83C;
    border-color: #E6A83C;
}

.page-index-about-ph987__button--secondary {
    background-color: transparent;
    color: #FFFFFF; /* Register button color */
    border: 2px solid #FFFFFF;
}

.page-index-about-ph987__button--secondary:hover {
    background-color: #FFFFFF;
    color: #000000;
}

.page-index-about-ph987__button--tertiary {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
}

.page-index-about-ph987__button--tertiary:hover {
    background-color: #333333;
    border-color: #333333;
}

.page-index-about-ph987__section {
    padding: 60px 20px;
    background-color: #FFFFFF;
}

.page-index-about-ph987__section:nth-of-type(even) {
    background-color: #F8F8F8;
}

.page-index-about-ph987__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.page-index-about-ph987__heading {
    font-size: 2.5em;
    color: #000000;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-about-ph987__heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FCBC45;
}

.page-index-about-ph987__text {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: #333333;
    text-align: left;
}

.page-index-about-ph987__image {
    width: 100%;
    height: auto;
    max-width: 800px;
    margin: 40px auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce minimum image size */
    min-height: 200px;
}

/* Ensure all images within the content area are large enough */
.page-index-about-ph987__container img {
    min-width: 200px;
    min-height: 200px;
}

@media (max-width: 768px) {
    .page-index-about-ph987__hero-title {
        font-size: 2.5em;
    }

    .page-index-about-ph987__hero-description {
        font-size: 1em;
    }

    .page-index-about-ph987__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-index-about-ph987__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .page-index-about-ph987__heading {
        font-size: 2em;
    }

    .page-index-about-ph987__text {
        font-size: 1em;
    }

    /* Mobile specific image sizing */
    .page-index-about-ph987__image,
    .page-index-about-ph987__container img {
        max-width: 100%;
        height: auto;
        min-width: 200px;
        min-height: 200px;
    }

    .page-index-about-ph987 {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-index-about-ph987__hero-title {
        font-size: 2em;
    }

    .page-index-about-ph987__hero-description {
        font-size: 0.9em;
    }

    .page-index-about-ph987__heading {
        font-size: 1.8em;
    }
}