.page-resources-king-ph-app-features {
    color: #333333; /* Default text color for light body background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

.page-resources-king-ph-app-features__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    background-color: #0A192F;
    color: #ffffff;
    padding: 20px;
    text-align: center;
}

.page-resources-king-ph-app-features__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3; /* Slightly dim the background image */
    filter: brightness(0.7); /* Darken image slightly for text readability */
}

.page-resources-king-ph-app-features__hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-resources-king-ph-app-features__hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.4); /* Semi-transparent overlay for text */
    border-radius: 10px;
}

.page-resources-king-ph-app-features__main-title {
    font-size: 3.2em;
    color: #FFD700;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-resources-king-ph-app-features__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.page-resources-king-ph-app-features__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.page-resources-king-ph-app-features__button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-king-ph-app-features__button--primary {
    background-color: #FFD700;
    color: #0A192F;
}

.page-resources-king-ph-app-features__button--primary:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
}

.page-resources-king-ph-app-features__button--secondary {
    background-color: #FF4500;
    color: #ffffff;
    border: 2px solid #FF4500;
}

.page-resources-king-ph-app-features__button--secondary:hover {
    background-color: #cc3700;
    transform: translateY(-2px);
}

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

.page-resources-king-ph-app-features__back-link {
    display: inline-block;
    margin-bottom: 30px;
    color: #0A192F;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: color 0.3s ease;
}

.page-resources-king-ph-app-features__back-link:hover {
    color: #FFD700;
}

.page-resources-king-ph-app-features__article {
    padding: 20px 0;
}

.page-resources-king-ph-app-features__section-title {
    font-size: 2.2em;
    color: #0A192F;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 3px solid #FFD700;
    padding-bottom: 10px;
    text-align: left;
}

.page-resources-king-ph-app-features__sub-section-title {
    font-size: 1.8em;
    color: #0A192F;
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
}

.page-resources-king-ph-app-features__paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    text-align: justify;
}

.page-resources-king-ph-app-features__list {
    list-style-type: disc;
    margin-left: 30px;
    margin-bottom: 20px;
    padding-left: 0;
}

.page-resources-king-ph-app-features__list-item {
    font-size: 1.1em;
    margin-bottom: 10px;
}

.page-resources-king-ph-app-features__image-centered {
    display: block;
    margin: 30px auto;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    min-height: 200px;
}

.page-resources-king-ph-app-features__link {
    color: #0A192F;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-resources-king-ph-app-features__link:hover {
    color: #FFD700;
}

.page-resources-king-ph-app-features__link-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700;
    color: #0A192F;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.page-resources-king-ph-app-features__link-button:hover {
    background-color: #e6c200;
}

.page-resources-king-ph-app-features__blockquote {
    background-color: #f9f9f9;
    border-left: 5px solid #FFD700;
    margin: 30px 0;
    padding: 20px 25px;
    font-style: italic;
    color: #555555;
    border-radius: 5px;
}

.page-resources-king-ph-app-features__blockquote-text {
    font-size: 1.1em;
    margin: 0;
}

.page-resources-king-ph-app-features__call-to-action {
    background-color: #0A192F;
    color: #ffffff;
    padding: 40px;
    text-align: center;
    border-radius: 8px;
    margin-top: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-resources-king-ph-app-features__cta-text {
    font-size: 1.5em;
    margin-bottom: 25px;
    font-weight: bold;
}

.page-resources-king-ph-app-features__button--large {
    padding: 18px 35px;
    font-size: 1.2em;
    background-color: #FFD700;
    color: #0A192F;
}

.page-resources-king-ph-app-features__button--large:hover {
    background-color: #e6c200;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-resources-king-ph-app-features__hero-section {
        min-height: 400px;
        padding: 40px 15px;
    }

    .page-resources-king-ph-app-features__main-title {
        font-size: 2.5em;
    }

    .page-resources-king-ph-app-features__intro-text {
        font-size: 1.1em;
    }

    .page-resources-king-ph-app-features__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-king-ph-app-features__button {
        width: 80%;
        max-width: 300px;
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-resources-king-ph-app-features__content-area {
        margin: 20px auto;
        padding: 0 15px;
    }

    .page-resources-king-ph-app-features__section-title {
        font-size: 1.8em;
        margin-top: 30px;
    }

    .page-resources-king-ph-app-features__sub-section-title {
        font-size: 1.5em;
        margin-top: 25px;
    }

    .page-resources-king-ph-app-features__paragraph,
    .page-resources-king-ph-app-features__list-item,
    .page-resources-king-ph-app-features__blockquote-text {
        font-size: 1em;
    }

    .page-resources-king-ph-app-features__image-centered {
        max-width: 100%;
        height: auto; /* Ensure images scale responsively */
        min-width: 200px;
        min-height: 200px;
    }

    .page-resources-king-ph-app-features__call-to-action {
        padding: 30px 20px;
    }

    .page-resources-king-ph-app-features__cta-text {
        font-size: 1.3em;
    }

    .page-resources-king-ph-app-features__button--large {
        font-size: 1.1em;
        padding: 15px 30px;
    }

    /* Ensure content area images do not cause horizontal scroll */
    .page-resources-king-ph-app-features img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .page-resources-king-ph-app-features__main-title {
        font-size: 2em;
    }

    .page-resources-king-ph-app-features__intro-text {
        font-size: 0.95em;
    }

    .page-resources-king-ph-app-features__section-title {
        font-size: 1.6em;
    }

    .page-resources-king-ph-app-features__sub-section-title {
        font-size: 1.3em;
    }
}