/* =========================================
   ZMIST PAGE
   ========================================= */

.bt-page-hero {
    padding: 80px 8% 40px;
    text-align: center;
}

.bt-page-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.bt-page-hero p {
    max-width: 800px;
    margin: 0 auto 30px;
    text-align: justify;
}

.bt-stats {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.bt-stats span {
    background: #facc15;
    color: #111827;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
}

.bt-content-section {
    padding: 40px 8% 80px;
}

.bt-container {
    max-width: 1200px;
    margin: auto;
}

/* =========================================
   ACCORDION
   ========================================= */

.bt-accordion {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 5px 18px rgba(0,0,0,.08);
}

.bt-accordion-btn {
    width: 100%;
    border: none;
    background: #fff;
    cursor: pointer;
    text-align: left;
    padding: 22px 28px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
}

.bt-accordion-btn:hover {
    background: #f8fafc;
}

.bt-accordion-btn.active {
    background: #0f172a;
    color: white;
}

.bt-accordion-content {
    display: none;
    padding: 20px 28px;
    border-top: 1px solid #e5e7eb;
    
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.bt-accordion-content a {
    display: block;
    text-decoration: none;
    color: #1f2937;
    padding: 10px 0;
}

.bt-accordion-content a:hover {
    color: #2563eb;
}

.bt-subtopic-title {
    margin-top: 20px;
    font-weight: 700;
    color: #0f172a;
}

.bt-subtopic {
    padding-left: 25px !important;
}

/* =========================================
   MOBILE ZMIST IMPROVEMENTS
   ========================================= */

@media (max-width: 768px) {

    .bt-page-hero h1 {
        font-size: 1.9rem;
    }

    .bt-page-hero p {
        font-size: 0.95rem;
        padding: 0 10px;
    }

    /* Accordion стає "мобільною карткою" */
    .bt-accordion {
        border-radius: 14px;
        margin-bottom: 14px;
    }

    .bt-accordion-btn {
        font-size: 1rem;
        padding: 18px 16px;
        line-height: 1.3;
    }

    .bt-accordion-content {
        padding: 12px 16px;
    }

    /* посилання — більші для пальця */
    .bt-accordion-content a {
        padding: 12px 8px;
        border-radius: 8px;
    }

    .bt-accordion-content a:active {
        background: #f1f5f9;
    }

    /* підпункти (індентація) */
    .sub,
    .bt-subtopic-title {
        font-size: 0.95rem;
    }

    .bt-subtopic {
        padding-left: 16px !important;
    }
}