:root {
  --ds-accent: #1487ff;
  --ds-dark: #0e1726;
  --ds-light: #f6f9fc;
  --ds-border: rgba(14, 23, 38, .08);
  --ds-text: #122033;
  --ds-muted: #5c6b80;
  --ds-radius: 18px;
  --ds-shadow: 0 10px 40px rgba(8, 28, 55, .08);
}

.ds-container {
  width: min(1280px, calc(100% - 32px));
  margin-inline: auto;
}

.ds-site-header,
.ds-site-footer,
.ds-site-header *,
.ds-site-footer * {
  box-sizing: border-box;
}

.ds-site-header {
  position: relative;
  z-index: 999;
  color: var(--ds-text);
}

.ds-site-header.is-sticky {
  position: sticky;
  top: 0;
}
.admin-bar .ds-site-header.is-sticky{top:32px}
@media(max-width:782px){.admin-bar .ds-site-header.is-sticky{top:46px}}

.ds-topbar {
  background: var(--ds-dark);
  color: #fff;
  font-size: 13px;
}

.ds-topbar-inner,
.ds-footer-bottom-inner,
.ds-topbar-left,
.ds-topbar-right {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ds-topbar-inner {
  justify-content: space-between;
  min-height: 42px;
}

.ds-topbar-pill {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  padding: 7px 12px;
  border-radius: 999px;
}

.ds-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.92);
  text-decoration: none;
}

.ds-contact-link svg,
.ds-search-toggle svg,
.ds-mobile-toggle svg,
.ds-logo-mark svg {
  width: 20px;
  height: 20px;
}

.ds-header-main {
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ds-border);
  box-shadow: 0 4px 20px rgba(12, 25, 45, .04);
}

.ds-header-grid {
  min-height: 82px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.ds-header-brand { min-width: 0; }

.ds-logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ds-text);
}

.ds-logo-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(20,135,255,.12), rgba(20,102,255,.18));
  box-shadow: inset 0 0 0 1px rgba(20,135,255,.14);
}

.ds-logo-image {
  max-height: 56px;
  width: auto;
  display: block;
}

.ds-logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  line-height: 1.1;
}

.ds-logo-text strong {
  font-size: 22px;
  letter-spacing: .2px;
  font-weight: 800;
}

.ds-logo-text small {
  font-size: 13px;
  color: var(--ds-muted);
}

.ds-main-nav { min-width: 0; }

.ds-nav-menu,
.ds-footer-links,
.ds-mobile-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ds-nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ds-nav-menu li,
.ds-footer-links li,
.ds-mobile-menu li { margin: 0; }

.ds-nav-menu a,
.ds-mobile-menu a,
.ds-footer-links a {
  text-decoration: none;
  color: var(--ds-text);
}

.ds-nav-menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 15px;
  transition: .2s ease;
}

.ds-nav-menu a:hover,
.ds-nav-menu .current-menu-item > a,
.ds-nav-menu .current_page_item > a {
  background: rgba(20,135,255,.08);
  color: var(--ds-accent);
}

.ds-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ds-search-toggle,
.ds-mobile-toggle,
.ds-mobile-close {
  border: 0;
  background: #fff;
  color: var(--ds-text);
  cursor: pointer;
  width: 46px;
  height: 46px;
  display: inline-grid;
  place-items: center;
  border-radius: 16px;
  box-shadow: inset 0 0 0 1px var(--ds-border);
  transition: .2s ease;
}

.ds-search-toggle:hover,
.ds-mobile-toggle:hover,
.ds-mobile-close:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(20, 135, 255, .12), inset 0 0 0 1px rgba(20,135,255,.16);
  color: var(--ds-accent);
}

.ds-mobile-toggle { display: none; }

.ds-search-panel {
  border-top: 1px solid var(--ds-border);
  background: #fff;
  padding: 16px 0 18px;
}

.ds-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.ds-search-form input {
  width: 100%;
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid var(--ds-border);
  background: var(--ds-light);
  color: var(--ds-text);
  padding: 0 18px;
  font-size: 15px;
  outline: none;
}

.ds-search-form input:focus {
  border-color: rgba(20,135,255,.32);
  box-shadow: 0 0 0 4px rgba(20,135,255,.08);
}

.ds-search-form button {
  min-height: 50px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--ds-accent), #1466ff);
  color: #fff;
  font-weight: 800;
  padding: 0 22px;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(20,102,255,.18);
}

.ds-mobile-panel {
  position: fixed;
  inset: 0;
  background: rgba(8, 16, 28, .56);
  z-index: 1001;
}

.ds-mobile-panel-inner {
  width: min(92vw, 380px);
  height: 100%;
  background: #fff;
  margin-right: auto;
  padding: 20px;
  overflow: auto;
  box-shadow: -10px 0 40px rgba(0,0,0,.12);
}

.ds-mobile-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.ds-mobile-menu {
  display: grid;
  gap: 8px;
}

.ds-mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  background: var(--ds-light);
  font-weight: 700;
}

.ds-mobile-menu a::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--ds-accent), #1466ff);
  box-shadow: 0 0 0 4px rgba(20,135,255,.1);
}

.ds-search-form.mobile { margin-top: 18px; }

.ds-site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #122033 0%, #0c1523 100%);
  color: #fff;
}

.ds-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding: 48px 0 30px;
}

.ds-footer-col h3 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 800;
}

.ds-footer-about p,
.ds-footer-col p {
  color: rgba(255,255,255,.78);
  font-size: 15px;
  line-height: 1.9;
  margin-top: 16px;
}

.ds-site-footer .ds-logo {
  color: #fff;
}

.ds-site-footer .ds-logo-text small {
  color: rgba(255,255,255,.72);
}

.ds-site-footer .ds-logo-mark {
  background: linear-gradient(145deg, rgba(255,255,255,.12), rgba(48,176,255,.18));
}

.ds-footer-links {
  display: grid;
  gap: 12px;
}

.ds-footer-links a {
  color: rgba(255,255,255,.84);
  font-size: 15px;
  transition: .2s ease;
}

.ds-footer-links a:hover { color: #fff; }

.ds-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
}

.ds-footer-bottom-inner {
  justify-content: space-between;
  min-height: 58px;
  gap: 16px;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 1100px) {
  .ds-header-grid {
    grid-template-columns: auto 1fr auto auto;
  }
  .ds-main-nav { display: none; }
  .ds-mobile-toggle { display: inline-grid; }
  .ds-logo-text strong { font-size: 20px; }
  .ds-footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 782px) {
  .ds-container { width: min(100% - 24px, 100%); }
  .ds-topbar-inner,
  .ds-footer-bottom-inner { flex-direction: column; justify-content: center; padding: 10px 0; }
  .ds-topbar-left { flex-wrap: wrap; justify-content: center; }
  .ds-header-grid {
    min-height: 74px;
    grid-template-columns: 1fr auto auto;
    gap: 14px;
  }
  .ds-logo-mark { width: 48px; height: 48px; border-radius: 15px; }
  .ds-logo-text strong { font-size: 18px; }
  .ds-logo-text small { font-size: 12px; }
  .ds-search-form { grid-template-columns: 1fr; }
  .ds-footer-grid { grid-template-columns: 1fr; padding: 36px 0 24px; }
}
