/* Only the newly introduced home sections. Existing banners, forms, SEO and footer are untouched. */
.rd-home-doctors,.rd-home-clinic,.rd-home-faq { color:#282f38; }
.rd-home-services { padding-bottom:80px; }
.rd-home-doctors>section.page-section { margin-top:0; }
.rd-home-doctors .container,.rd-home-clinic .container,.rd-home-faq.container,.rd-home-reviews .container { max-width:1140px; }
.rd-home-doctors .team_slider { overflow:hidden!important; }
.rd-home-doctors .team_slider .swiper-wrapper { align-items:stretch; }
.rd-home-doctors .team_slider .swiper-slide { display:flex!important; flex-direction:column; height:auto; padding-top:0!important; }
.rd-home-doctors .team_slider .doctor__item { flex:1 1 auto!important; width:100%; min-height:390px!important; height:100%!important; }
.rd-home-doctors .doctor-item_img { height:176px; flex-shrink:0; }
.rd-home-doctors .doctor-item_img img { object-fit:contain; object-position:center; background:#edf0f8; }
.rd-home-doctors .team-section__top h2 { font-size:40px; line-height:1; }
.rd-home-clinic .sn-clinic__content { padding:28px 32px 24px; }
.rd-home-clinic { margin-bottom:112px; }
.rd-home-clinic .sn-clinic__intro { margin-bottom:24px; font-size:16px; line-height:1.2; }
.rd-home-clinic .sn-clinic-card { justify-content:flex-start; }
.rd-home-clinic .sn-clinic-card__icon { flex-basis:38px; width:38px; height:38px; }
.rd-home-clinic .sn-clinic-card__icon img { width:38px; height:38px; }
.rd-home-clinic .sn-clinic__panel--no-gallery { grid-template-columns:minmax(0,1fr); }
.rd-home-reviews { margin:0 0 112px; padding:56px 0; background:#f6f5f6; }
.rd-home-reviews .container { padding-left:0; padding-right:0; }
.rd-home-reviews__heading { margin:0 0 40px; font-size:40px; line-height:1; text-align:center; }
.rd-home-reviews .rd-reviews__actions { margin-bottom:40px; }
.rd-home-reviews__buttons { display:flex; align-items:center; justify-content:flex-end; gap:12px; flex-shrink:0; margin-left:auto; }
.rd-home-reviews__write { min-height:40px; flex-shrink:0; }
.rd-home-reviews__carousel { position:relative; }
.rd-home-reviews__slider { min-width:0; width:100%; overflow:hidden; }
.rd-home-reviews__slider>.swiper-wrapper { align-items:stretch; }
.rd-home-reviews__group { display:grid; grid-template-columns:minmax(0,1fr); height:auto; align-items:stretch; }
.rd-home-reviews__group>.rd-review { min-height:328px; height:100%; }
.rd-home-reviews__group>.mfp-hide { display:none!important; }
.rd-home-reviews__navigation { position:absolute; inset:0; pointer-events:none; }
.rd-home-reviews__navigation .slider-nav-btn { position:absolute; top:50%; transform:translateY(-50%); z-index:2; pointer-events:auto; width:40px; height:40px; padding:4px; border:1px solid #282f38; border-radius:50%; background:#fff; }
.rd-home-reviews__navigation .rd-home-reviews__left { left:-56px; }
.rd-home-reviews__navigation .rd-home-reviews__right { right:-56px; }
.rd-home-reviews__navigation .slider-nav-btn:disabled { opacity:.4; cursor:default; }
.rd-home-reviews__navigation img,.rd-home-reviews__all img { display:block; flex:none; margin:0; }
.rd-home-reviews__all { display:inline-flex; gap:9px; min-height:40px; padding:10px 24px; }
.rd-home-faq .faq_list { display:grid; gap:12px; }
.rd-home-faq .faq-item { margin:0; border-radius:16px; background:#f6f5f6; overflow:hidden; }
.rd-home-faq .faq-item_question { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:12px 24px; min-height:64px; margin:0; color:#282f38; font-size:20px; line-height:1.2; font-weight:400; list-style:none; cursor:pointer; overflow-wrap:anywhere; }
.rd-home-faq .faq-item_question::-webkit-details-marker { display:none; }
.rd-home-faq .faq-question__icon { flex:0 0 40px; width:40px; height:40px; border-radius:50%; background:#fff; }
.rd-home-faq .faq-question__icon svg { display:block; margin:0; }
.rd-home-faq .faq-item[open] .faq-question__icon { transform:rotate(180deg); }
.rd-home-faq .faq-item_answer { padding:0 24px 24px; color:#626060; font-size:16px; line-height:1.45; overflow-wrap:anywhere; }
.rd-home-faq .faq-item_answer p:last-child { margin-bottom:0; }
.rd-home-faq summary:focus-visible,.rd-home-reviews button:focus-visible { outline:2px solid #981f85; outline-offset:-3px; }
@media(max-width:1279px) {
 .rd-home-reviews__carousel { padding-inline:20px; }
 .rd-home-reviews__navigation .rd-home-reviews__left { left:0; }
 .rd-home-reviews__navigation .rd-home-reviews__right { right:0; }
}
@media(max-width:1023px) {
 .rd-home-clinic .sn-clinic__content { padding:24px; }
}
/* The existing 300px captcha must also fit the preserved home form at 320px. */
@media(max-width:359px) {
 #zapisonline .smart-captcha { transform:scale(.8); transform-origin:left top; margin-bottom:-20px; }
 .seo-content h2 { overflow-wrap:anywhere; }
 footer .container { overflow-wrap:anywhere; }
}
@media(max-width:767px) {
 .rd-home-services { padding-bottom:48px; }
 .rd-home-doctors .container,.rd-home-clinic .container,.rd-home-faq.container,.rd-home-reviews .container { padding-right:0; padding-left:0; }
 .rd-home-doctors .team-section__top { display:flex; flex-direction:column; align-items:stretch; gap:16px; margin-bottom:32px; }
 .rd-home-doctors .team-section__top h2 { font-size:28px; margin:0; line-height:1.05; }
 .rd-home-doctors .team-section__top .custom-btn { width:100%; min-height:40px; }
 .rd-home-doctors .team-section .team_slider-wrapper { margin-top:0; }
 .rd-home-doctors .team_slider .doctor__item { min-height:340px!important; height:100%!important; }
 .rd-home-doctors .doctor-item_img { height:164px; }
 .rd-home-doctors .doctor-item_title { font-size:16px!important; line-height:1.24; }
 .rd-home-doctors .doctor-item__data { gap:6px; }
 .rd-home-doctors .doctor-item__data p { font-size:13px!important; line-height:1.2; }
 .rd-home-doctors .doctor-item__content { gap:16px; }
 .rd-home-doctors .doctor__item-btn { margin-top:0!important; }
 .rd-home-doctors .team_slider-wrapper>.slider-nav-btn { top:150px!important; width:40px; height:40px; }
 .rd-home-doctors .team_slider-wrapper>.prev { left:16px; }
 .rd-home-doctors .team_slider-wrapper>.next { right:16px; }
 .rd-home-clinic .sn-clinic__title,.rd-home-faq .block__header { font-size:28px; line-height:1.05; margin-bottom:28px; }
 .rd-home-clinic .sn-clinic-gallery-wrap { aspect-ratio:340/212; }
 .rd-home-clinic .sn-clinic__content { padding:18px 14px 14px; }
 .rd-home-clinic { margin-bottom:56px; }
 .rd-home-clinic .sn-clinic__intro { margin-bottom:16px; font-size:15px; line-height:1.2; }
 .rd-home-clinic .sn-clinic-card { min-height:0; padding:10px; gap:6px; }
 .rd-home-clinic .sn-clinic-card h3 { font-size:16px!important; line-height:1.2!important; }
 .rd-home-clinic .sn-clinic-card__icon { flex-basis:36px; width:36px; height:36px; }
 .rd-home-clinic .sn-clinic-card__icon img { width:36px; height:36px; }
 .rd-home-reviews { margin-bottom:56px; padding:40px 0; }
 .rd-home-reviews__heading { text-align:left; font-size:28px; line-height:1.1; margin-bottom:40px; }
 .rd-home-reviews .rd-reviews__actions { margin-bottom:40px; gap:12px; }
 .rd-home-reviews__buttons { width:100%; flex-direction:column; align-items:stretch; margin-left:0; }
 .rd-home-reviews__write,.rd-home-reviews__all { width:100%; }
 .rd-home-reviews__group { grid-template-columns:minmax(0,1fr); gap:16px; }
 .rd-home-reviews__group>.rd-review { min-height:387px; }
 .rd-home-reviews__navigation .slider-nav-btn { width:36px; height:36px; }
 .rd-home-faq .faq-item_question { padding:12px 16px; font-size:16px; gap:16px; }
 .rd-home-faq .faq-item_answer { padding:0 16px 20px; font-size:14px; }
}
