/* UA-Tent theme — all front-end styles (no build step). Breakpoints as in the old theme: 1200 / 992 / 768 / 577 / 481. */

/* ---------- Fonts: DIN Round Pro, WOFF2 subset Latin + Cyrillic (re-encoded from the old theme files) ---------- */
@font-face { font-family: "dinroundpro-light"; src: url("../fonts/dinroundpro-light.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "dinroundpro"; src: url("../fonts/dinroundpro.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "dinroundpro-medium"; src: url("../fonts/dinroundpro-medium.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "dinroundpro-bold"; src: url("../fonts/dinroundpro-bold.woff2") format("woff2"); font-display: swap; }
/* Metric-matched local fallbacks (Arial resized to DIN Round widths): no text reflow / CLS when the web font arrives.
   size-adjust re-measured on the site's Cyrillic text (2026-11, docs/typography-sync.md); synthetic bold does not change widths. */
@font-face { font-family: "din-light-fb"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 96.3%; ascent-override: 107%; descent-override: 24%; line-gap-override: 1%; }
@font-face { font-family: "din-regular-fb"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 97.3%; ascent-override: 106%; descent-override: 24%; line-gap-override: 1%; }
@font-face { font-family: "din-medium-fb"; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 98.5%; ascent-override: 105%; descent-override: 24%; line-gap-override: 1%; }

:root {
	/* =====================================================================
	   !!! КОЛІР КНОПКИ «ЗАЛИШИТИ ЗАЯВКУ» (угода №10) — МІНЯТИ ТУТ !!!
	   Одна змінна керує всіма кнопками заявки: слайдер на головній, кнопка під
	   описом послуги/категорії, нижня панель на мобільному, кнопка відправки
	   у формі (popup і контакти). Помаранчевий варіант: #E67E22
	   ===================================================================== */
	--ua-request-btn: #0364B8;
	--ua-request-btn-text: #fff;

	--c-blue: #0364B8;
	--c-blue-hover: #047ae0;
	--c-blue-active: #024e90;
	--c-text: #333;
	/* ШАПКА — варіант кольору смуги з логотипом (міняти разом із UA_TENT_HEADER_STYLE у functions.php):
	   light (зараз): білий фон + оригінальний жовто-синій логотип;
	   lavender: як на старому сайті (#D7DBFE) + оригінальний логотип;
	   dark: темно-синій (#0B3567) + світлий логотип (білий «TENT»). */
	--c-header-top: #D7E3F8;      /* light: client 20.11 — same as the footer, the yellow «UA» of the logo stays readable (#F3F7FE was too pale) */
	--c-header-ink: var(--c-blue);   /* колір іконок у шапці на мобільному (телефон, «гамбургер») */
	--c-nav: #0364B8;             /* menu bar: was #B8C0FF with white text (low contrast), agreement #1 */
	--c-lavender: #B8C0FF;
	--c-footer: #D7E3F8;          /* footer body: a bit darker than the header strip (client: the price-table row colour) */
	--c-footer-lower: var(--c-nav);  /* copyright bar = menu bar blue (mirrors the header) */
	--c-footer-lower-ink: #fff;
	--c-date: #2272BC;
	--c-shadow: rgba(3, 100, 184, .5);
	--r-ctl: 6px;                 /* corner radius of header controls: search, phones, language */
	--c-thumb-active: #333;       /* frame of the active gallery thumbnail (was blue; client: dark grey) */
	--f-light: "dinroundpro-light", "din-light-fb", Arial, sans-serif;
	--f-regular: "dinroundpro", "din-regular-fb", Arial, sans-serif;
	--f-medium: "dinroundpro-medium", "din-medium-fb", Arial, sans-serif;
	--header-h: 63px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
/* Typography = old theme (docs/typography-sync.md): line-height 1.15 (normalize.css on html, body inherited it). */
body { margin: 0; font-family: var(--f-light); font-size: 16px; line-height: 1.15; color: var(--c-text); background: #fff; display: flex; flex-direction: column; min-height: 100vh; overflow-x: hidden; }
html.is-locked, html.is-locked body { overflow: hidden; }
.main { flex: 1; position: relative; }
a { color: inherit; text-decoration: underline; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; border-style: none; vertical-align: middle; }
/* <picture> added around theme images for the WebP <source> (inc/webp.php) creates no box: CSS/JS keep targeting the <img>. */
picture:not([class]) { display: contents; }
/* Old theme: headings were bold (browser default h* weight) on single-weight @font-face families, so the browser
   emboldened the Medium / Regular face. Kept as is: that heavier look is what the client calls "neater".
   The size-matched Arial fallbacks get the same synthetic bold, so CLS stays 0. */
h1, h2, h3, h4, h5, h6 { font-family: var(--f-medium); font-weight: bold; line-height: 1.15; margin: .83em 0; }
p { margin: 1em 0; }
b, strong { font-weight: bolder; } /* old: normalize.css "bolder" on the current face */
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-blue); outline-offset: 2px; }
.list-reset { list-style: none; margin: 0; padding: 0; }
.icon { display: inline-block; flex: none; vertical-align: middle; }
.visually-hidden, .screen-reader-text { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.visually-hidden-focusable:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; padding: 8px 16px; background: #fff; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }
@media (max-width: 1199px) { .container { max-width: 960px; } }
@media (max-width: 991px) { .container { max-width: 720px; } }
@media (max-width: 767px) { .container { max-width: 540px; } }

/* Bootstrap-like grid used INSIDE post/term content (row, col-md-4, col-md-8 …) */
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
[class*="col-"] { position: relative; width: 100%; padding: 0 15px; }
@media (min-width: 576px) { .col-sm-6 { flex: 0 0 50%; max-width: 50%; } }
@media (min-width: 768px) {
	.col-md-3 { flex: 0 0 25%; max-width: 25%; } .col-md-4 { flex: 0 0 33.3333%; max-width: 33.3333%; }
	.col-md-6 { flex: 0 0 50%; max-width: 50%; } .col-md-8 { flex: 0 0 66.6667%; max-width: 66.6667%; }
}
@media (min-width: 992px) { .col-lg-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-lg-6 { flex: 0 0 50%; max-width: 50%; } }
.img-fluid { max-width: 100%; height: auto; }

/* ---------- Buttons ---------- */
.btn, .blue-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; background: var(--c-blue); color: #fff; font-family: var(--f-medium); font-size: 18px; line-height: 1.15; text-decoration: none; padding: 10px 30px; transition: background-color .3s, filter .3s; }
.btn:hover, .blue-btn:hover { background: var(--c-blue-hover); }
.btn:active, .blue-btn:active { background: var(--c-blue-active); }
.btn-request { background: var(--ua-request-btn); color: var(--ua-request-btn-text); }
.btn-request:hover { background: var(--ua-request-btn); filter: brightness(1.12); }
.btn-request:active { background: var(--ua-request-btn); filter: brightness(.88); }
.btn-light { background: rgba(255, 255, 255, .92); color: var(--c-blue); }
.btn-light:hover { background: #fff; }
body .uatf-form { --uatf-submit-bg: var(--ua-request-btn); --uatf-submit-bg-hover: var(--ua-request-btn); --uatf-submit-bg-active: var(--ua-request-btn); }
body .uatf-submit { font-family: var(--f-medium); }
body .uatf-submit:hover:not(:disabled) { filter: brightness(1.12); }

.go-to { display: inline-flex; align-items: center; color: var(--c-blue); font-family: var(--f-regular); font-size: 18px; text-decoration: none; margin-top: 15px; }
.go-to::after { content: ""; width: 22px; height: 18px; margin-left: 4px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230364B8'%3E%3Cpath d='M14.6 5.3a1 1 0 0 0-1.4 1.4l4.3 4.3H3a1 1 0 0 0 0 2h14.5l-4.3 4.3a1 1 0 1 0 1.4 1.4l6-6a1 1 0 0 0 0-1.4z'/%3E%3C/svg%3E") center / 17px no-repeat; opacity: 0; transform: translateX(0); transition: all .3s ease-in-out; }
.go-to:hover::after, .go-to:focus-visible::after { opacity: 1; transform: translateX(10px); }
.go-to--light { color: #629DDC; }

/* ---------- Header ---------- */
.header { position: relative; z-index: 20; }
.header__top { background: var(--c-header-top); padding: 10px 0; }
/* Header colour variants (body class from UA_TENT_HEADER_STYLE, functions.php). */
.header-style-lavender { --c-header-top: #D7DBFE; --c-header-ink: var(--c-blue); --c-footer: #D8DCFF; --c-footer-lower: var(--c-lavender); --c-footer-lower-ink: var(--c-text); }
.header-style-dark { --c-header-top: #0B3567; --c-header-ink: #fff; --c-footer: #D8DCFF; --c-footer-lower: #0B3567; --c-footer-lower-ink: #fff; }
.header__bar { display: flex; align-items: center; gap: 20px; }
.header__logo { display: block; flex: none; }
.header__logo img { display: block; width: auto; height: 60px; }
.header__search { flex: 0 1 300px; margin-left: 4%; }
.search-form { position: relative; width: 100%; max-width: 300px; }
/* Search field: same 38px height / radius / border as the phone and language boxes (one header style). */
.search-form .input-search { width: 100%; height: 38px; border: 1px solid var(--c-lavender); border-radius: var(--r-ctl); padding: 0 46px 0 14px; background: #fff; color: var(--c-text); font-family: var(--f-regular); font-size: 15px; box-shadow: inset 0 1px 2px rgba(3, 100, 184, .08); transition: border-color .2s, box-shadow .2s; -webkit-appearance: none; appearance: none; }
.search-form .input-search::placeholder { color: #8b92c4; opacity: 1; }
.search-form .input-search::-webkit-search-cancel-button { -webkit-appearance: none; }
.search-form .input-search:hover { border-color: #9aa4e8; }
.search-form .input-search:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 3px rgba(3, 100, 184, .15); }
.search-form .input-submit { position: absolute; top: 4px; right: 4px; width: 30px; height: 30px; border: 0; border-radius: calc(var(--r-ctl) - 2px); padding: 0; background: var(--c-blue); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color .2s; }
.search-form .input-submit .icon { width: 18px; height: 18px; display: block; }
.search-form .input-submit:hover { background: var(--c-blue-hover); }
.search-form .input-submit:active { background: var(--c-blue-active); }

.dropdown { position: relative; }
.dropdown__panel { position: absolute; top: calc(100% + 4px); right: 0; z-index: 30; min-width: 100%; background: #fff; border: 1px solid var(--c-lavender); box-shadow: 0 6px 16px rgba(0, 0, 0, .12); padding: 6px 0; border-radius: var(--r-ctl); overflow: hidden; }
.dropdown__panel a { display: flex; align-items: center; gap: 8px; padding: 8px 15px; text-decoration: none; white-space: nowrap; }
.dropdown__panel a:hover, .dropdown__panel a:focus-visible { background: #ebedfe; }

.header__phones { margin-left: auto; display: flex; align-items: stretch; height: 38px; background: #fff; border: 1px solid var(--c-lavender); border-radius: var(--r-ctl); }
.phones__main { display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--c-blue); font-family: var(--f-medium); font-size: 18px; letter-spacing: .02em; text-decoration: none; white-space: nowrap; }
.phones__main:hover { text-decoration: underline; }
.phones__toggle { border: 0; border-left: 1px solid var(--c-lavender); background: none; padding: 0 6px; color: var(--c-blue); }
.phones__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.phones__mobile { display: none; }
.phones__list a { font-family: var(--f-medium); color: var(--c-blue); }

.header__lang { flex: none; }
.lang-switch { display: flex; align-items: center; height: 38px; background: #fff; border: 1px solid var(--c-lavender); border-radius: var(--r-ctl); font-family: var(--f-medium); font-size: 14px; letter-spacing: .05em; text-transform: uppercase; }
.lang-switch--links { padding: 0 10px; gap: 6px; }
.lang-switch__sep { color: var(--c-lavender); }
.lang-switch__item { color: #777; text-decoration: none; padding: 4px 2px; }
a.lang-switch__item:hover { color: var(--c-blue); text-decoration: underline; }
.lang-switch__item.is-current { color: var(--c-blue); }
.lang-switch--dropdown { padding: 0; }
.lang-switch__current { display: flex; align-items: center; gap: 4px; height: 100%; border: 0; background: none; padding: 0 8px 0 12px; color: #777; text-transform: uppercase; letter-spacing: .05em; }
.lang-switch__list { text-transform: uppercase; }

.header__nav { background: var(--c-nav); padding: 15px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.main-menu { display: flex; justify-content: center; align-items: flex-start; }
.main-menu > li { position: relative; }
.main-menu > li:not(:last-child) { margin-right: 40px; }
.main-menu > li > a { display: inline-block; color: #fff; font-family: var(--f-medium); font-size: 18px; text-transform: uppercase; text-decoration: none; }
.main-menu > li > a::before, .main-menu > li > a::after { display: inline-block; opacity: 0; transition: all .3s ease-in-out; }
.main-menu > li > a::before { content: "["; }
.main-menu > li > a::after { content: "]"; }
.main-menu > li:hover > a::before, .main-menu > li:focus-within > a::before { opacity: 1; transform: translateX(-10px); }
.main-menu > li:hover > a::after, .main-menu > li:focus-within > a::after { opacity: 1; transform: translateX(10px); }
.main-menu .sub-menu { list-style: none; position: absolute; left: -10px; top: 100%; width: 230px; margin: 0; padding: 15px; background: var(--c-nav); box-shadow: 0 8px 16px rgba(0, 0, 0, .15); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.main-menu > li > .sub-menu { margin-top: 15px; }
.main-menu > li > .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -15px; height: 15px; }
.main-menu li:hover > .sub-menu, .main-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.main-menu .sub-menu li { position: relative; }
.main-menu .sub-menu li:not(:last-child) { margin-bottom: 8px; }
.main-menu .sub-menu a { display: inline-block; color: #fff; font-family: var(--f-medium); text-transform: uppercase; text-decoration: none; transition: transform .3s; }
.main-menu .sub-menu a:hover, .main-menu .sub-menu a:focus-visible { transform: translateX(5px); }
.main-menu .sub-menu .sub-menu { left: 100%; top: -15px; width: 200px; }
.main-menu .sub-menu .menu-item-has-children > a::after { content: " ›"; }
@media (max-width: 1199px) { .header__logo img { height: 50px; } .main-menu > li:not(:last-child) { margin-right: 25px; } .main-menu > li > a { font-size: 16px; } }

.hamburger { display: none; width: 44px; height: 44px; margin-right: -6px; padding: 10px 5px; border: 0; background: none; }
.hamburger__box { position: relative; display: block; width: 34px; height: 24px; }
.hamburger__inner, .hamburger__inner::before, .hamburger__inner::after { position: absolute; left: 0; width: 34px; height: 4px; border-radius: 4px; background: var(--c-header-ink); transition: transform .25s, opacity .25s; }
.hamburger__inner { top: 50%; margin-top: -2px; }
.hamburger__inner::before, .hamburger__inner::after { content: ""; }
.hamburger__inner::before { top: -10px; }
.hamburger__inner::after { top: 10px; }
.hamburger[aria-expanded="true"] .hamburger__inner { transform: rotate(45deg); }
.hamburger[aria-expanded="true"] .hamburger__inner::before { opacity: 0; }
.hamburger[aria-expanded="true"] .hamburger__inner::after { transform: translateY(-10px) rotate(-90deg); }

.mobile-nav { position: fixed; inset: 0; z-index: 40; background: rgba(0, 0, 0, .3); opacity: 0; transition: opacity .3s; }
.mobile-nav.is-open { opacity: 1; }
.mobile-nav:not(.is-open) { pointer-events: none; }
.mobile-nav__panel { position: relative; width: 300px; max-width: 86vw; height: 100%; overflow-y: auto; overscroll-behavior: contain; background: #fff; padding: 60px 15px 50px; transform: translateX(-100%); transition: transform .3s; }
.mobile-nav.is-open .mobile-nav__panel { transform: none; }
.mobile-nav__close { position: absolute; top: 10px; right: 10px; width: 44px; height: 44px; border: 0; background: none; color: var(--c-blue); }
.mobile-nav__phones { margin-bottom: 20px; }
.mobile-nav__phones a { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-family: var(--f-medium); color: var(--c-blue); text-decoration: none; font-size: 18px; }
.mobile-menu { margin-top: 25px; }
.mobile-menu > li { margin-bottom: 12px; }
.mobile-menu a { display: inline-block; padding: 3px 0; text-transform: uppercase; text-decoration: none; }
.mobile-menu > li > a { font-family: var(--f-medium); font-size: 18px; }
.mobile-menu .sub-menu { list-style: none; margin: 5px 0 0; padding-left: 10px; }
.mobile-menu .sub-menu li { position: relative; padding-left: 18px; margin-bottom: 4px; }
.mobile-menu .sub-menu li::before { content: "—"; position: absolute; left: 0; top: 3px; color: var(--c-blue); }
.mobile-menu .current-menu-item > a { color: var(--c-blue); }

@media (max-width: 991px) {
	body { padding-top: var(--header-h); }
	.header { position: fixed; top: 0; left: 0; width: 100%; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); }
	.header__top { padding: 8px 0; min-height: var(--header-h); display: flex; align-items: center; }
	.header__bar { gap: 12px; }
	.header__logo img { height: 40px; }
	.header__search, .header__nav { display: none; }
	.hamburger { display: block; }
	.header__lang { margin-left: 0; }
	.lang-switch { height: 32px; }
}
@media (max-width: 767px) {
	.header__phones { border: 0; background: none; height: 44px; }
	.phones__main, .phones__toggle { display: none; }
	.phones__mobile { display: flex; align-items: center; justify-content: center; width: 44px; border: 0; background: none; color: var(--c-header-ink); }
	.phones__list { right: -60px; }
	.phones__list a { font-size: 18px; padding: 12px 18px; }
}

/* ---------- Page header (old .typical-promo) + breadcrumbs ---------- */
.page-hero { position: relative; overflow: hidden; background: #3d4f6e; color: #fff; }
.page-hero__img, .page-hero__picture, .page-hero__picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.overlay { position: absolute; inset: 0; background: rgba(0, 0, 0, .25); }
.page-hero__inner { position: relative; min-height: 200px; display: flex; flex-direction: column; padding-top: 10px; padding-bottom: 50px; }
.promo-title { margin: auto; text-align: center; color: #fff; font-size: 42px; text-shadow: 1px 1px rgba(0, 0, 0, .3); }
.breadcrumbs { display: flex; flex-wrap: wrap; margin: 20px 0; color: #fff; font-family: var(--f-light); }
.breadcrumbs__link { color: #fff; transition: color .3s; }
.breadcrumbs__link:hover { color: rgba(255, 255, 255, .8); }
@media (max-width: 991px) { .promo-title { font-size: 36px; } }
@media (max-width: 576px) { .promo-title { font-size: 32px; } }

/* ---------- Content (post_content / term texts) ---------- */
.tbs-content::after { content: ""; display: table; clear: both; }
.tbs-content ul { padding-left: 20px; }
.tbs-content table { max-width: 100%; }
.tbs-content iframe { max-width: 100%; }
.alignleft { float: left; margin: 5px 20px 10px 0; } .alignright { float: right; margin: 5px 0 10px 20px; } .aligncenter { display: block; margin: 10px auto; }
.wp-caption { max-width: 100%; } .wp-caption-text { font-size: 14px; color: #666; }
blockquote { background: #f9f9f9; border-left: 5px solid var(--c-blue); margin: 1.5em 10px; padding: 10px 15px; }
.table-responsive { display: block; width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; max-width: 100%; margin-bottom: 1rem; border-collapse: collapse; background: transparent; }
.table th, .table td { vertical-align: top; } /* old theme: no padding/borders on content tables */
.area-table { border-collapse: collapse; width: 100%; font-size: 14px; font-family: var(--f-regular); }
.area-table thead td { background: #D7E3F8; }
.area-table thead tr:first-of-type { font-family: var(--f-medium); vertical-align: top; font-size: 16px; }
.area-table td { text-align: center; border: 1px solid #3D5C81; padding: 3px 5px; }
.area-table tbody tr:nth-of-type(even) td { background: #F3F7FE; }
.project-facts { background: #f6f7f9; border: 1px solid #e3e6ea; border-radius: 10px; padding: 18px 16px; margin: 20px 0 30px; }
.project-facts-title { font-size: 15px; font-weight: 600; margin: 0 0 10px; color: #1f2937; line-height: 1.3; }
.project-facts-table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.35; color: #374151; }
.project-facts-table th, .project-facts-table td { padding: 2px 0; vertical-align: top; }
.project-facts-table th { width: 1%; white-space: nowrap; font-weight: 600; color: #1f2937; padding-right: 12px; text-align: left; }
.typical-content { padding: 30px 0 50px; }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 40px 30px; }

/* ---------- Home: hero slider ---------- */
.promo-slider { position: relative; overflow: hidden; background: #3d4f6e; color: #fff; }
.promo-slider__track { display: grid; }
.promo-slider__slide { grid-area: 1 / 1; position: relative; display: none; opacity: 0; transition: opacity .8s ease; }
.promo-slider__slide.is-active { display: block; opacity: 1; z-index: 1; }
.promo-slider.is-ready .promo-slider__slide { display: block; }
.promo-slider__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.promo-slider .overlay { background: rgba(0, 0, 0, .25); } /* same tint as the inner-page hero (.overlay) */
.promo-slider__content { position: relative; min-height: 400px; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-top: 50px; padding-bottom: 80px; text-align: center; }
.promo-slider__panel { width: 100%; padding: 0 15px; } /* no dark plate (client 20.11): like the old home and the inner pages, text on the photo + shadow; full container width like the old (client 22.11: one line on desktop) */
.promo-slider__title { margin: 0; font-family: var(--f-medium); font-weight: bold; font-size: 42px; line-height: 1.15; text-shadow: 1px 1px 3px rgba(0, 0, 0, .55), 0 0 12px rgba(0, 0, 0, .3); }
.promo-slider__text { margin: 14px 0 0; font-family: var(--f-regular); font-size: 32px; text-shadow: 1px 1px 3px rgba(0, 0, 0, .6), 0 0 12px rgba(0, 0, 0, .35); }
.promo-slider__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 16px; margin-top: 26px; }
.promo-slider__dots { position: absolute; z-index: 2; left: 0; right: 0; bottom: 30px; display: flex; justify-content: center; gap: 8px; }
.promo-slider__dot { width: 28px; height: 28px; padding: 8px; border: 0; background: none; }
.promo-slider__dot::before { content: ""; display: block; width: 12px; height: 12px; border-radius: 50%; background: rgba(255, 255, 255, .5); }
.promo-slider__dot.is-active::before { background: #fff; }
@media (max-width: 1199px) { .promo-slider__title { font-size: 36px; } .promo-slider__text { font-size: 28px; } }
@media (max-width: 767px) {
	.promo-slider__content { padding-top: 40px; padding-bottom: 70px; }
	.promo-slider__panel { padding: 0; }
	.promo-slider__title { font-size: 30px; }
	.promo-slider__text { font-size: 20px; margin-top: 10px; }
	.promo-slider__actions .btn { font-size: 16px; padding: 10px 18px; }
}
@media (prefers-reduced-motion: reduce) { .promo-slider__slide { transition: none; } }

/* ---------- Home: sections ---------- */
.section-title { font-size: 32px; margin: 32px 0; } /* old: H3 32px → 1em */
/* Old home: title margin + .content margin-top did not collapse (Bootstrap flex rows): 32 + 40 / 32 + 20 */
.offers .section-title, .reasons .section-title, .recent-projects .section-title { margin-bottom: 72px; }
.partners .section-title { margin-bottom: 52px; }
.about-us { padding-top: 10px; }
.about-us__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.about-us__text { font-size: 16px; }
.about-us__text ul { padding-left: 25px; margin: 0; }
.about-us .title { color: var(--c-blue); font-family: var(--f-regular); font-size: 24px; margin-top: 0; }
.video-facade { position: relative; display: block; aspect-ratio: 16 / 9; max-height: 303px; width: 100%; background: #000; box-shadow: 5px -5px 0 var(--c-shadow); transition: box-shadow .3s; overflow: hidden; }
.about-us:hover .video-facade { box-shadow: 10px -10px 0 var(--c-shadow); }
.video-facade img, .video-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video-facade__play { position: absolute; left: 50%; top: 50%; display: flex; align-items: center; justify-content: center; width: 68px; height: 48px; margin: -24px 0 0 -34px; border-radius: 12px; background: #f00; color: #fff; transition: transform .2s; }
.video-facade:hover .video-facade__play { transform: scale(1.08); }
.offers { padding-top: 30px; }
.offers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; margin-top: 40px; }
.offer-item { margin-bottom: 50px; }
.offer-item .title { color: var(--c-blue); font-family: var(--f-regular); font-size: 24px; margin: 0 0 1em; }
.offer-item .title a { text-decoration: none; }
.offer-item .inner-block { display: flex; align-items: center; gap: 15px; }
.offer-item__icon { width: 85px; height: 85px; flex: none; object-fit: contain; }
.offer-item .text-holder { font-size: 16px; }
.offer-item .text-holder p { margin: 0 0 1em; }
.reasons { padding-bottom: 30px; }
.reasons__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; margin-top: 40px; }
.reason-item { margin: 0; text-align: center; font-size: 16px; }
.reason-item__icon { display: block; width: 60px; height: 60px; margin: 0 auto 30px; object-fit: contain; }
.reason-item .title { color: var(--c-blue); font-family: var(--f-regular); font-size: 20px; margin: 15px 0; }
.partners { padding: 30px 0; }
.recent-projects { padding: 30px 0 100px; }
.recent-projects__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 30px; margin-top: 40px; }
.project-item .title { color: var(--c-blue); font-family: var(--f-regular); font-size: 20px; margin: 0; }
.project-item .title a { text-decoration: none; }
.project-item .title a:hover { text-decoration: underline; }
.project-item .date { font-size: 14px; margin: 10px 0; }
.project-item .content-block p { margin: 1em 0; font-size: 16px; }
.project-item__img { float: left; display: block; width: 220px; height: 150px; margin: 4px 19px 5px 0; overflow: hidden; }
.project-item__img img { width: 100%; height: 100%; object-fit: cover; }
.project-item .go-to { font-size: 18px; margin-top: 10px; }
.content-block::after { content: ""; display: table; clear: both; }
@media (max-width: 991px) {
	.about-us__grid, .offers__grid, .recent-projects__grid { grid-template-columns: 1fr; }
	.video-facade { max-width: 500px; margin: 0 auto; }
	.reasons__grid { grid-template-columns: 1fr 1fr; }
	.offers__grid { margin-top: 25px; }
	.offer-item { margin-bottom: 40px; }
	.offer-item__icon { width: 70px; height: 70px; }
	.project-item { max-width: 500px; margin: 0 auto; width: 100%; }
	.project-item__img { float: none; width: 100%; height: 200px; margin: 0 0 15px; }
	.recent-projects { padding: 30px 0 40px; }
	.partners { padding: 0; }
}
@media (max-width: 767px) {
	.section-title, .partners .section-title { margin: 30px 0; }
	.offers .section-title, .reasons .section-title, .recent-projects .section-title { margin-bottom: 45px; } /* 30 + 15 */
	.offers { padding-top: 15px; }
	.reasons__grid { margin-top: 15px; }
}
@media (max-width: 480px) {
	.offer-item .title { text-align: center; }
	.offer-item .inner-block { flex-direction: column; text-align: center; }
	.reasons__grid { grid-template-columns: 1fr; }
}

/* ---------- Carousel (partners, clients, additional services): CSS scroll-snap + arrows ----------
   NO "scroll-behavior: smooth" on scroll-snap tracks: Chrome then animates the initial snap while the page
   loads, treats it as a scroll and stops recording LCP (PageSpeed "NO_LCP" error). JS passes behavior:smooth itself. */
/* --per = whole items visible. Items are 1/--per of the track (no gap; spacing is item padding); main.js then sets
   --item to a whole-pixel width and trims the track to --per × --item, so no partial item ever peeks at the edge.
   Arrows sit outside the track. */
.carousel { --per: 5; position: relative; display: flex; align-items: center; gap: 4px; }
.carousel__track { display: flex; flex: 1; min-width: 0; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__item { flex: 0 0 var(--item, calc(100% / var(--per))); min-width: 0; scroll-snap-align: start; display: flex; align-items: center; justify-content: center; padding: 0 4px; }
.carousel__arrow { flex: none; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: #2A3990; }
.carousel__arrow:disabled { opacity: .25; cursor: default; }
.carousel.is-static .carousel__arrow { visibility: hidden; }
.carousel.is-static [data-clone] { display: none; } /* loop copies (main.js) only when there is something to scroll */
.partner-logo { display: flex; align-items: center; justify-content: center; width: 100%; height: 100px; }
.partner-logo__img { max-width: 80%; max-height: 100px; width: auto; height: auto; object-fit: contain; }
@media (max-width: 991px) { .carousel--partners { --per: 4; } }
@media (max-width: 767px) { .carousel--partners { --per: 3; } .partner-logo { height: 80px; } .partner-logo__img { max-height: 80px; } }
@media (max-width: 480px) { .carousel--partners { --per: 2; } }

/* ---------- Service / news page (single-services.php) ---------- */
.product-inner { padding: 30px 0 50px; }
.product-inner__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 30px; }
.product-inner .about-item { margin-top: 30px; }
.product-inner .title { font-size: 24px; }
.post-current-date { color: var(--c-date); font-size: 18px; }
.tags-list { display: none; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 30px; font-family: var(--f-medium); }
.prev-news, .next-news { text-decoration: none; max-width: 45%; }
.next-news { margin-left: auto; text-align: right; }
.prev-news span, .next-news span { color: var(--c-date); font-size: 20px; }
.prev-news:hover, .next-news:hover { text-decoration: underline; }
.trigger { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--c-blue); font-family: var(--f-regular); font-size: 18px; text-align: left; }
.trigger[aria-expanded="true"] .icon { transform: rotate(180deg); }
.more-info-block { margin: 0 0 10px; }
.additional-services { padding: 20px 0; }
.carousel--additionals { --per: 7; margin: 30px 0 30px; }
.carousel--additionals .carousel__arrow { width: 30px; }
.carousel--additionals .carousel__item { align-items: flex-start; padding: 0 1px; }
/* Old theme: 56×56 icon box, 15px to the label. Box is fixed, icon centred in it, label is one line → same baseline everywhere. */
.additional-item { display: flex; flex-direction: column; align-items: center; width: 100%; color: var(--c-blue); font-family: var(--f-regular); text-decoration: none; text-align: center; font-size: 15px; line-height: 20px; }
.additional-item__box { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 15px; }
.additional-item__icon { width: 56px; height: 56px; object-fit: contain; }
.additional-item__label { display: block; max-width: 100%; height: 20px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.additional-item:hover .additional-item__label { text-decoration: underline; }
.clients-block, .reviews-block { margin-top: 30px; }
.clients-block .title, .reviews-block .title { font-size: 24px; }
/* Old theme: these were H3 (1em margins); now H2 with the same look. */
.additional-services .title, .clients-block .title, .reviews-block .title { margin: 1em 0; }
.additional-services .btn { margin-top: 15px; }
.carousel--additionals + .btn { margin-top: 25px; } /* old: slider 40px bottom margin + 15px on the button */
.carousel--clients { --per: 4; }
.carousel--clients .partner-logo { height: 50px; border: 1px solid #F0F0F0; padding: 5px; }
.carousel--clients .partner-logo__img { max-width: 100%; max-height: 40px; }
.review-item { display: flex; gap: 15px; margin: 0 0 30px; }
.review-item__photo { flex: none; width: 70px; height: 70px; object-fit: cover; }
.review-item .text-holder { flex: 1; font-size: 16px; }
.review-item__text { margin: 0; padding: 0; background: none; border: 0; }
.review-item__text p { margin: 0 0 1em; }
.review-item .name { color: var(--c-blue); font-family: var(--f-regular); font-style: italic; }
.reviews-block__google { margin: 0 0 10px; } /* link = .go-to (as «>> Перегляньте наші проекти» in the texts), left-aligned */
@media (max-width: 1199px) { .carousel--additionals { --per: 6; } }
/* ≤991px: the side column goes under the text. Like the old theme only the GALLERY stays 500px and centred;
   «Наші клієнти» and «Відгуки» take the full column width (client 20.11). */
@media (max-width: 991px) { .product-inner__grid { grid-template-columns: minmax(0, 1fr); } .product-inner__side { width: 100%; } .product-inner__side .ua-gallery { max-width: 500px; margin-left: auto; margin-right: auto; } }
@media (max-width: 767px) { .carousel--additionals { --per: 5; } }
@media (max-width: 576px) { .review-item { flex-direction: column; align-items: center; text-align: center; } .review-item__photo { width: 100px; height: 100px; } }
@media (max-width: 480px) { .carousel--additionals, .carousel--clients { --per: 3; } }

/* ---------- Gallery + lightbox (assets/js/gallery.js) ---------- */
.ua-gallery { margin-top: 31px; }
.ua-gallery__main { position: relative; }
.ua-gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ua-gallery__track::-webkit-scrollbar { display: none; }
.ua-gallery__slide { flex: 0 0 100%; scroll-snap-align: start; }
.ua-gallery__link { display: block; height: 320px; border: 1px solid #636363; cursor: zoom-in; }
.ua-gallery__img { width: 100%; height: 100%; object-fit: cover; }
/* Arrows as on the old site: thin white chevron, NO plate, slides in from the edge on hover (Slick .arrow). */
.ua-gallery__arrow { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 50px; height: 70px; padding: 0; border: 0; background: none; color: #fff; cursor: pointer; opacity: 0; filter: drop-shadow(0 0 2px rgba(0, 0, 0, .55)); transition: opacity .3s ease-in-out, transform .3s ease-in-out; }
.ua-gallery__arrow--prev { left: 0; transform: translate(-10px, -50%); } .ua-gallery__arrow--next { right: 0; transform: translate(10px, -50%); }
.ua-gallery__main:hover > .ua-gallery__arrow, .ua-gallery__nav:hover > .ua-gallery__arrow, .ua-gallery__arrow:focus-visible { opacity: 1; transform: translate(0, -50%); }
.ua-gallery__arrow:focus-visible { outline: 2px solid #fff; outline-offset: -4px; }
.ua-gallery__arrow--sm { width: 36px; height: 50px; } /* over the thumbnail strip, 10px in from the edge like the old nav */
.ua-gallery__arrow--sm.ua-gallery__arrow--prev { left: 4px; } .ua-gallery__arrow--sm.ua-gallery__arrow--next { right: 4px; }
.ua-gallery__nav { position: relative; margin-top: 10px; }
.ua-gallery__thumbs { display: flex; justify-content: safe center; gap: 10px; overflow-x: auto; scrollbar-width: none; } /* <3 photos: centred row; 3+: current thumb in the middle (gallery.js) */
.ua-gallery__thumbs::-webkit-scrollbar { display: none; }
.ua-gallery__thumbs li { flex: 0 0 calc((100% - 20px) / 3); }
.ua-gallery__thumb { display: block; width: 100%; height: 100px; padding: 0; border: 1px solid #636363; background: none; transition: border-color .3s; }
.ua-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ua-gallery__thumb.is-active { border-color: var(--c-thumb-active); box-shadow: 0 0 0 1px var(--c-thumb-active); }
@media (hover: none) { .ua-gallery__arrow { opacity: 1; transform: translate(0, -50%); } }
@media (max-width: 1199px) { .ua-gallery__link { height: 270px; } }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(0, 0, 0, .92); color: #fff; }
.lightbox::backdrop { background: rgba(0, 0, 0, .6); }
/* Column: stage (photo + caption, takes the rest) → thumbnail strip. Only when [open]: a display on the bare dialog would show it closed. */
.lightbox[open] { display: flex; flex-direction: column; height: 100dvh; }
/* Stage = photo + caption directly under it, the pair centred vertically; the photo shrinks to leave room for the caption. */
.lightbox__stage { position: relative; flex: 1; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 50px 60px 10px; touch-action: pan-y; }
.lightbox__img { flex: 0 1 auto; min-height: 0; max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; user-select: none; }
.lightbox__caption { flex: none; max-width: 900px; margin: 10px 0 0; font-size: 15px; line-height: 20px; text-align: center; }
.lightbox:not(.has-caption) .lightbox__caption, .lightbox:not(.has-thumbs) .lightbox__thumbs { display: none; }
.lightbox__thumbs { flex: none; position: relative; display: flex; gap: 5px; overflow-x: auto; padding: 0 10px 10px; scrollbar-width: none; }
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumb { flex: none; width: 100px; height: 70px; padding: 0; border: 2px solid transparent; background: #222; opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.lightbox__thumb:first-child { margin-left: auto; } .lightbox__thumb:last-child { margin-right: auto; } /* centred, still scrollable */
.lightbox__thumb:hover, .lightbox__thumb.is-active { opacity: 1; }
.lightbox__thumb.is-active { border-color: #d0d0d0; } /* light frame: the lightbox background is black */
.lightbox__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lightbox.is-loading .lightbox__img { opacity: .4; }
.lightbox__btn { position: absolute; display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 0; background: none; color: #fff; }
.lightbox__btn:hover { color: #ccc; }
.lightbox__close { top: 5px; right: 5px; }
.lightbox__prev { left: 5px; top: 50%; margin-top: -25px; } .lightbox__next { right: 5px; top: 50%; margin-top: -25px; }
.lightbox__count { position: absolute; top: 18px; left: 20px; font-size: 14px; }
@media (max-width: 767px) {
	.lightbox__stage { margin: 50px 0 10px; }
	.lightbox__caption { padding: 0 10px; font-size: 14px; }
	.lightbox__thumb { width: 64px; height: 48px; }
	.lightbox__prev, .lightbox__next { filter: drop-shadow(0 0 2px rgba(0, 0, 0, .8)); } /* no plate, same as the in-page gallery arrows */
}

/* ---------- Footer ---------- */
.footer__top { background: var(--c-footer); padding: 5px 0 30px; }
.footer__cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }
.footer__title { margin: 20px 0; } /* old: H3 20px → 1em */
.footer__toggle { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: none; color: var(--c-blue); font-family: var(--f-regular); font-weight: bold; font-size: 20px; line-height: 1.15; cursor: default; text-align: left; }
.footer__toggle .icon { display: none; transition: transform .3s; }
.footer-list li:not(:last-child) { margin-bottom: 7px; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { text-decoration: underline; }
.footer__lower { background: var(--c-footer-lower); color: var(--c-footer-lower-ink); }
.footer__lower a { color: inherit; }
.footer__lower-inner { display: flex; justify-content: space-between; align-items: center; gap: 10px 20px; padding-top: 16px; padding-bottom: 16px; }
.footer__copy { margin: 0; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 5px 15px; }
.footer__legal a { text-decoration: none; }
.footer__legal a:hover { text-decoration: underline; }
@media (max-width: 767px) {
	.footer__top { padding-bottom: 15px; text-align: center; }
	.footer__cols { grid-template-columns: 1fr; gap: 0; }
	.footer__title { margin: 10px 0; }
	.footer__toggle { cursor: pointer; min-height: 24px; }
	.footer__toggle .icon { display: inline-block; }
	.footer__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
	.js .footer-list:not(.is-open) { display: none; }
	.footer-list { margin-top: 5px; }
	/* 24px-high tap targets, same 25px step as the old 18px line + 7px gap */
	.footer-list li:not(:last-child) { margin-bottom: 1px; }
	.footer-list a { display: inline-block; padding: 3px 0; }
	.footer__lower-inner { flex-direction: column; text-align: center; padding-top: 15px; padding-bottom: 25px; }
	.footer__legal { flex-direction: column; align-items: center; gap: 10px; }
}

/* ---------- Modal (request popup) ---------- */
.modal { width: calc(100% - 30px); max-width: 380px; max-height: calc(100% - 30px); padding: 0; border: 0; background: #fff; color: var(--c-text); box-shadow: 0 5px 15px rgba(0, 0, 0, .5); overflow: auto; }
.modal::backdrop { background: rgba(0, 0, 0, .5); }
.modal__box { position: relative; padding: 30px 15px 40px; }
.modal__close { position: absolute; top: 4px; right: 4px; width: 44px; height: 44px; border: 0; background: none; color: var(--c-blue); display: flex; align-items: center; justify-content: center; }
.modal__title { margin: 5px 30px 0; text-align: center; font-family: var(--f-regular); font-size: 22px; }
.modal__phones { text-align: center; margin-top: 20px; } .modal__phones li { margin-bottom: 14px; font-size: 18px; }
.modal[open] { animation: modal-in .2s ease-out; }
@keyframes modal-in { from { opacity: 0; transform: translateY(-20px); } }
@media (prefers-reduced-motion: reduce) { .modal[open] { animation: none; } }

/* ---------- Sticky CTA bar on phones (agreement #1; switch: UA_TENT_STICKY_CTA in functions.php) ---------- */
.cta-bar { display: none; }
@media (max-width: 767px) {
	body.has-cta-bar { padding-bottom: 56px; }
	.cta-bar { position: fixed; z-index: 15; left: 0; right: 0; bottom: 0; display: flex; height: 56px; padding-bottom: env(safe-area-inset-bottom); background: #fff; box-shadow: 0 -2px 8px rgba(0, 0, 0, .2); }
	.cta-bar__btn { flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px; font-family: var(--f-medium); font-size: 17px; text-decoration: none; }
	.cta-bar__btn--call { color: var(--c-header-ink); background: var(--c-header-top); }
	.cta-bar__btn--tg { color: var(--ua-request-btn-text); background: var(--ua-request-btn); } /* same place and colour as «Залишити заявку» on pages with a form */
	/* Binotel GetCall button: lifted above the bar so they never overlap (verify ids on staging). */
	body.has-cta-bar #bingc-phone-button, body.has-cta-bar .bingc-phone-button { bottom: 70px !important; }
}

/* ---------- Content extras (post_content / term texts): FAQ <details>, Bootstrap col-sm-* ---------- */
.tbs-content details { margin: 0; } /* old: FAQ questions line by line, no gap */
.tbs-content summary { cursor: pointer; display: list-item; }
.tbs-content h2.title, .tbs-content h3.title { font-size: 24px; }
@media (min-width: 576px) { .col-sm-3 { flex: 0 0 25%; max-width: 25%; } .col-sm-4 { flex: 0 0 33.3333%; max-width: 33.3333%; } .col-sm-8 { flex: 0 0 66.6667%; max-width: 66.6667%; } .col-sm-12 { flex: 0 0 100%; max-width: 100%; } }
@media (min-width: 768px) { .col-md-12 { flex: 0 0 100%; max-width: 100%; } }

/* ---------- Service category (taxonomy-service.php) ---------- */
.product-category { padding: 30px 0 50px; } /* bottom = .product-inner: same gap to the footer on every template (client 20.11) */
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; margin-top: 30px; }
.product-item { margin: 0 0 40px; }
.product-item__link { display: block; height: 300px; border: 1px solid #333; overflow: hidden; background: #f3f3f3; }
.product-item__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-in-out; }
.product-item__link:hover .product-item__img { transform: scale(1.1); }
.product-item .title { margin: 1.33em 0 0; color: var(--c-blue); font-family: var(--f-regular); font-size: 18px; text-align: center; } /* old: H4; its bottom margin collapsed into the card's */
.product-item .title a { text-decoration: none; }
.product-item .title a:hover { text-decoration: underline; }
.product-category__lower { margin-top: 30px; }
.product-category .tbs-content ul { list-style: none; }
.product-category .tbs-content ul li { position: relative; }
.product-category .tbs-content ul li::before { content: "•"; position: absolute; left: -17px; color: var(--c-blue); }
.product-category .tbs-content img { height: auto !important; max-width: 100% !important; }
.product-category .tbs-content .title, .product-category .additional-services .title, .product-category .clients-block .title, .product-category .reviews-block .title { font-family: var(--f-regular); } /* old: .product-category .lower .title */
.product-category .additional-services { padding: 10px 0 20px; }
@media (max-width: 991px) { .product-category .additional-services { text-align: center; } .product-category .additional-services .title { text-align: left; } } /* old theme: button centred under the slider */
@media (max-width: 991px) {
	.product-grid { grid-template-columns: minmax(0, 1fr); }
	.product-item { width: 100%; max-width: 500px; margin: 0 auto 30px; }
	.product-item__link { height: 230px; }
	.product-category__lower { margin-top: 0; }
}
@media (max-width: 767px) { .product-category { padding: 10px 0 50px; } }

/* ---------- News archive / tag / search (archive.php, tag.php, search.php) ---------- */
.news { padding: 50px 0; }
.news .section-title { margin: 32px 0 50px; }
.actuals-holder { margin-bottom: 50px; }
.actual-news-item { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 30px; align-items: start; margin-bottom: 40px; padding-left: 8.3333%; }
.actual-news-item--shift { padding-left: 16.6667%; }
.actual-news-item__img { display: block; height: 190px; box-shadow: 5px -5px 0 var(--c-shadow); transition: box-shadow .25s ease; overflow: hidden; background: #f3f3f3; }
.actual-news-item:hover .actual-news-item__img { box-shadow: 10px -10px 0 var(--c-shadow); }
.actual-news-item__img img { width: 100%; height: 100%; object-fit: cover; }
.actual-news-item .title { margin: 0; color: var(--c-blue); font-family: var(--f-regular); font-size: 20px; }
.actual-news-item .title a { text-decoration: none; }
.actual-news-item .title a:hover { text-decoration: underline; }
.actual-news-item .date { font-size: 14px; margin: 10px 0; }
.actual-news-item p { font-size: 16px; }
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 30px; }
.news-card { margin-bottom: 50px; }
.news-card__img { display: block; height: 180px; margin-bottom: 20px; overflow: hidden; background: #f3f3f3; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease-in-out; }
.news-card__img:hover img { transform: scale(1.1); }
.news-card .title { color: var(--c-blue); font-family: var(--f-regular); font-size: 20px; margin: 0; }
.news-card .title a { text-decoration: none; }
.news-card .title a:hover { text-decoration: underline; }
.news-card .date { font-size: 14px; margin: 10px 0; }
.news-card__excerpt { font-size: 16px; margin: 1em 0; overflow-wrap: anywhere; }
.news-card .go-to { margin-top: 10px; color: #629DDC; }
.empty-note { font-size: 18px; }
@media (max-width: 1199px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .actual-news-item, .actual-news-item--shift { padding-left: 0; } }
@media (max-width: 991px) { .news { padding: 20px 0 50px; } .actuals-holder { margin-bottom: 40px; } .news-card { margin-bottom: 40px; } }
@media (max-width: 767px) {
	.news .section-title { margin: 20px 0 30px; }
	.actuals-holder { margin-bottom: 0; }
	.actual-news-item { grid-template-columns: 1fr; gap: 20px; }
	.actual-news-item:hover .actual-news-item__img { box-shadow: 5px -5px 0 var(--c-shadow); }
	.news-grid { grid-template-columns: 1fr; }
	.news-card__img { height: 200px; }
}

/* ---------- Pagination: WP-PageNavi markup (div.wp-pagenavi; plugin CSS not loaded), look of the old ul.pagination ---------- */
.wp-pagenavi, .nav-links { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; font-family: var(--f-regular); margin-top: 10px; }
.wp-pagenavi > a, .wp-pagenavi > span, .nav-links .page-numbers { display: inline-block; min-width: 34px; padding: 5px 8px; border: 0; border-top: 2px solid #E3E3E3; text-align: center; text-decoration: none; background: none; color: inherit; transition: all .3s ease-in-out; }
.wp-pagenavi > a:hover, .wp-pagenavi > .current, .nav-links a.page-numbers:hover, .nav-links .current { border-top-color: var(--c-blue); color: var(--c-blue); background: none; }
.wp-pagenavi .pages { display: none; }
@media (max-width: 767px) { .wp-pagenavi > a, .wp-pagenavi > span, .nav-links .page-numbers { min-width: 0; } }

/* ---------- Default page (page.php: privacy policy, user agreement) ---------- */
.privacy { padding: 10px 0 50px; }
.privacy__inner { max-width: 920px; margin: 0 auto; }

/* ---------- Contacts (page-contacts.php) ---------- */
.contacts { padding: 30px 0 50px; }
.contacts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 30px; }
.contacts .title { color: var(--c-blue); font-family: var(--f-regular); font-size: 24px; margin: 1em 0 10px; } /* old: H3 */
.contacts__form .title { margin-bottom: 20px; }
.tel-holder, .mail-holder { margin-top: 17px; }
.tel-holder li, .mail-holder li { margin-bottom: 5px; }
.tel-holder a, .mail-holder a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.tel-holder a { font-size: 16px; }
.tel-holder a:hover, .mail-holder a:hover { text-decoration: underline; }
.tel-holder .icon, .mail-holder .icon { color: var(--c-blue); }
.contacts .lower-text { margin-top: 30px; }
.contacts .subtitle { margin-top: 20px; max-width: 540px; font-size: 16px; }
@media (max-width: 767px) {
	.contacts { padding: 10px 0 50px; }
	.contacts__grid { grid-template-columns: minmax(0, 1fr); gap: 15px; }
	.contacts__info { text-align: center; }
	.contacts__form .title { text-align: center; }
	.contacts .subtitle { margin-left: auto; margin-right: auto; text-align: center; }
}

/* ---------- 404 ---------- */
.error-404 { padding: 40px 0 70px; }
.error-404__inner { text-align: center; }
.error-404 .code { color: #FED207; font-size: 100px; line-height: 1; font-family: "dinroundpro-bold", Arial, sans-serif; margin: 0; }
.error-404__text { font-family: var(--f-regular); font-size: 20px; }
.error-404__subtitle { font-size: 24px; margin: 50px 0 15px; }
.error-404__links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 30px; }
.error-404__links a { color: var(--c-blue); font-family: var(--f-medium); text-transform: uppercase; text-decoration: none; }
.error-404__links a:hover { text-decoration: underline; }
.error-404__search-label { margin: 30px 0 10px; }
.error-404__search .search-form { margin: 0 auto; }

@media print { .header, .footer, .cta-bar, .mobile-nav, .modal { display: none !important; } body { padding: 0 !important; } }
