/*
Theme Name: iNetLift #1
Theme URI: https://inetLift.kz
Description: This is custom design
Version: 1.0.0
Author: inetLift.kz - Вадим Очинский
Author URI: https://internetLift.ru
*/
html,body, #intro {
	height:100%;
	}
	
	body {
		position: relative;
		color: black;
	}

/* change the brand and text color */
.navbar-custom .navbar-brand,
.navbar-custom .navbar-text,
.navbar-nav .nav-link{
    color: #ffffff;
	}
.nav-tabs .nav-link:hover {
	color: white;
}

.navbar-custom {
  color: white;
  background-color: #1266f1;
}

:root {
  --main-bg-color: white;
  --inetlift-accent: #1266f1;
  --inetlift-accent-hover: #0d47a1;
  --bs-primary: #1266f1;
  --bs-info: #1266f1;
  --mdb-primary: #1266f1;
  --mdb-info: #1266f1;
}

/* Единый акцентный синий (вместо cyan .text-info и прочих оттенков) */
.text-info,
.text-primary {
  color: var(--inetlift-accent) !important;
}
a.text-info:hover,
a.text-primary:hover {
  color: var(--inetlift-accent-hover) !important;
}
.btn-primary,
.bg-primary {
  background-color: var(--inetlift-accent) !important;
  border-color: var(--inetlift-accent) !important;
}
.btn-outline-primary {
  color: var(--inetlift-accent) !important;
  border-color: var(--inetlift-accent) !important;
}
.btn-outline-primary:hover,
.btn-outline-primary:focus-visible {
  background-color: var(--inetlift-accent) !important;
  border-color: var(--inetlift-accent-hover) !important;
  color: #fff !important;
}

.bg-color1 {
  color: white;
  background-color: var(--main-bg-color);

}
.background-color: rgb(240, 244, 253)
.col { border: 1px solid transparent; }

/*.nav-tabs .nav-pills > li {
float: none;
display: inline-block;
}*/
.nav-menu  {
	position:fixed;
	top:0px;
	z-index:10;
}

.myboxInfoKazpost {
	position:relative;
}
.myboxInfoKazpost p {
	font-size: 1rem;
}

/* SEO-текст на /{город}/: не на всю ширину экрана */
.kazpost-city-prose {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    overflow-x: clip;
    text-align: left;
}
.kazpost-city-prose p,
.kazpost-city-prose li,
.kazpost-city-prose div {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    word-break: break-word;
}
.kazpost-city-prose img,
.kazpost-city-prose iframe,
.kazpost-city-prose table {
    max-width: 100%;
    height: auto;
}
/* Страховка: если the_content выпал из myboxInfoKazpost */
main#main > .container-fluid:not(.myboxInfoKazpost):not(.site-section) {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
    overflow-wrap: anywhere;
}

/*
 * Рекламные слоты: резерв высоты ДО прихода РСЯ.
 * Раньше :empty{display:none} → при загрузке баннера блок внезапно появлялся (CLS 0.2–0.36).
 */
.myBoxAdsVerticalBanner {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-height: 250px;
	height: auto;
	background-color: #f7faff;
	contain: layout style;
}
.myBoxAdsHorizontalBanner {
	position: relative;
	width: 100%;
	max-width: 100%;
	min-height: 90px;
	height: auto !important;
	padding: 0 !important;
	margin: 0.35rem 0 0.75rem;
	background-color: #f7faff;
	contain: layout style;
}
[id^="yandex_rtb_"] {
	min-height: inherit;
	width: 100%;
}
.site-footer__meta--muted {
  color: #fff !important;
  opacity: 0.95;
}
.qazpost-track-home-link a {
  display: inline-block;
  min-height: 44px;
  padding: 0.5rem 0;
  line-height: 1.3;
}
 /*   #contentNameTown li {
        display: none;
    }
 
    #contentNameTown li.active {
        display: 
    }
	
/*Прокрутка вверх*/
#myBtn {
    display: none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: blue; /* Set a background color */
    color: white; /* Text color */
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 2em; /* Increase font size */
}

#myBtn:hover {
    background-color: #555;
}


span {
	font-size: 1.5rem;
	padding: 1rem;
}
strong {
	font-size: 1.3rem;
}

.active {
	background-color: grey-600 !important;
}

infoImg  {
    background-image: url(../img/jumbotronbackground.jpg);

}
.flexBox {
  display: flex; 
  flex-direction: column;
  justify-content: flex-start;
  text-align: justify;
}
.flexBoxRow {
  display: flex; 
  flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	text-align: justify;
}
.myBodyGroop {
  float: left;
  flex-wrap: wrap;
  margin: 1rem;
  max-width: 30%;
  text-align: justify;
}

@media screen and (max-width: 700px) {
.myBodyGroop  {
  max-width: 100%;
  height: auto;
  margin: 1rem;
  justify-content: center;
  text-align: justify;
  }
}

@media screen and (max-width: 400px) {
.flexBoxRow > img {
  max-width: 100%;
  height: auto;
  justify-content: center;
  text-align: justify;
  align-items: center;
	align-content: center;
  }
}
@media screen and (max-width: 400px) {
.flexBoxRow {
  max-width: 100%;
  height: auto;
  justify-content: center;
  text-align: justify;
  align-items: center;
	align-content: center;
  }
}
		/* Search Form ------------------------------- */

.search-form {
	align-items: stretch;
	display: flex;
	flex-wrap: nowrap;
	margin: 0 0 -0.8rem -0.8rem;
}

.search-form .search-field,
.search-form .search-submit {
	margin: 0 0 0.8rem 0.8rem;
}

.search-form label {
	align-items: stretch;
	display: flex;
	font-size: inherit;
	margin: 0;
	width: 100%;
}

.search-form .search-field {
	width: 100%;
}

.search-form .search-submit {
	flex-shrink: 0;
}

.search-form .search-submit:focus,
.search-form .search-submit:hover {
	text-decoration: none;
}
/* Задаем фон, цвет текста и стили ссылок для footer */


/* Стилизация логотипа */

.footer-logo {
    width: 300px; /* Устанавливаем фиксированную ширину */
    height: auto;
    margin: 20px;
}


.footer-logo img {
    position: relative;
    transition: transform 0.3s ease; /* Добавляем плавное переходное свойство */
}

.footer-logo:hover img {
    transform: scale(1.1); /* Увеличиваем размер при наведении */
}

/* Стилизация меню */
.footer-menu-class {
    list-style: none;
    padding: 0;
	margin: 20px;
}

.footer-menu-class li {
    margin-bottom: 10px;
}

.footer-menu-class a {
    color: white;
    text-decoration: none;
}

.footer-menu-class a:hover {
    color: black;
}

/* Стилизация третьей колонки */
.footer-column {
    margin: 5px 20px;
}
.footer-column p {
    margin-bottom: 10px;
}

.footer-column a {
    color: white;
    text-decoration: none;
	margin: 10px;
}

.footer-column a:hover {
    color: black;
}


/* Стили для карточек транспортных компаний */
.transport-companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.company-card {
    border: 1px solid #e0e0e0;
    padding: 15px;
    border-radius: 5px;
    transition: all 0.3s;
}

.company-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.company-card img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.company-rating {
    color: #ffc107;
    font-size: 1.2em;
}

/* Стили для страницы отдельной компании */
.transport-company-meta {
    background: #f9f9f9;
    padding: 15px;
    margin: 20px 0;
    border-radius: 5px;
}

/* Сравнительная таблица ТК на городских хабах */
.transport-compare-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.transport-compare-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 640px;
}
.transport-compare-table th,
.transport-compare-table td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid #ece8f2;
    text-align: left;
    vertical-align: middle;
}
.transport-compare-table thead th {
    background: #f4f0fa;
    color: #4b2e6e;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}
.transport-compare-table tbody tr:hover {
    background: #faf8fc;
}
.transport-compare-logo img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #e5eaf0;
    padding: 4px;
}
.transport-compare-cta {
    white-space: nowrap;
}
.transport-compare-empty {
    background: #faf8fc;
    color: #4b2e6e;
}
@media (max-width: 720px) {
    .transport-compare-table,
    .transport-compare-table thead,
    .transport-compare-table tbody,
    .transport-compare-table th,
    .transport-compare-table td,
    .transport-compare-table tr {
        display: block;
        width: 100%;
        min-width: 0;
    }
    .transport-compare-table thead {
        display: none;
    }
    .transport-compare-table tr {
        margin-bottom: 1rem;
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        padding: 0.75rem 1rem;
        background: #f1f5f9;
        box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    }
    .transport-compare-table td {
        border: 0;
        padding: 0.45rem 0;
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        align-items: center;
    }
    .transport-compare-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #6b5a80;
        flex: 0 0 40%;
    }
    .transport-compare-logo {
        justify-content: flex-start;
    }
}

.related-companies {
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.companies-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.company-link {
    padding: 8px 15px;
    background: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
}
/* Основные стили */
.post-image img {
    border-radius: 5px;
}

.city-tabs .nav-tabs {
    border-bottom: 2px solid #dee2e6;
}

.city-tabs .nav-link.active {
    font-weight: bold;
    border-bottom: 3px solid #007bff;
}

.company-rating .stars {
    color: #ffc107;
    font-size: 1.5em;
}

/* Адаптивность */
@media (max-width: 768px) {
    .city-tabs .nav-item {
        width: 100%;
        text-align: center;
    }
}
.pagination-single {
    margin: 40px 0;
}

.pagination-single-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.previous-post, 
.next-post {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #333;
    transition: color 0.3s;
    max-width: 45%;
}

.previous-post:hover,
.next-post:hover {
    color: #0073aa;
}

.arrow {
    font-size: 1.2em;
}

.title-inner {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.only-one .pagination-single-inner {
    justify-content: flex-start;
}

.only-prev .previous-post {
    margin-right: auto;
}

.only-next .next-post {
    margin-left: auto;
}
.kazpost-extra-content {
    margin-top: 40px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 8px;
}

.kazpost-details {
    display: grid;
    gap: 20px;
}

.detail-item {
    padding: 15px;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.kazpost-navigation {
    margin-top: 30px;
    text-align: center;
}

.btn-back {
    display: inline-block;
    padding: 10px 20px;
    background: #005b9f;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}
/* Стили для отделения Казпочты */
.post-image img {
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.city-badge .badge {
    font-size: 0.95rem;
    padding: 0.4em 0.85em;
    background-color: var(--inetlift-accent, #1266f1) !important;
}

.kazpost-contacts .card {
    border: none;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
}
/* Полностью схлопываем пустые рекламные блоки и их контейнеры */
ins.adsbygoogle[data-ad-status="unfilled"],
ins.adsbygoogle:empty {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.google-auto-placed {
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
}

/* ===== Layout: единая ширина шапки/боди, без горизонтального «сломанного каркаса» ===== */
html, body {
    max-width: 100%;
    overflow-x: clip;
}
.site-header,
.site-footer,
.site-header .navbar {
    width: 100%;
    max-width: 100%;
}
.site-header__inner,
.site-section,
.site-footer__inner,
.container.site-section,
.container.my-4,
.city-hub,
.myboxInfoKazpost {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.myboxInfoKazpost .post-content,
.myboxInfoKazpost > .container-fluid,
.city-hub .post-content,
.content-area .post-content,
.site-main .post-content {
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
}

/* Текст в городских шаблонах не прилипает к краям */
.myboxInfoKazpost p,
.myboxInfoKazpost li,
.city-hub p,
.city-hub li,
.post-content p,
.post-content li {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-wrap: break-word;
}

/* Глобальный span{padding} ломал бейджи/колонки — сброс в городских блоках */
.myboxInfoKazpost span,
.city-section-nav span,
.city-hub span {
    font-size: inherit;
    padding: 0;
}
.myboxInfoKazpost .badge,
.city-section-nav .badge {
    font-size: 0.95rem;
    padding: 0.4em 0.85em;
}

/* Пременю: 3 колонки в ряд на ПК */
.city-section-nav {
    margin-top: 0.35rem;
    margin-bottom: 0.75rem;
}
.city-section-nav .post-city {
    margin-bottom: 0.5rem !important;
}
.city-section-nav .city-links {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.5rem;
    width: 100%;
}
.city-section-nav .city-tab {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    text-transform: none;
    white-space: normal;
    min-height: 44px;
    margin: 0 !important;
}

/* Городской шаблон: до 3 колонок в ряд (flex — пустые ad не оставляют дыру) */
.myboxInfoKazpost > h2,
.myboxInfoKazpost > h3 {
    margin: 0.35rem 0 0.5rem;
}
.myboxInfoKazpost .row.g-0,
.myboxInfoKazpost .row.g-0.px-4 {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
    gap: 0.85rem 1rem;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    --bs-gutter-x: 0;
}
.myboxInfoKazpost .row.g-0 > [class*="col"],
.myboxInfoKazpost .row.g-0 > .container-fluid,
.myboxInfoKazpost .row.g-0 > .myBoxAdsVerticalBanner {
    flex: 1 1 260px;
    width: auto !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0.35rem 0.5rem !important;
    float: none !important;
    box-sizing: border-box;
}
/* SEO-текст на всю ширину; карту/колонки не трогаем (пустой ad всё равно в nth-child) */
.myboxInfoKazpost .row.g-0 > .kazpost-city-prose,
.myboxInfoKazpost .row.g-0 > .post-content {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}
.myboxInfoKazpost .row.g-0 .row {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.myboxInfoKazpost iframe {
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
    min-height: 180px;
    aspect-ratio: 4 / 3;
}

@media (min-width: 992px) {
    .myboxInfoKazpost .row.g-0 > [class*="col"],
    .myboxInfoKazpost .row.g-0 > .container-fluid,
    .myboxInfoKazpost .row.g-0 > .myBoxAdsVerticalBanner {
        flex: 1 1 0;
        min-width: 0;
    }
    .myboxInfoKazpost .row.g-0 > .kazpost-city-prose,
    .myboxInfoKazpost .row.g-0 > .post-content {
        flex: 1 1 100% !important;
    }
}

@media (max-width: 991.98px) {
    .myboxInfoKazpost .row.g-0 > [class*="col"],
    .myboxInfoKazpost .row.g-0 > .container-fluid,
    .myboxInfoKazpost .row.g-0 > .myBoxAdsVerticalBanner {
        flex: 1 1 100%;
    }
    .city-section-nav .city-links {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    .site-header__inner,
    .site-section,
    .site-footer__inner,
    .container.site-section,
    .container.my-4,
    .city-hub,
    .myboxInfoKazpost {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .myboxInfoKazpost.container-fluid {
        padding-left: 0.85rem !important;
        padding-right: 0.85rem !important;
    }
}

@media (min-width: 992px) {
    .site-header__inner,
    .site-section,
    .site-footer__inner,
    .container.site-section,
    .container.my-4,
    .city-hub,
    .myboxInfoKazpost {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}

/* FAQ accordion: текст не прилипает к краям */
.accordion .accordion-button {
    padding: 1rem 1.25rem !important;
    text-align: left;
    gap: 0.5rem;
}
.accordion .accordion-body {
    padding: 1rem 1.25rem !important;
    text-align: left;
}
.accordion .accordion-button i {
    flex-shrink: 0;
}

/* Глобальный span { padding } ломал кнопки FAQ — сбрасываем внутри accordion */
.accordion span {
    font-size: inherit;
    padding: 0;
}

/* ===== Footer: меню разделов (desktop + mobile) ===== */
.site-footer__bar {
    background-color: #1266f1;
    color: #fff;
}
.site-footer__brand {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.site-footer__logo {
    max-width: 220px;
    height: auto;
    margin-bottom: 0.75rem;
}
.site-footer__copy {
    color: #fff;
    opacity: 0.95;
    margin: 0;
}
.site-footer__meta {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.4;
}
.site-footer__meta--muted {
    font-weight: 400;
    opacity: 1;
    color: #e8f0ff;
}
.accordion-body a {
    text-decoration: underline;
}
.site-footer__meta:hover {
    text-decoration: underline;
    color: #fff;
}
.site-footer__title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin: 0 0 0.75rem;
    color: #fff;
}
.site-footer__menu {
    margin: 0;
    padding: 0;
}
.site-footer__menu li {
    margin: 0 0 0.45rem;
}
.site-footer__menu a {
    color: #fff;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.35;
    display: inline-block;
    padding: 0.2rem 0;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.site-footer__menu a:hover {
    text-decoration: underline;
    color: #fff;
}

@media (max-width: 767.98px) {
    .site-footer__inner {
        padding-bottom: 2rem;
    }
    .site-footer__col {
        margin-bottom: 0.5rem;
    }
    .site-footer__brand {
        text-align: center;
        align-items: center;
        margin-bottom: 0.5rem;
    }
}

/* Карточки/контент главной тоже в единой сетке */
.container-fluid.px-4 {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Хабы разделов /info/ /transport-company/ ===== */
.section-hub {
    padding-top: 1rem;
    padding-bottom: 2rem;
}
.section-hub__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    font-weight: 700;
    color: #1266f1;
    line-height: 1.25;
}
.section-hub__lead {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
}
.section-hub__track {
    max-width: 560px;
    margin: 0 auto;
}

/* ===== Кнопки городов: в ширину основного контента ===== */
.cities-nav,
#navbar-scroll {
    width: 100%;
    max-width: 100%;
    margin: 0 auto 1.5rem;
    padding: 0;
    box-sizing: border-box;
}

/* если блок выпал из контейнера — сам держит ширину контента */
body > #navbar-scroll,
main > #navbar-scroll {
    max-width: 1140px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

.cities-nav__list,
#navbar-scroll > .nav,
#navbar-scroll ul {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center;
    align-items: center;
    gap: 0.35rem;
    margin: 0 !important;
    padding: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#navbar-scroll .nav-item {
    padding: 0.2rem !important;
    float: none !important;
}

#navbar-scroll .btn,
.cities-nav .btn,
.cities-nav__list .btn {
    white-space: nowrap;
    transition:
        background-color 0.18s ease,
        color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease,
        box-shadow 0.18s ease;
    transform: translateY(0) scale(1);
    will-change: transform;
}

/* Hover / focus: заливка brand blue + белый текст + лёгкий подъём */
#navbar-scroll .btn:hover,
#navbar-scroll .btn:focus-visible,
.cities-nav .btn:hover,
.cities-nav .btn:focus-visible,
.cities-nav__list .btn:hover,
.cities-nav__list .btn:focus-visible {
    background-color: var(--inetlift-accent, #1266f1) !important;
    border-color: var(--inetlift-accent-hover, #0d47a1) !important;
    color: #fff !important;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 4px 14px rgba(18, 102, 241, 0.32);
    text-decoration: none;
}

/* Touch / press */
#navbar-scroll .btn:active,
.cities-nav .btn:active,
.cities-nav__list .btn:active {
    background-color: var(--inetlift-accent-hover, #0d47a1) !important;
    border-color: var(--inetlift-accent-hover, #0d47a1) !important;
    color: #fff !important;
    transform: translateY(0) scale(1.01);
    box-shadow: 0 2px 8px rgba(18, 102, 241, 0.28);
}

/* Активный город в сетке — тоже читаемо при hover */
#navbar-scroll .btn.active:hover,
.cities-nav .btn.active:hover,
.cities-nav__list .btn.active:hover {
    background-color: #0d47a1 !important;
    border-color: #0a3d91 !important;
    color: #fff !important;
}

@media (prefers-reduced-motion: reduce) {
    #navbar-scroll .btn,
    .cities-nav .btn,
    .cities-nav__list .btn {
        transition: none;
        transform: none !important;
    }
}

/* ===== Главная: справочный гид ===== */
.home-kazpost-guide {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
.home-guide-card {
    height: 100%;
    padding: 1.1rem 1.15rem;
    border: 1px solid #d5e2ef;
    border-radius: 12px;
    background: #f7fafc;
}
.home-guide-card h3 a {
    color: #1266f1;
    text-decoration: none;
}
.home-guide-card h3 a:hover {
    text-decoration: underline;
}
.home-kazpost-intent-table th {
    background: #eef4fb;
}

/* ===== Хаб ТК: гид выбора ===== */
.transport-hub-point {
    height: 100%;
    padding: 1rem 1.05rem;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}
.transport-hub-point ul {
    padding-left: 1.1rem;
}
.transport-hub-compare-kazpost th {
    background: #eef4fb;
}
.transport-hub-faq .accordion-button {
    font-family: inherit;
    font-size: 1rem;
}

.transport-hub-overview .lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #1a2b3c;
}
.transport-hub-overview__points {
    padding-left: 1.2rem;
    color: #334155;
}
.transport-hub-overview__points li {
    margin-bottom: 0.35rem;
}

/* Справочная /info/: intro хаба */
.info-hub-overview .lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: #1a2b3c;
}
.info-hub-overview__points {
    padding-left: 1.2rem;
    color: #334155;
}
.info-hub-overview__points li {
    margin-bottom: 0.35rem;
}

/* Справочная /info/: таблицы служб */
.info-services-wrap {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.info-services-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    min-width: 640px;
}
.info-services-table th,
.info-services-table td {
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #e8eef4;
    text-align: left;
    vertical-align: top;
}
.info-services-table thead th {
    background: #eef4fb;
    color: #1e3a5f;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}
.info-services-table tbody tr:hover {
    background: #f7fafc;
}
.info-services-cat {
    margin-top: 0.15rem;
}
.info-hub-faq .accordion-button {
    font-family: inherit;
    font-size: 1rem;
}
@media (max-width: 720px) {
    .info-services-table,
    .info-services-table thead,
    .info-services-table tbody,
    .info-services-table th,
    .info-services-table td,
    .info-services-table tr {
        display: block;
        width: 100%;
    }
    .info-services-table thead {
        display: none;
    }
    .info-services-table tr {
        margin-bottom: 0.85rem;
        border: 1px solid #e2e8f0;
        border-radius: 10px;
        padding: 0.6rem 0.75rem;
        background: #f1f5f9;
        box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
    }
    .info-services-table td {
        border: 0;
        padding: 0.35rem 0;
        min-width: 0;
    }
    .info-services-table td::before {
        content: attr(data-label);
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        color: #64748b;
        margin-bottom: 0.1rem;
    }
}

/* Юридические страницы */
.legal-page {
    max-width: 860px;
}
.legal-page__content {
    text-align: left;
    line-height: 1.7;
    color: #1e293b;
}
.legal-page__content h2 {
    font-size: 1.25rem;
    margin: 1.75rem 0 0.75rem;
    color: #0f172a;
}
.legal-page__content p,
.legal-page__content li {
    margin-bottom: 0.75rem;
}
.legal-page__content ul {
    padding-left: 1.25rem;
}
.legal-page__content .legal-updated {
    color: #64748b;
    font-size: 0.95rem;
}
