/* style/resources-24h-poki-new-features.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --register-color: #C30808;
    --login-color: #C30808;
    --background-color: #FFFFFF;
    --register-login-font-color: #FFFF00;
    --text-color-dark: #333333;
    --text-color-light: #ffffff;
}

.page-resources-24h-poki-new-features {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--background-color);
}

.page-resources-24h-poki-new-features__dark-bg {
    background-color: var(--primary-color);
    color: var(--text-color-light);
}

.page-resources-24h-poki-new-features__light-bg {
    background-color: var(--background-color);
    color: var(--text-color-dark);
}

.page-resources-24h-poki-new-features__hero-section {
    position: relative;
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px);
}

.page-resources-24h-poki-new-features__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.page-resources-24h-poki-new-features__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.page-resources-24h-poki-new-features__hero-content {
    position: relative;
    z-index: 3;
    max-width: 900px;
    padding: 20px;
    color: var(--text-color-light);
}

.page-resources-24h-poki-new-features__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--text-color-light);
}

.page-resources-24h-poki-new-features__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.page-resources-24h-poki-new-features__hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-resources-24h-poki-new-features__btn-primary,
.page-resources-24h-poki-new-features__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
    max-width: 100%;
}

.page-resources-24h-poki-new-features__btn-primary {
    background-color: var(--register-color);
    color: var(--register-login-font-color);
    border: 2px solid var(--register-color);
}

.page-resources-24h-poki-new-features__btn-primary:hover {
    background-color: darken(var(--register-color), 10%);
    border-color: darken(var(--register-color), 10%);
}

.page-resources-24h-poki-new-features__btn-secondary {
    background-color: transparent;
    color: var(--text-color-light);
    border: 2px solid var(--text-color-light);
}

.page-resources-24h-poki-new-features__btn-secondary:hover {
    background-color: var(--text-color-light);
    color: var(--primary-color);
}

.page-resources-24h-poki-new-features__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.page-resources-24h-poki-new-features__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    margin-top: 60px;
}

.page-resources-24h-poki-new-features__text-block p {
    margin-bottom: 15px;
    font-size: 1.1em;
    line-height: 1.7;
}

.page-resources-24h-poki-new-features__text-block h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-resources-24h-poki-new-features__feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-24h-poki-new-features__feature-card {
    background-color: var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #e0e0e0;
}

.page-resources-24h-poki-new-features__feature-card:hover {
    transform: translateY(-10px);
}

.page-resources-24h-poki-new-features__card-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
    object-fit: cover;
}

.page-resources-24h-poki-new-features__card-title {
    font-size: 1.6em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-resources-24h-poki-new-features__card-text {
    font-size: 1em;
    color: var(--text-color-dark);
}

.page-resources-24h-poki-new-features__content-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-resources-24h-poki-new-features__benefit-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    margin-bottom: 60px;
}

.page-resources-24h-poki-new-features__benefit-list li {
    background-color: #f8f8f8;
    padding: 15px 20px;
    margin-bottom: 10px;
    border-left: 5px solid var(--primary-color);
    border-radius: 5px;
    font-size: 1.1em;
    color: var(--text-color-dark);
}

.page-resources-24h-poki-new-features__benefit-list li strong {
    color: var(--primary-color);
}

.page-resources-24h-poki-new-features__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.page-resources-24h-poki-new-features__faq-list {
    margin-top: 40px;
    margin-bottom: 60px;
}

.page-resources-24h-poki-new-features__faq-item {
    background-color: var(--secondary-color);
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-resources-24h-poki-new-features__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    font-size: 1.2em;
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    background-color: #f5f5f5;
    transition: background-color 0.3s ease;
}

.page-resources-24h-poki-new-features__faq-question:hover {
    background-color: #eaeaea;
}

.page-resources-24h-poki-new-features__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
}

.page-resources-24h-poki-new-features__faq-item.active .page-resources-24h-poki-new-features__faq-toggle {
    transform: rotate(45deg);
}

.page-resources-24h-poki-new-features__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--text-color-dark);
}

.page-resources-24h-poki-new-features__faq-item.active .page-resources-24h-poki-new-features__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-24h-poki-new-features__faq-answer p {
    margin-bottom: 10px;
}

.page-resources-24h-poki-new-features__text-link {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: bold;
}

.page-resources-24h-poki-new-features__text-link:hover {
    color: darken(var(--primary-color), 10%);
}

/* Responsive styles */
@media (max-width: 1024px) {
    .page-resources-24h-poki-new-features__hero-title {
        font-size: 2.8em;
    }

    .page-resources-24h-poki-new-features__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-resources-24h-poki-new-features {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-resources-24h-poki-new-features__hero-section {
        min-height: 400px;
    }

    .page-resources-24h-poki-new-features__hero-title {
        font-size: 2em;
    }

    .page-resources-24h-poki-new-features__hero-description {
        font-size: 1em;
    }

    .page-resources-24h-poki-new-features__hero-actions,
    .page-resources-24h-poki-new-features__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .page-resources-24h-poki-new-features__btn-primary,
    .page-resources-24h-poki-new-features__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
    }

    .page-resources-24h-poki-new-features__content-area {
        padding: 40px 15px;
    }

    .page-resources-24h-poki-new-features__section-title {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-resources-24h-poki-new-features__text-block h3 {
        font-size: 1.5em;
    }

    .page-resources-24h-poki-new-features__feature-card {
        padding: 20px;
    }

    .page-resources-24h-poki-new-features__card-title {
        font-size: 1.4em;
    }

    .page-resources-24h-poki-new-features__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }

    /* Mobile image and video responsiveness */
    .page-resources-24h-poki-new-features img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-resources-24h-poki-new-features__section,
    .page-resources-24h-poki-new-features__card,
    .page-resources-24h-poki-new-features__container,
    .page-resources-24h-poki-new-features__hero-section,
    .page-resources-24h-poki-new-features__content-area,
    .page-resources-24h-poki-new-features__feature-grid,
    .page-resources-24h-poki-new-features__feature-card,
    .page-resources-24h-poki-new-features__faq-list,
    .page-resources-24h-poki-new-features__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important;
    }

    .page-resources-24h-poki-new-features__hero-section {
        padding-top: var(--header-offset, 120px) !important;
    }

    .page-resources-24h-poki-new-features__cta-buttons {
        flex-wrap: wrap !important;
        gap: 10px;
        padding-left: 15px;
        padding-right: 15px;
    }
}