:root {
  --kk-green: #287a4b;
  --kk-green-dark: #1f603b;
  --kk-green-soft: #edf7f1;
  --kk-bg: #f7f9f8;
  --kk-text: #202722;
  --kk-muted: #667069;
  --kk-border: #e2e8e4;
  --kk-white: #ffffff;
  --kk-accent: #f3a712;
  --kk-radius: 18px;
  --kk-shadow: 0 18px 50px rgba(31, 72, 48, .08);
}

/* GeneratePress full-width reset only on the shortcode homepage. */
.kaloriakalauz-homepage-active .entry-header { display: none !important; }
.kaloriakalauz-homepage-active #page,
.kaloriakalauz-homepage-active .site.grid-container,
.kaloriakalauz-homepage-active .site-content,
.kaloriakalauz-homepage-active .content-area,
.kaloriakalauz-homepage-active .site-main,
.kaloriakalauz-homepage-active article,
.kaloriakalauz-homepage-active .inside-article,
.kaloriakalauz-homepage-active .entry-content {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
.kaloriakalauz-homepage-active .site-content { display: block !important; }
.kaloriakalauz-homepage-active .content-area { float: none !important; }
.kaloriakalauz-homepage-active #left-sidebar,
.kaloriakalauz-homepage-active #right-sidebar,
.kaloriakalauz-homepage-active .widget-area.sidebar { display: none !important; }
.kaloriakalauz-homepage-active .entry-content > * { margin-top: 0 !important; margin-bottom: 0 !important; }

.kk-home {
  width: 100%;
  margin-left: 0;
  color: var(--kk-text);
  background: var(--kk-white);
  font-size: 17px;
  line-height: 1.65;
  overflow: hidden;
}

.kk-home *, .kk-home *::before, .kk-home *::after { box-sizing: border-box; }
.kk-home a { color: inherit; text-decoration: none; }
.kk-home h1, .kk-home h2, .kk-home h3, .kk-home p { margin-top: 0; }
.kk-wrap { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.kk-section { padding: 82px 0; }

.kk-hero {
  position: relative;
  background:
    radial-gradient(circle at 12% 20%, rgba(40,122,75,.11), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(243,167,18,.12), transparent 24%),
    linear-gradient(180deg, #f7fcf9 0%, #edf7f1 100%);
  border-bottom: 1px solid #e5eee8;
}
.kk-hero::after {
  content: "";
  position: absolute;
  inset: auto -100px -140px auto;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 48px solid rgba(40,122,75,.035);
}
.kk-hero-inner { position: relative; z-index: 1; text-align: center; padding: 100px 0 88px; }
.kk-eyebrow, .kk-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--kk-green);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.kk-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--kk-accent); box-shadow: 0 0 0 5px rgba(243,167,18,.13); }
.kk-hero h1 {
  max-width: 850px;
  margin: 20px auto 18px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -.04em;
  font-weight: 800;
}
.kk-hero h1 span { color: var(--kk-green); }
.kk-hero-lead { max-width: 720px; margin: 0 auto 34px; color: var(--kk-muted); font-size: 19px; }

.kk-search { max-width: 780px; margin: 0 auto; }
.kk-search-box { position: relative; display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; background: #fff; border: 1px solid #d9e5dd; border-radius: 16px; box-shadow: 0 16px 45px rgba(31,72,48,.11); }
.kk-search-icon { width: 18px; height: 18px; border: 2px solid #718078; border-radius: 50%; position: relative; display: block; }
.kk-search-icon::after { content: ""; position: absolute; width: 8px; height: 2px; background: #718078; right: -6px; bottom: -3px; transform: rotate(45deg); border-radius: 2px; }
.kk-search input { width: 100%; height: 54px; border: 0 !important; outline: 0 !important; box-shadow: none !important; font: inherit; font-size: 17px; background: transparent !important; color: var(--kk-text); padding: 0 10px; }
.kk-search button { border: 0; border-radius: 11px; background: var(--kk-green); color: #fff; min-height: 52px; padding: 0 25px; font: inherit; font-weight: 750; cursor: pointer; transition: .2s ease; }
.kk-search button:hover { background: var(--kk-green-dark); transform: translateY(-1px); }
.kk-search-results { position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 30; text-align: left; padding: 8px; background: #fff; border: 1px solid var(--kk-border); border-radius: 14px; box-shadow: var(--kk-shadow); }
.kk-search-result { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 12px 13px; border-radius: 10px; }
.kk-search-result:hover, .kk-search-result:focus { background: var(--kk-green-soft); }
.kk-search-result strong { font-size: 15px; }
.kk-search-result span { color: var(--kk-green); font-weight: 800; font-size: 14px; }
.kk-popular-searches { display: flex; justify-content: center; gap: 10px 14px; flex-wrap: wrap; margin-top: 19px; color: #718078; font-size: 14px; }
.kk-popular-searches a { color: #3f5f4b; font-weight: 650; }
.kk-popular-searches a:hover { color: var(--kk-green); text-decoration: underline; }

.kk-section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 34px; }
.kk-section-head h2, .kk-calc-copy h2, .kk-info-grid h2 { margin: 8px 0 0; font-size: clamp(30px, 3.5vw, 42px); line-height: 1.12; letter-spacing: -.025em; }
.kk-section-head p { margin: 9px 0 0; color: var(--kk-muted); }
.kk-section-head-center { justify-content: center; text-align: center; }
.kk-text-link { color: var(--kk-green) !important; font-weight: 750; white-space: nowrap; }
.kk-text-link:hover span { display: inline-block; transform: translateX(3px); }

.kk-food-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.kk-food-card { display: grid; grid-template-columns: 46px 1fr; grid-template-areas: "icon main" "kcal kcal"; gap: 14px; padding: 21px; border: 1px solid var(--kk-border); border-radius: var(--kk-radius); background: #fff; transition: .2s ease; }
.kk-food-card:hover { transform: translateY(-3px); border-color: #c7ddce; box-shadow: var(--kk-shadow); }
.kk-food-icon { grid-area: icon; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; background: var(--kk-green-soft); color: var(--kk-green); font-weight: 850; }
.kk-food-card-main { grid-area: main; min-width: 0; }
.kk-food-card h3 { margin: 1px 0 2px; font-size: 18px; line-height: 1.25; }
.kk-food-card-main span { color: var(--kk-muted); font-size: 13px; }
.kk-food-kcal { grid-area: kcal; display: flex; align-items: baseline; justify-content: space-between; gap: 10px; border-top: 1px solid #edf1ee; padding-top: 14px; }
.kk-food-kcal strong { font-size: 28px; line-height: 1; color: var(--kk-green); }
.kk-food-kcal span { color: var(--kk-muted); font-size: 12px; font-weight: 650; }

.kk-categories-section { background: var(--kk-bg); }
.kk-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.kk-category-card { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 14px; min-height: 92px; padding: 17px 18px; background: #fff; border: 1px solid var(--kk-border); border-radius: 16px; transition: .2s ease; }
.kk-category-card:hover { border-color: #c3d9ca; transform: translateY(-2px); box-shadow: 0 12px 30px rgba(31,72,48,.06); }
.kk-category-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--kk-green-soft); color: var(--kk-green); font-size: 13px; font-weight: 850; }
.kk-category-copy { min-width: 0; }
.kk-category-copy strong { display: block; font-size: 16px; line-height: 1.3; }
.kk-category-copy small { display: block; margin-top: 4px; color: var(--kk-muted); font-size: 12px; line-height: 1.35; }
.kk-category-arrow { color: #8aa393; font-weight: 800; transition: .2s ease; }
.kk-category-card:hover .kk-category-arrow { color: var(--kk-green); transform: translateX(3px); }

.kk-calculator-section { background: #1f603b; color: #fff; position: relative; }
.kk-calculator-section::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 7% 20%, rgba(255,255,255,.07), transparent 30%), radial-gradient(circle at 90% 90%, rgba(243,167,18,.12), transparent 30%); pointer-events: none; }
.kk-calc-shell { position: relative; display: grid; grid-template-columns: 1fr 500px; gap: 72px; align-items: center; }
.kk-kicker-light { color: #bce0c8; }
.kk-calc-copy h2 { color: #fff; margin-top: 12px; }
.kk-calc-copy > p { color: #d6e6dc; max-width: 590px; }
.kk-calc-copy ul { list-style: none; padding: 0; margin: 25px 0 0; display: grid; gap: 10px; }
.kk-calc-copy li { position: relative; padding-left: 29px; color: #e6f0ea; }
.kk-calc-copy li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.11); color: #fff; font-size: 12px; font-weight: 900; }
.kk-calc-card { background: #fff; color: var(--kk-text); padding: 28px; border-radius: 22px; box-shadow: 0 28px 70px rgba(7,37,20,.23); }
.kk-calc-card label { display: block; margin: 0 0 7px; font-size: 13px; font-weight: 800; color: #4f5f55; }
.kk-calc-card select, .kk-calc-card input { width: 100%; height: 50px; border: 1px solid #dbe4de !important; border-radius: 11px; background: #fff; padding: 0 13px; font: inherit; color: var(--kk-text); box-shadow: none !important; }
.kk-calc-card select { margin-bottom: 17px; }
.kk-amount-input { position: relative; }
.kk-amount-input input { padding-right: 42px; }
.kk-amount-input > span { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--kk-muted); font-weight: 700; }
.kk-quick-amounts { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin: 10px 0 20px; }
.kk-quick-amounts button { border: 1px solid #dce5df; background: #f9fbfa; color: #55645b; border-radius: 9px; padding: 8px 3px; font: inherit; font-size: 12px; font-weight: 750; cursor: pointer; }
.kk-quick-amounts button:hover, .kk-quick-amounts button.is-active { background: var(--kk-green-soft); border-color: #bed8c7; color: var(--kk-green); }
.kk-calc-result { padding: 19px; border-radius: 15px; background: var(--kk-green-soft); text-align: center; }
.kk-calc-result > span { display: block; color: #54705e; font-size: 13px; font-weight: 700; }
.kk-calc-result > div { display: flex; align-items: baseline; justify-content: center; gap: 7px; margin-top: 3px; }
.kk-calc-result strong { font-size: 48px; line-height: 1; color: var(--kk-green); letter-spacing: -.04em; }
.kk-calc-result em { font-style: normal; font-weight: 800; color: #4d7059; }
.kk-macro-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 10px; }
.kk-macro-grid div { padding: 12px 7px; border: 1px solid #e3e9e5; border-radius: 10px; text-align: center; }
.kk-macro-grid span { display: block; color: var(--kk-muted); font-size: 11px; }
.kk-macro-grid strong { display: block; margin-top: 3px; font-size: 14px; }

.kk-tool-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; }
.kk-tool-card { padding: 24px; border: 1px solid var(--kk-border); border-radius: var(--kk-radius); background: #fff; transition: .2s ease; }
.kk-tool-card:hover { transform: translateY(-3px); box-shadow: var(--kk-shadow); border-color: #c8ddcf; }
.kk-tool-mark { display: inline-flex; min-width: 48px; height: 32px; align-items: center; justify-content: center; padding: 0 9px; border-radius: 8px; background: var(--kk-green-soft); color: var(--kk-green); font-size: 11px; font-weight: 850; letter-spacing: .04em; }
.kk-tool-card h3 { margin: 18px 0 8px; font-size: 20px; }
.kk-tool-card p { color: var(--kk-muted); font-size: 14px; min-height: 48px; }
.kk-tool-link { color: var(--kk-green); font-size: 14px; font-weight: 800; }

.kk-info-section { background: var(--kk-bg); }
.kk-info-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 75px; align-items: start; }
.kk-info-grid p { color: var(--kk-muted); }
.kk-outline-button { display: inline-flex; margin-top: 8px; padding: 12px 17px; border: 1px solid #b9d1c1; border-radius: 10px; color: var(--kk-green) !important; font-weight: 800; font-size: 14px; background: #fff; }
.kk-outline-button:hover { border-color: var(--kk-green); }
.kk-info-points { display: grid; gap: 13px; }
.kk-info-points > div { display: grid; grid-template-columns: 46px 1fr; gap: 3px 14px; padding: 20px; background: #fff; border: 1px solid var(--kk-border); border-radius: 15px; }
.kk-info-points span { grid-row: 1 / 3; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 13px; color: var(--kk-green); background: var(--kk-green-soft); font-size: 12px; font-weight: 900; }
.kk-info-points strong { align-self: end; }
.kk-info-points p { margin: 1px 0 0; font-size: 13px; line-height: 1.45; }

.kk-faq-wrap { max-width: 900px; }
.kk-faq-list { display: grid; gap: 10px; }
.kk-faq-list details { border: 1px solid var(--kk-border); border-radius: 14px; background: #fff; overflow: hidden; }
.kk-faq-list summary { list-style: none; cursor: pointer; position: relative; padding: 19px 55px 19px 20px; font-weight: 800; }
.kk-faq-list summary::-webkit-details-marker { display: none; }
.kk-faq-list summary::after { content: "+"; position: absolute; right: 19px; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--kk-green-soft); color: var(--kk-green); font-size: 20px; font-weight: 500; }
.kk-faq-list details[open] summary::after { content: "–"; }
.kk-faq-list details p { margin: -4px 20px 19px; color: var(--kk-muted); font-size: 15px; }

@media (max-width: 980px) {
  .kk-section { padding: 64px 0; }
  .kk-food-grid, .kk-tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kk-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kk-calc-shell { grid-template-columns: 1fr 430px; gap: 40px; }
  .kk-info-grid { gap: 42px; }
}

@media (max-width: 760px) {
  .kk-wrap { width: min(100% - 32px, 1180px); }
  .kk-section { padding: 48px 0; }
  .kk-hero-inner { padding: 70px 0 60px; }
  .kk-hero h1 { font-size: clamp(36px, 10vw, 48px); }
  .kk-hero-lead { font-size: 17px; }
  .kk-search-box { grid-template-columns: 25px 1fr; padding: 7px 10px 7px 15px; }
  .kk-search button { grid-column: 1 / -1; width: 100%; }
  .kk-section-head { align-items: start; flex-direction: column; margin-bottom: 26px; }
  .kk-section-head-center { align-items: center; text-align: center; }
  .kk-food-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .kk-food-card { display: block; padding: 16px; }
  .kk-food-icon { width: 40px; height: 40px; margin-bottom: 11px; }
  .kk-food-card h3 { font-size: 16px; }
  .kk-food-kcal { margin-top: 12px; display: block; }
  .kk-food-kcal strong { display: block; font-size: 25px; margin-bottom: 4px; }
  .kk-category-grid { grid-template-columns: 1fr; }
  .kk-category-card { min-height: 82px; }
  .kk-calc-shell, .kk-info-grid { grid-template-columns: 1fr; gap: 34px; }
  .kk-calc-card { padding: 20px; border-radius: 18px; }
  .kk-tool-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .kk-tool-card { padding: 18px; }
  .kk-tool-card h3 { font-size: 17px; }
  .kk-tool-card p { min-height: 0; }
}

@media (max-width: 480px) {
  .kk-wrap { width: min(100% - 28px, 1180px); }
  .kk-hero-inner { padding: 58px 0 48px; }
  .kk-hero h1 { font-size: 36px; }
  .kk-eyebrow, .kk-kicker { font-size: 11px; }
  .kk-food-grid { grid-template-columns: 1fr 1fr; }
  .kk-food-card { padding: 14px; border-radius: 14px; }
  .kk-food-card-main span { font-size: 11px; }
  .kk-food-kcal span { font-size: 10px; }
  .kk-quick-amounts { grid-template-columns: repeat(5, 1fr); gap: 4px; }
  .kk-quick-amounts button { font-size: 10px; padding: 7px 1px; }
  .kk-calc-result strong { font-size: 42px; }
  .kk-macro-grid { gap: 5px; }
  .kk-macro-grid div { padding: 9px 4px; }
  .kk-macro-grid strong { font-size: 12px; }
  .kk-tool-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   v1.2 – saját fejléc/lábléc, finomított ritmus és tipográfia
   ============================================================ */
.kaloriakalauz-homepage-active .site-header,
.kaloriakalauz-homepage-active .main-navigation,
.kaloriakalauz-homepage-active .site-footer,
.kaloriakalauz-homepage-active .site-info { display: none !important; }

.kk-home {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.kk-home main { display: block; }
.kk-home section[id] { scroll-margin-top: 92px; }

.kk-site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid #e7ede9;
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
}
.admin-bar .kk-site-header { top: 32px; }

.kk-site-header-inner {
  min-height: 74px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
}

.kk-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--kk-text) !important;
  font-size: 23px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.kk-brand > span:last-child > span { color: var(--kk-green); }
.kk-brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 10px 10px 10px 3px;
  background: linear-gradient(145deg, #2e8d57, #1f603b);
  position: relative;
  transform: rotate(-7deg);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
}
.kk-brand-mark::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 15px;
  border-left: 2px solid rgba(255,255,255,.8);
  border-bottom: 2px solid rgba(255,255,255,.8);
  left: 10px;
  top: 6px;
  transform: rotate(-28deg);
  border-radius: 0 0 0 8px;
}

.kk-primary-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.kk-primary-nav a {
  padding: 10px 11px;
  border-radius: 9px;
  color: #435048 !important;
  font-size: 14px;
  line-height: 1;
  font-weight: 650;
  transition: .18s ease;
}
.kk-primary-nav a:hover,
.kk-primary-nav a:focus-visible {
  background: var(--kk-green-soft);
  color: var(--kk-green) !important;
}

.kk-header-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--kk-green);
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  transition: .18s ease;
}
.kk-header-search:hover { background: var(--kk-green-dark); transform: translateY(-1px); }

.kk-menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  border: 1px solid var(--kk-border);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}
.kk-menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  border-radius: 3px;
  background: var(--kk-text);
  transition: .2s ease;
}

/* Tömörebb, kifinomultabb vertikális ritmus. */
.kk-section { padding: 72px 0; }
.kk-hero-inner { padding: 82px 0 72px; }
.kk-hero h1 {
  max-width: 820px;
  margin: 18px auto 16px;
  font-size: clamp(40px, 4.6vw, 58px);
  line-height: 1.025;
  letter-spacing: -.045em;
}
.kk-hero-lead { margin-bottom: 30px; font-size: 18px; }
.kk-section-head { margin-bottom: 30px; }
.kk-section-head h2,
.kk-calc-copy h2,
.kk-info-grid h2 { font-size: clamp(29px, 3.1vw, 39px); }
.kk-info-grid { gap: 58px; }
.kk-info-grid p { margin-bottom: 16px; }
.kk-info-section { padding-top: 66px; padding-bottom: 66px; }
.kk-faq-section { padding-top: 68px; padding-bottom: 70px; }

.kk-search-loading {
  padding: 14px 13px;
  color: var(--kk-muted);
  font-size: 14px;
}
.kk-search-result-empty { cursor: default; }

/* Saját lábléc. */
.kk-site-footer {
  background: #173f2a;
  color: #eaf2ed;
  border-top: 1px solid rgba(255,255,255,.06);
}
.kk-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, .8fr);
  gap: 48px;
  padding-top: 58px;
  padding-bottom: 46px;
}
.kk-brand-footer { color: #fff !important; }
.kk-brand-footer > span:last-child > span { color: #8bd0a4; }
.kk-footer-brand p {
  max-width: 420px;
  margin: 18px 0 0;
  color: #bfd1c5;
  font-size: 14px;
  line-height: 1.65;
}
.kk-footer-grid > div:not(.kk-footer-brand) {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.kk-footer-grid strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 14px;
}
.kk-footer-grid a:not(.kk-brand) {
  color: #bfd1c5 !important;
  font-size: 13px;
  transition: .18s ease;
}
.kk-footer-grid a:not(.kk-brand):hover { color: #fff !important; transform: translateX(2px); }
.kk-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  padding-bottom: 24px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: #98b09f;
  font-size: 12px;
}
.kk-footer-bottom span:last-child { text-align: right; max-width: 660px; }

@media (max-width: 1040px) {
  .kk-site-header-inner { grid-template-columns: auto auto 1fr; gap: 16px; }
  .kk-primary-nav { gap: 0; }
  .kk-primary-nav a { padding: 9px 7px; font-size: 13px; }
  .kk-header-search { justify-self: end; }
  .kk-footer-grid { grid-template-columns: 1.4fr repeat(3, .75fr); gap: 30px; }
}

@media (max-width: 820px) {
  .kk-site-header-inner {
    grid-template-columns: auto 1fr auto;
    min-height: 66px;
    position: relative;
  }
  .kk-brand { font-size: 21px; }
  .kk-brand-mark { width: 28px; height: 28px; }
  .kk-menu-toggle { display: block; justify-self: end; grid-column: 2; grid-row: 1; }
  .kk-header-search { grid-column: 3; grid-row: 1; min-height: 38px; padding: 0 12px; }
  .kk-primary-nav {
    display: none;
    position: absolute;
    top: calc(100% - 1px);
    left: 16px;
    right: 16px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--kk-border);
    border-radius: 14px;
    box-shadow: var(--kk-shadow);
    flex-direction: column;
    align-items: stretch;
    z-index: 120;
  }
  .kk-site-header.is-menu-open .kk-primary-nav { display: flex; }
  .kk-primary-nav a { padding: 12px 13px; font-size: 14px; }
  .kk-site-header.is-menu-open .kk-menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .kk-site-header.is-menu-open .kk-menu-toggle span:nth-child(2) { opacity: 0; }
  .kk-site-header.is-menu-open .kk-menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .kk-footer-grid { grid-template-columns: 1fr 1fr; }
  .kk-footer-brand { grid-column: 1 / -1; }
  .kk-footer-bottom { align-items: flex-start; flex-direction: column; }
  .kk-footer-bottom span:last-child { text-align: left; }
}

@media (max-width: 782px) {
  .admin-bar .kk-site-header { top: 46px; }
}

@media (max-width: 760px) {
  .kk-section { padding: 46px 0; }
  .kk-hero-inner { padding: 60px 0 52px; }
  .kk-hero h1 { font-size: clamp(35px, 9.5vw, 46px); }
  .kk-hero-lead { font-size: 16.5px; }
  .kk-info-section,
  .kk-faq-section { padding-top: 48px; padding-bottom: 48px; }
}

@media (max-width: 560px) {
  .kk-header-search { display: none; }
  .kk-site-header-inner { grid-template-columns: 1fr auto; }
  .kk-menu-toggle { grid-column: 2; }
  .kk-footer-grid { grid-template-columns: 1fr; gap: 30px; padding-top: 44px; padding-bottom: 36px; }
  .kk-footer-brand { grid-column: auto; }
}
