/* style/resources-what-is-joinph.css */
.page-resources-what-is-joinph {
    color: #333333; /* Dark text for light body background */
    line-height: 1.6;
    font-family: Arial, sans-serif;
}

.page-resources-what-is-joinph__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 500px; /* Ensures hero section has a minimum height */
    padding: var(--header-offset, 120px) 20px 60px; /* Ensure padding-top accounts for header offset */
    background-color: #000000; /* Dark background for hero */
    color: #FFFFFF;
    overflow: hidden;
}

.page-resources-what-is-joinph__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.page-resources-what-is-joinph__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Semi-transparent to allow text to stand out */
}

.page-resources-what-is-joinph__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
    border-radius: 10px;
}

.page-resources-what-is-joinph__hero-title {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: #FFFFFF;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.page-resources-what-is-joinph__hero-description {
    font-size: 1.3rem;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-resources-what-is-joinph__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
    font-size: 1.1rem;
    cursor: pointer;
}

.page-resources-what-is-joinph__button--register,
.page-resources-what-is-joinph__button--register-now {
    background-color: #FFFFFF;
    color: #000000;
    border: 2px solid #FFFFFF;
}

.page-resources-what-is-joinph__button--register:hover,
.page-resources-what-is-joinph__button--register-now:hover {
    background-color: #F0F0F0;
    transform: translateY(-2px);
}

.page-resources-what-is-joinph__button--login {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-resources-what-is-joinph__button--login:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-resources-what-is-joinph__button--play-now {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
    margin-top: 20px;
}

.page-resources-what-is-joinph__button--play-now:hover {
    background-color: #e0a53b;
    transform: translateY(-2px);
}

.page-resources-what-is-joinph__button--back {
    background-color: #000000;
    color: #FFFFFF;
    border: 2px solid #000000;
    margin-top: 30px;
}

.page-resources-what-is-joinph__button--back:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.page-resources-what-is-joinph__breadcrumb {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    font-size: 0.9rem;
    color: #666666;
}

.page-resources-what-is-joinph__breadcrumb-link {
    color: #000000;
    text-decoration: none;
}

.page-resources-what-is-joinph__breadcrumb-link:hover {
    text-decoration: underline;
}

.page-resources-what-is-joinph__breadcrumb-separator {
    margin: 0 5px;
}

.page-resources-what-is-joinph__breadcrumb-current {
    color: #FCBC45;
    font-weight: bold;
}

.page-resources-what-is-joinph__article-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.page-resources-what-is-joinph__section {
    margin-bottom: 40px;
}

.page-resources-what-is-joinph__section-title {
    font-size: 2.2rem;
    color: #000000;
    margin-bottom: 20px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-resources-what-is-joinph__sub-section-title {
    font-size: 1.6rem;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-what-is-joinph__paragraph {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #333333;
}

.page-resources-what-is-joinph__text-link {
    color: #000000;
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-what-is-joinph__text-link:hover {
    color: #FCBC45;
}

.page-resources-what-is-joinph__article-image {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px; /* Enforce min size */
    min-height: 200px; /* Enforce min size */
}

.page-resources-what-is-joinph__ordered-list,
.page-resources-what-is-joinph__resource-list {
    list-style-type: decimal;
    padding-left: 25px;
    margin-bottom: 20px;
}

.page-resources-what-is-joinph__resource-list {
    list-style-type: disc;
}

.page-resources-what-is-joinph__list-item {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: #333333;
}

.page-resources-what-is-joinph__related-resources {
    margin-top: 60px;
    border-top: 1px solid #eeeeee;
    padding-top: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-what-is-joinph__hero-title {
        font-size: 3rem;
    }
    .page-resources-what-is-joinph__hero-description {
        font-size: 1.2rem;
    }
    .page-resources-what-is-joinph__section-title {
        font-size: 2rem;
    }
    .page-resources-what-is-joinph__sub-section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .page-resources-what-is-joinph__hero-section {
        min-height: 400px;
        padding-top: var(--header-offset, 120px); /* Ensure padding-top accounts for header offset */
    }
    .page-resources-what-is-joinph__hero-title {
        font-size: 2.5rem;
    }
    .page-resources-what-is-joinph__hero-description {
        font-size: 1rem;
    }
    .page-resources-what-is-joinph__button {
        padding: 12px 25px;
        font-size: 1rem;
    }
    .page-resources-what-is-joinph__article-content {
        padding: 15px;
    }
    .page-resources-what-is-joinph__section-title {
        font-size: 1.8rem;
    }
    .page-resources-what-is-joinph__sub-section-title {
        font-size: 1.3rem;
    }
    .page-resources-what-is-joinph__paragraph,
    .page-resources-what-is-joinph__list-item {
        font-size: 1rem;
    }
    .page-resources-what-is-joinph__article-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Enforce min size */
        min-height: 200px; /* Enforce min size */
    }
    .page-resources-what-is-joinph {
        max-width: 100%;
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .page-resources-what-is-joinph__hero-title {
        font-size: 2rem;
    }
    .page-resources-what-is-joinph__hero-description {
        font-size: 0.9rem;
    }
    .page-resources-what-is-joinph__button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    .page-resources-what-is-joinph__section-title {
        font-size: 1.5rem;
    }
    .page-resources-what-is-joinph__sub-section-title {
        font-size: 1.2rem;
    }
}