/* =========================================
   GLOBAL PAGE WRAPPERS
========================================= */

.treatment-page,
.silo-page {
    font-size: 18px;
    line-height: 1.85;
    color: #1f2937;
}

/* =========================================
   GEO LINE
========================================= */

.treatment-page .geo-line,
.silo-page .geo-line {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 20px;
    letter-spacing: .3px;
}

/* =========================================
   HERO
========================================= */

.treatment-page .hero,
.silo-page .hero {
    background: #f5f9ff;
    border: 1px solid #dbeafe;
    border-radius: 18px;
    padding: 32px;
    margin-bottom: 45px;
}

.treatment-page .hero p,
.silo-page .hero p {
    margin-bottom: 18px;
}

.treatment-page .hero .cta,
.silo-page .hero .cta {
    margin-top: 28px;
    font-size: 20px;
    font-weight: 700;
}

.treatment-page .hero .cta a,
.silo-page .hero .cta a {
    color: #ffffff;
    text-decoration: none;
}

.treatment-page .hero .cta a:hover,
.silo-page .hero .cta a:hover {
    text-decoration: underline;
}

/* =========================================
   TYPOGRAPHY
========================================= */

.treatment-page h2,
.silo-page h2 {
    font-size: 34px;
    line-height: 1.3;
    margin-top: 60px;
    margin-bottom: 26px;
    color: #0f172a;
}

.treatment-page h3,
.silo-page h3 {
    font-size: 24px;
    margin-top: 35px;
    margin-bottom: 15px;
    color: #111827;
}

.treatment-page p,
.silo-page p {
    margin-bottom: 22px;
}

/*.treatment-page ul,
.silo-page ul {
    margin: 22px 0 32px 22px;
}*/

.treatment-page li,
.silo-page li {
    margin-bottom: 0;
}

.treatment-page a,
.silo-page a {
    color: #0f4c81;
    text-decoration: none;
    transition: .2s ease;
}

.treatment-page a:hover,
.silo-page a:hover {
    color: #2563eb;
    text-decoration: underline;
}

/* =========================================
   CTA BOX
========================================= */

.treatment-page .cta-box,
.silo-page .cta-box {
    background: linear-gradient(135deg, #0f4c81, #1d4ed8);
    color: #fff;
    padding: 34px;
    border-radius: 18px;
    margin: 50px 0;
}

.treatment-page .cta-box strong,
.silo-page .cta-box strong {
    font-size: 26px;
    color: #fff;
}

.treatment-page .cta-box a,
.silo-page .cta-box a {
    color: #fff;
    font-weight: 700;
    font-size: 20px;
}

/* =========================================
   FAQ ACCORDION
========================================= */

.treatment-page .faq,
.silo-page .faq {
    margin-top: 30px;
}

.treatment-page details,
.silo-page details {
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 18px;
    background: #fff;
    transition: .25s ease;
}

.treatment-page details:hover,
.silo-page details:hover {
    border-color: #bfdbfe;
    box-shadow: 0 4px 18px rgba(0,0,0,.04);
}

.treatment-page summary,
.silo-page summary {
    cursor: pointer;
    list-style: none;
    font-size: 20px;
    font-weight: 700;
    position: relative;
    padding-right: 34px;
}

.treatment-page summary::-webkit-details-marker,
.silo-page summary::-webkit-details-marker {
    display: none;
}

.treatment-page summary::after,
.silo-page summary::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 0;
    font-size: 28px;
    line-height: 1;
    transition: transform .25s ease;
}

.treatment-page details[open] summary::after,
.silo-page details[open] summary::after {
    transform: rotate(45deg);
}

.treatment-page details p,
.silo-page details p {
    margin-top: 18px;
    margin-bottom: 0;
}

/* =========================================
   RELATED LINKS
========================================= */

.treatment-page .related,
.silo-page .related {
    margin-top: 30px;
    margin-bottom: 40px;
}

.treatment-page .related ul,
.silo-page .related ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.treatment-page .related li,
.silo-page .related li {
    margin-bottom: 14px;
}

.treatment-page .related a,
.silo-page .related a {
    font-weight: 600;
    display: inline-block;
}

.treatment-page .related a:hover,
.silo-page .related a:hover {
    transform: translateX(4px);
}

/* =========================================
   REVIEWS
========================================= */

.silo-page .reviews {
    margin-top: 30px;
}

.silo-page .review-item {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
}

.silo-page .review-item strong {
    font-size: 18px;
}

/* =========================================
   POSTER
========================================= */

.top-inner-poster {
    background: linear-gradient(135deg, #0f4c81, #2563eb);
    padding: 50px 20px;
    color: #fff;
    text-align: center;
    position: relative;
    z-index: 1;
}

.top-inner-caption p {
    position: relative;
    z-index: 10;
    color: #fff;
    font-size: 28px;
    line-height: 1.7;
    margin: 0 auto;
    max-width: 900px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

    .treatment-page,
    .silo-page {
        font-size: 17px;
    }

    .top-inner-caption h1 {
        font-size: 32px;
    }

    .treatment-page h2,
    .silo-page h2 {
        font-size: 28px;
    }

    .treatment-page h3,
    .silo-page h3 {
        font-size: 22px;
    }

    .treatment-page .hero,
    .silo-page .hero,
    .treatment-page .cta-box,
    .silo-page .cta-box,
    .treatment-page .final-cta,
    .silo-page .final-cta {
        padding: 24px;
    }

    .treatment-page .doctor-block,
    .silo-page .doctor-block {
        flex-direction: column;
        text-align: center;
    }

    .treatment-page .doctor-block img,
    .silo-page .doctor-block img {
        width: 150px;
        height: 150px;
    }

}

/* Hero картинка - обтекание текстом */
.hero-image {
    float: right;
    width: 400px;
    margin: 0 0 1rem 1.5rem;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hero-caption {
    text-align: center;
    font-size: 0.7rem;
    color: #666;
    margin-top: 0.5rem;
}

/* Очистка обтекания после hero блока */
.hero {
    overflow: auto;
}

/* Treatment картинка - слева с обтеканием */
.treatment-image {
    float: right;
    width: 400px;
    margin: 0 1.5rem 1rem 0;
    padding-left:20px;
}

.treatment-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Для мобильных устройств */
@media (max-width: 768px) {
    .hero-image {
        float: none !important;
        width: 100% !important;
        margin: 0 0 1rem 0 !important;
        text-align: center;
    }
}

.sidebar-menu-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 15px 0;
    padding: 0 0 10px 0;
    border-bottom: 2px solid #ff8048;
    color: #333;
}
