/* Дополнительные стили dev-сайта Мегафлот (не из шаблона Bitrix) */

body.page-index {
    background: #f4f7fa;
}

/* баннер растянут во всю ширину (100vw) — гасим горизонтальный скролл */
html, body {
    overflow-x: clip;
}

/* clip не создаёт скролл-контейнер — иначе ломается position: sticky */
@supports not (overflow: clip) {
    html, body {
        overflow-x: hidden;
    }
}

/* мобильное меню: off-canvas как на megaflot.ru — поведение задано в template.css
   (#header fixed + left:120%, .active-mobile #header { left: 0 }) */

/* переключатель города в шапке — как на боевом: текущий город помечен жёлтой плашкой */
.header-geo {
    padding: 6px 15px 0;
    font-size: 1.3rem;
    color: #6b7280;
}

.header-geo a {
    color: #0b7bd5;
    text-decoration: none;
}

.header-geo a:hover {
    text-decoration: underline;
}

.header-geo .geo {
    color: #1f2937;
    text-decoration: none;
    background: #e9dc6a;
    padding: 2px 10px;
    border-radius: 5px;
}

/* карточки-заглушки на главной */
.dev-card {
    background: #fff;
    border-radius: 12px;
    padding: 22px 22px 18px;
    height: 100%;
    box-shadow: 0 2px 12px rgba(6, 66, 100, .08);
}
.dev-card:hover {
    box-shadow: 0 8px 26px rgba(6, 66, 100, .16);
}
.dev-card__title {
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    font-size: 1.35rem;
    color: #0b7bd5;
    margin: 0 0 10px;
}
.dev-card__text {
    font-size: .95rem;
    color: #4a5a67;
    line-height: 1.45;
    margin: 0 0 14px;
}
.dev-card__link {
    font-weight: bold;
    color: #ff7303;
    text-decoration: none;
}
.dev-card__link:hover { text-decoration: underline; }

/* подвал */
.dev-footer {
    background: #0d2b40;
    color: #cfdde8;
    padding: 34px 0 18px;
    margin-top: 20px;
}
.dev-footer__logo { color: #fff; }
.dev-footer__head {
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    color: #fff;
    margin-bottom: 8px;
}
.dev-footer__text, .dev-footer__muted {
    font-size: .95rem;
    line-height: 1.6;
    margin: 0;
}
.dev-footer__muted { color: #9fb4c4; }
.dev-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding-top: 14px;
    margin-top: 6px;
    font-size: .85rem;
    color: #8ea5b7;
}

/* статические страницы (контакты, faq, оферта, политика, отзывы) */
.dev-static {
    background: #fff;
    padding-bottom: 30px;
}
.dev-static .section-default { padding-top: 10px; }
.dev-static .section-default-title h1 { font-size: 1.85rem; line-height: 1.25; }
.dev-static .section-default-inner { font-size: 1rem; line-height: 1.6; }
.dev-static img { max-width: 100%; height: auto; }

/* ссылки в подвале */
.dev-footer__link { color: #cfdde8; text-decoration: none; }
.dev-footer__link:hover { color: #fff; text-decoration: underline; }
.dev-footer__nav {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .95rem;
    line-height: 1.75;
}
.dev-footer__nav a { color: #cfdde8; text-decoration: none; }
.dev-footer__nav a:hover { color: #fff; text-decoration: underline; }

/* ===== Слайдер главной: адаптив + векторные иконки =====
   Базовая вёрстка берётся из template.css (.main-page-slider), здесь только
   адаптивные размеры и замена растровых иконок на SVG.
   Внимание: template.css ставит html{font-size:12px}, поэтому размеры
   заданы в px-клампах, а не в rem. */
.main-page-slider .slide {
    height: clamp(340px, 38vw, 460px);
}
.main-page-slider .slide-img {
    opacity: .55;
    transition: transform 6s ease-out;
}
.slide-inner-date {
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.2;
}
.slide-inner-title {
    font-size: clamp(24px, 3.05vw, 40px);
    line-height: 1.06;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
    max-width: 60ch;
}
.slide-inner-features ul li {
    padding-left: 34px;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.35;
}
.slide-inner-features ul li .icon-svg {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #fff;
    opacity: .85;
}
.slide-inner-features .icon-inline {
    padding-left: 0;
    background-image: none;
}
.slide-inner-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 1.15rem;
}
.slide-inner-actions .btn {
    font-size: clamp(14px, 1vw, 15px);
    padding: .6rem 1.5rem;
}
.slide-inner-actions .price {
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: bold;
    color: #e9dc6a;
}

/* планшет */
@media (max-width: 991.98px) {
    .main-page-slider .slide {
        height: auto;
        min-height: 420px;
        padding: 34px 0;
    }
    .main-page-slider .slide-wrap { height: auto; }
    .slide-inner-title { max-width: 100%; }
}

/* мобила */
@media (max-width: 767.98px) {
    .main-page-slider .slide {
        min-height: 380px;
        padding: 26px 0 34px;
    }
    .slide-inner-date { margin-bottom: .35rem; }
    .slide-inner-features { margin-top: .9rem; }
    .slide-inner-features ul li { padding-left: 28px; margin: 5px 0; }
    .slide-inner-features ul li .icon-svg { width: 17px; height: 17px; }
    .slide-inner-actions { margin-top: 1rem; gap: 12px; }
    .slide-inner-actions .btn { min-width: 0; margin-right: 0; }
}

/* ===== Меню: пункты распределены по всей ширине (justify) ===== */
@media (min-width: 768px) {
    .nav-header ul.d-md-flex {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        margin: 0;
    }
    .nav-header ul.d-md-flex > li {
        flex: 0 1 auto;
        display: flex;
    }
    .nav-header ul.d-md-flex > li > .nav-link {
        display: flex;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .nav-header ul.d-md-flex > li.flex-md-grow-1 {
        flex: 0 1 auto;
        align-items: center;
    }
    .nav-header ul.d-md-flex > li.flex-md-grow-1 .nav-social-icon {
        display: flex;
        align-items: center;
        height: 100%;
    }
}

/* ===== Контакты в шапке: сетка «логотип | адрес/часы | почта/телефоны» ===== */
.header-contacts {
    display: grid;
    /* три блока по содержимому, промежутки одинаковые: space-between */
    grid-template-columns: auto auto auto;
    justify-content: space-between;
    align-items: center;
    column-gap: 24px;
    row-gap: 10px;
    padding: 12px 0;
}
.header-contacts__logo {
    font-size: 1.9rem;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
}
.header-contacts__col {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}
.header-contacts__col--right {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 10px;
}
.header-contacts__row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 22px;
}
/* почта + соцсети — колонкой, левее телефонов */
.header-contacts__reach {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}
/* телефоны — один над другим, у правого края */
.header-contacts__phones {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
}
.header-contacts__item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.35;
    color: #4a5a67;
}
.header-contacts__link {
    text-decoration: none;
    color: #212529;
    transition: color .18s ease;
}
.header-contacts__link:hover { color: #0b7bd5; }
.header-contacts__phone {
    font-weight: bold;
    font-size: 15px;
    white-space: nowrap;
}
.hc-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: #0b7bd5;
    opacity: .8;
}
.header-contacts__messengers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hc-messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    transition: transform .15s ease, box-shadow .15s ease;
}
.hc-messenger:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(11, 123, 213, .25);
}
.hc-messenger img { display: block; width: 20px; height: 20px; }

/* планшет: две колонки, контакты под логотипом */
@media (max-width: 1199.98px) {
    .header-contacts {
        grid-template-columns: auto 1fr;
        column-gap: 24px;
    }
    .header-contacts__col--right {
        grid-column: 1 / -1;
        align-items: flex-start;
        text-align: left;
    }
    .header-contacts__col--right,
    .header-contacts__phones,
    .header-contacts__reach { align-items: flex-start; }
}

/* мобила: всё в колонку */
@media (max-width: 767.98px) {
    .header-contacts { grid-template-columns: 1fr; row-gap: 8px; }
    .header-contacts__item { font-size: 12px; }
    .header-contacts__phone { font-size: 14px; }
    .header-contacts__col--right { gap: 14px; }
}

/* ===== Слайдер главной: адаптив + векторные иконки =====
   Базовая вёрстка берётся из template.css (.main-page-slider), здесь только
   адаптивные размеры и замена растровых иконок на SVG.
   Внимание: template.css ставит html{font-size:12px}, поэтому размеры
   заданы в px-клампах, а не в rem. */
.main-page-slider .slide {
    height: clamp(340px, 38vw, 460px);
}
.main-page-slider .slide-img {
    opacity: .55;
    transition: transform 6s ease-out;
}
.slide-inner-date {
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.2;
}
.slide-inner-title {
    font-size: clamp(24px, 3.05vw, 40px);
    line-height: 1.06;
    text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
    max-width: 60ch;
}
.slide-inner-features ul li {
    padding-left: 34px;
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.35;
}
.slide-inner-features ul li .icon-svg {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #fff;
    opacity: .85;
}
.slide-inner-features .icon-inline {
    padding-left: 0;
    background-image: none;
}
.slide-inner-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 1.15rem;
}
.slide-inner-actions .btn {
    font-size: clamp(14px, 1vw, 15px);
    padding: .6rem 1.5rem;
}
.slide-inner-actions .price {
    font-size: clamp(17px, 1.6vw, 22px);
    font-weight: bold;
    color: #e9dc6a;
}

/* планшет */
@media (max-width: 991.98px) {
    .main-page-slider .slide {
        height: auto;
        min-height: 420px;
        padding: 34px 0;
    }
    .main-page-slider .slide-wrap { height: auto; }
    .slide-inner-title { max-width: 100%; }
}

/* мобила */
@media (max-width: 767.98px) {
    .main-page-slider .slide {
        min-height: 380px;
        padding: 26px 0 34px;
    }
    .slide-inner-date { margin-bottom: .35rem; }
    .slide-inner-features { margin-top: .9rem; }
    .slide-inner-features ul li { padding-left: 28px; margin: 5px 0; }
    .slide-inner-features ul li .icon-svg { width: 17px; height: 17px; }
    .slide-inner-actions { margin-top: 1rem; gap: 12px; }
    .slide-inner-actions .btn { min-width: 0; margin-right: 0; }
}

/* ===== Меню: пункты распределены по всей ширине (justify) ===== */
@media (min-width: 768px) {
    .nav-header ul.d-md-flex {
        display: flex;
        justify-content: space-between;
        align-items: stretch;
        margin: 0;
    }
    .nav-header ul.d-md-flex > li {
        flex: 0 1 auto;
        display: flex;
    }
    .nav-header ul.d-md-flex > li > .nav-link {
        display: flex;
        align-items: center;
        padding-left: 10px;
        padding-right: 10px;
    }
    .nav-header ul.d-md-flex > li.flex-md-grow-1 {
        flex: 0 1 auto;
        align-items: center;
    }
    .nav-header ul.d-md-flex > li.flex-md-grow-1 .nav-social-icon {
        display: flex;
        align-items: center;
        height: 100%;
    }
}

/* ===== Контакты в шапке (переехали из подвала боевого сайта) ===== */
.header-contacts {
    padding: 12px 0;
    row-gap: 8px;
}
.header-contacts__body {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 28px;
}
.header-contacts__group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
}
.header-contacts__phones { gap: 8px 18px; }
.header-contacts__item {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 13px;
    line-height: 1.35;
    color: #4a5a67;
}
.header-contacts__link {
    text-decoration: none;
    color: #212529;
    transition: color .18s ease;
}
.header-contacts__link:hover { color: #0b7bd5; }
.header-contacts__phone {
    font-weight: bold;
    font-size: 15px;
    white-space: nowrap;
}
.hc-icon {
    flex: 0 0 auto;
    width: 16px;
    height: 16px;
    color: #0b7bd5;
    opacity: .85;
}
.header-contacts__phone .hc-icon { width: 16px; height: 16px; }
.header-contacts__messengers {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
}
.hc-messenger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    transition: transform .15s ease, box-shadow .15s ease;
}
.hc-messenger:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(11, 123, 213, .25);
}
.hc-messenger img { display: block; width: 22px; height: 22px; }

/* на узких экранах шапка складывается в колонку */
@media (max-width: 991.98px) {
    .header-contacts__body { flex-direction: column; align-items: flex-start; }
    .header-contacts__item { font-size: 12px; }
    .header-contacts__phone { font-size: 14px; }
}

/* ===== Логотип: векторный знак вместо растрового фона из template.css =====
   Размер и отступы как у логотипа на сайте круизов (там img 160×42 в шапке 82 px),
   шрифт надписи оставляем мегафлотовский (Century Gothic). */
.megalogo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.megalogo:before,
.header-mobile-logo:before {
    content: none !important;
    display: none !important;
    background: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
}
.megalogo__mark {
    display: block;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
}
.header-mobile-logo .megalogo__mark {
    width: 32px;
    height: 32px;
}
.header-contacts__logo.megalogo {
    font-size: 1.75rem;
    line-height: 1;
}
@media (max-width: 767.98px) {
    .header-mobile-logo.megalogo { font-size: 1.6rem; gap: 6px; }
}

/* ===== Справочник достопримечательностей ===== */
.attr-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 2px 12px rgba(6, 66, 100, .08);
    transition: box-shadow .2s ease, transform .2s ease;
    display: flex;
    flex-direction: column;
}
.attr-card:hover {
    box-shadow: 0 8px 26px rgba(6, 66, 100, .16);
}
.attr-card__photo {
    display: block;
    height: 180px;
    background: #eef3f7;
    overflow: hidden;
}
.attr-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.attr-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.attr-card__title {
    font-family: 'Century Gothic', sans-serif;
    font-weight: bold;
    font-size: 15px;
    line-height: 1.3;
    color: #0b7bd5;
    text-decoration: none;
}
.attr-card__title:hover { color: #ff7303; }
.attr-card__row {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    font-size: 13px;
    line-height: 1.4;
    color: #4a5a67;
}
.attr-card__row--muted { color: #8ba0af; font-size: 12px; }
.attr-card__icon {
    flex: 0 0 auto;
    width: 15px;
    height: 15px;
    margin-top: 1px;
    color: #0b7bd5;
    opacity: .8;
}
.attr-card--info { padding: 16px; gap: 8px; }
.attr-detail__photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 16px;
    display: block;
}
.attr-detail__text { font-size: 15px; line-height: 1.6; color: #33444f; }
.attr-detail__walks { margin: 6px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.5; }
.attr-detail__walks a { color: #0b7bd5; text-decoration: none; }
.attr-detail__walks a:hover { text-decoration: underline; }
.attr-card__nophoto {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #9fb4c4;
    font-size: 13px;
    background: #eef3f7;
}

/* блок новостей на главной */
.dev-section-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0b3d5c;
    margin: 0 0 16px;
}

.dev-card__img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 14px;
}

.dev-card__date {
    font-size: 1.2rem;
    color: #8a94a6;
    margin-bottom: 6px;
}

/* ===== Правки шапки для десктопа ===== */
/* адрес и график прижимаем к логотипу, а не «подвешиваем» по центру */
.header-contacts {
    grid-template-columns: auto 1fr auto;
    justify-content: stretch;
    column-gap: 28px;
}
.header-contacts__col {
    justify-self: start;
    padding-left: 40px;
}
.header-contacts__col--right {
    justify-self: end;
    padding-left: 0;
}
.header-contacts__item { font-size: 14px; }
.header-contacts__phone { font-size: 16px; }

@media (max-width: 1199.98px) {
    .header-contacts { grid-template-columns: auto 1fr; }
    .header-contacts__col { padding-left: 0; }
    .header-contacts__col--right {
        grid-column: 1 / -1;
        justify-self: start;
    }
}

/* ===== Новости: слайдер owl.carousel ===== */
.dev-news__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}
.dev-news__all {
    color: #0b7bd5;
    font-size: 14px;
    text-decoration: none;
    white-space: nowrap;
}
.dev-news__all:hover { text-decoration: underline; }

.news-slider.owl-carousel { padding: 0; overflow: visible; }
/* карточки по сетке контейнера, стрелки висят поверх краёв */
.news-slider.owl-carousel .owl-stage-outer { overflow: hidden; }
.news-slider .owl-stage { display: flex; }
.news-slider .owl-item { display: flex; height: auto; }

.news-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(6, 66, 100, .08);
}
/* наведение без анимации: карточка не «прыгает» */
.news-card:hover {
    box-shadow: 0 2px 12px rgba(6, 66, 100, .08);
    transform: none;
}
.news-card__photo {
    display: block;
    height: 150px;
    background: #eef3f7;
    overflow: hidden;
}
.news-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.news-card__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.news-card__date { font-size: 12px; color: #8ba0af; }
.news-card__title {
    margin: 0;
    font-size: 15px;
    line-height: 1.35;
    font-weight: 700;
    color: #0b3d5c;
}
.news-card__title a { color: inherit; text-decoration: none; }
.news-card__title a:hover { color: #0b7bd5; }
.news-card__text {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: #51636f;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-slider .owl-nav {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    margin: 0;
    pointer-events: none;
}
.news-slider .owl-nav button.owl-prev,
.news-slider .owl-nav button.owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px; height: 34px;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #dbe6ef;
    color: #0b3d5c;
    font-size: 20px;
    line-height: 30px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(6, 66, 100, .14);
    pointer-events: auto;
    cursor: pointer;
}
.news-slider .owl-nav button.owl-prev { left: -17px; }
.news-slider .owl-nav button.owl-next { right: -17px; }
.news-slider .owl-nav button:hover {
    background: #0b3d5c;
    color: #fff;
    border-color: #0b3d5c;
}

@media (max-width: 767.98px) {
    .news-slider .owl-nav { display: none; }
    .news-card__photo { height: 170px; }
}

.news-detail__photo {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 18px;
    display: block;
}
.news-detail__text {
    font-size: 15px;
    line-height: 1.65;
    color: #33444f;
}
.news-detail__text img { max-width: 100%; height: auto; }


/* ===== Оранжевые акценты ===== */
.main-page-slider .btn-primary,
.btn-primary {
    background: #f2701d;
    border-color: #f2701d;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 3px 12px rgba(242, 112, 29, .35);
    transition: background .18s ease, box-shadow .18s ease, transform .12s ease;
}
.main-page-slider .btn-primary:hover,
.btn-primary:hover {
    background: #d95c12;
    border-color: #d95c12;
    color: #fff;
    box-shadow: 0 5px 18px rgba(242, 112, 29, .45);
    transform: translateY(-1px);
}
.main-page-slider .price {
    color: #f2701d;
    font-weight: 700;
}
.main-page-slider .slide-inner-date {
    color: #ff8a3d;
    font-weight: 700;
    letter-spacing: .02em;
}

/* меню: оранжевая подчёркивающая полоса */
.nav-header .nav-link {
    position: relative;
    transition: background .15s ease, color .15s ease;
}
.nav-header .nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    background: #f2701d;
    border-radius: 3px 3px 0 0;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .18s ease;
}
.nav-header .nav-link:hover::after,
.nav-header li:hover > .nav-link::after { transform: scaleX(1); }
.nav-header .nav-link.nav-link-active::after { transform: scaleX(1); }

/* активный пункт меню: без фона, только подчёркивание по ширине текста */
.nav-header .nav-link.nav-link-active {
    background: transparent !important;
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #f2701d;
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}
.nav-header .nav-link.nav-link-active::after {
    transform: scaleX(0) !important;
}


/* карточки разделов */
.dev-card__link {
    color: #f2701d;
    font-weight: 700;
    text-decoration: none;
}
.dev-card__link:hover { color: #d95c12; }
.dev-card {
    border-top: 3px solid #f2701d;
    transition: box-shadow .2s ease, transform .2s ease;
}
.dev-card:hover {
    box-shadow: 0 8px 22px rgba(6, 66, 100, .14);
}

/* заголовки блоков — оранжевая плашка слева */
.dev-section-title {
    position: relative;
    padding-left: 14px;
}
.dev-section-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    background: #f2701d;
    border-radius: 3px;
}

/* новости: дата-плашка и стрелки */
.news-card__date {
    display: inline-block;
    align-self: flex-start;
    font-size: 11px;
    font-weight: 700;
    color: #f2701d;
    background: #fff1e6;
    border-radius: 20px;
    padding: 3px 9px;
}
.dev-news__all { color: #f2701d; font-weight: 700; }
.news-slider .owl-nav button:hover {
    background: #f2701d;
    border-color: #f2701d;
}

/* «Круизы по России» в меню — в оранжевой палитре */
.nav-header .nav-link[href*="cruises"],
.nav-header li > a[href*="peku-poccuu"] {
    background: #f2701d !important;
    color: #fff !important;
    border-radius: 6px;
    font-weight: 700;
}
.nav-header .nav-link[href*="cruises"]:hover,
.nav-header li > a[href*="peku-poccuu"]:hover {
    background: #d95c12 !important;
    color: #fff !important;
}
.nav-header .nav-link[href*="cruises"]::after,
.nav-header li > a[href*="peku-poccuu"]::after { display: none; }

/* ===== Выбор города: компактный дропдаун в свободном месте шапки ===== */
.header-contacts__col--info {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    justify-self: start;
}
.header-contacts__details {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.header-city {
    position: relative;
    font-size: 13px;
    flex: 0 0 auto;
}
.header-city > summary {
    list-style: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 11px;
    border-radius: 8px;
    background: #f2f5f8;
    color: #0b3d5c;
    font-weight: 700;
    white-space: nowrap;
    transition: background .15s ease, color .15s ease;
}
.header-city > summary::-webkit-details-marker { display: none; }
.header-city > summary::after {
    content: "";
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid #8ba0af;
    transition: border-color .15s ease;
}
.header-city > summary:hover { background: #e6edf3; }
.header-city[open] > summary { background: #f2701d; color: #fff; }
.header-city[open] > summary::after { border-top-color: #fff; }

.header-city__menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    z-index: 60;
    min-width: 200px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(6, 66, 100, .2);
    padding: 6px;
}
.header-city__menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 13px;
    color: #33444f;
    text-decoration: none;
    white-space: nowrap;
}
.header-city__menu a:hover { background: #f4f7fa; }
.header-city__menu a.is-active {
    background: #fff1e6;
    color: #f2701d;
    font-weight: 700;
}

/* на узких экранах — обычная колонка, дропдаун под адресом */
@media (max-width: 1199.98px) {
    .header-contacts__col--info {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* Подвал: текст не должен наследовать чёрный/синий цвет из template.css */
.dev-footer .dev-footer__text,
.dev-footer .dev-footer__muted,
.dev-footer p,
.dev-footer address,
.dev-footer li,
.dev-footer span {
    color: #cfdde8;
}
.dev-footer .dev-footer__muted { color: #9fb4c4; }
.dev-footer .dev-footer__text { color: #cfdde8; }
.dev-footer .dev-footer__link,
.dev-footer .dev-footer__nav a,
.dev-footer a {
    color: #ffffff;
}
.dev-footer .dev-footer__link:hover,
.dev-footer .dev-footer__nav a:hover,
.dev-footer a:hover { color: #ffb27a; }
.dev-footer .dev-footer__bottom { color: #93a9ba; }

/* ===== Полоса преимуществ (как на боевой главной: иконка + подпись) ===== */
.dev-advantages {
    background: #f7f9fb;
    padding: 30px 0 34px;
    margin-top: 6px;
}
.dev-advantages__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
    align-items: start;
}
.dev-advantages__item {
    text-align: center;
}
.dev-advantages__icon {
    display: block;
    margin: 0 auto 10px;
    line-height: 0;
}
.dev-advantages__icon img {
    display: inline-block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 165px;
    object-fit: contain;
}
.dev-advantages__text {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: #212529;
}

/* ===== Двухколоночный SEO-текст ===== */
.dev-seo { padding: 28px 0 40px; }
.dev-seo__col {
    font-size: 15px;
    line-height: 1.68;
    color: #33444f;
}
.dev-seo__col p { margin: 0 0 12px; }
.dev-seo__col > p:first-child {
    font-weight: 700;
    font-size: 16px;
    color: #0b3d5c;
}
.dev-seo h2 {
    font-size: 20px;
    line-height: 1.3;
    color: #0b3d5c;
    margin: 26px 0 12px;
    padding-left: 12px;
    border-left: 4px solid #f2701d;
}
.dev-seo a { color: #0b7bd5; text-decoration: none; }
.dev-seo a:hover { color: #f2701d; text-decoration: underline; }

@media (max-width: 767.98px) {
    .dev-advantages__grid { grid-template-columns: 1fr; gap: 16px; }
    .dev-seo h2 { font-size: 18px; }
}

/* Цена на слайдере набрана теми же параметрами, что и дата */
.main-page-slider .price,
.slide-inner-actions .price {
    font-family: "Century Gothic", "CenturyGothic", Tahoma, sans-serif;
    font-size: clamp(16px, 1.45vw, 21px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .02em;
}

/* ===== Плитка достопримечательностей на главной ===== */
.dev-attr {
    padding: 30px 0 34px;
}
.dev-attr__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.dev-attr__tile {
    position: relative;
    display: block;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    background: #e9eff4;
    box-shadow: 0 2px 12px rgba(6, 66, 100, .08);
}
.dev-attr__tile img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dev-attr__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 30, 48, 0) 35%, rgba(6, 30, 48, .78) 100%);
}
.dev-attr__name {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    color: #fff;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 700;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 991.98px) {
    .dev-attr__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
    .dev-attr__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .dev-attr__tile { aspect-ratio: 4 / 3; }
    .dev-attr__name { font-size: 13px; left: 10px; right: 10px; bottom: 9px; }
}

/* ===== Маршруты водного транспорта (блок с боевой главной) ===== */
.dev-routes {
    background: #f4f7fa;
    padding: 32px 0 36px;
}
.dev-routes__title {
    font-size: 24px;
    line-height: 1.3;
    color: #0b3d5c;
    margin: 0 0 8px;
    font-weight: 700;
}
.dev-routes__sub {
    font-size: 15px;
    line-height: 1.5;
    color: #5b6b78;
    margin: 0 0 22px;
}
.dev-routes__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}
.dev-route {
    background: #fff;
    border-left: 4px solid #b4d446;
    border-radius: 4px;
    padding: 12px 14px 14px;
    box-shadow: 0 2px 10px rgba(6, 66, 100, .08);
    display: flex;
    flex-direction: column;
    min-height: 128px;
}
.dev-route__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}
.dev-route__name {
    font-size: 17px;
    line-height: 1.3;
    color: #0b3d5c;
    margin: 0;
    font-weight: 700;
}
.dev-route__num {
    flex: 0 0 auto;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    padding: 3px 8px;
    border-radius: 3px;
    line-height: 1.4;
}
.dev-route__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #51636f;
}

@media (max-width: 991.98px) {
    .dev-routes__grid { grid-template-columns: repeat(2, 1fr); }
    .dev-routes__title { font-size: 21px; }
}
@media (max-width: 575.98px) {
    .dev-routes__grid { grid-template-columns: 1fr; gap: 12px; }
    .dev-route__name { font-size: 16px; }
}

/* ===== Каталог прогулок ===== */
.dev-page-title {
    font-size: 30px;
    line-height: 1.25;
    color: #0b3d5c;
    margin: 26px 0 6px;
    font-weight: 700;
}
.dev-page-sub {
    font-size: 15px;
    color: #5b6b78;
    margin: 0 0 18px;
}

/* рубрикатор */
.dev-rubrics {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 4px 0 18px;
    border-bottom: 1px solid #e6eef5;
    margin-bottom: 16px;
}
.dev-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    line-height: 1;
    padding: 9px 14px;
    border-radius: 30px;
    background: #f2f5f8;
    color: #0b3d5c;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.dev-chip:hover { background: #e6edf3; }
.dev-chip--active {
    background: #f2701d;
    color: #fff;
    font-weight: 700;
}
.dev-chip__count {
    font-size: 12px;
    opacity: .6;
}

.dev-walks__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #5b6b78;
}
.dev-walks__sort { display: flex; gap: 14px; }
.dev-walks__sort a {
    color: #0b7bd5;
    text-decoration: none;
    border-bottom: 1px dashed rgba(11, 123, 213, .4);
}
.dev-walks__sort a.is-active {
    color: #212529;
    font-weight: 700;
    border-bottom-color: transparent;
}

/* сетка карточек */
.dev-walks__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.dev-walk {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(6, 66, 100, .08);
    display: flex;
    flex-direction: column;
}
.dev-walk__photo {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    background: #e9eff4;
    overflow: hidden;
}
.dev-walk__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dev-walk__time,
.dev-walk__price {
    position: absolute;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 7px 10px;
    border-radius: 6px;
}
.dev-walk__time {
    top: 10px;
    left: 10px;
    background: rgba(6, 30, 48, .72);
    color: #fff;
    backdrop-filter: blur(2px);
}
.dev-walk__price {
    bottom: 10px;
    right: 10px;
    background: #f2701d;
    color: #fff;
}
.dev-walk__body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}
.dev-walk__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    color: #0b3d5c;
    /* ограничиваем 3 строками, чтобы карточки в ряду были одной высоты */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.dev-walk__title a { color: inherit; text-decoration: none; }
.dev-walk__title a:hover { color: #0b7bd5; }
.dev-walk__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    font-size: 13px;
    color: #5b6b78;
}
.dev-walk__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.dev-walk__meta-item svg {
    width: 15px;
    height: 15px;
    color: #8ba0af;
    flex: 0 0 auto;
}
.dev-walk__more {
    margin-top: auto;
    font-size: 14px;
    font-weight: 700;
    color: #f2701d;
    text-decoration: none;
}
.dev-walk__more:hover { color: #d95c12; }
.dev-walks__empty {
    padding: 30px 0;
    color: #5b6b78;
}

/* карточка прогулки (детальная) */
.dev-crumbs {
    font-size: 13px;
    color: #8ba0af;
    padding: 18px 0 10px;
}
.dev-crumbs a { color: #0b7bd5; text-decoration: none; }

.dev-walk-hero {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 26px;
    align-items: start;
    margin-bottom: 26px;
}
.dev-walk-hero__photo {
    border-radius: 14px;
    overflow: hidden;
    background: #e9eff4;
}
.dev-walk-hero__photo img {
    width: 100%;
    height: auto;
    display: block;
}
.dev-walk-hero__title {
    font-size: 26px;
    line-height: 1.3;
    color: #0b3d5c;
    margin: 0 0 14px;
    font-weight: 700;
}
.dev-walk-hero__list {
    list-style: none;
    margin: 0 0 18px;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 15px;
    color: #212529;
}
.dev-walk-hero__label {
    display: inline-block;
    min-width: 118px;
    color: #8ba0af;
    font-size: 13px;
}
.dev-walk-hero__buy {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}
.dev-walk-hero__price {
    font-size: 22px;
    font-weight: 700;
    color: #f2701d;
}
.dev-walk-text {
    font-size: 15px;
    line-height: 1.7;
    color: #33444f;
    margin-bottom: 26px;
}
.dev-walk-text img { max-width: 100%; height: auto; }
.dev-walk-attr,
.dev-walk-similar { margin-bottom: 34px; }

@media (max-width: 991.98px) {
    .dev-walks__grid { grid-template-columns: repeat(2, 1fr); }
    .dev-walk-hero { grid-template-columns: 1fr; }
}
@media (max-width: 575.98px) {
    .dev-walks__grid { grid-template-columns: 1fr; gap: 16px; }
    .dev-page-title { font-size: 22px; }
    .dev-chip { font-size: 13px; padding: 8px 12px; }
}

/* ===== Переключатели сортировки и вида ===== */
.dev-walks__controls {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.dev-toggle {
    display: inline-flex;
    background: #f2f5f8;
    border-radius: 8px;
    padding: 3px;
    gap: 2px;
}
.dev-toggle a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    line-height: 1;
    padding: 8px 12px;
    border-radius: 6px;
    color: #0b3d5c;
    text-decoration: none;
    transition: background .15s ease, color .15s ease;
}
.dev-toggle a:hover { background: #e6edf3; }
.dev-toggle a.is-active {
    background: #fff;
    color: #f2701d;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(6, 66, 100, .14);
}
.dev-toggle--view a {
    padding: 7px 9px;
    color: #5b6b78;
}
.dev-toggle--view svg { width: 16px; height: 16px; display: block; }

/* ===== Списочный вид прогулки ===== */
.dev-walks__list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.dev-wrow {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 320px;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(6, 66, 100, .08);
    padding: 16px;
}
.dev-wrow__photo {
    display: block;
    border-radius: 8px;
    overflow: hidden;
    background: #e9eff4;
    height: 100%;
    min-height: 210px;
}
.dev-wrow__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.dev-wrow__main { min-width: 0; }
.dev-wrow__title {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 700;
    color: #0b3d5c;
}
.dev-wrow__title a { color: inherit; text-decoration: none; }
.dev-wrow__title a:hover { color: #0b7bd5; }
.dev-wrow__text {
    margin: 0;
    font-size: 14px;
    line-height: 1.55;
    color: #5b6b78;
}
.dev-wrow__side {
    border-left: 1px solid #eef2f6;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.dev-wrow__specs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    font-size: 13px;
    color: #33444f;
}
.dev-wrow__specs li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    line-height: 1.4;
}
.dev-wrow__specs svg {
    width: 19px;
    height: 19px;
    flex: 0 0 auto;
    color: #8ba0af;
    margin-top: 1px;
}
.dev-wrow__prices {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}
.dev-wrow__prices td {
    padding: 4px 0;
    border-bottom: 1px dashed #eef2f6;
    vertical-align: top;
    color: #33444f;
}
.dev-wrow__prices td:first-child {
    padding-right: 12px;
    color: #5b6b78;
}
.dev-wrow__prices td:last-child {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    color: #212529;
}
.dev-wrow__more,
.dev-wrow__from {
    font-size: 12px;
    color: #8ba0af;
}
.dev-wrow__from {
    font-size: 16px;
    font-weight: 700;
    color: #f2701d;
}
.dev-wrow__btn {
    margin-top: auto;
    align-self: stretch;
    text-align: center;
    font-size: 14px;
}

@media (max-width: 1199.98px) {
    .dev-wrow { grid-template-columns: 240px minmax(0, 1fr) 280px; gap: 16px; }
}
@media (max-width: 991.98px) {
    .dev-wrow {
        grid-template-columns: 200px minmax(0, 1fr);
        grid-template-areas: "photo main" "side side";
    }
    .dev-wrow__photo { grid-area: photo; }
    .dev-wrow__main { grid-area: main; }
    .dev-wrow__side {
        grid-area: side;
        border-left: 0;
        border-top: 1px solid #eef2f6;
        padding-left: 0;
        padding-top: 12px;
    }
}
@media (max-width: 575.98px) {
    .dev-wrow { grid-template-columns: 1fr; grid-template-areas: "photo" "main" "side"; }
    .dev-wrow__photo { height: auto; min-height: 0; aspect-ratio: 16 / 10; }
    .dev-wrow__title { font-size: 16px; }
}

/* ===== Кнопка «Нет билетов» =====
   Прогулка без заполненного «Кода виджета покупки»: кнопка серая и неактивная,
   текст — «Нет билетов». Класс .is-disabled ставится вместо .btn-primary. */
.btn-secondary,
.btn.is-disabled {
    background: #e7eaee;
    border-color: #e7eaee;
    color: #8b939c;
    font-weight: 700;
    box-shadow: none;
    cursor: default;
    pointer-events: none;
    user-select: none;
}
.btn-secondary:hover,
.btn.is-disabled:hover {
    background: #e7eaee;
    border-color: #e7eaee;
    color: #8b939c;
    box-shadow: none;
    transform: none;
}

/* ===== Вкладки-разделы: подпись-стикер («хит», «новинка») ===== */
.dev-chip__sticker {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 9px;
    background: #f2701d;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: .02em;
    vertical-align: middle;
}

/* ===== Прогулки без виджета на телефоне не показываем =====
   На боевом то же самое: у карточки без «Кода виджета покупки» класс mobile-none,
   ниже 992px блок скрывается — не заставляем людей скроллить то, что нельзя купить. */
@media (max-width: 991.98px) {
    .dev-wrow.mobile-none,
    .dev-walk.mobile-none,
    .mobile-none {
        display: none !important;
    }
}

/* ===== Тарифы на странице прогулки: все цены над кнопкой «Купить билеты» ===== */
.dev-walk-tariffs {
    margin: 0 0 18px;
    padding: 14px 16px;
    border: 1px solid #e6edf3;
    border-radius: 12px;
    background: #f8fbfd;
}
.dev-walk-tariffs__title {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #5b6b78;
    margin-bottom: 8px;
}
.dev-walk-tariffs__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}
.dev-walk-tariffs__table td {
    padding: 6px 0;
    border-bottom: 1px dashed #e3ebf1;
    vertical-align: top;
    color: #33444f;
}
.dev-walk-tariffs__table tr:last-child td { border-bottom: 0; }
.dev-walk-tariffs__table td:first-child { padding-right: 14px; }
.dev-walk-tariffs__table td:last-child {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    color: #0b3d5c;
}

/* ===== Список прогулок: фото от края карточки, как на боевом =====
   На боевом фото лежит в col-md-4 p-0: без внутренних отступов, во всю высоту карточки.
   Ширина: фото шире текстового блока, справа — узкая колонка характеристик и цен. */
.dev-wrow {
    grid-template-columns: 440px minmax(0, 1fr) 300px;
    padding: 0;
    gap: 20px;
    overflow: hidden;
}
.dev-wrow__photo {
    border-radius: 0;
    height: 100%;
    min-height: 0;
}
.dev-wrow__photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.dev-wrow__main {
    padding: 18px 0;
}
.dev-wrow__side {
    padding: 18px 20px 18px 0;
}

@media (max-width: 1199.98px) {
    .dev-wrow { grid-template-columns: 360px minmax(0, 1fr) 260px; gap: 16px; }
    .dev-wrow__main { padding: 14px 0; }
    .dev-wrow__side { padding: 14px 16px 14px 0; }
}

@media (max-width: 991.98px) {
    /* на телефоне — фото сверху во всю ширину, текст и цены под ним */
    .dev-wrow {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "photo" "main" "side";
        gap: 0;
    }
    .dev-wrow__photo {
        border-radius: 12px 12px 0 0;
        height: 200px;
    }
    .dev-wrow__main { padding: 14px 16px 0; }
    .dev-wrow__side {
        padding: 14px 16px 16px;
        border-left: 0;
        border-top: 1px solid #eef2f6;
        margin-top: 14px;
    }
}
.dev-wrow__more {
    display: inline-block;
    font-size: 12px;
    color: #f2701d;
    text-decoration: none;
    border-bottom: 0;
}
.dev-wrow__more:hover { border-bottom-color: #f2701d; }

/* фото в списке шире текстового блока (на боевом 4/5/3, у нас фото доминирует) */
.dev-wrow {
    grid-template-columns: 1.3fr minmax(0, 1fr) .68fr;
}
@media (max-width: 1199.98px) {
    .dev-wrow { grid-template-columns: 1.15fr minmax(0, 1fr) .72fr; }
}
@media (max-width: 991.98px) {
    .dev-wrow { grid-template-columns: minmax(0, 1fr); }
}

/* на телефоне фото во всю ширину карточки: aspect-ratio из старого правила
   при фиксированной высоте вычислял ширину и оставлял полосу справа */
@media (max-width: 991.98px) {
    .dev-wrow .dev-wrow__photo {
        aspect-ratio: auto;
        width: 100%;
        height: 200px;
        border-radius: 12px 12px 0 0;
    }
}

/* колонки списка: фото и блок характеристик уже, текстовый блок шире */
.dev-wrow {
    grid-template-columns: 0.8fr minmax(0, 1fr) .8fr;
}

/* ===== Плитка: 4 цены и ссылка на остальные тарифы над «Подробнее» ===== */
.dev-walk__tariffs {
    margin-top: 2px;
}

/* ===== Мобильный список прогулок: одна колонка =====
   Правило колонок 0.8fr/1fr/.8fr стоит без медиа-запроса и перебивало мобильные,
   из-за этого на телефоне карточка оставалась в три узких колонки (192/93/74 px)
   и текст с ценами уезжал вправо. Здесь возвращаем нормальную мобильную раскладку. */
@media (max-width: 991.98px) {
    .dev-wrow {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas: "photo" "main" "side";
        gap: 0;
    }
    .dev-wrow .dev-wrow__photo {
        grid-area: photo;
        width: 100%;
        height: 200px;
        aspect-ratio: auto;
        border-radius: 12px 12px 0 0;
    }
    .dev-wrow .dev-wrow__main {
        grid-area: main;
        padding: 14px 16px 0;
    }
    .dev-wrow .dev-wrow__side {
        grid-area: side;
        border-left: 0;
        border-top: 1px solid #eef2f6;
        margin-top: 14px;
        padding: 14px 16px 16px;
    }
}

/* на планшетах — промежуточные пропорции, фото и цены по бокам */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .dev-wrow { grid-template-columns: 1.1fr minmax(0, 1fr) .75fr; gap: 16px; }
}

/* ===== Логотип на мобильных: минус 20% ===== */
@media (max-width: 991.98px) {
    .header-mobile-logo .megalogo__mark {
        width: 26px;
        height: 26px;
    }
    .header-mobile-logo.megalogo {
        font-size: 1.3rem;
        gap: 5px;
    }
}

/* ===== Мобильное меню: без второго логотипа, почта и соцсети после разделов ===== */
.header-reach--mobile { display: none; }

@media (max-width: 767.98px) {
    /* в раскрытом меню второй логотип не нужен — он уже есть в верхней полосе */
    .header-contacts__logo { display: none !important; }
    .header-reach--desktop { display: none !important; }

    .header-reach--mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        padding: 14px 16px;
        background: #137ad4;
        border-top: 1px solid rgba(255, 255, 255, .2);
    }
    .header-reach--mobile .header-contacts__item {
        color: #fff;
        font-size: 14px;
    }
    .header-reach--mobile .hc-icon { color: #fff; }
    .header-reach--mobile .header-contacts__messengers {
        display: flex;
        gap: 8px;
    }

    /* гамбургер превращается в крестик, когда меню открыто */
    .active-mobile .header-toggle-btn .fa-bars::before { content: "\f00d"; }
}

/* ===== Кнопка покупки = виджет Teplohod.Info ===== */
.teplohod-info-wrapper .btn { width: 100%; }
.dev-wrow__side .teplohod-info-wrapper {
    margin-top: auto;
    align-self: stretch;
}
.dev-walk-hero__buy .teplohod-info-wrapper { display: inline-block; }

/* ===== Вкладки-разделы на мобиле: одна строка + оранжевая стрелка справа =====
   Полоса прокрутки при этом не показывается: листаем свайпом или по стрелке. */
.dev-rubrics-wrap { position: relative; }
.dev-rubrics-arrow { display: none; }

@media (max-width: 991.98px) {
    .dev-rubrics-wrap {
        border-bottom: 1px solid #e6eef5;
        padding-bottom: 18px;
        margin-bottom: 16px;
    }
    .dev-rubrics {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        border-bottom: 0;
        margin-bottom: 0;
        padding: 4px 34px 4px 0;
        scrollbar-width: none;          /* Firefox */
        -ms-overflow-style: none;       /* старый Edge */
        -webkit-overflow-scrolling: touch;
    }
    .dev-rubrics::-webkit-scrollbar { display: none; width: 0; height: 0; }
    .dev-rubrics .dev-chip {
        flex: 0 0 auto;
        white-space: nowrap;
    }
    .dev-rubrics-arrow {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #f2701d;
        color: #fff;
        box-shadow: 0 2px 8px rgba(242, 112, 29, .35);
        cursor: pointer;
        z-index: 2;
    }
    .dev-rubrics-arrow[hidden] { display: none; }
    .dev-rubrics-arrow svg { width: 16px; height: 16px; display: block; }
}

/* ===== Переключатель города в мобильном меню: под телефонами, справа ===== */
.header-city-mobile { display: none; }
.header-city--mobile { display: none; }

@media (max-width: 767.98px) {
    .header-city--desktop { display: none; }
    .header-city-mobile {
        display: block;
        width: 100%;
        text-align: right;
        margin-top: 10px;
    }
    .header-city--mobile { display: inline-flex; }
    /* меню открывается влево, чтобы не вылезать за экран */
    .header-city--mobile .header-city__menu {
        left: auto;
        right: 0;
    }
}

/* ===== Панель над списком: сортировка и вид в одну строку, счётчик под ними ===== */
.dev-walks__bar {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 8px;
}
.dev-walks__controls {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: nowrap;
}
.dev-walks__found {
    font-weight: 700;
    font-size: 15px;
    color: #0b3d5c;
}

@media (max-width: 767.98px) {
    .dev-walks__controls { gap: 8px; }
    .dev-toggle a { font-size: 13px; }
    .dev-walks__found { font-size: 14px; }
}

/* ===== Стрелка вкладок — по уровню тегов ===== */
@media (max-width: 991.98px) {
    .dev-rubrics-wrap {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .dev-rubrics {
        flex: 1 1 auto;
        min-width: 0;
        padding-right: 4px;
    }
    .dev-rubrics-arrow {
        position: static;
        transform: none;
        flex: 0 0 auto;
    }
}

/* ===== Описание в строке списка: на вебе вдвое длиннее, чем на мобиле ===== */
.dev-wrow__text--long { display: none; }

@media (min-width: 992px) {
    .dev-wrow__text--short { display: none; }
    .dev-wrow__text--long { display: block; }
}

/* ===== Порядок «теги → Найдено → сортировка»: подтягиваем отступы ===== */
@media (max-width: 991.98px) {
    .dev-rubrics-wrap { padding-bottom: 14px; margin-bottom: 10px; }
}
.dev-walks__bar { gap: 6px; margin-bottom: 14px; }

/* ===== Мобильное меню: не выезд слева, а fade-in / fade-out =====
   Меню больше не едет за экран по left — оно всегда на месте и плавно
   проявляется с лёгким «дыханием» масштаба, пункты подъезжают по очереди. */
@media (max-width: 767.98px) {
    #header {
        left: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(1.03);
        transition:
            opacity .28s ease,
            transform .34s cubic-bezier(.22, .61, .36, 1),
            visibility 0s linear .28s;
        will-change: opacity, transform;
    }

    .active-mobile #header {
        left: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
        transition:
            opacity .3s ease,
            transform .38s cubic-bezier(.22, .61, .36, 1),
            visibility 0s linear 0s;
    }

    /* пункты меню проявляются лесенкой */
    .active-mobile .nav-header li {
        animation: mfMenuIn .34s cubic-bezier(.22, .61, .36, 1) both;
    }
    .active-mobile .nav-header li:nth-child(1) { animation-delay: .03s; }
    .active-mobile .nav-header li:nth-child(2) { animation-delay: .06s; }
    .active-mobile .nav-header li:nth-child(3) { animation-delay: .09s; }
    .active-mobile .nav-header li:nth-child(4) { animation-delay: .12s; }
    .active-mobile .nav-header li:nth-child(5) { animation-delay: .15s; }
    .active-mobile .nav-header li:nth-child(6) { animation-delay: .18s; }
    .active-mobile .nav-header li:nth-child(7) { animation-delay: .21s; }
    .active-mobile .nav-header li:nth-child(8) { animation-delay: .24s; }
    .active-mobile .nav-header li:nth-child(n+9) { animation-delay: .27s; }

    .active-mobile .header-reach--mobile,
    .active-mobile .header-city-mobile {
        animation: mfMenuIn .34s cubic-bezier(.22, .61, .36, 1) both;
        animation-delay: .3s;
    }
}

@keyframes mfMenuIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    #header,
    .active-mobile #header,
    .active-mobile .nav-header li,
    .active-mobile .header-reach--mobile,
    .active-mobile .header-city-mobile {
        transition: none !important;
        animation: none !important;
    }
}

/* ===== Тайминги меню ×3: заметно медленнее и «дороже» =====
   Переопределяем длительности fade-in/out и лесенку пунктов. */
@media (max-width: 767.98px) {
    #header {
        transition:
            opacity .84s ease,
            transform 1.02s cubic-bezier(.22, .61, .36, 1),
            visibility 0s linear .84s;
    }

    .active-mobile #header {
        transition:
            opacity .9s ease,
            transform 1.14s cubic-bezier(.22, .61, .36, 1),
            visibility 0s linear 0s;
    }

    .active-mobile .nav-header li {
        animation-duration: 1.02s;
    }
    .active-mobile .nav-header li:nth-child(1) { animation-delay: .09s; }
    .active-mobile .nav-header li:nth-child(2) { animation-delay: .18s; }
    .active-mobile .nav-header li:nth-child(3) { animation-delay: .27s; }
    .active-mobile .nav-header li:nth-child(4) { animation-delay: .36s; }
    .active-mobile .nav-header li:nth-child(5) { animation-delay: .45s; }
    .active-mobile .nav-header li:nth-child(6) { animation-delay: .54s; }
    .active-mobile .nav-header li:nth-child(7) { animation-delay: .63s; }
    .active-mobile .nav-header li:nth-child(8) { animation-delay: .72s; }
    .active-mobile .nav-header li:nth-child(n+9) { animation-delay: .81s; }

    .active-mobile .header-reach--mobile,
    .active-mobile .header-city-mobile {
        animation-duration: 1.02s;
        animation-delay: .9s;
    }
}

@media (prefers-reduced-motion: reduce) {
    #header,
    .active-mobile #header,
    .active-mobile .nav-header li,
    .active-mobile .header-reach--mobile,
    .active-mobile .header-city-mobile {
        transition: none !important;
        animation: none !important;
    }
}

/* ===== Слои: меню всегда выше контента (стрелка тегов раньше проступала сквозь него) ===== */
@media (max-width: 767.98px) {
    #header {
        z-index: 900;
    }
    /* верхняя полоса с логотипом и крестиком — над меню */
    .header-mobile {
        position: relative;
        z-index: 950;
    }
    .dev-rubrics-arrow {
        z-index: 1;
    }
}

/* ===== Название прогулки поверх фото (на мобиле) =====
   Экономит строку в теле карточки: блок с фото+названием укладывается в экран. */
.dev-wrow__photo { position: relative; }
.dev-wrow__photo-title { display: none; }

@media (max-width: 991.98px) {
    .dev-wrow__photo-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 2;
        padding: 40px 16px 12px;
        background: linear-gradient(to top, rgba(6, 32, 48, .88), rgba(6, 32, 48, .45) 55%, rgba(6, 32, 48, 0));
        color: #fff;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.25;
        text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
    }
    /* дубль заголовка в теле карточки на мобиле не нужен */
    .dev-wrow__title--body { display: none; }
}

@media (min-width: 992px) {
    .dev-wrow__photo-title { display: none; }
}

/* Название поверх фото: компактнее, чтобы 2 строки не липли к нижнему краю */
@media (max-width: 991.98px) {
    .dev-wrow__photo-title {
        padding: 26px 14px 10px;
        font-size: 15px;
        line-height: 1.22;
        background: linear-gradient(to top, rgba(6, 32, 48, .92), rgba(6, 32, 48, .55) 62%, rgba(6, 32, 48, 0));
    }
}

/* ===== Один отступ вместо двух и без линии =====
   Между описанием и характеристиками на мобиле убираем border-top и лишний margin:
   остаётся один воздух — 12px. */
@media (max-width: 991.98px) {
    .dev-wrow .dev-wrow__side {
        border-top: 0 !important;
        margin-top: 0 !important;
        padding-top: 12px;
    }
}

/* Название поверх фото: display перебивался на flow-root, из-за чего -webkit-line-clamp
   не работал и третья строка обрезалась краем фото. Фиксируем -webkit-box. */
@media (max-width: 991.98px) {
    .dev-wrow .dev-wrow__photo-title {
        display: -webkit-box !important;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
}

/* Название поверх фото: гарантированно не больше двух строк (line-clamp в этом
   Chrome не срабатывает, поэтому страхуемся max-height по двум строкам). */
@media (max-width: 991.98px) {
    .dev-wrow .dev-wrow__photo-title {
        max-height: 74px;
        overflow: hidden;
    }
}

/* Название поверх фото: две строки максимум.
   line-clamp в этом Chrome не срабатывает, поэтому режем по max-height,
   а третью строку мягко гасим маской, чтобы не было обрубленной строки. */
@media (max-width: 991.98px) {
    .dev-wrow .dev-wrow__photo-title {
        padding: 24px 14px 12px;
        max-height: 80px;
        overflow: hidden;
        -webkit-mask-image: linear-gradient(to bottom, #000 72%, rgba(0, 0, 0, .15) 92%, transparent 100%);
        mask-image: linear-gradient(to bottom, #000 72%, rgba(0, 0, 0, .15) 92%, transparent 100%);
    }
}

/* ===== Возвращаем фиксированную шапку: position был перебит на relative,
   из-за чего появлялась серая полоса над ней (50px padding у body) ===== */
@media (max-width: 767.98px) {
    .header-mobile {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 950;
    }
}

/* ===== Страница достопримечательности: фото вдвое ниже ===== */
@media (max-width: 991.98px) {
    .attr-detail__photo {
        height: 120px;
        object-fit: cover;
        margin-bottom: 12px;
    }
}

/* ===== Новости на главной: стрелки как у тегов — оранжевые круги под слайдером ===== */
.news-slider.owl-carousel .owl-nav {
    position: static;
    margin: 14px 0 0;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    pointer-events: auto;
}
.news-slider.owl-carousel .owl-nav button.owl-prev,
.news-slider.owl-carousel .owl-nav button.owl-next {
    width: 34px;
    height: 34px;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    border-radius: 50%;
    background: #f2701d;
    color: #fff;
    font-size: 18px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(242, 112, 29, .35);
    transition: background .18s ease, box-shadow .18s ease;
}
.news-slider.owl-carousel .owl-nav button.owl-prev:hover,
.news-slider.owl-carousel .owl-nav button.owl-next:hover {
    background: #d95c12;
    box-shadow: 0 4px 12px rgba(242, 112, 29, .45);
}
.news-slider.owl-carousel .owl-nav button.owl-prev span,
.news-slider.owl-carousel .owl-nav button.owl-next span {
    font-size: 20px;
    line-height: 1;
    display: block;
}
.news-slider.owl-carousel .owl-nav button.disabled {
    opacity: .45;
}

/* ===== SEO-простыня на главной: боковые отступы на мобиле =====
   Bootstrap .row тянет margin -15px, а контейнер на мобиле почти без паддинга —
   текст прилипал к краям экрана. */
@media (max-width: 991.98px) {
    .dev-seo .row {
        margin-left: 0;
        margin-right: 0;
    }
    .dev-seo__col {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* ===== Стрелки новостей: снимаем абсолютное позиционирование owl =====
   Кнопки висели по краям карточки поверх контента; ставим их в строку под слайдером. */
.news-slider.owl-carousel .owl-nav button.owl-prev,
.news-slider.owl-carousel .owl-nav button.owl-next {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

/* ===== Преимущества на мобиле: три блока в одну строку, уменьшенные ===== */
@media (max-width: 991.98px) {
    .dev-advantages { padding: 22px 0 24px; }
    .dev-advantages__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 8px;
        align-items: start;
    }
    .dev-advantages .dev-advantages__icon { margin-bottom: 6px; }
    .dev-advantages .dev-advantages__icon img {
        max-height: 72px;
        width: auto;
    }
    .dev-advantages .dev-advantages__text {
        font-size: 11.5px;
        line-height: 1.25;
        font-weight: 600;
    }
}

@media (max-width: 400px) {
    .dev-advantages .dev-advantages__icon img { max-height: 66px; }
    .dev-advantages .dev-advantages__text { font-size: 11px; }
}

/* ===== Ближайшие прогулки на главной ===== */
.dev-nearest { padding: 6px 0 26px; }
.dev-nearest .dev-news__head { margin-bottom: 14px; }

/* ===== Меню без лесенки: пункты не анимируются по отдельности,
   проявляется только сам блок целиком (fade у #header) ===== */
@media (max-width: 767.98px) {
    .active-mobile .nav-header li,
    .active-mobile .header-reach--mobile,
    .active-mobile .header-city-mobile {
        animation: none !important;
        opacity: 1;
        transform: none;
    }
}

/* ===== Верхняя полоса: город и телефон рядом с бургером ===== */
.header-bar__side {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
    padding-right: 10px;
}
.header-city--bar {
    width: 92px;
    flex: 0 0 92px;
}
.header-city--bar > summary {
    width: 100%;
    justify-content: space-between;
    gap: 4px;
    padding: 6px 8px;
    font-size: 12px;
    overflow: hidden;
}
.header-city__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}
.header-city--bar .header-city__menu {
    left: auto;
    right: 0;
    min-width: 190px;
}
.header-bar__phone {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    border-radius: 8px;
    background: #f2f5f8;
    color: #0b3d5c;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.header-bar__phone svg { width: 15px; height: 15px; display: block; flex: 0 0 auto; }
.header-bar__phone:hover { background: #e6edf3; color: #0b3d5c; }

@media (max-width: 374px) {
    .header-bar__phone-text { display: none; }
}

/* ===== Карта 2ГИС на странице контактов ===== */
.cnt-map {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(6, 66, 100, .08);
}
.cnt-map img {
    display: block;
    width: 100%;
    height: auto;
}
.cnt-map__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 8px;
    font-size: 13px;
    color: #33444f;
}
.cnt-map__bar a {
    color: #f2701d;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.cnt-map__bar a:hover { text-decoration: underline; }

/* телефоны в шапке скрываем на мобиле: там они в верхней полосе */
@media (max-width: 767.98px) {
    .header-phones--desktop { display: none !important; }
}

/* Телефон в шапке — только иконка, звонок по клику */
.header-bar__phone {
    width: 32px;
    height: 32px;
    padding: 0;
    justify-content: center;
}
.header-bar__phone svg { width: 17px; height: 17px; }

/* ===== Слайдер фотографий (прогулки и теплоходы) ===== */
.dev-gallery { margin-bottom: 18px; }
.dev-gallery__stage {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    background: #f2f3f5;
    /* фиксируем рамку слайдера: иначе высота прыгает вслед за пропорциями картинки */
    aspect-ratio: 3 / 2;
}
.dev-gallery__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
.dev-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    cursor: pointer;
    transition: background .2s;
}
.dev-gallery__nav:hover { background: rgba(0, 0, 0, .65); }
.dev-gallery__nav svg { width: 20px; height: 20px; }
.dev-gallery__nav--prev { left: 10px; }
.dev-gallery__nav--next { right: 10px; }
.dev-gallery__counter {
    position: absolute;
    right: 12px;
    bottom: 12px;
    padding: 3px 9px;
    border-radius: 12px;
    background: rgba(0, 0, 0, .5);
    color: #fff;
    font-size: 12px;
}
.dev-gallery__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    margin-top: 10px;
    padding-bottom: 4px;
    scrollbar-width: thin;
}
.dev-gallery__thumb {
    flex: 0 0 auto;
    width: 84px;
    height: 60px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background: #f2f3f5;
    cursor: pointer;
}
.dev-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dev-gallery__thumb.is-active { border-color: #f2701d; }

@media (max-width: 991.98px) {
    .dev-gallery__stage { aspect-ratio: 4 / 3; }
    .dev-gallery__thumb { width: 68px; height: 50px; }
    .dev-gallery__nav { width: 34px; height: 34px; }
}

/* Лента миниатюр слайдера: скролл работает, но полосу не показываем */
.dev-gallery__thumbs {
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE/Edge */
    padding-bottom: 0;
}
.dev-gallery__thumbs::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ===== Рубрикатор разделов на главной (заголовок + вкладки, как на боевом) ===== */
.dev-home-rubrics {
    padding: 26px 0 6px;
}
.dev-home-rubrics__title {
    font-size: 1.6rem;
    line-height: 1.3;
    font-weight: 700;
    color: #0b3d5c;
    margin: 0 0 16px;
}
.dev-home-rubrics .dev-rubrics {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
@media (max-width: 991.98px) {
    .dev-home-rubrics { padding-top: 20px; }
    .dev-home-rubrics__title { font-size: 1.2rem; }
    .dev-home-rubrics .dev-rubrics-wrap { margin-bottom: 0; }
}

/* ===== Три преимущества с иконками (блок с боевой главной) ===== */
.dev-features {
    padding: 60px 0 60px 0px;
}
.dev-features__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}
.dev-feature {
    text-align: center;
}
.dev-feature img {
    display: block;
    margin: 0 auto 10px;
    height: 150px;
    width: auto;
    max-width: 100%;
}
.dev-feature p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    color: #0b3d5c;
}
@media (max-width: 767.98px) {
    .dev-features { padding: 30px 0 30px 0px; }
    .dev-features__grid { grid-template-columns: 1fr; gap: 18px; }
    .dev-feature img { height: 120px; max-width: 168px; margin-bottom: 8px; }
    .dev-feature p { font-size: 15px; }
}


/* ===== Иерархия заголовков: h1 > h2 > h3 > h4 =====
   Размеры в px, а не в rem: у шаблона корневой font-size 12px, из-за этого
   1.8rem давал 21.6px и h2 в тексте оказывался мельче h3. */
h1, .h1 { font-size: 30px; line-height: 1.2; }
h2, .h2 { font-size: 24px; line-height: 1.25; }
h3, .h3 { font-size: 20px; line-height: 1.3; }
h4, .h4 { font-size: 17px; line-height: 1.35; }

/* Заголовки блоков (h2) — 24px, плашка серая */
.dev-section-title,
.dev-routes__title { font-size: 24px; line-height: 1.25; }
.dev-section-title::before { background: #c3d0da; }

/* Оранжевая плашка — только у H1 */
.dev-page-title,
.dev-home-rubrics__title {
    font-size: 30px;
    line-height: 1.2;
    position: relative;
    padding-left: 14px;
}
.dev-page-title::before,
.dev-home-rubrics__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    background: #f2701d;
    border-radius: 3px;
}

@media (max-width: 767.98px) {
    h1, .h1, .dev-page-title, .dev-home-rubrics__title { font-size: 22px; }
    h2, .h2, .dev-section-title, .dev-routes__title { font-size: 20px; }
    h3, .h3 { font-size: 17px; }
    h4, .h4 { font-size: 15px; }
}


/* ===== Оранжевая плашка у любого H1 =====
   У H2 плашка серая (см. выше), поэтому оранжевый маркер однозначно читается
   как «это заголовок страницы», а не как ещё один заголовок блока. */
h1 {
    position: relative;
    padding-left: 14px;
}
h1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    background: #f2701d;
    border-radius: 3px;
}

/* SEO-простыня: у неё свои размеры, но иерархия должна совпадать с сайтом */
.dev-seo h2 { font-size: 24px; line-height: 1.25; }
.dev-seo h3 { font-size: 20px; line-height: 1.3; }
@media (max-width: 767.98px) {
    .dev-seo h2 { font-size: 20px; }
    .dev-seo h3 { font-size: 17px; }
}


/* ===== H1 остаётся H1, даже если ему дали класс заголовка блока ===== */
h1.dev-section-title {
    font-size: 30px;
    line-height: 1.2;
}
h1.dev-section-title::before { background: #f2701d; }

/* Статические страницы: h1.title тянул размер из шаблона боевого (41px) */
.section-default-title h1.title {
    font-size: 30px;
    line-height: 1.2;
}

@media (max-width: 767.98px) {
    h1.dev-section-title,
    .section-default-title h1.title { font-size: 22px; }
}


/* ===== Статические страницы: один размер H1 =====
   У faq (section-article-title) и контактов (section-default-title) размеры
   приходили из шаблона боевого — 41px и 22px, то есть H1 то больше H2, то меньше. */
.dev-static .section-article-title h1,
.dev-static .section-default-title h1,
.section-article-title h1.title,
.section-default-title h1.title {
    font-size: 30px;
    line-height: 1.2;
}

/* Карточки новостей: было 15px — мельче основного текста */
.news-card__title,
.news-card__title a { font-size: 17px; line-height: 1.3; }

@media (max-width: 767.98px) {
    .dev-static .section-article-title h1,
    .dev-static .section-default-title h1,
    .section-article-title h1.title,
    .section-default-title h1.title { font-size: 22px; }
    .news-card__title,
    .news-card__title a { font-size: 16px; }
}


/* ===== Ревизия плашек: оранжевая у H2, серая у H3, у H1 и H4 плашек нет ===== */
h1,
.dev-page-title,
.dev-home-rubrics__title,
h1.dev-section-title {
    padding-left: 0;
}
h1::before,
.dev-page-title::before,
.dev-home-rubrics__title::before,
h1.dev-section-title::before {
    content: none;
}

/* H2 — оранжевая плашка (и у заголовков блоков, и в простыне текста) */
.dev-section-title::before { background: #f2701d; }

/* H3 в текстовых блоках — серая плашка; у H4 плашки нет */
.dev-seo h3 {
    border-left: 4px solid #c3d0da;
    padding-left: 12px;
    margin: 20px 0 10px;
}
.dev-seo h4 {
    border-left: 0;
    padding-left: 0;
    margin: 16px 0 8px;
}


/* ===== Оранжевая плашка и у H2 без класса блока ===== */
.dev-routes__title {
    position: relative;
    padding-left: 14px;
}
.dev-routes__title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 1.1em;
    background: #f2701d;
    border-radius: 3px;
}


/* ===== Ссылка на причал внутри характеристик ===== */
.dev-pier-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(11, 61, 92, .45);
    transition: color .15s ease, border-color .15s ease;
}
.dev-pier-link:hover {
    color: #f2701d;
    border-bottom-color: #f2701d;
}


/* ===== Главный слайдер: точки как в боевом (оранжевая активная) ===== */
.main-page-slider { position: relative; }
.main-page-slider .owl-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
.main-page-slider .owl-dot span {
    display: block;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .45);
    transition: background .18s ease, transform .18s ease;
}
.main-page-slider .owl-dot.active span {
    background: #f2701d;
    transform: scale(1.15);
}


/* ===== Кнопка покупки + «Подробнее» в одну строку =====
   Кнопка занимает не всю колонку: рядом стоит ссылка на карточку прогулки,
   как было на прошлом сайте. На мобиле строка не рвётся. */
.dev-wrow__cta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: auto;
    padding-top: 12px;
}
.dev-wrow__cta > .teplohod-info-wrapper {
    flex: 0 1 58%;
    margin-top: 0;
    align-self: center;
}
.dev-wrow__cta > .teplohod-info-wrapper .btn,
.dev-wrow__cta > .btn {
    width: 100%;
    white-space: nowrap;
}
.dev-wrow__cta > .btn {
    flex: 0 1 58%;
}
.dev-wrow__details {
    flex: 0 0 auto;
    color: #3a3a3a;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-bottom: 2px solid currentColor;
    padding-bottom: 1px;
    white-space: nowrap;
    transition: color .15s ease, border-color .15s ease;
}
.dev-wrow__details:hover {
    color: #f2701d;
    border-bottom-color: #f2701d;
}

@media (max-width: 991.98px) {
    .dev-wrow__cta { gap: 12px; padding-top: 10px; }
    .dev-wrow__cta .teplohod-info-wrapper,
    .dev-wrow__cta .dev-wrow__btn { flex: 0 1 62%; }
    .dev-wrow__details { font-size: 14px; }
}


/* ===== Кнопка на слайдере: компактная высота =====
   template.css задаёт .btn line-height 48px, из-за этого кнопка выходила 64px. */
.main-page-slider .slide-inner-actions .btn {
    line-height: 1.2;
    padding: 10px 22px;
    font-size: 14px;
    font-weight: 700;
}
@media (max-width: 767.98px) {
    .main-page-slider .slide-inner-actions .btn {
        padding: 9px 18px;
        font-size: 13px;
    }
}


/* ===== Мобильное меню без размытия текста =====
   Меню открывалось через transform: scale(1.03) + will-change: opacity, transform.
   Композитный слой с масштабом браузер растеризует один раз и растягивает —
   из-за этого пункты, телефоны и адреса выглядели мутными. Оставляем только
   прозрачность: текст рисуется обычным путём и остаётся резким. */
@media (max-width: 767.98px) {
    #header {
        transform: none;
        will-change: auto;
    }
    .active-mobile #header {
        transform: none;
    }
}


/* ===== CTA в карточке: кнопка и «Подробнее» ровно пополам ===== */
.dev-wrow__cta > .teplohod-info-wrapper,
.dev-wrow__cta > .btn {
    flex: 1 1 50%;
    min-width: 0;
}
.dev-wrow__details {
    flex: 1 1 50%;
    min-width: 0;
    font-weight: 400;
}
@media (max-width: 991.98px) {
    .dev-wrow__cta > .teplohod-info-wrapper,
    .dev-wrow__cta > .btn,
    .dev-wrow__details {
        flex: 1 1 50%;
    }
}


/* ===== «Подробнее»: по центру своей половины и одно подчёркивание =====
   Раньше подчёркивание было сделано border-bottom, а рядом срабатывало ещё и
   text-decoration: underline по наведению — получалось две линии. Оставляем
   только text-decoration и центрируем текст внутри половины. */
.dev-wrow__details {
    text-align: center;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    border-bottom: 0;
    padding-bottom: 0;
}
.dev-wrow__details:hover {
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    border-bottom: 0;
}


/* ===== Тонкое подчёркивание у «Подробнее» =====
   Текст набран обычным начертанием, поэтому линия в 2px выглядела тяжелее текста.
   Ставим 1px — и в обычном состоянии, и по наведению. */
.dev-wrow__details,
.dev-wrow__details:hover {
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* ===== «Все прогулки» под списком на главной ===== */
.dev-nearest__more {
    display: flex;
    justify-content: flex-end;
    margin-top: 16px;
}
.dev-nearest__more .dev-news__all { font-size: 15px; }


/* ===== Ссылка на причал в слайдере ===== */
.main-page-slider .slide-pier-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .55);
}
.main-page-slider .slide-pier-link:hover {
    color: #fff;
    border-bottom-color: #f2701d;
}

/* 14.11.2026: отступ от чипов рубрик до списка прогулок + единый стиль заголовков страниц */
.dev-page-title{font-size:30px;line-height:1.25;font-weight:700;color:#111}
.dev-section-title{font-size:22px;line-height:1.25;font-weight:700;color:#111}

/* 14.11.2026: отступ от чипов рубрик до списка прогулок (по просьбе владельца) */
.dev-rubrics-wrap {
    position: relative;
    margin-bottom: 30px;
}

/* 14.11.2026: теплоходы поверх фото в плитке прогулки */
.dev-walk__duration {
    position: absolute;
    left: 10px;
    bottom: 10px;
    max-width: calc(100% - 20px);
    background: rgba(6, 30, 48, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    padding: 6px 9px;
    border-radius: 6px;
    backdrop-filter: blur(2px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 14.11.2026: иконки календаря и часов в плашках поверх фото */
.dev-walk__time, .dev-walk__duration {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.dev-walk__ico {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
}

/* картинка внутри SEO-текста: на всю ширину колонки, с отступами */
.dev-seo__img {
    /* картинка в тексте раздела — половина ширины колонки: одна фотография
       не должна занимать экран и перебивать текст */
    max-width: 520px;
    margin: 18px 0 22px;
}
.dev-seo__img img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
}
@media (max-width: 767.98px) {
    .dev-seo__img {
        max-width: 100%;
    }
}

/* три преимущества на мобиле — в один ряд */
@media (max-width: 767.98px) {
    .dev-features {
        padding: 24px 0;
    }

    .dev-features__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
        align-items: start;
    }

    .dev-feature img {
        height: 84px;
        max-width: 100%;
        margin-bottom: 8px;
    }

    .dev-feature p {
        font-size: 13px;
        line-height: 1.25;
    }
}

/* плашки на фото в карточке-строке: расписание сверху, продолжительность снизу (как в плитке) */
.dev-wrow__badges {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    z-index: 3;
    pointer-events: none;
}

.dev-wrow__badge {
    position: absolute;
    left: 0;
    display: inline-flex;
    align-items: flex-start;
    gap: 6px;
    max-width: 100%;
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(6, 30, 48, .72);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.25;
    text-align: left;
    pointer-events: auto;
}

.dev-wrow__time {
    top: 0;
}

.dev-wrow__badge svg {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    margin-top: 1px;
}

/* расписание живёт плашкой на фото — в характеристиках не дублируем */
.dev-wrow__spec-schedule {
    display: none !important;
}

/* ===== Место встречи экскурсии: карточка и справочник ===== */
.dev-meet__address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #0b3d5c;
    margin: 0 0 14px;
}

.dev-meet__ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin-top: 2px;
    color: #f2701d;
}

.dev-meet__metro {
    font-size: 14px;
    color: #33444f;
    margin: 0 0 12px;
}

.dev-meet__map {
    border-radius: 10px;
    overflow: hidden;
    margin: 0 0 8px;
}

.dev-meet__map iframe {
    display: block;
    border: 0;
    width: 100%;
}

.dev-meet__way {
    font-size: 15px;
    line-height: 1.6;
    color: #33444f;
    margin: 0 0 14px;
}

.dev-meet__way-title {
    display: block;
    font-weight: 700;
    color: #0b3d5c;
    margin-bottom: 4px;
}

.dev-meet__way p {
    margin: 0 0 8px;
}

.dev-meet-box {
    margin-top: 26px;
    padding: 16px;
    border-radius: 10px;
    background: #f4f8fb;
}

.dev-meet-box .dev-section-title {
    margin-top: 0;
}

.dev-meet-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.dev-meet-list__item {
    display: block;
    padding: 12px 14px;
    border-radius: 10px;
    background: #f4f8fb;
    text-decoration: none;
    color: #0b3d5c;
}

.dev-meet-list__item:hover {
    background: #e8f1f8;
    text-decoration: none;
}

.dev-meet-list__name {
    display: block;
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 3px;
}

.dev-meet-list__meta {
    display: block;
    font-size: 13px;
    color: #5b7386;
}

.dev-meet-list__count {
    display: block;
    margin-top: 6px;
    font-size: 12px;
    color: #f2701d;
    font-weight: 600;
}

@media (max-width: 767.98px) {
    .dev-meet-list {
        grid-template-columns: 1fr;
    }
}

/* подробный текст места встречи (перенесён с боевого) */
.dev-meet__text {
    font-size: 15px;
    line-height: 1.65;
    color: #33444f;
    margin: 0 0 18px;
}

.dev-meet__text p {
    margin: 0 0 10px;
}

.dev-meet__text h5,
.dev-meet__text h4 {
    font-size: 16px;
    font-weight: 700;
    color: #0b3d5c;
    margin: 16px 0 6px;
}

.dev-meet__text a {
    color: #0b7bd5;
}

.dev-meet__text a:hover {
    color: #f2701d;
    text-decoration: underline;
}

/* ===== Блоки «популярные причалы / теплоходы» на странице прогулок ===== */
.dev-seo__img--wide {
    margin: 8px 0 30px;
}

.dev-cat {
    margin: 0 0 34px;
}

.dev-cat__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.dev-cat__head .dev-section-title {
    margin: 0;
}

.dev-cat__all {
    font-size: 14px;
    font-weight: 600;
    color: #0b7bd5;
    text-decoration: none;
    white-space: nowrap;
}

.dev-cat__all:hover {
    color: #f2701d;
    text-decoration: underline;
}

.dev-cat .row > [class*="col-"] {
    margin-bottom: 20px;
}

.dev-cat__card {
    height: 100%;
}

.dev-cat__more {
    display: inline-block;
    margin-top: 6px;
    font-size: 13px;
    color: #f2701d;
    text-decoration: none;
}

.dev-cat__more:hover {
    text-decoration: underline;
    color: #f2701d;
}

@media (max-width: 575.98px) {
    .dev-cat__head {
        flex-wrap: wrap;
        gap: 6px;
    }
}

/* ===== Пагинация: крупные скруглённые кнопки с воздухом ===== */
.pagination {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 30px 0 12px;
    padding: 0;
    list-style: none;
}

.pagination .page-item {
    margin: 0;
}

.pagination .page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    height: 50px;
    padding: 0 14px;
    border: 1px solid #dbe6ef;
    border-radius: 12px;
    background: #fff;
    color: #0b3d5c;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;
    transition: background .16s ease, border-color .16s ease, color .16s ease;
}

.pagination .page-link:hover {
    background: #eef5fb;
    border-color: #0b7bd5;
    color: #0b7bd5;
    text-decoration: none;
}

.pagination .page-item.active .page-link {
    background: #f2701d;
    border-color: #f2701d;
    color: #fff;
    font-weight: 700;
}

.pagination .page-item.disabled .page-link {
    color: #a9bccb;
    border-color: #e8eef4;
    background: #f7fafc;
}

@media (max-width: 767.98px) {
    .pagination {
        gap: 6px;
        justify-content: center;
        margin: 24px 0 10px;
    }

    .pagination .page-link {
        min-width: 44px;
        height: 44px;
        padding: 0 10px;
        font-size: 15px;
        border-radius: 10px;
    }
}

/* ===== Текстовый блок в две колонки: слева текст, справа фото под заголовком ===== */
.dev-seo-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
    grid-template-areas:
        "title ."
        "text media";
    column-gap: 32px;
    row-gap: 12px;
    align-items: start;
}

.dev-seo-cols__title {
    grid-area: title;
    margin: 0 !important;
}

.dev-seo-cols__text {
    grid-area: text;
}

.dev-seo-cols__media {
    grid-area: media;
}

.dev-seo-cols__text h2 {
    margin-top: 0;
}

.dev-seo-cols__text p {
    margin: 0 0 14px;
}

.dev-seo-cols__media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 991.98px) {
    .dev-seo-cols {
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "media"
            "text";
        gap: 14px;
    }
}

/* блок «о разделе экскурсий» под плитками */
.dev-exc-about {
    margin: 32px 0 10px;
}

.dev-seo-cols__text h2 {
    margin: 24px 0 10px;
}

.dev-seo-cols__text h2:first-child {
    margin-top: 0;
}

/* текст вкладки экскурсий */
.dev-exc-section-text {
    margin-top: 30px;
}

.dev-exc-section-text .dev-seo__col img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* ===== Станции метро с иконкой «М» в цвете линии ===== */
.dev-metro {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    vertical-align: middle;
}

.dev-metro__item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    line-height: 1.2;
    color: #33444f;
}

.dev-metro__m {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #1471c1;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0;
}

.dev-meet-list__meta .dev-metro {
    gap: 2px 8px;
}

.dev-meet-list__meta .dev-metro__item {
    font-size: 13px;
    color: #5b7386;
}

.dev-meet-list__meta .dev-metro__m {
    width: 16px;
    height: 16px;
    font-size: 10px;
}

/* ===== Карта (Leaflet + OpenStreetMap), без рекламы ===== */
.dev-map {
    width: 100%;
    height: 340px;
    border-radius: 10px;
    overflow: hidden;
    background: #e9eff4;
    position: relative;
    z-index: 0;
}

.dev-map .leaflet-container {
    font-family: inherit;
}

.dev-meet__map {
    margin: 0 0 14px;
}

/* фото места встречи */
.dev-meet__photo {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0 0 16px;
}

/* ===== Статья блога ===== */
.dev-article {
    max-width: 860px;
}

.dev-article__date {
    font-size: 13px;
    color: #7b8fa0;
    margin-bottom: 16px;
}

.dev-article__cover {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 0 0 22px;
}

.dev-article__text {
    font-size: 16px;
    line-height: 1.7;
    color: #33444f;
}

.dev-article__text p {
    margin: 0 0 14px;
}

.dev-article__text h2 {
    font-size: 24px;
    line-height: 1.25;
    color: #0b3d5c;
    margin: 26px 0 12px;
}

.dev-article__text h3 {
    font-size: 20px;
    color: #0b3d5c;
    margin: 22px 0 10px;
}

.dev-article__text img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 8px 0 14px;
}

.dev-article__text ul,
.dev-article__text ol {
    margin: 0 0 14px 20px;
}

.dev-article__text a {
    color: #0b7bd5;
}

.dev-article__back {
    margin: 26px 0 10px;
}

/* ===== Контакты ===== */
.dev-contacts {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 26px;
    align-items: start;
    margin-top: 22px;
}

.dev-contacts__cards {
    display: grid;
    gap: 12px;
}

.dev-contacts__card {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #e4edf4;
    border-radius: 12px;
    background: #fff;
    text-decoration: none;
    color: inherit;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

a.dev-contacts__card:hover {
    border-color: #0b7bd5;
    box-shadow: 0 6px 18px rgba(11, 61, 92, .08);
    transform: translateY(-1px);
    text-decoration: none;
}

.dev-contacts__card--plain {
    background: #f7fafc;
    border-color: #eef4f8;
}

.dev-contacts__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex: 0 0 auto;
    border-radius: 10px;
    background: #eef5fb;
    color: #0b7bd5;
}

.dev-contacts__icon svg {
    width: 20px;
    height: 20px;
}

.dev-contacts__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.dev-contacts__label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #7b8fa0;
}

.dev-contacts__value {
    font-size: 17px;
    font-weight: 700;
    color: #0b3d5c;
    line-height: 1.25;
}

.dev-contacts__hint {
    font-size: 13px;
    color: #5b7386;
}

.dev-contacts__map {
    position: relative;
}

.dev-contacts__map .dev-map {
    height: 420px;
}

.dev-contacts__route {
    display: inline-block;
    margin-top: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #f2701d;
    text-decoration: none;
}

.dev-contacts__route:hover {
    text-decoration: underline;
}

.dev-contacts__notice {
    margin: 22px 0 0;
    padding: 14px 16px 14px 18px;
    border-left: 4px solid #f2701d;
    border-radius: 8px;
    background: #fff7f1;
    font-size: 14px;
    line-height: 1.55;
    color: #33444f;
}

.dev-contacts__notice strong {
    color: #0b3d5c;
}

.dev-contacts__social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 16px;
    margin: 18px 0 6px;
    font-size: 14px;
}

.dev-contacts__social-label {
    color: #7b8fa0;
}

.dev-contacts__social a {
    color: #0b7bd5;
    font-weight: 600;
    text-decoration: none;
}

.dev-contacts__social a:hover {
    color: #f2701d;
    text-decoration: underline;
}

@media (max-width: 991.98px) {
    .dev-contacts {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .dev-contacts__map .dev-map {
        height: 300px;
    }
}

/* ===== Экскурсия: правая колонка липнет к верху, высота по контенту ===== */
.dev-exc-aside,
.dev-aside {
    align-self: flex-start;
    height: auto;
}

@media (min-width: 992px) {
    .dev-exc-aside,
    .dev-aside {
        position: sticky;
        top: 20px;
        z-index: 3;
    }
}

/* Тарифы внутри правой карточки экскурсии */
.dev-walk-tariffs--aside {
    margin: 12px 0 0;
    padding: 12px 0 0;
    border-top: 1px solid #e4edf4;
}

.dev-walk-tariffs--aside .dev-walk-tariffs__title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #7b8fa0;
    margin: 0 0 6px;
}

.dev-walk-tariffs--aside .dev-walk-tariffs__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.dev-walk-tariffs--aside .dev-walk-tariffs__table td {
    padding: 4px 0;
    border: 0;
    vertical-align: top;
}

.dev-walk-tariffs--aside .dev-walk-tariffs__table td:last-child {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    color: #0b3d5c;
    padding-left: 12px;
}

/* Метро в правой карточке экскурсии */
.attr-card__row--metro {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
}

.attr-card__row--metro .dev-metro {
    gap: 2px 10px;
}

.attr-card__row--metro .dev-metro__item {
    font-size: 14px;
}

/* Фото места встречи под заголовком */
.dev-meet__hero {
    display: block;
    width: 100%;
    height: auto;
    max-height: 440px;
    object-fit: cover;
    border-radius: 14px;
    margin: 0 0 6px;
}

/* крошки → заголовок: отступ вдвое меньше (было 15px + 24px = 39px) */
.section-breadcrumb {
    padding-bottom: 8px;
}

.container.py-4 {
    padding-top: 12px;
}

/* ===== Страница 404 ===== */
.dev-404 {
    padding: 26px 0 52px;
}

.dev-404__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
    gap: 38px;
    align-items: center;
}

.dev-404__code {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #f2701d;
    margin-bottom: 10px;
}

.dev-404__title {
    font-size: 34px;
    line-height: 1.15;
    color: #0b3d5c;
    margin: 0 0 12px;
    padding-left: 0;
}

.dev-404__title::before {
    display: none;
}

.dev-404__lead {
    font-size: 16px;
    line-height: 1.6;
    color: #33444f;
    margin: 0 0 22px;
    max-width: 520px;
}

.dev-404__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.dev-404__btn {
    border-radius: 10px;
    padding: 12px 24px;
    font-weight: 600;
}

.dev-404__art svg {
    display: block;
    width: 100%;
    height: auto;
}

.dev-404__section {
    margin-top: 42px;
}

.dev-404__subtitle {
    font-size: 22px;
    line-height: 1.25;
    color: #0b3d5c;
    margin: 0 0 16px;
}

.dev-404__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.dev-404__tile {
    position: relative;
    display: block;
    min-height: 190px;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(11, 61, 92, .08);
    transition: box-shadow .2s ease;
}

.dev-404__tile:hover {
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(11, 61, 92, .16);
}

.dev-404__tile img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 190px;
    object-fit: cover;
    transition: transform .35s ease;
}

.dev-404__tile:hover img {
    transform: scale(1.05);
}

.dev-404__tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 61, 92, 0) 28%, rgba(11, 61, 92, .88) 100%);
}

.dev-404__tile-body {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dev-404__tile-title {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
}

.dev-404__tile-text {
    color: rgba(255, 255, 255, .82);
    font-size: 12.5px;
    line-height: 1.3;
}

@media (max-width: 1199.98px) {
    .dev-404__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .dev-404__hero {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .dev-404__title {
        font-size: 30px;
    }
}

@media (max-width: 767.98px) {
    .dev-404__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .dev-404__tile,
    .dev-404__tile img {
        min-height: 148px;
    }

    .dev-404__title {
        font-size: 26px;
    }

    .dev-404__section {
        margin-top: 30px;
    }
}

/* Переключатель города — по центру шапки, светло-оранжевая плашка */
@media (min-width: 992px) {
    .header-contacts {
        grid-template-columns: auto auto auto auto;
    }

    .header-city--desktop {
        align-self: center;
        margin: 0 10px;
    }

    .header-city--desktop > summary {
        background: #fff1e4;
        border: 1px solid #ffd8b8;
        color: #c2510b;
        padding: 9px 14px;
        font-size: 14px;
        transition: background-color .16s ease, border-color .16s ease;
    }

    .header-city--desktop > summary:hover {
        background: #ffe4cf;
        border-color: #f2701d;
    }
}

/* ===== Блок «Прогулка стартует от причала» на странице прогулки ===== */
.dev-pier-start {
    margin: 28px 0 8px;
}

.dev-pier-start__label {
    font-size: 17px;
    font-weight: 700;
    color: #0b3d5c;
    margin-bottom: 10px;
}

.dev-pier-start__card {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) 290px;
    gap: 22px;
    padding: 18px;
    border: 1px solid #e4edf4;
    border-radius: 14px;
    background: #fff;
}

.dev-pier-start__photo {
    display: block;
    border-radius: 10px;
    overflow: hidden;
    align-self: start;
}

.dev-pier-start__photo img {
    display: block;
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform .3s ease;
}

.dev-pier-start__photo:hover img {
    transform: scale(1.04);
}

.dev-pier-start__body {
    min-width: 0;
}

.dev-pier-start__title {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.dev-pier-start__title a {
    color: #0b3d5c;
    text-decoration: none;
}

.dev-pier-start__title a:hover {
    color: #f2701d;
}

.dev-pier-start__text {
    font-size: 14px;
    line-height: 1.55;
    color: #33444f;
    margin: 0 0 10px;
}

.dev-pier-start__address {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    font-size: 13.5px;
    color: #5b7386;
    margin: 0 0 10px;
}

.dev-pier-start__address svg {
    width: 16px;
    height: 16px;
    flex: 0 0 auto;
    margin-top: 2px;
    color: #f2701d;
}

.dev-pier-start__specs {
    border-left: 1px solid #eef4f8;
    padding-left: 20px;
}

.dev-pier-start__specs-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #7b8fa0;
    margin-bottom: 8px;
}

.dev-pier-start__specs ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dev-pier-start__specs li {
    display: flex;
    gap: 7px;
    font-size: 13.5px;
    line-height: 1.45;
    color: #33444f;
    margin-bottom: 7px;
}

.dev-pier-start__k {
    color: #0b3d5c;
    font-weight: 600;
}

.dev-pier-start__ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #1471c1;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    margin-top: 1px;
}

.dev-pier-start__specs a {
    color: #0b7bd5;
}

@media (max-width: 1199.98px) {
    .dev-pier-start__card {
        grid-template-columns: 240px minmax(0, 1fr);
    }

    .dev-pier-start__specs {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid #eef4f8;
        padding: 14px 0 0;
    }
}

@media (max-width: 767.98px) {
    .dev-pier-start__card {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 14px;
    }

    .dev-pier-start__photo img {
        height: 180px;
    }

    .dev-pier-start__label {
        font-size: 16px;
    }
}

/* --- Блок причала: больше воздуха, фото без отступов, ровное метро --- */
.dev-pier-start {
    margin: 38px 0 34px;
}

.dev-pier-start__label {
    margin-bottom: 14px;
}

.dev-pier-start__card {
    padding: 0;
    gap: 0;
    overflow: hidden;
    align-items: stretch;
}

.dev-pier-start__photo {
    border-radius: 0;
    align-self: stretch;
}

.dev-pier-start__photo img {
    width: 100%;
    height: 100%;
    min-height: 230px;
    border-radius: 0;
    object-fit: cover;
}

.dev-pier-start__body {
    padding: 22px 24px;
    align-self: center;
}

.dev-pier-start__text {
    margin-bottom: 12px;
}

.dev-pier-start__address {
    margin-bottom: 0;
}

.dev-pier-start__specs {
    padding: 22px 22px 22px 22px;
    border-left: 1px solid #eef4f8;
}

.dev-pier-start__spec,
.dev-pier-start__specs li {
    align-items: flex-start;
    margin-bottom: 9px;
    line-height: 1.5;
}

.dev-pier-start__spec-body {
    display: block;
    min-width: 0;
}

.dev-pier-start__spec--metro .dev-metro {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    margin-top: 3px;
}

.dev-pier-start__spec--metro .dev-metro__item {
    align-items: center;
}

/* следующий за блоком заголовок раздела — с воздухом сверху */
.dev-pier-start + .dev-section-title {
    margin-top: 34px;
}

@media (max-width: 1199.98px) {
    .dev-pier-start__card {
        grid-template-columns: 260px minmax(0, 1fr);
    }

    .dev-pier-start__specs {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid #eef4f8;
        padding: 18px 22px 20px;
    }
}

@media (max-width: 767.98px) {
    .dev-pier-start {
        margin: 28px 0 26px;
    }

    .dev-pier-start__card {
        grid-template-columns: 1fr;
    }

    .dev-pier-start__photo img {
        min-height: 0;
        height: 190px;
    }

    .dev-pier-start__body {
        padding: 16px 16px 18px;
    }

    .dev-pier-start__specs {
        padding: 16px;
    }

    .dev-pier-start + .dev-section-title {
        margin-top: 26px;
    }
}

/* крошки → заголовок на детальных страницах: было 10 + 26 = 36px, стало ~10px */
.dev-crumbs {
    padding: 12px 0 4px;
}

.dev-page-title {
    margin-top: 6px;
}

/* карточка причала: фото 400, текст резиновый, характеристики 400 — только на десктопе,
   иначе на мобильных 400+400 не влезают и блок обрезается (правка 17.11.2026) */
@media (min-width: 1200px) {
    .dev-pier-start__card {
        grid-template-columns: 400px minmax(0, 1fr) 400px;
    }
}

/* ===== Услуги на борту ===== */
.dev-services {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.dev-services__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    line-height: 1.35;
    color: #33444f;
}

.dev-service__icon {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: #0b7bd5;
}

/* ===== Теплоходы на странице прогулки ===== */
.dev-walk-ships {
    margin: 38px 0 10px;
}

.dev-walk-ships__card {
    display: grid;
    grid-template-columns: 400px minmax(0, 1fr) 400px;
    gap: 0;
    padding: 0;
    margin-bottom: 16px;
    border: 1px solid #e4edf4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.dev-walk-ships__photo {
    display: block;
    align-self: stretch;
}

.dev-walk-ships__photo img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 230px;
    object-fit: cover;
}

.dev-walk-ships__body {
    align-self: center;
    padding: 22px 24px;
    min-width: 0;
}

.dev-walk-ships__title {
    font-size: 20px;
    line-height: 1.25;
    margin: 0 0 8px;
}

.dev-walk-ships__title a {
    color: #0b3d5c;
    text-decoration: none;
}

.dev-walk-ships__title a:hover {
    color: #f2701d;
}

.dev-walk-ships__text {
    font-size: 14px;
    line-height: 1.55;
    color: #33444f;
    margin: 0;
}

.dev-walk-ships__features {
    padding: 22px;
    border-left: 1px solid #eef4f8;
    align-self: center;
}

.dev-walk-ships__features-title {
    font-size: 15px;
    font-weight: 700;
    color: #0b3d5c;
    margin-bottom: 12px;
}

/* ===== Услуги на странице теплохода ===== */
.dev-ship-services {
    margin: 32px 0 10px;
}

.dev-ship-services .dev-services {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px 18px;
}

@media (max-width: 1199.98px) {
    .dev-walk-ships__card {
        grid-template-columns: 300px minmax(0, 1fr);
    }

    .dev-walk-ships__features {
        grid-column: 1 / -1;
        border-left: 0;
        border-top: 1px solid #eef4f8;
    }

    .dev-ship-services .dev-services {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .dev-walk-ships {
        margin: 28px 0 8px;
    }

    .dev-walk-ships__card {
        grid-template-columns: 1fr;
    }

    .dev-walk-ships__photo img {
        min-height: 0;
        height: 190px;
    }

    .dev-walk-ships__body,
    .dev-walk-ships__features {
        padding: 16px;
    }

    .dev-ship-services .dev-services,
    .dev-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- Единый вертикальный ритм на странице прогулки + высота карточек по тексту --- */
.dev-walk-ships,
.dev-pier-start {
    margin: 42px 0 0;
}

.dev-section-title {
    margin-top: 42px;
    margin-bottom: 18px;
}

/* карточки теплоходов и причала: высота по тексту, фото подстраивается */
.dev-walk-ships__card,
.dev-pier-start__card {
    align-items: stretch;
}

.dev-walk-ships__photo,
.dev-pier-start__photo {
    align-self: stretch;
}

.dev-walk-ships__photo img,
.dev-pier-start__photo img {
    height: 100%;
    min-height: 0;
    object-fit: cover;
}

.dev-walk-ships__body,
.dev-pier-start__body {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dev-walk-ships__features,
.dev-pier-start__specs {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.dev-walk-ships + .dev-section-title,
.dev-pier-start + .dev-section-title {
    margin-top: 42px;
}

@media (max-width: 767.98px) {
    .dev-walk-ships,
    .dev-pier-start {
        margin: 30px 0 0;
    }

    .dev-section-title {
        margin-top: 30px;
        margin-bottom: 14px;
    }

    .dev-walk-ships__photo img,
    .dev-pier-start__photo img {
        height: 190px;
    }
}

/* ===== Подвал: 6 колонок разделов + вотермарк логотипа ===== */
.dev-footer2 {
    --wm-size: 1500px;
    --wm-left: auto;
    --wm-right: -260px;
    --wm-opacity: .07;

    position: relative;
    overflow: hidden;
    background: #0d2b40;
    color: #cfdde8;
    padding: 34px 0 0;
    margin-top: 34px;
}

.dev-footer2::before {
    content: "";
    position: absolute;
    top: 50%;
    right: var(--wm-right);
    transform: translateY(calc(-50% + var(--wm-shift, 0px)));
    width: var(--wm-size);
    height: var(--wm-size);
    background: url('/assets/icons/logo-mark.svg') no-repeat center center;
    background-size: var(--wm-size) auto;
    opacity: var(--wm-opacity);
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.dev-footer2__inner {
    position: relative;
    z-index: 1;
}

.dev-footer2__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.dev-footer2__brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.dev-footer2__mark {
    display: block;
    width: 46px;
    height: 46px;
}

.dev-footer2__brand-name {
    font-family: 'Century Gothic', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .01em;
}

.dev-footer2__tagline {
    margin: 0;
    max-width: 520px;
    font-size: 14px;
    line-height: 1.5;
    color: #9fb8ca;
    text-align: right;
}

.dev-footer2__cols {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 26px 20px;
    padding: 26px 0 22px;
}

.dev-footer2__head {
    font-family: 'Century Gothic', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #6fc0f2;
    margin-bottom: 12px;
}

.dev-footer2__col ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.dev-footer2__col li {
    padding: 0 0 7px;
    font-size: 13.5px;
    line-height: 1.35;
}

.dev-footer2__col a {
    color: #cfdde8;
    text-decoration: none;
    transition: color .15s ease;
}

.dev-footer2__col a:hover {
    color: #ff8a3d;
    text-decoration: none;
}

.dev-footer2__col--contacts li span {
    color: #9fb8ca;
}

.dev-footer2__contacts a {
    font-weight: 700;
    color: #fff;
}

.dev-footer2__social {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0 14px;
}

.dev-footer2__social a {
    display: inline-block;
    padding: 5px 10px;
    font-size: 12.5px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 6px;
    color: #cfdde8;
    text-decoration: none;
}

.dev-footer2__social a:hover {
    border-color: #ff8a3d;
    color: #ff8a3d;
}

.dev-footer2__legal {
    margin: 0 0 8px;
    font-size: 12.5px;
    line-height: 1.45;
    color: #8ea5b7;
}

.dev-footer2__legal a {
    color: #6fc0f2;
    text-decoration: none;
}

.dev-footer2__legal a:hover {
    color: #ff8a3d;
}

.dev-footer2__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0 18px;
    border-top: 1px solid rgba(255, 255, 255, .1);
    font-size: 12.5px;
    color: #8ea5b7;
}

@media (max-width: 1199.98px) {
    .dev-footer2 {
        --wm-size: 1100px;
        --wm-right: -220px;
    }

    .dev-footer2__cols {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 24px 18px;
    }
}

@media (max-width: 991.98px) {
    .dev-footer2__top {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .dev-footer2__tagline {
        text-align: left;
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .dev-footer2 {
        --wm-size: 700px;
        --wm-right: -200px;
        --wm-opacity: .05;
        padding-top: 24px;
        margin-top: 26px;
    }

    .dev-footer2__cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 22px 14px;
        padding: 20px 0 16px;
    }

    .dev-footer2__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 12px;
    }
}

@media (max-width: 575.98px) {
    .dev-footer2__cols {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* подвал: пять колонок */
.dev-footer2__cols{grid-template-columns:repeat(5,minmax(0,1fr))}
@media (max-width:1199.98px){.dev-footer2__cols{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:767.98px){.dev-footer2__cols{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:575.98px){.dev-footer2__cols{grid-template-columns:minmax(0,1fr)}}

/* вотермарк: цвет знака светлый (был тёмно-синий на тёмном фоне — поменяли местами) */
.dev-footer2 {
    --wm-color: #dff0fb;
    --wm-opacity: .1;
}

.dev-footer2::before {
    background: none;
    background-color: var(--wm-color);
    -webkit-mask: url('/assets/icons/logo-mark.svg') no-repeat center center;
    -webkit-mask-size: var(--wm-size) auto;
    mask: url('/assets/icons/logo-mark.svg') no-repeat center center;
    mask-size: var(--wm-size) auto;
}

@media (max-width: 767.98px) {
    .dev-footer2 {
        --wm-opacity: .08;
    }
}

/* размер вотермарка: 1200px по ширине (маска тянется по --wm-size) */
.dev-footer2{--wm-size:1200px}
.dev-footer2::before{mask-size:1200px auto;-webkit-mask-size:1200px auto}
@media (max-width:1199.98px){.dev-footer2{--wm-size:900px}.dev-footer2::before{mask-size:900px auto;-webkit-mask-size:900px auto}}
@media (max-width:767.98px){.dev-footer2{--wm-size:620px;--wm-right:-160px}.dev-footer2::before{mask-size:620px auto;-webkit-mask-size:620px auto}}

/* SEO-блок каталога: фото не больше половины ширины страницы */
.dev-seo-section{margin:34px 0 10px}
/* SEO-блок каталога: фото не больше половины ширины страницы */
.dev-seo-section { margin: 34px 0 10px; }
.dev-seo-cols__media { max-width: 50%; width: 100%; justify-self: end; }
.dev-seo-cols__media img { display: block; width: 100%; height: auto; max-height: 360px; object-fit: cover; border-radius: 12px; }
@media (max-width: 991.98px) {
    .dev-seo-cols__media { max-width: 100%; justify-self: stretch; }
    .dev-seo-cols__media img { max-height: 240px; }
}

/* 15.11.2026: единый H1 на всех страницах — 30px / 700 / #111 (как на /ekskursii) */
.section-article-title h1.title,
.section-default-title h1.title {
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

/* 15.11.2026: фото в SEO-блоке вкладки занимает свою колонку целиком.
   Было max-width:50% от колонки — картинка выходила 216px и тонула в пустоте. */
.dev-seo-cols__media { max-width: 100%; justify-self: stretch; }
.dev-seo-cols__media img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 12px;
}

/* фото в конце SEO-текста вкладки: в той же белой карточке, не на всю ширину */
.dev-seo__img--tail { max-width: 520px; margin: 22px 0 6px; }
@media (max-width: 767.98px) { .dev-seo__img--tail { max-width: 100%; } }

/* фото в конце SEO-текста вкладки: по центру колонки, а не у левого края */
.dev-seo__img--tail { margin: 22px auto 6px; display: block; }

/* фото в конце SEO-текста вкладки: продолжаем белую карточку текста, а не висим на сером.
   Карточка текста — .col-md-8 шириной 760 с полями 15/30; фото получает ту же ширину. */
.dev-seo__img--tail {
    width: min(760px, 100%);
    max-width: 760px;
    margin: 0 auto;
    padding: 0 30px 26px;
    background: #fff;
    border-radius: 0 0 12px 12px;
    box-sizing: border-box;
}
.dev-seo__img--tail img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 10px;
}
@media (max-width: 767.98px) {
    .dev-seo__img--tail { width: 100%; padding: 0 15px 18px; }
}

/* SEO-блок вкладки — одна белая карточка 760 по центру: текст, под ним фото.
   Внутреннюю битриксовую сетку (row / col-md-2 / col-md-8) разворачиваем,
   чтобы текст шёл в ширину карточки, а не узкой колонкой с пустыми полями. */
.dev-seo-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px 30px 26px;
    max-width: 760px;
    margin: 0 auto;
    box-sizing: border-box;
}
.dev-seo-card .row { display: block; margin: 0; }
.dev-seo-card .col-md-2 { display: none; }
.dev-seo-card .col-md-8 {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    background: transparent !important;
}
.dev-seo-card img { max-width: 100%; height: auto; }
.dev-seo__img--tail {
    width: 100%;
    max-width: 100%;
    margin: 22px 0 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
}
@media (max-width: 767.98px) {
    .dev-seo-card { padding: 18px 16px 20px; border-radius: 10px; }
}

/* Раздел может прийти из Битрикса в своей сетке (container + col-md-1/col-md-10):
   внутри SEO-карточки разворачиваем её так же, как col-md-2/col-md-8. */
.dev-seo-card .container { max-width: 100%; padding-left: 0; padding-right: 0; }
.dev-seo-card .col-md-1 { display: none; }
.dev-seo-card .col-md-10 {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    flex: none !important;
    padding: 0 !important;
    background: transparent !important;
}

/* === 16.11.2026: кнопка «Наверх» — как на круизах (peku-poccuu.ru) === */
#scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 0;
    border-radius: 12px;
    background: #0b7bd5;
    color: #fff;
    box-shadow: 0 6px 18px rgba(11, 61, 92, .22);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .25s ease, visibility .25s ease, transform .25s ease, background .2s ease;
    z-index: 960;
}
#scroll-to-top svg { width: 24px; height: 24px; display: block; flex-shrink: 0; }
#scroll-to-top.show { opacity: 1; visibility: visible; transform: none; }
#scroll-to-top:hover { background: #095f9f; }
#scroll-to-top:active { transform: scale(.95); }
@media (max-width: 767.98px) {
    #scroll-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 10px; }
    #scroll-to-top svg { width: 20px; height: 20px; }
}


/* Отзывы с Яндекс Карт (/reviews): карточки + сводка */
.dev-reviews__summary{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;padding:16px 18px;border:1px solid #e4edf4;border-radius:12px;background:#f7fafc;margin:8px 0 24px}
.dev-reviews__score-block{display:flex;align-items:center;gap:14px}
.dev-reviews__score{font-size:34px;font-weight:700;line-height:1;color:#0b3d5c}
.dev-reviews__score-meta{display:flex;flex-direction:column;gap:3px}
.dev-reviews__stars,.dev-review__stars{font-size:16px;line-height:1;letter-spacing:1px;color:#d9e2ea}
.dev-reviews__stars .is-on,.dev-review__stars .is-on{color:#f5a623}
.dev-reviews__count{font-size:14px;color:#5a6472}
.dev-reviews__cta{display:inline-flex;align-items:center;gap:8px;padding:10px 18px;border-radius:10px;background:#0b7bd5;color:#fff;font-weight:600;text-decoration:none;transition:background .16s ease}
.dev-reviews__cta:hover,.dev-reviews__cta:focus{background:#095f9f;color:#fff;text-decoration:none}
.dev-reviews__empty{color:#5a6472}
.dev-reviews__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.dev-review{display:flex;flex-direction:column;gap:10px;padding:18px;border:1px solid #e4edf4;border-radius:12px;background:#fff}
.dev-review__head{display:flex;align-items:center;gap:12px}
.dev-review__ava{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none;background:#eef4f8}
.dev-review__ava--empty{display:flex;align-items:center;justify-content:center;font-weight:700;color:#0b7bd5;font-size:18px}
.dev-review__who{display:flex;flex-direction:column;min-width:0}
.dev-review__name{font-weight:600;color:#152433;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.dev-review__level{font-size:12px;color:#8a97a6}
.dev-review__date{margin-left:auto;font-size:12px;color:#8a97a6;flex:none}
.dev-review__text{font-size:15px;line-height:1.55;color:#26333f;white-space:pre-line;overflow-wrap:anywhere}
.dev-review__text[data-collapsed]{display:-webkit-box;-webkit-line-clamp:6;-webkit-box-orient:vertical;overflow:hidden;white-space:normal}
.dev-review__more{align-self:flex-start;padding:0;border:0;background:none;color:#0b7bd5;font-size:14px;cursor:pointer}
.dev-review__more:hover{text-decoration:underline}
.dev-review__photos{display:flex;gap:8px;flex-wrap:wrap}
.dev-review__photos img{width:80px;height:80px;object-fit:cover;border-radius:8px;display:block}
.dev-review__answer{padding:12px 14px;border-radius:10px;background:#f2f7fb;border:1px solid #e4edf4;font-size:14px;color:#3a4854}
.dev-review__answer-label{display:block;font-weight:600;color:#0b3d5c;margin-bottom:4px}
.dev-review__answer p{margin:0}
@media (max-width:991.98px){.dev-reviews__grid{grid-template-columns:1fr}}
@media (max-width:767.98px){
    .dev-reviews__summary{flex-direction:column;align-items:flex-start}
    .dev-reviews__cta{width:100%;justify-content:center}
    .dev-review{padding:14px}
}

/* Поиск по названию в списках (.dev-search) */
.dev-search{display:flex;gap:10px;align-items:stretch;max-width:520px;margin:0 0 26px}
.dev-search__field{position:relative;flex:1 1 auto;display:block;margin:0;min-width:0}
.dev-search__icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:#8aa0b2;pointer-events:none}
.dev-search__input{width:100%;height:46px;padding:0 14px 0 42px;border:1px solid #dbe6ef;border-radius:12px;background:#fff;font-size:15px;color:#1c2b36;appearance:none;-webkit-appearance:none}
.dev-search__input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none}
.dev-search__input::placeholder{color:#93a7b7}
.dev-search__input:focus{outline:0;border-color:#f2701d;box-shadow:0 0 0 3px rgba(242,112,29,.12)}
.dev-search__btn{height:46px;padding:0 22px;border-radius:12px;line-height:1.2;flex:0 0 auto;font-size:15px}
.dev-search__hint{margin:-14px 0 22px;font-size:14px;color:#6b7f8f}
.dev-search__hint a{color:#f2701d;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
@media (max-width:575.98px){.dev-search{max-width:none;gap:8px}.dev-search__btn{padding:0 16px;font-size:14px}}

/* «Что увидите»: 12 плиток на десктопе, мельче; планшет и мобильный без изменений (17.11.2026) */
@media (min-width: 1200px) {
    .dev-attr__grid {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }
}

/* H1 на странице прогулки: у названий много слов, 30px превращались в «простыню» (17.11.2026) */
.dev-page-title.dev-page-title--walk {
    font-size: 20px;
    line-height: 1.4;
    margin: 18px 0 6px;
}

/* ===== Страница прогулки: карточка «Тарифы + Купить» справа, липнет как на достопримечательностях
   (18.11.2026). Раскладка: Bootstrap row — col-lg-7 (фото, характеристики, описание) + col-lg-5.dev-aside. */
.dev-walk-buy .dev-walk-tariffs {
    margin: 0 0 14px;
    padding: 0;
    border: 0;
    background: transparent;
}
.dev-walk-buy .dev-walk-tariffs__title { margin-bottom: 6px; }
.dev-walk-buy .dev-walk-tariffs__table td { padding: 5px 0; }
.dev-walk-buy .dev-walk-hero__buy { display: block; margin: 0; }
.dev-walk-buy .dev-walk-hero__buy .teplohod-info-wrapper { display: block; }
.dev-walk-buy .dev-walk-hero__buy .btn { width: 100%; }
.dev-walk-hero__list { margin: 6px 0 18px; }

/* H1 страницы прогулки: на мобиле компактный 20px, на десктопе 30px — как было (18.11.2026) */
@media (min-width: 992px) {
    .dev-page-title.dev-page-title--walk {
        font-size: 30px;
        line-height: 1.2;
        margin: 14px 0 12px;
    }
}

/* Теплоходы, курсирующие от причала: плитки как у «Достопримечательностей», но 4 в ряд (20.11.2026) */
.dev-pier-ships { margin: 0 0 34px; }
.dev-pier-ships .dev-attr__grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 991.98px) {
    .dev-pier-ships .dev-attr__grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 767.98px) {
    .dev-pier-ships .dev-attr__grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.dev-pier-ships__all { display:inline-block; margin-top:14px; font-size:15px; font-weight:600; color:#f2701d; text-decoration:underline; text-decoration-thickness:1px; text-underline-offset:3px; }
.dev-pier-ships__all:hover { color:#d95f10; }

/* Теплоходы от причала: пассажировместимость под названием, оранжевым (20.11.2026) */
.dev-pier-ships .dev-attr__body {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 12px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.dev-pier-ships .dev-attr__name {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    text-shadow: 0 1px 6px rgba(0, 0, 0, .45);
}
.dev-pier-ships .dev-attr__cap {
    color: #f2701d;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 700;
    text-shadow: 0 1px 5px rgba(0, 0, 0, .55);
}
@media (max-width: 767.98px) {
    .dev-pier-ships .dev-attr__body { left: 10px; right: 10px; bottom: 9px; }
    .dev-pier-ships .dev-attr__cap { font-size: 12px; }
}

/* Причалы на карточке теплохода: метро под названием, не больше двух строк (20.11.2026) */
.dev-ship-piers .dev-attr__cap {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Названия теплоходов в мете карточки: не рвём по словам, переносим целиком (20.11.2026) */
.dev-ship-tag { white-space: nowrap; }

/* ===== Ближайшие причалы на странице достопримечательности ===== */
.dev-pier-start--nearby .dev-pier-start__card + .dev-pier-start__card { margin-top: 18px; }
.dev-pier-start__distance { margin: 2px 0 10px; font-size: 14px; font-weight: 600; color: #0b3d5c; opacity: .7; }
/* Причал: вкладки «как добраться» и карта */
.dev-pier-way { margin: 0 0 24px; }
.dev-pier-way__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dev-pier-way__tab { border: 1px solid #d7dde5; background: #fff; color: #1d2b3a; border-radius: 8px;
    padding: 8px 16px; font-size: 15px; line-height: 1.2; cursor: pointer; transition: .15s; }
.dev-pier-way__tab:hover { border-color: #0b63c5; color: #0b63c5; }
.dev-pier-way__tab.is-active { background: #0b63c5; border-color: #0b63c5; color: #fff; }
.dev-pier-way__panel { display: none; font-size: 16px; line-height: 1.6; }
.dev-pier-way__panel.is-active { display: block; }
.dev-pier-way__panel p { margin-bottom: 10px; }
.dev-pier-map { margin: 24px 0 8px; }
.dev-pier-map iframe { display: block; width: 100%; border: 0; border-radius: 12px; }
.dev-pier-map__links { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 10px; font-size: 14px; }
.dev-pier-map__links a { border-bottom: 1px dashed; }

.dev-pier-way__panel iframe { border-radius: 12px; margin-top: 10px; }
.dev-pier-way__links { margin-top: 8px; font-size: 14px; }

/* Причалы: карта и список по частям города */
.dev-pier-map-all iframe { display: block; width: 100%; border: 0; border-radius: 14px; }
.dev-pier-list { list-style: none; padding: 0; margin: 12px 0 0; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 8px 24px; }
.dev-pier-list__item { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px;
    padding: 8px 0; border-bottom: 1px solid #eef1f5; }
.dev-pier-list__link { font-size: 16px; font-weight: 500; }
.dev-pier-list__metro { font-size: 13px; color: #6b7785; }
.dev-pier-list__count { font-size: 12px; color: #9aa5b1; }.dev-map__geo { display: inline-block; margin-top: 10px; padding: 9px 16px; border: 1px solid #d7dde5;
    background: #fff; border-radius: 8px; font-size: 15px; color: #1d2b3a; cursor: pointer; transition: .15s; }
.dev-map__geo:hover { border-color: #0b63c5; color: #0b63c5; }
.dev-map__geo[disabled] { opacity: .8; cursor: default; }
/* Карточка теплохода: характеристики и история */
.dev-ship-specs { margin: 16px 0 4px; }
.dev-ship-specs__list { list-style: none; padding: 0; margin: 10px 0 0; display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 6px 20px; }
.dev-ship-specs__item { display: flex; justify-content: space-between; gap: 12px;
    padding: 7px 0; border-bottom: 1px solid #eef1f5; font-size: 15px; }
.dev-ship-specs__key { color: #6b7785; }
.dev-ship-specs__value { font-weight: 500; }
.dev-ship-about { margin-top: 18px; }
/* Отзывы на карточке теплохода */
.dev-ship-reviews { margin: 28px 0 8px; }
.dev-ship-reviews__note { color: #6b7785; font-size: 14px; margin: 6px 0 16px; }
.dev-ship-reviews__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.dev-review { background: #f7f9fb; border: 1px solid #e8edf3; border-radius: 12px; padding: 16px 18px; }
.dev-review__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; margin-bottom: 8px; }
.dev-review__author { font-weight: 600; font-size: 15px; }
.dev-review__rating { color: #d6dce4; font-size: 14px; letter-spacing: 1px; }
.dev-review__rating .is-on { color: #f2b01e; }
.dev-review__date { color: #9aa5b1; font-size: 13px; margin-left: auto; }
.dev-review__text { font-size: 15px; line-height: 1.55; white-space: pre-line; }
.dev-review__answer { margin-top: 10px; padding-top: 10px; border-top: 1px dashed #dde4ec; font-size: 14px; color: #3d4a57; }
.dev-ship-reviews__all { display: inline-block; margin-top: 14px; font-size: 15px; }
/* Раздел «Аренда теплоходов» */
.dev-arenda-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; margin-top: 18px; }
.dev-arenda-card { display: block; background: #fff; border: 1px solid #e8edf3; border-radius: 14px; overflow: hidden;
    transition: .15s; color: inherit; }
.dev-arenda-card:hover { border-color: #0b63c5; box-shadow: 0 6px 20px rgba(11,99,197,.08); color: inherit; }
.dev-arenda-card__photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: #eef1f5; }
.dev-arenda-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.dev-arenda-card__body { display: block; padding: 12px 14px 14px; }
.dev-arenda-card__title { display: block; font-weight: 600; font-size: 16px; line-height: 1.3; margin-bottom: 6px; }
.dev-arenda-card__row { display: block; font-size: 14px; color: #6b7785; }
.dev-arenda-card__row--muted { color: #9aa5b1; }
.dev-arenda-card__price { display: block; margin-top: 8px; font-weight: 600; color: #0b63c5; }
.dev-arenda-facts { list-style: none; padding: 0; margin: 0 0 16px; }
.dev-arenda-facts li { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-bottom: 1px solid #eef1f5; font-size: 15px; }
.dev-arenda-facts span { color: #6b7785; }
.dev-arenda-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 0 0 8px; }
.dev-arenda-cta__more { font-size: 15px; }
/* Аренда: правая колонка с ценой и тарифами (липнет как на карточке прогулки) */
.dev-arenda-buy { padding: 18px 18px 20px; }
.dev-arenda-buy__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.dev-arenda-buy__from { font-size: 14px; color: #6b7785; }
.dev-arenda-buy__price b { font-size: 24px; line-height: 1.1; color: #f2701d; }
.dev-arenda-buy__facts { list-style: none; padding: 0; margin: 0 0 14px; }
.dev-arenda-buy__facts li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid #eef1f5; font-size: 14px; }
.dev-arenda-buy__facts li:last-child { border-bottom: 0; }
.dev-arenda-buy__facts span { color: #6b7785; }
.dev-arenda-buy__btn { display: block; width: 100%; text-align: center; margin-top: 14px; }
.dev-arenda-buy__more { display: block; margin-top: 10px; font-size: 14px; text-align: center; }
.dev-arenda-buy .dev-walk-tariffs__table td { font-size: 14px; padding: 5px 0; }
.dev-arenda-buy .dev-walk-tariffs__table td:last-child { text-align: right; white-space: nowrap; }
.dev-arenda-buy__note { margin: 10px 0 0; font-size: 13px; color: #6b7785; }

/* «Место постройки» в характеристиках — первым и на всю ширину списка */
.dev-ship-specs__item--full { grid-column: 1 / -1; }
/* ===== Модалка «Заявка на аренду теплохода» ===== */
body.dev-amodal-open { overflow: hidden; }
.dev-amodal { position: fixed; inset: 0; z-index: 1060; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; overflow-y: auto; }
.dev-amodal[hidden] { display: none; }
.dev-amodal__overlay { position: fixed; inset: 0; background: rgba(9, 25, 43, .55); backdrop-filter: blur(2px); }
.dev-amodal__card { position: relative; width: 100%; max-width: 640px; background: #fff; border-radius: 14px; box-shadow: 0 24px 60px rgba(9, 25, 43, .28); padding: 28px 28px 24px; }
.dev-amodal__close { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: 0; border-radius: 50%; background: #f4f6f9; color: #55606c; font-size: 22px; line-height: 1; cursor: pointer; }
.dev-amodal__close:hover { background: #e9eef4; }
.dev-amodal__title { font-size: 22px; line-height: 1.25; margin: 0 40px 8px 0; }
.dev-amodal__lead { font-size: 14px; color: #6b7785; margin: 0 0 18px; }
.dev-amodal__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.dev-amodal__field { display: block; margin: 0; }
.dev-amodal__field--wide { grid-column: 1 / -1; }
.dev-amodal__field input,
.dev-amodal__field textarea { width: 100%; background: #f3f7fb; border: 1px solid #dfe7ef; border-radius: 10px; padding: 11px 14px; font-size: 15px; color: #22303c; outline: none; transition: border-color .15s, background .15s; }
.dev-amodal__field input:focus,
.dev-amodal__field textarea:focus { border-color: #f2701d; background: #fff; }
.dev-amodal__field input.is-invalid,
.dev-amodal__field textarea.is-invalid { border-color: #d94a3d; background: #fff6f5; }
.dev-amodal__err { display: block; min-height: 0; font-size: 12px; color: #d94a3d; margin-top: 3px; }
.dev-amodal__group { border: 0; padding: 0; margin: 16px 0 0; }
.dev-amodal__group legend { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: #8a96a3; padding: 0; margin-bottom: 8px; }
.dev-amodal__radio, .dev-amodal__check { display: inline-flex; align-items: center; gap: 8px; margin: 0 16px 6px 0; font-size: 15px; cursor: pointer; }
.dev-amodal__radio input, .dev-amodal__check input { accent-color: #f2701d; width: 18px; height: 18px; }
.dev-amodal__consent { display: flex; align-items: flex-start; gap: 9px; margin: 16px 0 0; font-size: 13px; color: #55606c; }
.dev-amodal__consent input { margin-top: 2px; accent-color: #f2701d; }
.dev-amodal__consent .dev-amodal__err { flex-basis: 100%; }
.dev-amodal__foot { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 18px; }
.dev-amodal__submit { border: 0; border-radius: 10px; padding: 13px 26px; font-size: 15px; font-weight: 600; color: #fff;
    background: linear-gradient(135deg, #f7902c 0%, #ef5f13 100%); box-shadow: 0 8px 18px rgba(239, 95, 19, .28); cursor: pointer; line-height: 1.2; }
.dev-amodal__submit:disabled { opacity: .65; cursor: default; }
.dev-amodal__note { font-size: 12px; color: #8a96a3; }
.dev-amodal__formerr { margin: 12px 0 0; font-size: 13px; color: #d94a3d; }
.dev-amodal__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.dev-amodal__done-title { font-size: 18px; font-weight: 600; margin: 0 0 8px; }
@media (max-width: 575.98px) {
    .dev-amodal { padding: 12px; }
    .dev-amodal__card { padding: 22px 16px 18px; border-radius: 12px; }
    .dev-amodal__grid { grid-template-columns: 1fr; }
    .dev-amodal__title { font-size: 19px; }
}
/* H1 на мобиле: 26px вместо 30 (просьба владельца, 25.11.2026). Десктоп не трогаем. */
@media (max-width: 767.98px) {
    h1,
    .h1,
    h1.title,
    .dev-page-title,
    .dev-home-rubrics__title,
    h1.dev-section-title { font-size: 26px; }
}

/* Фото под SEO-текстом рубрики аренды */
.dev-seo-photo { margin: 22px 0 0; }
.dev-seo-photo img { display: block; width: 100%; height: auto; border-radius: 12px; }

/* Фото рубрики аренды — внутри белой карточки с SEO-текстом, внизу */
.dev-seo-card .dev-seo-photo { margin: 18px 0 0; }
.dev-seo-card .dev-seo-photo img { display: block; width: 100%; height: auto; border-radius: 10px; }

/* Подписи причалов на карте /prichali */
.dev-map__label { background: rgba(255, 255, 255, .94); border: 1px solid #dfe7ef; border-radius: 5px;
    padding: 1px 5px; font-size: 10px; line-height: 1.3; color: #33404d; box-shadow: 0 1px 2px rgba(9, 25, 43, .14);
    white-space: nowrap; cursor: pointer; }
.dev-map__label::before { display: none; }
.dev-map__label--has { font-weight: 600; color: #0b3a6b; }
.dev-map__label:hover { border-color: #f2701d; color: #f2701d; }

/* Список причалов: название, метро и число прогулок — в столбик */
.dev-pier-list__item { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.dev-pier-list__link { font-size: 16px; font-weight: 500; line-height: 1.3; }
.dev-pier-list__metro { font-size: 13px; color: #6b7785; }
.dev-pier-list__count { font-size: 12px; color: #f2701d; }
/* Нижний рубрикатор: остальные разделы — один кегль, перенос по строкам (26.11.2026) */
.dev-rubrics-rest {
    margin: 36px 0 8px;
    padding-top: 24px;
    border-top: 1px solid #e6eef5;
}
.dev-rubrics-rest__title {
    font-size: 18px;
    font-weight: 600;
    color: #0b3d5c;
    margin: 0 0 14px;
}
.dev-rubrics-rest__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.dev-rubrics-rest .dev-chip {
    font-size: 13px;
    padding: 8px 12px;
}
@media (max-width: 575px) {
    .dev-rubrics-rest { margin-top: 28px; padding-top: 20px; }
    .dev-rubrics-rest__title { font-size: 16px; }
    .dev-rubrics-rest .dev-chip { font-size: 13px; padding: 8px 11px; }
}

.dev-rubrics-rest-section { background: #fff; }
.dev-rubrics-rest-section .dev-rubrics-rest { margin-bottom: 34px; }

/* убираем зазор между нижним рубрикатором и футером (26.11.2026) */
.dev-rubrics-rest-section .dev-rubrics-rest { margin: 36px 0 0; }
.dev-rubrics-rest-section { padding-bottom: 0; }

/* нижний рубрикатор вплотную к футеру (26.11.2026) */
.dev-rubrics-rest-section + .dev-footer2,
.dev-rubrics-rest-section + footer { margin-top: 0; }

/* Статья блога: липкая колонка «Другие статьи» (26.11.2026) */
.dev-blog-aside {
    position: sticky;
    top: 20px;
    padding: 18px 18px 6px;
    background: #f7fafc;
    border-radius: 12px;
}
.dev-blog-aside__title {
    font-size: 18px;
    font-weight: 600;
    color: #0b3d5c;
    margin: 0 0 12px;
}
.dev-blog-aside__item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #e6eef5;
    color: #0b3d5c;
    text-decoration: none;
}
.dev-blog-aside__item:last-child { border-bottom: 0; }
.dev-blog-aside__item img {
    width: 76px;
    height: 56px;
    object-fit: cover;
    border-radius: 6px;
    flex: 0 0 auto;
}
.dev-blog-aside__name { font-size: 14px; line-height: 1.35; }
.dev-blog-aside__item:hover .dev-blog-aside__name { color: #f2701d; }
@media (max-width: 991.98px) {
    .dev-blog-aside { position: static; margin-top: 26px; }
}

.dev-article__caption { font-size: 13px; color: #6b7785; margin: -8px 0 24px; }
