/*
Theme Name: Orbita Pro Minimal
Theme URI: https://example.com/
Author: cxzcr
Description: Minimal professional theme for ООО «Орбита».
Version: 1.2.0
Text Domain: orbita-pro-minimal
*/
/* ===== FIX COLORS ONLY ===== */

:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-2: #f1f4f7;
  --text: #18202b;
  --muted: #667287;
  --line: #dde3ea;
  --line-strong: #cdd5df;
  --primary: #124f96;
  --primary-strong: #0d3d74;
  --nav-bg: #13385f;
  --nav-text: #f7fbff;
  --nav-hover: rgba(255,255,255,.14);
  --accent: #0f1722;
  --shadow: 0 10px 30px rgba(10, 24, 38, 0.06);
  --shadow-soft: 0 4px 16px rgba(10, 24, 38, 0.04);
  --radius: 6px;
  --radius-sm: 4px;
  --container: 1200px;
  --content: 860px;
  --header-offset: 126px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html.blind-mode {
  --bg: #fff;
  --surface: #fff;
  --surface-2: #f4f4f4;
  --text: #000;
  --muted: #111;
  --line: #000;
  --line-strong: #000;
  --primary: #0000cc;
  --primary-strong: #000099;
  --nav-bg: #000;
  --nav-text: #fff;
  --nav-hover: #ff0;
  --accent: #000;
  --shadow: none;
  --shadow-soft: none;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Onest', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.7;
}
a {
  color: var(--primary);
  text-decoration: none;
  transition: color .2s ease, background-color .2s ease, border-color .2s ease, opacity .2s ease, transform .2s ease;
}
a:hover,
a:focus { color: var(--primary-strong); }
img { max-width: 100%; height: auto; display: block; }
button, input, textarea, select { font: inherit; }

.site-shell { min-height: 100vh; display: flex; flex-direction: column; }
.grid { width: min(100% - 40px, var(--container)); margin: 0 auto; }

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(24, 32, 43, 0.08);
  transition: transform .26s ease, box-shadow .26s ease;
}
.site-header--hidden {
  transform: translateY(calc(-100% - 4px));
}
.site-header__top {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 130px;
}
.site-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
	height: 130px !important;
}
.site-brand__logo {
  width: 130px !important;
  height: 130px !important;
  object-fit: contain;
	aspect-ratio: 1 / 1 !important;
}
.site-brand__name {
  margin: 0;
  font-size: 28px;
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.site-brand__name a { color: inherit; }
.site-brand__sub {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.site-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.site-meta__item {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
.site-meta__label {
  color: var(--muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.site-meta__value {
  color: var(--accent);
  font-size: 15px;
  font-weight: 600;
}
.blind_mode,
.menu-toggle {
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--accent);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  line-height: 1;
  cursor: pointer;
  font-weight: 600;
}
.blind_mode:hover,
.menu-toggle:hover { border-color: var(--primary); color: var(--primary); }
html.blind-mode .blind_mode,
html.blind-mode .menu-toggle {
  background: #fff;
  border-color: #000;
  color: #000;
}
.main-navigation {
  border-top: 1px solid rgba(24, 32, 43, 0.06);
  background: var(--nav-bg);
}
.main-navigation__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 16px;
}
.menu-toggle { display: none; }
#access .menu,
#access .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
#access .menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
#access .menu > li {
  position: relative;
}
#access .menu > li > a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: var(--radius-sm);
  color: var(--nav-text);
  font-weight: 600;
}
#access .menu > li:hover > a,
#access .menu > li:focus-within > a,
#access .current-menu-item > a,
#access .current-menu-parent > a,
#access .current_page_item > a,
#access .current_page_parent > a {
  background: var(--nav-hover);
  color: #fff;
}
#access .menu > li.menu-item-has-children::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 14px;
}
#access .sub-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 260px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
  pointer-events: none;
  z-index: 20;
}
#access li:hover > .sub-menu,
#access li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
#access .sub-menu li { position: relative; }
#access .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: 15px;
}
#access .sub-menu a:hover,
#access .sub-menu li:focus-within > a {
  background: var(--surface-2);
  color: var(--primary-strong);
}
#access .sub-menu .sub-menu {
  top: -10px;
  left: calc(100% + 10px);
}

/* Main */
.site-main {
  flex: 1 0 auto;
  padding: calc(var(--header-offset) + 34px) 0 72px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
.layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}
.content-wrap { min-width: 0; }
.content-card,
.widget-area,
.comments-area,
.comment-respond,
.archive-card,
.not-found {
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.content-card { padding: 40px 44px; }
.content-card + .content-card,
.content-card + .comments-area,
.comments-area + .comment-respond { margin-top: 24px; }
.page-header {
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.entry-title,
.page-title {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--accent);
}
.entry-meta,
.archive-meta,
.page-subtitle {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}
.entry-content { width: min(100%, var(--content)); max-width: 100%; }
.entry-content p,
.entry-summary p { margin: 0 0 1.1em; }
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--accent);
  line-height: 1.2;
  margin: 1.6em 0 .6em;
  font-weight: 700;
}
.entry-content h2 { font-size: clamp(24px, 3vw, 34px); }
.entry-content h3 { font-size: clamp(20px, 2vw, 26px); }
.entry-content ul,
.entry-content ol { margin: 0 0 1.2em 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote {
  margin: 1.4em 0;
  padding: 0 0 0 20px;
  border-left: 3px solid var(--primary);
  color: #334155;
}
.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
}
.entry-content th,
.entry-content td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
}
.entry-content th { background: var(--surface-2); }
.entry-content img,
.wp-caption,
.gallery { margin: 1.2em 0; }
.entry-content img { border: 1px solid var(--line); }
.wp-caption {
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  max-width: 100%;
}
.wp-caption-text,
.gallery-caption {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
}
.entry-footer {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
.entry-footer a { font-weight: 600; }

/* Sidebar */
.widget-area {
  padding: 28px;
  position: sticky;
  top: calc(var(--header-offset) + 34px);
}
.widget + .widget {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.widget-title {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li + li { margin-top: 10px; }
.widget a { color: var(--text); }
.widget a:hover { color: var(--primary-strong); }

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="password"],
textarea,
select {
  width: 100%;
  appearance: none;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--text);
  padding: 13px 14px;
  outline: none;
}
textarea { min-height: 180px; resize: vertical; }
input:focus,
textarea:focus,
select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(30, 95, 184, 0.1);
}
button,
input[type="submit"],
input#submit,
.wpcf7-submit {
  appearance: none;
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #fff;
  padding: 12px 18px;
  cursor: pointer;
  font-weight: 600;
}
button:hover,
input[type="submit"]:hover,
input#submit:hover,
.wpcf7-submit:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}
.search-form,
.wpcf7-form,
.comment-form { display: grid; gap: 14px; }

/* Comments */
.comments-area,
.comment-respond { padding: 28px 32px; }
.comments-title,
.comment-reply-title {
  margin: 0 0 20px;
  font-size: 22px;
  color: var(--accent);
}
.comment-list,
.children { list-style: none; margin: 0; padding: 0; }
.comment-list > li + li,
.children > li + li { margin-top: 18px; }
.comment-body {
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.comment-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 10px;
}
.comment-author { color: var(--accent); font-weight: 600; }
.children { margin-top: 18px; margin-left: 18px; }

/* Footer */
.site-footer {
  border-top: 1px solid rgba(24, 32, 43, 0.08);
  background: #fff;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  padding: 28px 0;
}
.site-footer__title {
  margin: 0 0 10px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-weight: 700;
}
.site-footer__text,
.site-footer__text a { color: var(--surface-2); }
.site-footer__text a:hover { color: var(--primary-strong); }
.site-footer__bottom {
  border-top: 1px solid var(--line);
  padding: 16px 0 24px;
  color: var(--muted);
  font-size: 14px;
}

/* Utilities */
.screen-reader-text,
.assistive-text {
  position: absolute !important;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  overflow: hidden;
  white-space: nowrap;
}
.screen-reader-text:focus,
.assistive-text:focus {
  clip: auto !important;
  clip-path: none;
  height: auto;
  width: auto;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid var(--line-strong);
  z-index: 1000;
}
.alignleft { float: left; margin: .3em 1.2em .8em 0; }
.alignright { float: right; margin: .3em 0 .8em 1.2em; }
.aligncenter { display: block; margin: 0 auto 1em; }
.nav-links,
.navigation {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 24px;
}
.page-links,
.post-page-numbers {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.post-page-numbers,
.page-links a {
  border: 1px solid var(--line-strong);
  padding: 8px 12px;
  color: var(--accent);
}
.post-page-numbers.current { background: var(--surface-2); }

/* Responsive */
@media (max-width: 1100px) {
  .layout.has-sidebar { grid-template-columns: 1fr; }
  .widget-area { position: static; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  :root { --header-offset: 112px; }
  .grid { width: min(100% - 24px, var(--container)); }
  .site-header__top {
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 12px;
    min-height: 68px;
    padding: 10px 0;
  }
  .site-brand__logo { width: 42px; height: 42px; }
  .site-brand__name { font-size: 20px; }
  .site-brand__sub { font-size: 11px; }
  .site-meta {
    gap: 8px;
    align-items: center;
  }
  .site-meta__item {
    display: none;
  }
  .blind_mode {
    order: 2;
    padding: 9px 12px;
    font-size: 13px;
    white-space: nowrap;
  }
  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }
  .main-navigation__row {
    min-height: 48px;
    align-items: center;
    padding: 6px 0;
  }
  #access .menu {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding: 8px 0 12px;
  }
  #access.is-open .menu { display: flex; }
  #access .menu > li > a {
    min-height: 42px;
    width: 100%;
    border-radius: 0;
    padding: 0 0;
  }
  #access .menu > li > a {
    padding: 0 2px;
  }
  #access .sub-menu,
  #access .sub-menu .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
    box-shadow: none;
    border: none;
    background: rgba(255,255,255,.06);
    margin: 6px 0 0 0;
    min-width: 0;
    padding: 6px 0 6px 14px;
  }
  #access .sub-menu a {
    color: #fff;
    font-size: 14px;
    padding: 8px 10px;
  }
  #access .sub-menu a:hover {
    background: rgba(255,255,255,.08);
    color: #fff;
  }
  #access li:hover > .sub-menu,
  #access li:focus-within > .sub-menu,
  #access .menu > li.menu-item-has-children.is-open > .sub-menu {
    display: block;
  }
  .content-card { padding: 28px 22px; }
}
@media (max-width: 620px) {
  :root { --header-offset: 102px; }
  .site-main { padding: calc(var(--header-offset) + 18px) 0 48px; }
  .entry-title, .page-title { font-size: 30px; }
  .entry-content { width: 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 20px; }
  .blind_mode { position: absolute; right: 12px; top: 10px; }
}

html.blind-mode body {
  font-size: 20px;
}
html.blind-mode .entry-title,
html.blind-mode .page-title { font-size: clamp(36px, 4vw, 54px); }
html.blind-mode .site-header,
html.blind-mode .content-card,
html.blind-mode .widget-area,
html.blind-mode .comments-area,
html.blind-mode .comment-respond,
html.blind-mode .archive-card,
html.blind-mode .not-found,
html.blind-mode .site-footer,
html.blind-mode .wp-caption,
html.blind-mode .comment-body {
  border-width: 2px;
}
html.blind-mode #access .menu > li > a:hover,
html.blind-mode #access .menu > li:focus-within > a,
html.blind-mode #access .current-menu-item > a,
html.blind-mode #access .current-menu-parent > a,
html.blind-mode #access .current_page_item > a,
html.blind-mode #access .current_page_parent > a {
  background: #ff0;
  color: #000;
}


/* ===== Visual refresh v1.2 ===== */
:root {
  --bg-gradient: radial-gradient(1200px 500px at 10% -10%, rgba(18,79,150,.10), transparent 60%),
                 radial-gradient(1000px 520px at 95% 10%, rgba(31,111,173,.08), transparent 58%),
                 linear-gradient(180deg, #f7f9fc 0%, #eef3f8 100%);
  --primary-2: #2b7bc5;
  --hero-line: rgba(18,79,150,.14);
  --card-grad: linear-gradient(180deg, rgba(255,255,255,.98), rgba(250,252,255,.95));
  --radius: 10px;
  --radius-sm: 8px;
}
body {
  background: var(--bg-gradient);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0) 23px, rgba(18,79,150,.03) 24px), linear-gradient(90deg, rgba(255,255,255,0) 23px, rgba(18,79,150,.03) 24px);
  background-size: 24px 24px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.16), rgba(0,0,0,0));
}
.grid {
  width: min(100% - 48px, var(--container));
}
.site-main {
  padding-top: calc(var(--header-offset) + 28px);
}
.site-header {
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.88));
  box-shadow: 0 8px 30px rgba(17, 34, 68, 0.06);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(620px 180px at 15% 0%, rgba(18,79,150,.10), transparent 65%), radial-gradient(540px 160px at 85% 0%, rgba(43,123,197,.09), transparent 65%);
}
.site-header__top,
.main-navigation__row { position: relative; z-index: 1; }
.site-brand {
  position: relative;
}
.site-brand__logo {
  border-radius: 14px;
  background: transparent;
  padding: 8px;
}
.site-brand__name {
  background: linear-gradient(90deg, #0f2236, #124f96 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.site-meta__item {
  position: relative;
  padding-left: 14px;
}
.site-meta__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--hero-line), transparent);
}
.blind_mode,
.menu-toggle {
  background: linear-gradient(180deg, #fff, #f5f8fb);
  box-shadow: 0 8px 24px rgba(10, 24, 38, 0.05);
}
.main-navigation {
  background: linear-gradient(90deg, #12385f 0%, #144672 50%, #12385f 100%);
  position: relative;
}
.main-navigation::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.25), rgba(255,255,255,0));
}
#access .menu > li > a {
  position: relative;
}
#access .menu > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 7px;
  height: 2px;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.9), rgba(255,255,255,0));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .22s ease;
}
#access .menu > li:hover > a::after,
#access .menu > li:focus-within > a::after,
#access .current-menu-item > a::after,
#access .current_page_item > a::after {
  transform: scaleX(1);
}
#access .sub-menu {
  border: 1px solid rgba(18,79,150,.10);
  overflow: hidden;
}
#access .sub-menu li + li {
  border-top: 1px solid rgba(18,79,150,.08);
}
.layout {
  display: grid;
  grid-template-columns: minmax(0,1fr);
  gap: 28px;
}
.layout.has-sidebar {
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: start;
}
.content-card,
.archive-card,
.widget-area,
.comments-area,
.comment-respond,
.post-navigation,
.posts-navigation {
  background: var(--card-grad);
  border: 1px solid rgba(18,79,150,.08);
  box-shadow: 0 14px 34px rgba(10,24,38,.05);
  position: relative;
  overflow: hidden;
}
.content-card::before,
.widget-area::before,
.comments-area::before,
.comment-respond::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, rgba(18,79,150,.0), rgba(18,79,150,.65), rgba(43,123,197,.0));
}
.page-header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(18,79,150,.08);
}
.page-title,
.entry-title {
  text-wrap: balance;
}
.entry-content > * {
  animation: orbitaFadeUp .45s ease both;
}
.entry-content > *:nth-child(2) { animation-delay: .03s; }
.entry-content > *:nth-child(3) { animation-delay: .06s; }
.entry-content > *:nth-child(4) { animation-delay: .09s; }
.entry-content > *:nth-child(5) { animation-delay: .12s; }
.entry-content h2,
.entry-content h3 {
  scroll-margin-top: calc(var(--header-offset) + 24px);
}
.entry-content img,
.wp-caption,
.gallery,
.entry-content table {
  margin: 28px auto;
}
.entry-content img.alignleft,
.entry-content img.alignright,
.entry-content img.aligncenter {
  margin-top: 8px;
  margin-bottom: 24px;
}
.entry-content img,
.comment-content img,
.widget img {
  border-radius: 14px;
  object-fit: cover;
}
.entry-content img:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(17,34,68,.12);
}
.entry-content blockquote {
  margin: 28px 0;
  padding: 18px 20px 18px 22px;
  border-left: 3px solid rgba(18,79,150,.35);
  background: linear-gradient(180deg, rgba(18,79,150,.04), rgba(18,79,150,.02));
  border-radius: 0 12px 12px 0;
}
.widget-area,
.comments-area,
.comment-respond {
  padding: 22px 22px;
}
.widget { padding: 0; margin: 0 0 18px; }
.widget + .widget {
  padding-top: 18px;
  border-top: 1px solid rgba(18,79,150,.08);
}
.site-footer {
  position: relative;
  margin-top: 24px;
  background: linear-gradient(180deg, #10263f 0%, #0f2034 100%);
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(500px 200px at 10% 0%, rgba(43,123,197,.16), transparent 65%), radial-gradient(520px 200px at 90% 100%, rgba(43,123,197,.10), transparent 65%);
  pointer-events: none;
}
.site-footer__grid,
.site-footer__bottom { position: relative; z-index: 1; }
.site-footer__grid {
  padding-top: 34px;
  padding-bottom: 18px;
}
.site-footer__title {
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
  margin-bottom: 12px;
}
.site-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 2px;
  background: linear-gradient(90deg, #79b1ef, rgba(121,177,239,0));
}
@keyframes orbitaFadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 980px) {
  .layout.has-sidebar { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .grid { width: min(100% - 28px, var(--container)); }
  .site-main { padding-top: calc(var(--header-offset) + 16px); }
  .site-header__top {
    grid-template-columns: 1fr auto;
    gap: 12px;
    min-height: 68px;
  }
  .site-brand__logo { width: 42px; height: 42px; }
  .site-brand__name { font-size: 22px; }
  .site-brand__sub { font-size: 11px; }
  .site-meta {
    gap: 10px;
    align-items: center;
  }
  .site-meta__item {
    display: none;
  }
  .main-navigation__row {
    min-height: 50px;
    justify-content: flex-end;
  }
  .menu-toggle {
    display: inline-flex;
    order: 2;
  }
  #access .menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    background: rgba(17,47,80,.98);
    box-shadow: 0 16px 32px rgba(10,24,38,.16);
    border-radius: 0 0 14px 14px;
  }
  #access.toggled .menu { display: flex; }
  #access .menu > li > a { width: 100%; min-height: 44px; }
  #access .menu > li.menu-item-has-children::after { display: none; }
  #access .sub-menu {
    position: static;
    display: block;
    margin: 4px 0 8px 0;
    box-shadow: none;
    background: rgba(255,255,255,.04);
    border-color: rgba(255,255,255,.08);
  }
  .blind_mode {
    order: 1;
    padding: 9px 12px;
    font-size: 13px;
  }
  .content-card,
  .archive-card { padding: 18px; }
}
@media (max-width: 1000px) {
	.site-footer {
		margin-top: 100px;
	}
	.blind_mode {
		width: 150px;
	}
	.blind_mode_text {
		font-size: 10px;
		margin-left: -3px !important;
	}
}

/* ===== FOOTER + MOBILE MENU IN HEADER COLOR ===== */

:root {
  --header-solid: #0800A4;
  --header-solid-dark: #050070;
}

/* ===== FOOTER ===== */

.site-footer {
  background: linear-gradient(
    180deg,
	 var(--header-solid-dark) 30%,
     var(--header-solid) 100%
  ) !important;
}

.site-footer__bottom {
  background: transparent !important;
}

.site-footer,
.site-footer a,
.site-footer__text,
.site-footer__text a,
.site-footer__title {
  color: #ffffff !important;
}

/* ===== MOBILE MENU ===== */

@media (max-width: 760px) {
  #access .menu {
    background: linear-gradient(
      180deg,
	  var(--header-solid-dark) 30%,
      var(--header-solid) 100%
    ) !important;
  }

  #access .menu > li > a {
    color: #ffffff !important;
  }

  #access .menu > li > a:hover,
  #access .menu > li > a:focus {
    background: rgba(255,255,255,0.12) !important;
    color: #ffffff !important;
  }

  #access .sub-menu {
    background: rgba(255,255,255,0.06) !important;
    border-color: rgba(255,255,255,0.08) !important;
  }

  #access .sub-menu a {
    color: #ffffff !important;
  }

  #access .sub-menu a:hover {
    background: rgba(255,255,255,0.1) !important;
    color: #ffffff !important;
  }
}

/* ===== ПОЛОСКА С ДОМАМИ ===== */

.header-houses {
  position: relative;
  width: 100%;
  height: 140px;
  overflow: hidden;
  z-index: 0;
}

/* ОБЯЗАТЕЛЬНО: чтобы header не перекрывал */
.site-header__top,
.main-navigation {
  position: relative;
  z-index: 2;
}

/* картинки */
.header-houses::before,
.header-houses::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease;
}

/* картинка 1 */
.header-houses::before {
  background-image: url('/wp-content/uploads/2024/06/photo_2024-06-18_13-04-17-1.jpg');
  opacity: 1;
}

/* картинка 2 */
.header-houses::after {
  background-image: url('/wp-content/uploads/2024/06/photo_2024-06-19_13-25-35.jpg');
  opacity: 0;
}

/* переключение */
.header-houses.animate::before { opacity: 0; }
.header-houses.animate::after { opacity: 1; }
/* ===== ПОЛОСКА С ДОМАМИ ===== */

.header-houses {
  width: 100%;
  height: 140px;
  position: relative;
  overflow: hidden;
}

/* две картинки */
.header-houses::before,
.header-houses::after {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: opacity 1.2s ease;
}

/* первая */
.header-houses::before {
  background-image: url('/wp-content/uploads/2024/06/photo_2024-06-18_13-04-17-1.jpg');
  opacity: 1;
}

/* вторая */
.header-houses::after {
  background-image: url('/wp-content/uploads/2024/06/photo_2024-06-19_13-25-35.jpg');
  opacity: 0;
}

/* переключение */
.header-houses.animate::before { opacity: 0; }
.header-houses.animate::after { opacity: 1; }

/* ===== УБИВАЕМ ВСЁ И ПОКАЗЫВАЕМ КАРТИНКУ ===== */

.header-houses {
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 82px !important;
  height: 140px !important;
  width: 100% !important;
  display: block !important;
  z-index: 5 !important;
  overflow: hidden !important;
}

/* чтобы меню было поверх */
.main-navigation {
  position: relative !important;
  z-index: 10 !important;
}

/* картинки */
.header-houses::before,
.header-houses::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background-size: cover !important;
  background-position: center !important;
  transition: opacity 1.2s ease !important;
}

/* первая */
.header-houses::before {
  background-image: url('/wp-content/uploads/2024/06/photo_2024-06-18_13-04-17-1.jpg') !important;
  opacity: 1 !important;
}

/* вторая */
.header-houses::after {
  background-image: url('/wp-content/uploads/2024/06/photo_2024-06-19_13-25-35.jpg') !important;
  opacity: 0 !important;
}

/* переключение */
.header-houses.animate::before {
  opacity: 0 !important;
}

.header-houses.animate::after {
  opacity: 1 !important;
}
.header-houses { background: red !important; }
.gallery-item {
    display: flex;
    flex-direction: column;
	margin-top: -48px;
}

.gallery-caption {
    order: -1;
    margin-bottom: 8px;
}
.gallery {
	background: var(--bg);
	margin-top: 24px;
	border-radius: var(--radius-sm);
}
.gallery-caption {
	margin-left: 8px;
	font-size: 18px;
}
.attachment-thumbnail {
	height: 200px !important;
	width: 200px !important;
}
/* ===== GALLERY FINAL FIX ===== */

.gallery {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 26px 42px !important;
  margin-top: 24px !important;
  padding: 20px !important;
  background: var(--bg) !important;
  border-radius: var(--radius-sm) !important;
}

/* первый элемент "раскрываем", чтобы подпись стала отдельной строкой,
   а первая картинка пошла в общий ряд */
.gallery-item:first-child {
  display: contents !important;
}

/* обычные карточки с фото */
.gallery-item {
  display: block !important;
  flex: 0 0 200px !important;
  width: 200px !important;
  margin: 0 !important;
  max-width: none !important;
  min-width: 0 !important;
  text-align: center !important;
}

/* подпись отдельной строкой сверху */
.gallery-caption {
  display: block !important;
  flex: 0 0 100% !important;
  width: 100% !important;
  max-width: 560px !important;
  margin: 0 auto 8px auto !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
  text-align: center !important;
}

/* картинки одинакового размера */
.gallery .attachment-thumbnail,
.gallery-item .attachment-thumbnail,
.gallery-item img {
  display: block !important;
  width: 200px !important;
  height: 200px !important;
  max-width: none !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  margin: 0 auto !important;
}

/* планшеты */
@media (max-width: 700px) {
  .gallery {
    gap: 20px 24px !important;
    padding: 16px !important;
  }

  .gallery-item {
    flex: 0 0 180px !important;
    width: 180px !important;
  }

  .gallery .attachment-thumbnail,
  .gallery-item .attachment-thumbnail,
  .gallery-item img {
    width: 180px !important;
    height: 180px !important;
  }

  .gallery-caption {
    max-width: 460px !important;
    font-size: 17px !important;
  }
}

/* телефоны */
@media (max-width: 480px) {
  .gallery {
    gap: 16px !important;
    padding: 14px !important;
  }

  .gallery-item {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 280px !important;
  }

  .gallery .attachment-thumbnail,
  .gallery-item .attachment-thumbnail,
  .gallery-item img {
    width: min(280px, 100%) !important;
    height: min(280px, 100%) !important;
    aspect-ratio: 1 / 1 !important;
  }

  .gallery-caption {
    max-width: 320px !important;
    font-size: 16px !important;
  }
}
.content-wrap {
	margin-top: 48px !important;
}
.site-brand__logo {
	aspect-ratio: 1 / 1 !important;
	height: 160px !important;
	width: 160px !important;
	padding: 0 !important;
	padding: 0px !important;
	background-color: transparent;
	
}
.brandlogoholder {
	aspect-ratio: 1 / 1 !important;
	height: auto !important;
	width: 160px !important;
	margin-top: 82px !important;
	padding: 0 !important;
	
}
.site-brand {
	height: 130px !important;
	padding: 0 !important;
	padding: 0px !important;
}