:root {
  --hezu-primary: #1d4ed8;
  --hezu-ink: #0f172a;
  --hezu-muted: #475569;
  --hezu-line: #e2e8f0;
  --hezu-bg: #f8fafc;
  --hezu-ok: #166534;
  --hezu-no: #b91c1c;
}

body {
  color: var(--hezu-ink);
}

#inner-wrap {
  max-width: 100%;
  min-width: 0;
  overflow-x: clip;
}

.hezu-single,
.hezu-archive,
.hezu-article {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.hezu-article {
  padding-bottom: 2.5rem;
}

.hezu-hero-img {
  max-width: 100%;
  overflow: hidden;
  border-radius: 16px;
  margin: 1rem 0 1.5rem;
}

.hezu-card__media img,
.hezu-hero-img img,
.hezu-content img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

.hezu-kicker {
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--hezu-primary);
  font-weight: 600;
  margin-bottom: .4rem;
}

.home .entry-hero,
.home .entry-header,
.home .page-hero-section,
.home .entry-title-wrap {
  display: none !important;
}

.hezu-hero h1,
.hezu-single h1,
.hezu-archive h1 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.2;
  margin: 0 0 1rem;
}

.hezu-lead {
  color: var(--hezu-muted);
  font-size: 1.05rem;
  max-width: 42rem;
}

.hezu-hero__actions,
.hezu-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  align-items: center;
}

.hezu-section {
  padding: 2rem 0;
}

.hezu-cards {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .hezu-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.hezu-card {
  background: #fff;
  border: 1px solid var(--hezu-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
}

.hezu-card__ph {
  height: 160px;
  background: linear-gradient(135deg, #dbeafe, #e2e8f0);
}

.hezu-card__body {
  padding: 1.1rem 1.2rem 1.3rem;
}

.hezu-card__sub {
  color: var(--hezu-primary);
  margin: 0 0 .4rem;
}

.hezu-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--hezu-primary);
  color: #fff !important;
  border-radius: 999px;
  padding: .7rem 1.2rem;
  text-decoration: none !important;
  border: 0;
  cursor: pointer;
  font-weight: 600;
}

.hezu-button--ghost {
  background: transparent;
  color: var(--hezu-primary) !important;
  border: 1px solid var(--hezu-primary);
}

.hezu-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 1.5rem;
  max-width: 100%;
}

.hezu-list {
  margin: 0;
  padding-left: 1.1rem;
}

.hezu-list--ok li::marker {
  color: var(--hezu-ok);
}

.hezu-list--no li::marker {
  color: var(--hezu-no);
}

.hezu-form {
  max-width: 640px;
  background: #fff;
  border: 1px solid var(--hezu-line);
  border-radius: 16px;
  padding: 1.4rem;
}

.hezu-form input,
.hezu-form select,
.hezu-form textarea {
  width: 100%;
  margin-top: .35rem;
  padding: .7rem .8rem;
  border: 1px solid var(--hezu-line);
  border-radius: 10px;
}

.hezu-form__note {
  color: var(--hezu-muted);
  font-size: .92rem;
}

.hezu-payment-note,
.hezu-payment-note p {
  color: #dc2626;
  font-size: .92rem;
}

.hezu-alert {
  padding: .9rem 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.hezu-alert--ok {
  background: #dcfce7;
}

.hezu-alert--err {
  background: #fee2e2;
}

.hezu-tabbar,
.hezu-back {
  display: none;
}

.hezu-float {
  position: fixed;
  right: 16px;
  bottom: 88px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.hezu-float__btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .18);
  text-decoration: none !important;
}

.hezu-float__btn span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.hezu-float__btn--telegram {
  background: #229ed9;
}

.hezu-float__btn--whatsapp {
  background: #25d366;
}

.hezu-footer-bar {
  background: #0f172a;
  color: #e2e8f0;
  padding: 1.4rem 0;
}

.hezu-footer-bar__inner {
  width: 100%;
  max-width: var(--global-content-width, 1290px);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--global-content-edge-padding, 1.5rem);
  padding-right: var(--global-content-edge-padding, 1.5rem);
  box-sizing: border-box;
}

.hezu-footer-bar a {
  color: #bfdbfe;
}

.hezu-contact-list {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: .6rem 0 0;
}

.hezu-contact-list a {
  color: var(--hezu-primary);
  text-decoration: none;
}

.hezu-module {
  border-top: 1px solid var(--hezu-line);
  padding-top: 1rem;
}

/* PC: click to expand vertical submenus */
@media (min-width: 1025px) {

  .header-navigation .menu-item-has-children>.sub-menu,
  #site-navigation .menu-item-has-children>.sub-menu {
    display: none !important;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 240px;
    background: var(--hezu-drop-bg, #fff) !important;
    border: 1px solid var(--hezu-drop-line, var(--hezu-line));
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .12);
    padding: .4rem 0;
    flex-direction: column;
    z-index: 1000;
  }

  .header-navigation .menu-item-has-children.is-clicked-open>.sub-menu,
  #site-navigation .menu-item-has-children.is-clicked-open>.sub-menu {
    display: flex !important;
  }

  .header-navigation .sub-menu .menu-item-has-children>.sub-menu,
  #site-navigation .sub-menu .menu-item-has-children>.sub-menu {
    left: 100%;
    top: 0;
  }

  .header-navigation .sub-menu .menu-item-has-children.is-clicked-open>.sub-menu,
  #site-navigation .sub-menu .menu-item-has-children.is-clicked-open>.sub-menu {
    position: relative !important;
    left: 0;
    top: 0;
    box-shadow: none;
    border: 0;
    padding-left: .8rem;
  }

  .header-navigation .sub-menu a,
  #site-navigation .sub-menu a {
    display: block;
    padding: .65rem 1rem;
    white-space: nowrap;
    color: var(--hezu-drop-fg, #334155) !important;
  }
}

@media (max-width: 767px) {

  .hezu-cards,
  .hezu-split {
    grid-template-columns: minmax(0, 1fr);
  }

  .hezu-hero {
    padding: 1.4rem 0 1rem;
  }
}

@media (max-width: 1024px) {

  .hezu-float,
  .hezu-float__btn--telegram {
    display: none !important;
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }

  body:not(.home) .hezu-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin-left: -6px;
    margin-right: 2px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    flex-shrink: 0;
    border-radius: 999px;
  }

  body:not(.home) .hezu-back svg {
    display: block;
    width: 22px;
    height: 22px;
  }

  #mobile-header .site-header-main-section-left {
    display: flex;
    align-items: center;
    min-width: 0;
  }

  .hezu-tabbar {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9997;
    height: calc(56px + env(safe-area-inset-bottom, 0px));
    padding: 4px 6px env(safe-area-inset-bottom, 0px);
    box-sizing: border-box;
    align-items: stretch;
    justify-content: space-around;
    background: rgba(10, 10, 10, .88);
    border-top: 1px solid rgba(255, 255, 255, .08);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
  }

  .hezu-tabbar__item {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    color: #a3a3a3 !important;
    text-decoration: none !important;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
  }

  .hezu-tabbar__icon {
    display: flex;
    width: 22px;
    height: 22px;
  }

  .hezu-tabbar__item.is-active,
  .hezu-tabbar__item:active {
    color: var(--hezu-accent, #eab308) !important;
  }

  .header-navigation .menu-item-has-children>.sub-menu {
    display: none;
  }

  .header-navigation .menu-item-has-children.is-clicked-open>.sub-menu {
    display: block;
    padding-left: .8rem;
  }

  .mobile-toggle-open .menu-item a,
  .header-menu-container .menu-item a {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  #mobile-drawer .drawer-inner {
    width: 100% !important;
    max-width: none !important;
    height: 100%;
    margin-left: 0;
    overflow-y: auto;
    box-sizing: border-box;
    box-shadow: none;
  }

  #mobile-drawer.popup-drawer-layout-fullwidth .drawer-inner {
    width: 100% !important;
    max-width: none !important;
  }

  #mobile-drawer .drawer-overlay {
    background: rgba(0, 0, 0, .28);
  }

  #mobile-drawer.hezu-drawer-to-page .drawer-inner {
    transform: translateX(28%) !important;
    opacity: 0 !important;
  }

  body.hezu-leaving-to-page::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 100002;
    background: var(--hezu-page, #fff);
    transform: translateX(-100%);
    animation: hezu-page-sheet .32s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    pointer-events: none;
  }

  .mobile-navigation ul li>a,
  .mobile-navigation .drawer-nav-drop-wrap,
  #mobile-drawer .menu-item a {
    min-height: 44px;
    display: flex;
    align-items: center;
    white-space: normal;
    line-height: 1.35;
    word-break: break-word;
  }

  #mobile-drawer .sub-menu,
  #mobile-drawer ul ul {
    position: static !important;
    width: auto !important;
    min-width: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
    padding-left: .75rem;
  }
}

html.hezu-enter-from-menu #inner-wrap {
  animation: hezu-page-in-left .36s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes hezu-page-sheet {
  to {
    transform: translateX(0);
  }
}

@keyframes hezu-page-in-left {
  from {
    opacity: .4;
    transform: translateX(-36px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {

  html.hezu-enter-from-menu #inner-wrap,
  body.hezu-leaving-to-page::after {
    animation: none !important;
  }

  #mobile-drawer.hezu-drawer-to-page .drawer-inner {
    transition: none !important;
  }
}