/* Витрины туров Capital Tour, SEO-тексты и иконки соцсетей (2026-10). */

/* Витрины на главной и страницах направлений */
.pg-showcase { padding-top: 8px; }
.kl-showcase { margin: 40px 0; }
.kl-showcase__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 16px; }
.kl-showcase__title { margin: 0; font-size: 28px; line-height: 1.25; font-weight: 700; color: #000; }
.kl-showcase__lead { flex-basis: 100%; order: 3; margin: 0; font-size: 16px; line-height: 1.5; color: #4d4d4d; }
.kl-showcase__more { font-size: 16px; font-weight: 600; color: #1866bd; text-decoration: none; white-space: nowrap; }
.kl-showcase__more:hover { text-decoration: underline; }
.kl-showcase iframe { display: block; width: 100%; border: 0; }

/* Текстовые страницы направлений и SEO-текст главной */
.kl-text { max-width: 880px; font-size: 16px; line-height: 1.65; color: #000; }
.kl-text h2 { margin: 36px 0 14px; font-size: 24px; line-height: 1.3; font-weight: 700; }
.kl-text h3 { margin: 24px 0 8px; font-size: 19px; line-height: 1.35; font-weight: 700; }
.kl-text p { margin: 0 0 14px; }
.kl-text ol { margin: 0 0 14px; padding-left: 22px; }
.kl-text li { margin-bottom: 6px; }
.kl-text a { color: #1866bd; }
.kl-faq { margin-top: 8px; border-top: 1px solid #e6e6e6; }
.kl-faq details { border-bottom: 1px solid #e6e6e6; padding: 14px 0; }
.kl-faq summary { cursor: pointer; font-size: 17px; font-weight: 600; list-style: none; }
.kl-faq summary::-webkit-details-marker { display: none; }
.kl-faq summary::after { content: "+"; float: right; font-weight: 400; color: #808080; }
.kl-faq details[open] summary::after { content: "-"; }
.kl-faq details p { margin: 10px 0 0; }

/* Соцсети в шапке и подвале: SVG одного размера вместо шрифтовых иконок */
.kl-socials { display: flex; align-items: center; gap: 10px; }
.kl-socials__link { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; transition: opacity .15s ease; }
.kl-socials__link:hover { opacity: .85; }
.kl-socials__link svg { width: 20px; height: 20px; fill: #fff; }
.kl-socials__link--wa { background: #25d366; }
.kl-socials__link--ig { background: #e4405f; }
.pg-header-middle-line__socials .kl-socials { justify-content: center; margin-bottom: 8px; }
.pg-header-middle-line__socials p.payment { margin: 0; }

/* Телефон в шапке: WhatsApp рядом с номером, а не внутри ссылки */
.kl-phone { margin: 0; line-height: 1.5; }
.kl-phone a { color: inherit; text-decoration: none; }
.kl-phone__wa { display: inline-flex; vertical-align: -3px; margin-right: 6px; }
.kl-phone__wa svg { width: 16px; height: 16px; fill: #25d366; }
.kl-phone__note { margin: 0; font-size: 13px; line-height: 18px; color: #808080; }

@media (max-width: 767px) {
    .kl-showcase { margin: 28px 0; }
    .kl-showcase__title { font-size: 22px; }
    .kl-text h2 { font-size: 21px; }
}

/* Нижнее меню шапки: 7 пунктов в одну строку. Акцент задаём по адресу пункта,
   а не по его номеру: старое правило nth-child(5) съезжало при добавлении пунктов. */
@media (min-width: 1200px) {
    .pg-header-bottom-line__menu ul { justify-content: space-between; flex-wrap: nowrap; }
    .pg-header-bottom-line__menu-item:not(:last-child) { margin-right: 20px; }
}
.pg-header-bottom-line__menu-item:nth-child(5) a { color: #EF8230; font-weight: 600; font-size: 15px; }
.pg-header-bottom-line__menu-item a[href$="/tury-v-kitaj"] { color: #006ec7; font-weight: 900; font-size: 20px; }
.pg-header-bottom-line__menu-item a[href$="/tury-v-kitaj"]:hover { color: #2a2a2a; }

/* Блок соцсетей в шапке: иконки сверху, строка про оплату под ними */
.pg-header-middle-line .pg-header-middle-line__socials.pg-header-middle-line__col { flex-direction: column; flex-wrap: nowrap; justify-content: center; align-items: center; }
.pg-header-middle-line__socials .kl-socials { margin-bottom: 6px; }

/* Значки соцсетей рисуем фоном из CSS: SVG в модулях вырезает фильтр HTML Joomla */
.kl-socials__link { background-repeat: no-repeat; background-position: center; background-size: 20px 20px; }
.kl-socials__link--wa { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.39-1.47-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.07c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35m-5.42 7.4h-.01a9.87 9.87 0 0 1-5.03-1.38l-.36-.21-3.74.98 1-3.650-.24-.37a9.86 9.86 0 0 1-1.51-5.26c0-5.45 4.44-9.88 9.89-9.88a9.82 9.82 0 0 1 6.99 2.9 9.83 9.83 0 0 1 2.89 6.99c0 5.45-4.44 9.88-9.88 9.88m8.41-18.3A11.82 11.82 0 0 0 12.05 0C5.5 0 .16 5.34.16 11.89c0 2.1.55 4.14 1.59 5.95L.06 24l6.3-1.65a11.88 11.88 0 0 0 5.69 1.45h.01c6.55 0 11.89-5.34 11.89-11.89a11.82 11.82 0 0 0-3.48-8.41z'/%3E%3C/svg%3E"); }
.kl-socials__link--ig { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3' y='3' width='18' height='18' rx='5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='12' cy='12' r='4' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Ccircle cx='17.3' cy='6.7' r='1.2' fill='%23fff'/%3E%3C/svg%3E"); }
.kl-socials__link svg { display: none; }
.kl-phone__wa { width: 16px; height: 16px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%2325d366' d='M17.47 14.38c-.3-.15-1.76-.87-2.03-.97-.27-.1-.47-.15-.67.15-.2.3-.77.97-.94 1.16-.17.2-.35.22-.64.07-.3-.15-1.26-.46-2.39-1.47-.88-.79-1.48-1.76-1.65-2.06-.17-.3-.02-.46.13-.6.13-.14.3-.35.45-.52.15-.17.2-.3.3-.5.1-.2.05-.37-.03-.52-.07-.15-.67-1.61-.92-2.2-.24-.58-.49-.5-.67-.51h-.57c-.2 0-.52.07-.79.37-.27.3-1.04 1.02-1.04 2.48s1.07 2.88 1.21 3.07c.15.2 2.1 3.2 5.08 4.49.71.31 1.26.49 1.7.63.71.22 1.36.19 1.87.12.57-.09 1.76-.72 2-1.41.25-.7.25-1.29.17-1.41-.07-.13-.27-.2-.57-.35m-5.42 7.4h-.01a9.87 9.87 0 0 1-5.03-1.38l-.36-.21-3.74.98 1-3.650-.24-.37a9.86 9.86 0 0 1-1.51-5.26c0-5.45 4.44-9.88 9.89-9.88a9.82 9.82 0 0 1 6.99 2.9 9.83 9.83 0 0 1 2.89 6.99c0 5.45-4.44 9.88-9.88 9.88m8.41-18.3A11.82 11.82 0 0 0 12.05 0C5.5 0 .16 5.34.16 11.89c0 2.1.55 4.14 1.59 5.95L.06 24l6.3-1.65a11.88 11.88 0 0 0 5.69 1.45h.01c6.55 0 11.89-5.34 11.89-11.89a11.82 11.82 0 0 0-3.48-8.41z'/%3E%3C/svg%3E") no-repeat center / 16px 16px; }
.kl-phone__wa svg { display: none; }
.kl-socials__label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
