.ed-nav-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid #eee1db;
  background: rgba(255, 248, 242, 0.96);
  backdrop-filter: blur(14px);
}

.ed-nav-wrap {
  width: min(1160px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.ed-nav-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.ed-nav-brand img {
  width: 96px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.ed-nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  color: #4f5c61;
  font-size: 0.93rem;
  font-weight: 650;
}

.ed-nav-links a {
  color: inherit;
  text-decoration: none;
}

.ed-nav-links a[aria-current="page"] {
  color: #d56f93;
  font-weight: 760;
}

@media (max-width: 820px) {
  .ed-nav-wrap {
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .ed-nav-links {
    justify-content: flex-start;
    gap: 12px 14px;
  }
}

@media (max-width: 640px) {
  html,
  body {
    overflow-x: hidden;
  }

  .ed-nav-wrap {
    width: min(100% - 24px, 1160px);
  }

  .ed-nav-brand img {
    width: 82px;
    height: 54px;
  }

  .ed-nav-links {
    width: 100%;
    gap: 9px 13px;
    font-size: 0.88rem;
  }

  .wrap,
  .article-wrap {
    width: min(100% - 24px, 1160px) !important;
  }

  main {
    padding-top: 34px !important;
    padding-bottom: 48px !important;
  }

  .section-head,
  .article-section-head {
    display: block !important;
  }

  .section-head p {
    margin-top: 14px;
  }

  .grid,
  .grid.blog,
  .grid.shop,
  .grid.services,
  .home-entry-grid,
  .form-grid,
  .contact-layout,
  .contact,
  .about,
  .eduki-panel {
    grid-template-columns: 1fr !important;
  }

  .hero-actions,
  .category-nav,
  .home-soft-notes {
    gap: 10px !important;
  }

  .hero-actions .button,
  .section-cta .button,
  form .button,
  form button,
  .client-form .button {
    width: 100%;
  }

  form,
  .panel,
  .contact-panel,
  .client-space {
    padding: 20px !important;
  }

  .client-form {
    grid-template-columns: 1fr !important;
  }

  .card,
  .grid.blog .card {
    padding: 10px !important;
  }

  .card img,
  .card.large img,
  .grid.blog .card img {
    height: 210px !important;
  }

  .card-body {
    padding: 16px 10px 12px !important;
  }

  .article-meta,
  .tag {
    max-width: 100%;
    text-align: center;
  }

  .download-card {
    align-items: stretch !important;
  }
}

@media (max-width: 380px) {
  .ed-nav-links {
    font-size: 0.82rem;
    gap: 8px 10px;
  }

  h1 {
    font-size: clamp(2rem, 12vw, 2.8rem) !important;
  }
}
