/*
Theme Name: Reboot Child
Template: reboot
*/

/* =========================================================================
   bilettutu.ru — UI/UX UPGRADE (вариант Б, 2026-05-29)
   Откат: style.css.bak-20260529 + functions.php.bak-20260529
   ========================================================================= */

:root {
  --accent:       #2563EB;
  --accent-dark:  #1D4ED8;
  --accent-soft:  #EAF1FF;
  --ink:          #0F1B2D;
  --text:         #33404F;
  --muted:        #6B7787;
  --bg:           #EDF1F7;
  --card:         #FFFFFF;
  --border:       #E6EBF2;
  --radius:       14px;
  --radius-lg:    20px;
  --shadow:       0 6px 20px rgba(18,38,63,.06);
  --shadow-hover: 0 14px 34px rgba(18,38,63,.14);
}

/* ---------- БАЗА ---------- */
body.custom-background { background-image: none !important; }
body {
  background-color: var(--bg) !important;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
}
h1, h2, h3, h4, .post-card__title a, .entry-title { color: var(--ink); }

.home .site-content-inner,
.blog .site-content-inner,
.archive .site-content-inner,
.search .site-content-inner { background: transparent !important; }

::selection { background: var(--accent); color: #fff; }
html { scroll-behavior: smooth; }

/* ---------- STICKY-ШАПКА + МЕНЮ С ИКОНКАМИ ---------- */
.main-navigation {
  background: rgba(255,255,255,.92) !important;
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  backdrop-filter: saturate(180%) blur(10px);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 6px 20px rgba(18,38,63,.06);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 30;
}
#header_menu li > a,
#header_menu li > span {
  color: var(--ink) !important;
  font-size: 15.5px !important;
  font-weight: 600 !important;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  gap: 8px;
}
.rc-menu-ico { width: 18px; height: 18px; flex-shrink: 0; color: var(--accent); opacity: .9; transition: transform .25s ease; }
#header_menu li > a:hover .rc-menu-ico { transform: translateY(-2px) scale(1.08); }
#header_menu li > a:hover,
#header_menu li > span:hover { color: var(--accent) !important; }
#header_menu > li.current-menu-item > a { color: var(--accent) !important; }
#header_menu > li > a::after {
  content: ""; position: absolute; left: 15px; right: 15px; bottom: 10px;
  height: 2px; background: var(--accent); border-radius: 2px;
  transform: scaleX(0); transform-origin: left center; transition: transform .25s ease;
}
#header_menu > li:hover > a::after,
#header_menu > li.current-menu-item > a::after { transform: scaleX(1); }
.main-navigation ul li > a [class^=wci-],
.main-navigation ul li > span [class^=wci-] { color: var(--accent) !important; }

/* ---------- ШАПКА: лого, соцсети, поиск ---------- */
.site-header-inner { align-items: center; }
.site-branding { margin-right: auto; }
.site-branding img, .custom-logo { border-radius: 10px; }
.site-header .social-links { flex-shrink: 0; }
.site-header .social-buttons { display: flex !important; flex-wrap: nowrap; gap: 8px; align-items: center; margin: 0; }
.site-header .social-button {
  width: 40px !important; height: 40px !important; border-radius: 50% !important;
  background: var(--accent-soft) !important; display: inline-flex !important;
  align-items: center; justify-content: center; margin: 0 !important;
  transition: background .2s ease, transform .2s ease;
}
.site-header .social-button:hover { background: #D6E4FF !important; transform: translateY(-2px); }
.header-search { flex-shrink: 0; margin-left: 6px; }
.header-search .search-icon {
  width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft);
  display: inline-flex; align-items: center; justify-content: center; transition: background .2s ease;
}
.header-search .search-icon:hover { background: #D6E4FF; }
@media (max-width: 600px) {
  .site-header .social-buttons { gap: 6px; }
  .site-header .social-button, .header-search .search-icon { width: 36px !important; height: 36px !important; }
}

/* ---------- HERO (слайдер) ---------- */
.card-slider-container { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.card-slider__image { transition: transform 6s ease; }
.swiper-slide-active .card-slider__image { transform: scale(1.06); }
.card-slider__body {
  background: linear-gradient(to top, rgba(8,15,30,.88) 0%, rgba(8,15,30,.45) 45%, rgba(8,15,30,0) 80%) !important;
}
.card-slider__category {
  background: var(--accent) !important; color: #fff !important;
  border-radius: 999px !important; text-transform: uppercase;
  letter-spacing: .04em; font-size: .68em !important; font-weight: 700;
  padding: .4em 1.1em !important;
}
.card-slider__title { font-size: 2em !important; font-weight: 800 !important; line-height: 1.15 !important; }
.card-slider__body-inner::after {
  content: "Читать подробнее →";
  display: inline-flex; align-items: center; margin-top: 16px;
  background: #fff; color: var(--ink); font-weight: 700; font-size: 14px;
  padding: 11px 22px; border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0,0,0,.25); transition: transform .25s, background .25s;
}
.swiper-slide:hover .card-slider__body-inner::after { background: var(--accent); color: #fff; transform: translateX(4px); }
.swiper-button-next, .swiper-button-prev { color: #fff !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; }

/* ---------- HERO: скрыт нестабильный thumbnails-слайдер («серый дубль» под hero) ---------- */
.slider-thumbnails { display: none !important; }
.slider-thumbnails__slide {
  border-radius: var(--radius) !important; overflow: hidden; position: relative;
  box-shadow: var(--shadow); transition: transform .3s ease, box-shadow .3s ease; cursor: pointer;
  background-size: cover !important; background-position: center !important;
}
.slider-thumbnails__slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,15,30,.8), rgba(8,15,30,.15));
}
.slider-thumbnails__slide:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.slider-thumbnails__title { position: relative; z-index: 2; font-weight: 700 !important; line-height: 1.3 !important; }

/* ---------- НОВЫЙ БЛОК "ПОПУЛЯРНЫЕ НАПРАВЛЕНИЯ" ---------- */
.rc-dest-outer { margin: 26px auto; }
.rc-dest {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow);
  padding: 26px 28px;
}
.rc-dest__head { margin-bottom: 20px; }
.rc-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  color: var(--accent); font-weight: 700; font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em;
}
.rc-eyebrow-ico { width: 16px; height: 16px; }
.rc-dest__title { margin: 8px 0 0; font-size: 25px; font-weight: 800; color: var(--ink); }
.rc-dest__grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.rc-dest__card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 10px; padding: 20px 12px; border-radius: var(--radius);
  background: linear-gradient(180deg, #F7FAFF, #EEF3FB);
  border: 1px solid var(--border); text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.rc-dest__card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-hover);
  border-color: var(--accent); background: #fff;
}
.rc-dest__ico {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--accent); color: #fff; box-shadow: 0 8px 18px rgba(37,99,235,.35);
  transition: transform .25s ease;
}
.rc-dest__card:hover .rc-dest__ico { transform: scale(1.08) rotate(-4deg); }
.rc-dest-ico { width: 26px; height: 26px; }
.rc-dest__name { font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.25; }
.rc-dest__count { font-size: 12px; color: var(--muted); }

/* ---------- КАРТОЧКИ ЛЕНТЫ (premium) ---------- */
.post-cards--horizontal .post-card--horizontal {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 16px; margin-bottom: 20px; max-width: 100%;
  position: relative; overflow: hidden;
  transition: box-shadow .28s ease, transform .28s ease;
}
.post-cards--horizontal .post-card--horizontal:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-card--horizontal .post-card__thumbnail { border-radius: 10px; overflow: hidden; }
.post-card--horizontal .post-card__thumbnail img { transition: transform .45s ease; width: 100%; }
.post-cards--horizontal .post-card--horizontal:hover .post-card__thumbnail img { transform: scale(1.07); }
.post-card__category { background: var(--accent) !important; color: #fff !important; border-radius: 999px !important; }
.post-card__category a { color: #fff !important; }
.post-card__title a { transition: color .2s ease; }
.post-card__title a:hover { color: var(--accent); }
.post-card--horizontal .post-card__body::after {
  content: "Читать →"; display: block; margin-top: 10px;
  color: var(--accent); font-weight: 700; font-size: 13.5px;
  opacity: 0; transform: translateX(-6px); transition: opacity .25s ease, transform .25s ease;
}
.post-cards--horizontal .post-card--horizontal:hover .post-card__body::after { opacity: 1; transform: translateX(0); }

/* related */
.post-card--related { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .25s, transform .25s; }
.post-card--related:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.post-card--related.post-card--thumbnail-no { border-left: 3px solid var(--accent); }
/* отступы текста в related-карточках (фото остаётся на всю ширину) */
.post-card--related { overflow: hidden; }
.post-card--related .post-card__title,
.post-card--related .post-card__description,
.post-card--related .post-card__meta { padding-left: 18px !important; padding-right: 18px !important; }
.post-card--related .post-card__title { margin-top: 15px !important; }
.post-card--related .post-card__description { margin-bottom: 18px !important; }
.post-card--related.post-card--thumbnail-no .post-card__title { margin-top: 18px !important; }

/* ---------- КНОПКИ / АКЦЕНТ ---------- */
.btn, a.btn, input[type=submit], button[type=submit],
.form-submit input, #commentform .submit, .comment-form input[type=submit],
.wpcf7-submit, .wpforms-submit, .search-submit, .wp-block-button__link {
  background: var(--accent) !important; border-color: var(--accent) !important; color: #fff !important;
  border-radius: 999px !important; transition: background .2s, transform .2s;
}
.btn:hover, input[type=submit]:hover, button[type=submit]:hover,
.form-submit input:hover, .wpcf7-submit:hover, .search-submit:hover {
  background: var(--accent-dark) !important; transform: translateY(-1px);
}
.entry-content a, .post__content a { color: var(--accent); }

/* ---------- ПАГИНАЦИЯ ---------- */
.navigation.pagination .page-numbers,
.pagination .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 42px; height: 42px; padding: 0 14px; margin: 0 4px;
  border-radius: 999px; background: #fff; border: 1px solid var(--border);
  color: var(--ink); font-weight: 600; text-decoration: none;
  transition: all .2s ease;
}
.navigation.pagination .page-numbers:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.navigation.pagination .page-numbers.current { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px rgba(37,99,235,.35); }

/* ---------- ВВОДНЫЙ SEO-БЛОК ---------- */
.home-content {
  background: transparent !important; background-image: none !important;
  border: none !important; border-radius: 0 !important;
  box-shadow: none !important; padding: 0 !important;
}
.home-content .home-text, .home-content .home-text p { background: transparent !important; background-image: none !important; color: var(--text) !important; }
.home-header { font-family: inherit !important; color: var(--ink) !important; }
/* Приветственный блок (инлайн-градиент из Кастомайзера) — в стиль сайта */
.home-content div[style*="gradient"] {
  background: var(--accent-soft) !important;
  background-image: none !important;
  color: var(--text) !important;
  border: 1px solid #D6E4FF !important;
  border-left: 4px solid var(--accent) !important;
  border-radius: 12px !important;
  padding: 22px 26px !important;
}
.home-content div[style*="gradient"] * { color: var(--text) !important; }
.home-content div[style*="gradient"] strong,
.home-content div[style*="gradient"] b,
.home-content div[style*="gradient"] a { color: var(--accent) !important; }

/* ---------- ПОДВАЛ: КОЛОНКИ ---------- */
.rc-foot { background: var(--ink); color: #AEB9C7; padding: 54px 0 34px; }
.rc-foot__inner {
  display: grid; grid-template-columns: 1.7fr 1fr 1.1fr; gap: 48px; align-items: start;
  padding-left: 20px; padding-right: 20px;
}
.rc-foot__brand { display: inline-flex; align-items: center; gap: 11px; color: #fff !important; font-weight: 800; font-size: 17px; line-height: 1.3; text-decoration: none; margin-bottom: 14px; }
.rc-foot__brand span { color: #fff !important; }
.rc-foot__logo { width: 34px; height: 34px; color: var(--accent); flex-shrink: 0; }
.rc-foot__desc { font-size: 14px; line-height: 1.7; color: #93A1B5; max-width: 340px; margin: 0 0 18px; }
.rc-foot__title { color: #fff; font-size: 13px; font-weight: 700; margin: 4px 0 18px; text-transform: uppercase; letter-spacing: .07em; position: relative; padding-bottom: 12px; }
.rc-foot__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--accent); border-radius: 2px; }
.rc-foot__list { list-style: none; margin: 0; padding: 0; }
.rc-foot__list li { margin-bottom: 11px; }
.rc-foot__list a {
  color: #B0BCCE; text-decoration: none; font-size: 14.5px;
  display: inline-flex; align-items: center; gap: 9px; transition: color .2s, transform .2s;
}
.rc-foot__list a:hover { color: #fff; transform: translateX(4px); }
.rc-foot__list .rc-menu-ico { width: 16px; height: 16px; color: var(--accent); opacity: .85; }
.rc-foot__social { margin-top: 4px; }
.rc-foot__social .social-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.rc-foot__social .social-button {
  width: 38px !important; height: 38px !important; border-radius: 50% !important;
  background: rgba(255,255,255,.08) !important; display: inline-flex !important;
  align-items: center; justify-content: center; transition: background .2s ease, transform .2s ease;
}
.rc-foot__social .social-button:hover { background: var(--accent) !important; transform: translateY(-2px); }

/* базовый футер-копирайт — единый тёмный фон без зазора */
.site-footer-container { background: var(--ink); }
.site-footer.site-footer--style-gray, .site-footer { background: var(--ink) !important; color: #7E8CA0 !important; border-top: 1px solid rgba(255,255,255,.07); }
.site-footer a { color: #B0BCCE !important; }
.site-footer a:hover { color: #fff !important; }
.footer-bottom { padding: 20px 0 !important; }
.footer-info { font-size: 13px; line-height: 1.7; }

/* ---------- КНОПКА "НАВЕРХ" ---------- */
.scrolltop, .js-scrolltop { background: var(--accent) !important; border-radius: 50% !important; box-shadow: 0 8px 22px rgba(37,99,235,.4) !important; }

/* ---------- АНИМАЦИЯ ПОЯВЛЕНИЯ ---------- */
@keyframes rcFadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
.rc-dest, .post-cards--horizontal .post-card--horizontal { animation: rcFadeUp .5s ease both; }

/* ---------- АДАПТИВ ---------- */
@media (max-width: 1024px) {
  .rc-dest__grid { grid-template-columns: repeat(3, 1fr); }
  .rc-foot__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rc-dest__grid { grid-template-columns: repeat(2, 1fr); }
  .rc-dest { padding: 20px 16px; }
  .rc-dest__title { font-size: 21px; }
  .rc-foot__inner { grid-template-columns: 1fr; gap: 26px; }
  .card-slider__title { font-size: 1.4em !important; }
}


/* =========================================================================
   САЙДБАР-ВИДЖЕТЫ (travel-*) + иконки заголовков
   ========================================================================= */
.travel-search .widget-title, .travel-categories .widget-title,
.travel-popular .widget-title, .travel-latest .widget-title,
.travel-comments .widget-title { position: relative; padding-left: 28px; }
.travel-search .widget-title::before, .travel-categories .widget-title::before,
.travel-popular .widget-title::before, .travel-latest .widget-title::before,
.travel-comments .widget-title::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 19px; height: 19px; background-repeat: no-repeat; background-position: center; background-size: contain;
}
.travel-search .widget-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.travel-categories .widget-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.travel-popular .widget-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2s5 4 5 9a5 5 0 0 1-10 0c0-2 1-3 2-4 0 2 1 3 2 3 1-2-1-5-1-8z'/%3E%3C/svg%3E"); }
.travel-latest .widget-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.6 4.9L18.5 9l-4.9 1.6L12 15l-1.6-4.4L5.5 9z'/%3E%3C/svg%3E"); }
.travel-comments .widget-title::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-9 8.5 8.5 8.5 0 0 1-4-1L3 21l1-4a8.5 8.5 0 1 1 17-5.5z'/%3E%3C/svg%3E"); }

.travel-search { background: var(--card); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow .3s ease; }
.travel-search:hover { box-shadow: var(--shadow-hover); }
.travel-search .widget-title { font-size: 18px; font-weight: 700; margin-bottom: 15px; color: var(--ink); }
.travel-search input[type="search"] {
  width: 100%; padding: 12px 16px 12px 42px; border-radius: 30px; border: 1px solid var(--border);
  font-size: 15px;
  background: #f9f9f9 url("data:image/svg+xml,%3Csvg fill='%23666666' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27A6.471 6.471 0 0016 9.5C16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16a6.5 6.5 0 004.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E") no-repeat 14px center;
  background-size: 18px; transition: border 0.3s ease;
}
.travel-search input[type="search"]:focus { border-color: var(--accent); outline: none; background-color: #fff; }
.travel-search input[type="submit"] { margin-top: 12px; width: 100%; padding: 12px; border: none; background: var(--accent); color: #fff; font-weight: bold; border-radius: 30px; cursor: pointer; transition: background 0.3s ease; }
.travel-search input[type="submit"]:hover { background: var(--accent-dark); }

.travel-categories { background: var(--card); padding: 20px; border-radius: var(--radius); box-shadow: var(--shadow); transition: box-shadow 0.3s ease; }
.travel-categories:hover { box-shadow: var(--shadow-hover); }
.travel-categories .widget-title { font-size: 18px; font-weight: bold; color: var(--ink); margin-bottom: 15px; }
.travel-categories ul { list-style: none; margin: 0; padding: 0; }
.travel-categories ul li { margin-bottom: 10px; }
.travel-categories ul li a { display: block; padding: 10px 14px; border-radius: 8px; background: #f5f7fa; color: var(--accent); text-decoration: none; transition: background 0.3s ease, color 0.3s ease; }
.travel-categories ul li a:hover { background: var(--accent); color: #fff; }
.travel-categories select { width: 100%; padding: 10px 14px; border-radius: 8px; border: 1px solid var(--border); font-size: 15px; background: #f9f9f9; transition: border-color 0.3s ease; }
.travel-categories select:focus { border-color: var(--accent); outline: none; background: #fff; }

.travel-comments { background: var(--card); padding: 20px; border-radius: 16px; box-shadow: var(--shadow); font-size: 15px; line-height: 1.6; color: var(--text); }
.travel-comments .widget-title { font-size: 18px; font-weight: bold; color: var(--ink); margin-bottom: 18px; }
.travel-comments ul { list-style: none; padding: 0; margin: 0; }
.travel-comments li { padding: 10px 0; border-bottom: 1px solid #eee; }
.travel-comments li:last-child { border-bottom: none; }
.travel-comments li a { color: var(--accent); font-weight: 500; text-decoration: none; transition: color 0.3s ease; word-break: break-word; }
.travel-comments li a:hover { color: var(--accent-dark); text-decoration: underline; }

.travel-popular { background: var(--card); padding: 20px; border-radius: 16px; box-shadow: var(--shadow); font-size: 15px; color: var(--text); }
.travel-popular .widget-title { font-size: 18px; font-weight: bold; color: var(--ink); margin-bottom: 16px; }
.travel-popular ul { list-style: none; margin: 0; padding: 0; }
.travel-popular li { display: flex; gap: 12px; margin-bottom: 20px; align-items: flex-start; }
.travel-popular li img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; flex-shrink: 0; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.travel-popular .post-info { max-width: calc(100% - 72px); display: flex; flex-direction: column; }
.travel-popular li a { font-weight: 600; color: var(--accent); text-decoration: none; display: block; line-height: 1.4; transition: color 0.3s ease; word-wrap: break-word; overflow-wrap: break-word; }
.travel-popular li a:hover { color: var(--accent-dark); text-decoration: underline; }
.travel-popular .post-info p { font-size: 14px; color: var(--muted); margin: 4px 0 6px; line-height: 1.4; }
.travel-popular .post-meta { font-size: 13px; color: var(--muted); display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }

.travel-latest { background: var(--card); padding: 20px; border-radius: 16px; box-shadow: var(--shadow); font-size: 15px; color: var(--text); }
.travel-latest .widget-title { font-size: 18px; font-weight: bold; color: var(--ink); margin-bottom: 16px; }
.travel-latest ul { list-style: none; padding: 0; margin: 0; }
.travel-latest li { margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.travel-latest li:last-child { border-bottom: none; }
.travel-latest li a { font-weight: 600; color: var(--accent); text-decoration: none; display: block; line-height: 1.4; transition: color 0.3s ease; word-break: break-word; }
.travel-latest li a:hover { color: var(--accent-dark); text-decoration: underline; }
.travel-latest .post-excerpt { font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.4; }
.travel-latest .post-meta { font-size: 13px; color: var(--muted); margin-top: 6px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }


/* =========================================================================
   ДОВОДКА (2026-05-29): единые заголовки виджетов (.widget-header),
   современный виджет комментариев, фикс цвета пунктов подвала
   ========================================================================= */

/* ---- Единый стиль заголовков ВСЕХ виджетов сайдбара ---- */
#secondary .widget-header,
.sticky-sidebar .widget-header,
.widget-area .widget-header {
  font-size: 17px; font-weight: 800; color: var(--ink);
  margin: 0 0 16px; padding-left: 32px; position: relative; line-height: 1.3;
}
#secondary .widget-header::before,
.sticky-sidebar .widget-header::before,
.widget-area .widget-header::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 24px; height: 24px; border-radius: 7px; background-color: var(--accent-soft);
  background-repeat: no-repeat; background-position: center; background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='m16 9-4 6-2-2'/%3E%3C/svg%3E");
}
.travel-search .widget-header::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E"); }
.travel-categories .widget-header::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h4l2 2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3C/svg%3E"); }
.travel-popular .widget-header::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2s5 4 5 9a5 5 0 0 1-10 0c0-2 1-3 2-4 0 2 1 3 2 3 1-2-1-5-1-8z'/%3E%3C/svg%3E"); }
.travel-latest .widget-header::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l1.6 4.9L18.5 9l-4.9 1.6L12 15l-1.6-4.4L5.5 9z'/%3E%3C/svg%3E"); }
.travel-comments .widget-header::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563EB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-9 8.5 8.5 8.5 0 0 1-4-1L3 21l1-4a8.5 8.5 0 1 1 17-5.5z'/%3E%3C/svg%3E"); }

/* ---- Современный виджет "Последние комментарии" ---- */
.travel-comments #recentcomments { list-style: none; margin: 0; padding: 0; }
.travel-comments li.recentcomments {
  position: relative; display: block;
  padding: 13px 0 13px 50px; min-height: 38px;
  border-bottom: 1px solid var(--border);
  font-size: 13.5px; line-height: 1.55; color: var(--muted);
  overflow-wrap: break-word; word-break: normal;
}
.travel-comments #recentcomments li.recentcomments { padding: 13px 0 13px 52px !important; }
.travel-comments li.recentcomments:last-child { border-bottom: none; padding-bottom: 0 !important; }
.travel-comments li.recentcomments::before { content: none !important; }
.travel-comments .rc-ava {
  position: absolute; left: 0; top: 12px;
  width: 38px; height: 38px; border-radius: 50%;
  display: -webkit-box; display: -ms-flexbox; display: flex;
  -webkit-box-align: center; -ms-flex-align: center; align-items: center;
  -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 16px; line-height: 1;
  text-transform: uppercase; box-shadow: 0 4px 10px rgba(18,38,63,.18);
}
.travel-comments .comment-author-link { font-weight: 700; color: var(--ink); }
.travel-comments .comment-author-link { white-space: nowrap; }
.travel-comments li.recentcomments a { color: var(--accent); font-weight: 600; text-decoration: none; }
.travel-comments li.recentcomments a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ---- Подвал: единый цвет всех пунктов меню (фикс «Экскурсии»/«Контакты») ---- */
.rc-foot__list a, .rc-foot__list a:link, .rc-foot__list a:visited { color: #B0BCCE !important; }
.rc-foot__list a:hover, .rc-foot__list a:hover span { color: #fff !important; }
.rc-foot__list .current-menu-item > a, .rc-foot__list .current_page_item > a { color: #B0BCCE !important; }


/* =========================================================================
   СТРАНИЦА СТАТЬИ (single) — белая «карта» + типографика и полиш (2026-05-29)
   ========================================================================= */

/* Контент статьи на белой карте вместо «плавания» на сером фоне */
.single .article-card,
.page .article-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 34px 40px;
}

/* Хлебные крошки */
.breadcrumb { font-size: 12.5px; color: var(--muted); margin-bottom: 16px; letter-spacing: .02em; }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { color: var(--accent-dark); text-decoration: underline; }

/* Заголовок статьи */
.article-card h1, .single .entry-title { color: var(--ink); line-height: 1.2; }

/* Мета (автор / чтение / просмотры / дата) — рамки-разделители */
.entry-meta {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 0; margin: 20px 0 26px;
}

/* Оглавление «Содержание» */
.table-of-contents {
  background: var(--accent-soft) !important;
  border: 1px solid #D6E4FF;
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 16px 22px !important;
}
.table-of-contents a { color: var(--accent); text-decoration: none; }
.table-of-contents a:hover { color: var(--accent-dark); text-decoration: underline; }

/* Тело статьи — читаемая типографика */
.entry-content { font-size: 17px; line-height: 1.8; color: var(--text); }
.entry-content p { margin: 0 0 1.1em; }
.entry-content h2 {
  font-size: 1.55em; color: var(--ink); margin: 1.7em 0 .6em;
  padding-left: 14px; border-left: 4px solid var(--accent);
}
.entry-content h3 { font-size: 1.25em; color: var(--ink); margin: 1.4em 0 .5em; }
.entry-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.entry-content a:hover { color: var(--accent-dark); }
.entry-content ul li::marker, .entry-content ol li::marker { color: var(--accent); }
.entry-content blockquote {
  border-left: 4px solid var(--accent); background: var(--accent-soft);
  margin: 1.4em 0; padding: 14px 20px; border-radius: 0 10px 10px 0; color: var(--ink);
}

/* Картинки в статье */
.entry-content figure.wp-block-image img,
.entry-content img { border-radius: 12px; box-shadow: var(--shadow); height: auto; }
.entry-content figcaption, .wp-caption-text {
  font-size: 13px; color: var(--muted); text-align: center; margin-top: 8px;
}

/* Рейтинг */
.rating-box { margin: 26px 0; }
.rating-box .wpshop-rating-stars > *, .rating-box [class*="star"]:before,
.rating-box svg, .rating-box i { color: var(--accent) !important; fill: var(--accent) !important; }

/* Шеринг */
.entry-social { margin: 22px 0; }

/* Похожие записи */
.related-posts .section-title, .related-posts h2, .related-posts h3,
.related-posts .related-posts__title { color: var(--ink); }

/* Форма комментариев */
.comments-area textarea,
.comments-area input[type=text],
.comments-area input[type=email],
.comments-area input[type=url] {
  border: 1px solid var(--border) !important; border-radius: 10px !important;
  transition: border-color .2s ease;
}
.comments-area textarea:focus,
.comments-area input:focus { border-color: var(--accent) !important; outline: none; }

@media (max-width: 600px) {
  .single .article-card, .page .article-card { padding: 20px 18px; }
  .entry-content { font-size: 16px; line-height: 1.75; }
  .entry-content h2 { font-size: 1.35em; }
  /* мобильная типографика: убрать justify-«реки» и перенос по слогам */
  .home-content, .home-text, .home-text p, .entry-content, .entry-content p, .entry-content li { text-align: left !important; }
  .home-header { font-size: 24px !important; line-height: 1.25 !important; }
  .home-content h2, .home-text h2 { font-size: 1.3em !important; line-height: 1.3 !important; }
  .home-header, .home-content h2, .home-text h2, .entry-content h2,
  .entry-content, .home-text, .entry-title, .article-card h1, .post-card__title {
    word-break: normal !important; overflow-wrap: break-word !important; -webkit-hyphens: none !important; hyphens: none !important;
  }
  .home-content div[style*="gradient"] { text-align: left !important; padding: 16px 16px !important; }
  .home-content { padding: 0 !important; }
  .rc-foot__inner { padding-left: 16px !important; padding-right: 16px !important; gap: 24px; }
  .rc-dest { padding: 18px 14px; }
}
