/* style/resources-online-phom-platforms.css */
.page-resources-online-phom-platforms {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background: var(--background-color, #FFFFFF); /* Inherit from shared or default to white */
}

.page-resources-online-phom-platforms__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-resources-online-phom-platforms__section {
    padding: 60px 0;
    text-align: center;
}

.page-resources-online-phom-platforms__dark-section {
    background: #26A9E0; /* Primary brand color */
    color: #ffffff; /* White text for dark background */
}

.page-resources-online-phom-platforms__dark-section .page-resources-online-phom-platforms__heading,
.page-resources-online-phom-platforms__dark-section .page-resources-online-phom-platforms__text-block {
    color: #ffffff;
}

.page-resources-online-phom-platforms__heading {
    font-size: 2.5em;
    margin-bottom: 30px;
    color: #26A9E0; /* Primary brand color */
}

.page-resources-online-phom-platforms__dark-section .page-resources-online-phom-platforms__heading {
    color: #ffffff;
}

.page-resources-online-phom-platforms__text-block {
    font-size: 1.1em;
    margin-bottom: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-phom-platforms__highlight {
    font-weight: bold;
    color: #26A9E0;
}

.page-resources-online-phom-platforms__dark-section .page-resources-online-phom-platforms__highlight {
    color: #ffffff;
}

.page-resources-online-phom-platforms__link {
    color: #26A9E0;
    text-decoration: underline;
}

.page-resources-online-phom-platforms__link:hover {
    color: #1a7bb7;
}

/* Hero Section */
.page-resources-online-phom-platforms__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
    background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Blended brand colors */
    color: #ffffff;
}

.page-resources-online-phom-platforms__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-resources-online-phom-platforms__hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page-resources-online-phom-platforms__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-resources-online-phom-platforms__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding: 0 15px;
}

.page-resources-online-phom-platforms__hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #ffffff;
    line-height: 1.2;
}

.page-resources-online-phom-platforms__hero-description {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #ffffff;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-resources-online-phom-platforms__cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: #EA7C07; /* Login button color */
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 30px;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-online-phom-platforms__cta-button:hover {
    background: #d66e06;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.page-resources-online-phom-platforms__cta-button--secondary {
    background: #ffffff;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-resources-online-phom-platforms__cta-button--secondary:hover {
    background: #f0f0f0;
    color: #1a7bb7;
}

.page-resources-online-phom-platforms__cta-button--large {
    font-size: 1.5em;
    padding: 20px 50px;
}

/* Feature Grid */
.page-resources-online-phom-platforms__features-section {
    background: #f9f9f9;
}

.page-resources-online-phom-platforms__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-online-phom-platforms__card {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: left;
    color: #333333;
}

.page-resources-online-phom-platforms__feature-title {
    font-size: 1.5em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-resources-online-phom-platforms__feature-description {
    font-size: 1em;
    color: #555555;
}

.page-resources-online-phom-platforms__image-full {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 40px auto 0;
    border-radius: 8px;
    object-fit: cover;
}

/* Guide Section */
.page-resources-online-phom-platforms__guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-resources-online-phom-platforms__guide-item {
    text-align: left;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.page-resources-online-phom-platforms__guide-title {
    font-size: 1.4em;
    color: #ffffff;
    margin-bottom: 10px;
}

.page-resources-online-phom-platforms__guide-item p {
    color: #e0e0e0;
}

/* Promo List */
.page-resources-online-phom-platforms__promo-list {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-online-phom-platforms__promo-item {
    text-align: left;
}

.page-resources-online-phom-platforms__promo-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-resources-online-phom-platforms__promo-item p {
    color: #555555;
}

/* Support Grid */
.page-resources-online-phom-platforms__support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 40px;
}

.page-resources-online-phom-platforms__support-item {
    text-align: left;
}

.page-resources-online-phom-platforms__support-title {
    font-size: 1.4em;
    color: #26A9E0;
    margin-bottom: 10px;
}

.page-resources-online-phom-platforms__dark-section .page-resources-online-phom-platforms__support-title {
    color: #ffffff;
}

.page-resources-online-phom-platforms__support-item p {
    color: #555555;
}

.page-resources-online-phom-platforms__dark-section .page-resources-online-phom-platforms__support-item p {
    color: #e0e0e0;
}

/* FAQ Section */
.page-resources-online-phom-platforms__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.page-resources-online-phom-platforms__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
}

.page-resources-online-phom-platforms__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
    padding: 0 15px;
    opacity: 0;
}

.page-resources-online-phom-platforms__faq-item.active .page-resources-online-phom-platforms__faq-answer {
    max-height: 2000px !important;
    padding: 20px 15px !important;
    opacity: 1;
    background: #f9f9f9;
    border-radius: 0 0 5px 5px;
    color: #333333;
}

.page-resources-online-phom-platforms__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
    position: relative;
}

.page-resources-online-phom-platforms__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

.page-resources-online-phom-platforms__faq-question:active {
    background: #eeeeee;
}

.page-resources-online-phom-platforms__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    pointer-events: none;
    color: #333333;
}

.page-resources-online-phom-platforms__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    color: #666;
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

.page-resources-online-phom-platforms__faq-item.active .page-resources-online-phom-platforms__faq-toggle {
    color: #333;
    transform: rotate(45deg);
}

/* CTA Final Section */
.page-resources-online-phom-platforms__cta-final-section .page-resources-online-phom-platforms__container {
    padding: 80px 20px;
    border-radius: 12px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-online-phom-platforms__hero-title {
        font-size: 3em;
    }
    .page-resources-online-phom-platforms__hero-description {
        font-size: 1.2em;
    }
    .page-resources-online-phom-platforms__heading {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-online-phom-platforms__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-resources-online-phom-platforms__hero-title {
        font-size: 2.2em;
    }
    .page-resources-online-phom-platforms__hero-description {
        font-size: 1em;
    }
    .page-resources-online-phom-platforms__cta-button {
        padding: 12px 30px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-resources-online-phom-platforms__cta-button--large {
        padding: 15px 35px;
        font-size: 1.2em;
    }

    .page-resources-online-phom-platforms__section {
        padding: 40px 0;
    }
    .page-resources-online-phom-platforms__heading {
        font-size: 1.8em;
    }
    .page-resources-online-phom-platforms__text-block {
        font-size: 0.95em;
    }
    .page-resources-online-phom-platforms__feature-grid, 
    .page-resources-online-phom-platforms__promo-list, 
    .page-resources-online-phom-platforms__support-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-resources-online-phom-platforms__card {
        padding: 20px;
    }

    /* Images responsive */
    .page-resources-online-phom-platforms img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-resources-online-phom-platforms__section,
    .page-resources-online-phom-platforms__card,
    .page-resources-online-phom-platforms__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    /* FAQ mobile */
    .page-resources-online-phom-platforms__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-resources-online-phom-platforms__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-resources-online-phom-platforms__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-resources-online-phom-platforms__faq-answer {
        padding: 0 15px;
    }
    .page-resources-online-phom-platforms__faq-item.active .page-resources-online-phom-platforms__faq-answer {
        padding: 15px !important;
    }
}