/* Тема «Мой город» — дополнения к style.css NetCat (netcat.css). */

/* ---------- Montserrat, локально, woff2 (кириллица + латиница) ---------- */
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 100 300; font-display: swap; src: url("../fonts/montserrat-light.woff2") format("woff2"); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-regular.woff2") format("woff2"); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/montserrat-medium.woff2") format("woff2"); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-semibold.woff2") format("woff2"); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-bold.woff2") format("woff2"); }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 800 900; font-display: swap; src: url("../fonts/montserrat-extrabold.woff2") format("woff2"); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 100 400; font-display: swap; src: url("../fonts/montserrat-italic.woff2") format("woff2"); }
@font-face { font-family: 'Montserrat'; font-style: italic; font-weight: 500 900; font-display: swap; src: url("../fonts/montserrat-mediumitalic.woff2") format("woff2"); }
/* В style.css NetCat курсив — отдельное семейство 'Montserrat-Italic', и «Montserrat SemiBold» — как имя семейства. */
@font-face { font-family: 'Montserrat-Italic'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-italic.woff2") format("woff2"); }
@font-face { font-family: 'Montserrat SemiBold'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/montserrat-semibold.woff2") format("woff2"); }

/* ---------- общее ---------- */
html, body { overflow-x: hidden; }
.mgo-icon { display: inline-block; vertical-align: -0.15em; }
/* Заголовок страницы — <h1>, но оформлен как `.section-title h3` NetCat (28/24/20 px, 800, прописные). */
.mgo-h3 { font-size: 28px; line-height: 1.2; font-weight: 800; color: #03989E; text-transform: uppercase; text-decoration: none; margin: 0; }
@media only screen and (max-width: 1024px) { .mgo-h3 { font-size: 24px; } }
@media only screen and (max-width: 991px) { .mgo-h3 { font-size: 20px; } }
.full-new-content { overflow-wrap: anywhere; }
.full-new-content iframe, .full-new-content video, .full-new-content embed { max-width: 100%; }
.full-new-content table { display: block; max-width: 100%; overflow-x: auto; }
.mgo-date { font-size: 14px; font-weight: 300; opacity: .6; margin: 0 0 8px 20px; }
.mgo-noimg .top-post-title, .mgo-noimg .second-post-title { margin-top: 10px; }
.mgo-empty { margin: 30px 20px; font-size: 18px; }

/* ---------- шапка: меню и поиск ---------- */
.navbar-toggler { border: 0; color: #fff; padding: 6px 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 2px rgba(255,255,255,.6); }
.mgo-nav-mobile { display: none; }
@media (max-width: 991.98px) {
  .mgo-nav-desktop { display: none !important; }
  .mgo-nav-mobile { display: flex; }
  .main-header { height: auto; min-height: 0; position: fixed; top: 0; }
  .navbar { height: auto; min-height: 60px; }
  .navbar-collapse { max-height: calc(100vh - 60px); overflow-y: auto; }
}
.mgo-search { display: flex; align-items: center; gap: 4px; }
.mgo-search input {
  width: 140px; border: 0; border-bottom: 1px solid rgba(255,255,255,.7); background: transparent; color: #fff;
  font-size: 14px; padding: 2px 4px; outline: none;
}
.mgo-search input::placeholder { color: rgba(255,255,255,.85); }
.mgo-search button { background: none; border: 0; color: #fff; padding: 4px 6px; cursor: pointer; }
/* Десктоп: как в NetCat — только иконка поиска; поле раскрывается по клику (theme.js). */
@media (min-width: 992px) {
  .mgo-search { margin-left: 8px; }
  .mgo-search input { width: 0; padding: 2px 0; border-bottom-color: transparent; transition: width .25s, border-color .25s; }
  .mgo-search.is-open input { width: 160px; padding: 2px 4px; border-bottom-color: rgba(255,255,255,.7); }
}
@media (max-width: 991.98px) {
  .mgo-search { padding: 10px 0 15px; justify-content: center; }
  .mgo-search input { width: 70%; }
}

/* ---------- кнопка «Показать ещё» как ссылка ---------- */
a.more-btn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* ---------- пагинация для поисковиков ---------- */
.mgo-pagination { margin: 0 0 40px; text-align: center; }
.mgo-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.mgo-pagination .page-numbers {
  display: inline-block; min-width: 36px; padding: 6px 10px; border: 1px solid rgba(3,152,158,.4);
  border-radius: 8px; color: #03989E; font-weight: 500;
}
.mgo-pagination .page-numbers.current { background: #03989E; color: #fff; border-color: #03989E; }
.mgo-pagination .page-numbers.dots { border: 0; }

/* ---------- поиск на странице / 404 ---------- */
.mgo-search-page { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 10px 20px 30px; }
.mgo-search-page input { flex: 1 1 240px; min-width: 0; height: 45px; border: 2px solid #03989E; border-radius: 10px; padding: 0 14px; font-size: 17px; }
.mgo-search-page .more-btn { margin: 0; padding: 0 30px; }
.mgo-404 { padding: 30px 0 60px; }
.mgo-404 > p { margin: 10px 20px; font-size: 18px; }
.mgo-404-links { columns: 2; margin: 10px 20px; }
.mgo-404-links a { color: #03989E; font-weight: 500; }

/* ---------- материал ---------- */
/* Пометка рекламы: абзац сразу после текста, размер и цвет — как у текста материала (19 px, #212529). */
.full-new-content .mgo-ad-label { font-size: inherit; line-height: inherit; color: #212529; margin-top: 1em; }
/* erid перед текстом: отдельной строкой под анонсом, кегль и цвет текста материала, отступ — как у анонса. */
.mgo-ad-erid { margin: 0 0 10px 70px; font-size: 19px; line-height: 1.3; color: #212529; }
@media (max-width: 991.98px) { .mgo-ad-erid { margin-left: 20px; font-size: 17px; } }
.mgo-share { display: flex; flex-wrap: wrap; gap: 4px; justify-content: flex-end; margin: 0 0 10px; }
/* Как блок Яндекс share2 в NetCat: квадратные иконки 24 px. */
.mgo-share__btn {
  display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px;
  border-radius: 4px; color: #fff !important; font-size: 9px; font-weight: 700; letter-spacing: -.3px; text-decoration: none; overflow: hidden;
}
.mgo-share__btn:hover { opacity: .85; }
.mgo-share__btn--vk { background: #0077ff; }
.mgo-share__btn--ok { background: #ee8208; }
.mgo-share__btn--tg { background: #229ed9; }
.mgo-share__btn--vb { background: #7360f2; }
.mgo-share__btn--wa { background: #25d366; }
.mgo-consent-placeholder {
  margin: 15px 0; padding: 14px 16px; border: 1px dashed #03989E; border-radius: 10px; font-size: 14px; color: #555; background: #f7fbfc;
}
.mgo-consent-placeholder a { color: #03989E; }

/* ---------- подборка ---------- */
.mgo-review-intro { display: flex; flex-wrap: wrap; gap: 20px; padding: 10px 20px 20px; }
.mgo-review-photo { flex: 0 1 360px; }
.mgo-review-desc { flex: 1 1 300px; min-width: 0; }
.mgo-review-slider { padding: 10px 20px 20px; margin: 20px 0; overflow: hidden; }
.mgo-review-slider .swiper-slide { height: auto; }
.mgo-review-slider .post-item-review-1 { margin: 10px 0; }
.mgo-review-slider .post-title-review a { font-size: 17px; }
.mgo-review-nav { display: flex; gap: 12px; justify-content: flex-end; }
.mgo-review-nav button { background: none; border: 0; padding: 4px; cursor: pointer; }
.mgo-review-nav img { border-radius: 0; }
.mgo-review-nav .swiper-button-disabled { opacity: .35; cursor: default; }

/* ---------- подвал ---------- */
.mgo-cookie-settings a { color: inherit; text-decoration: underline; font-size: 14px; }

/* ---------- cookie-баннер: стили — из style.css NetCat (netcat.css); там display:none, показ — атрибутом hidden ---------- */
.cookie-banner:not([hidden]) { display: block; }
/* «Подробнее»: в NetCat #ffd27a на #E7F3F9 — контраст 1,3:1. Тёмный бирюзовый темы — 4,8:1 (WCAG AA). Решение штаба 07.11. */
.cookie-banner__text a.cookie-banner__link { color: #02767a; }

/* ---------- 375 px: без горизонтальной прокрутки ---------- */
/* Сетка и отступы — как в NetCat. Исправлено только то, что давало прокрутку в самом NetCat:
   .footer-copyriting (col-12 + margin 0 10px из style.css) вылезал за край. */
@media (max-width: 767.98px) {
  .footer-copyriting { margin-left: 0 !important; margin-right: 0 !important; padding-left: 22px; padding-right: 22px; }
}
