/*
|--------------------------------------------------------------------------
| YTThumbnailHD
| Static Pages CSS
|--------------------------------------------------------------------------
*/


/* ==========================================================================
   PAGE HERO
   ========================================================================== */

.page-hero {
    background: #f5f8ff;
    padding: 55px 20px;
    text-align: center;
    border-bottom: 1px solid #e6edf7;
}

.page-hero .container {
    max-width: 900px;
    margin: 0 auto;
}

.page-hero h1 {
    margin: 0 0 15px;
    color: #0b3c8a;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.25;
}

.page-hero p {
    max-width: 760px;
    margin: 0 auto;
    color: #5f6f94;
    font-size: 17px;
    line-height: 1.7;
}


/* ==========================================================================
   PAGE SECTION
   ========================================================================== */

.page-section {
    background: #ffffff;
    padding: 60px 20px;
}

.page-section .container {
    max-width: 900px;
    margin: 0 auto;
}

.page-content {
    color: #3f4f6b;
    font-size: 16px;
    line-height: 1.8;
}

.page-content h2 {
    margin: 38px 0 14px;
    color: #172b4d;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.35;
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    margin: 0 0 18px;
}

.page-content ul,
.page-content ol {
    margin: 0 0 25px;
    padding-left: 24px;
}

.page-content li {
    margin-bottom: 9px;
}


/* ==========================================================================
   PAGE CTA
   ========================================================================== */

.page-cta {
    margin-top: 50px;
    padding: 35px 30px;
    background: #f5f8ff;
    border: 1px solid #e1e9f5;
    border-radius: 10px;
    text-align: center;
}

.page-cta h2 {
    margin: 0 0 12px;
    color: #0b3c8a;
    font-size: 26px;
}

.page-cta p {
    max-width: 650px;
    margin: 0 auto 22px;
    color: #5f6f94;
}

.page-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 24px;
    background: #fc5531;
    border: 1px solid #fc5531;
    border-radius: 7px;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.page-button:hover {
    background: #e84421;
    border-color: #e84421;
    color: #ffffff;
    transform: translateY(-1px);
}


/* ==========================================================================
   FAQ PAGE
   ========================================================================== */

.faq-content {
    max-width: 900px;
    margin: 0 auto;
}

.faq-content > h2 {
    margin-bottom: 12px;
}

.faq-content > h2 + p {
    margin-bottom: 30px;
}


/* ==========================================================================
   FAQ ITEM
   ========================================================================== */

.faq-item {
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid #dce5f1;
    border-radius: 8px;
    overflow: hidden;
}


/* ==========================================================================
   FAQ QUESTION
   ========================================================================== */

.faq-question {
    width: 100%;
    min-height: 58px;
    padding: 16px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: #ffffff;
    border: 0;

    color: #172b4d;
    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-align: left;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.faq-question:hover {
    background: #f5f8ff;
    color: #0b3c8a;
}


/* ==========================================================================
   FAQ ICON
   ========================================================================== */

.faq-icon {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 24px;
    height: 24px;

    color: #0b3c8a;
    font-size: 22px;
    font-weight: 400;
    line-height: 1;

    transition: transform 0.2s ease;
}


/* ==========================================================================
   FAQ ANSWER
   ========================================================================== */

.faq-answer {
    display: none;

    padding: 0 20px 18px;

    border-top: 1px solid #edf1f6;

    color: #5f6f94;
    font-size: 15px;
    line-height: 1.75;
}

.faq-answer p {
    margin: 16px 0 0;
}

.faq-answer p + p {
    margin-top: 14px;
}


/* ==========================================================================
   ACTIVE FAQ
   ========================================================================== */

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-item.active .faq-question {
    background: #f5f8ff;
    color: #0b3c8a;
}


/* ==========================================================================
   404 ERROR PAGE
   ========================================================================== */

.error-page {
    background: #ffffff;
}

.error-section {
    min-height: 55vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 80px 20px;

    box-sizing: border-box;
}

.error-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.error-code {
    margin-bottom: 10px;

    color: #0b3c8a;

    font-size: 96px;
    font-weight: 800;
    line-height: 1;
}

.error-container h1 {
    margin: 0 0 15px;

    color: #172b4d;

    font-size: 34px;
    font-weight: 700;
    line-height: 1.3;
}

.error-container p {
    max-width: 600px;
    margin: 0 auto 28px;

    color: #5f6f94;

    font-size: 16px;
    line-height: 1.7;
}

.error-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.error-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;
    padding: 0 20px;

    border-radius: 7px;

    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}

.error-button:hover {
    transform: translateY(-1px);
}

.error-button.primary {
    border: 1px solid #fc5531;
    background: #fc5531;
    color: #ffffff;
}

.error-button.primary:hover {
    background: #e84421;
}

.error-button.secondary {
    border: 1px solid #d5deeb;
    background: #f5f8ff;
    color: #27456f;
}

.error-button.secondary:hover {
    background: #eaf0f8;
}


/* ==========================================================================
   MOBILE
   ========================================================================== */

@media (max-width: 768px) {

    .page-hero {
        padding: 42px 18px;
    }

    .page-hero h1 {
        font-size: 34px;
    }

    .page-hero p {
        font-size: 16px;
    }

    .page-section {
        padding: 45px 18px;
    }

    .page-content {
        font-size: 15px;
        line-height: 1.75;
    }

    .page-content h2 {
        margin-top: 32px;
        font-size: 25px;
    }

    .faq-question {
        min-height: 56px;
        padding: 15px 16px;
        font-size: 15px;
    }

    .faq-answer {
        padding: 0 16px 16px;
        font-size: 14px;
    }

    .page-cta {
        margin-top: 40px;
        padding: 28px 20px;
    }

    .page-cta h2 {
        font-size: 23px;
    }

}


@media (max-width: 600px) {

    .page-hero {
        padding: 38px 16px;
    }

    .page-hero h1 {
        font-size: 29px;
    }

    .page-hero p {
        font-size: 15px;
    }

    .page-section {
        padding: 40px 16px;
    }

    .page-content h2 {
        font-size: 23px;
    }

    .page-cta {
        padding: 25px 16px;
    }

    .page-button {
        width: 100%;
        min-height: 46px;
    }

    .error-section {
        min-height: 50vh;
        padding: 60px 18px;
    }

    .error-code {
        font-size: 72px;
    }

    .error-container h1 {
        font-size: 27px;
    }

    .error-container p {
        font-size: 14px;
    }

    .error-actions {
        flex-direction: column;
        width: 100%;
    }

    .error-button {
        width: 100%;
        min-height: 46px;
    }

}

.contact-email {
    color: #0b3c8a;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    word-break: break-word;
}

.contact-email:hover {
    color: #fc5531;
    text-decoration: underline;
}