/*
Theme Name: Northvale Signal
Author: Callen Rowe
Description: A vibrant classic WordPress theme with a bold browser-frame hero, dynamic article cards, editable homepage copy, and responsive navigation.
Version: 1.0.1
Requires at least: 6.0
Text Domain: esd-theme
*/

:root {
  --esd-ink: #080a10;
  --esd-white: #fffaf0;
  --esd-paper: #fff8e8;
  --esd-blue: #1268f3;
  --esd-blue-deep: #0750df;
  --esd-lime: #ddff45;
  --esd-green: #38c96b;
  --esd-orange: #ff7d4d;
  --esd-pink: #f9a5ca;
  --esd-yellow: #ffe96a;
  --esd-muted: rgba(8, 10, 16, 0.62);
  --esd-line: rgba(8, 10, 16, 0.14);
  --esd-radius: 20px;
  --esd-radius-small: 12px;
  --esd-shell: min(1180px, calc(100vw - 28px));
  --esd-shadow: 0 26px 90px rgba(8, 10, 16, 0.18);
  --esd-font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--esd-ink);
  background:
    radial-gradient(circle at 0 0, var(--esd-orange) 0 19vw, transparent 19.3vw),
    radial-gradient(circle at 100% 6%, var(--esd-yellow) 0 23vw, transparent 23.3vw),
    radial-gradient(circle at 0 100%, var(--esd-green) 0 24vw, transparent 24.3vw),
    linear-gradient(135deg, #245be8 0%, #66d98f 58%, #ffe96a 100%);
  font-family: var(--esd-font-main);
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

img,
svg,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: var(--esd-blue);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.esd-screen-reader,
.esd-skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.esd-skip-link:focus {
  z-index: 1000;
  top: 14px;
  left: 14px;
  width: auto;
  height: auto;
  padding: 10px 14px;
  overflow: visible;
  clip: auto;
  color: var(--esd-ink);
  background: var(--esd-lime);
  border-radius: 999px;
  box-shadow: var(--esd-shadow);
}

.esd-shell {
  width: var(--esd-shell);
  margin-right: auto;
  margin-left: auto;
}

.esd-site-wrap {
  padding: 28px 0 56px;
}

.esd-browser {
  width: var(--esd-shell);
  margin: 0 auto;
  overflow: hidden;
  background: var(--esd-paper);
  border: 6px solid var(--esd-paper);
  border-radius: 26px;
  box-shadow: var(--esd-shadow);
}

.esd-header {
  position: relative;
  z-index: 40;
  background: var(--esd-paper);
  border-bottom: 1px solid var(--esd-line);
}

.esd-header-inner {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 clamp(14px, 3.2vw, 34px);
}

.esd-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 10px;
  color: var(--esd-ink);
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 0;
}

.esd-brand-mark {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--esd-paper);
  background: var(--esd-blue);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 950;
  line-height: 1;
  transform: rotate(-8deg);
}

.esd-brand-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.esd-logo img {
  width: auto;
  max-height: 42px;
}

.esd-navigation {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: flex-end;
}

.esd-menu-toggle {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--esd-ink);
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: 999px;
}

.esd-menu-icon,
.esd-menu-icon::before,
.esd-menu-icon::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  content: "";
  transition: transform 180ms ease, opacity 180ms ease;
}

.esd-menu-icon {
  position: relative;
}

.esd-menu-icon::before,
.esd-menu-icon::after {
  position: absolute;
  left: 0;
}

.esd-menu-icon::before {
  top: -6px;
}

.esd-menu-icon::after {
  top: 6px;
}

.esd-menu-open .esd-menu-icon {
  background: transparent;
}

.esd-menu-open .esd-menu-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.esd-menu-open .esd-menu-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.esd-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 14px;
  left: 14px;
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  margin: 0;
  list-style: none;
  background: var(--esd-paper);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius-small);
  box-shadow: var(--esd-shadow);
}

.esd-menu-open .esd-menu {
  display: flex;
}

.esd-menu a {
  display: flex;
  min-height: 42px;
  align-items: center;
  padding: 8px 12px;
  color: var(--esd-ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0;
}

.esd-menu a:hover,
.esd-menu a:focus-visible,
.esd-menu a[aria-current="page"] {
  color: var(--esd-ink);
  background: var(--esd-lime);
}

.esd-main {
  min-height: 58vh;
}

.esd-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(26px, 4.2vw, 54px) clamp(16px, 4vw, 38px) 0;
  color: var(--esd-paper);
  background:
    radial-gradient(circle at 70% 32%, rgba(255, 250, 240, 0.16) 0 2px, transparent 2.6px) 0 0 / 22px 22px,
    linear-gradient(135deg, var(--esd-blue) 0%, var(--esd-blue-deep) 100%);
}

.esd-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(24px, 5vw, 52px);
  align-items: end;
}

.esd-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: currentColor;
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.esd-kicker::before {
  width: 6px;
  height: 6px;
  background: var(--esd-lime);
  border-radius: 50%;
  content: "";
}

.esd-hero-title {
  max-width: 650px;
  margin: 0;
  color: var(--esd-paper);
  font-size: clamp(42px, 8vw, 86px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.esd-hero-text {
  max-width: 360px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, 0.82);
  font-size: 15px;
  font-weight: 650;
}

.esd-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.esd-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  color: var(--esd-ink);
  background: var(--esd-paper);
  border: 1px solid rgba(255, 250, 240, 0.58);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.esd-button::after {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  margin-left: 10px;
  color: var(--esd-ink);
  background: var(--esd-lime);
  border-radius: 50%;
  content: "\2192";
  line-height: 1;
}

.esd-button:hover,
.esd-button:focus-visible {
  color: var(--esd-ink);
  transform: translateY(-1px);
}

.esd-hero-copy {
  padding-bottom: 18px;
}

.esd-hero-art {
  position: relative;
  min-height: 360px;
}

.esd-runner-card {
  position: relative;
  min-height: 300px;
}

.esd-runner {
  position: absolute;
  right: 8%;
  bottom: 28px;
  width: min(245px, 58vw);
  height: 245px;
  transform: rotate(-8deg);
}

.esd-runner-head,
.esd-runner-body,
.esd-runner-arm-one,
.esd-runner-arm-two,
.esd-runner-leg-one,
.esd-runner-leg-two,
.esd-runner-bag {
  position: absolute;
  display: block;
}

.esd-runner-head {
  top: 24px;
  left: 101px;
  width: 44px;
  height: 44px;
  background: var(--esd-paper);
  border: 5px solid var(--esd-ink);
  border-radius: 50%;
}

.esd-runner-head::before,
.esd-runner-head::after {
  position: absolute;
  top: 17px;
  width: 6px;
  height: 6px;
  background: var(--esd-ink);
  border-radius: 50%;
  content: "";
}

.esd-runner-head::before {
  left: 9px;
}

.esd-runner-head::after {
  right: 9px;
}

.esd-runner-body {
  top: 75px;
  left: 96px;
  width: 54px;
  height: 78px;
  background: var(--esd-orange);
  border: 5px solid var(--esd-ink);
  border-radius: 24px 24px 18px 18px;
}

.esd-runner-arm-one,
.esd-runner-arm-two,
.esd-runner-leg-one,
.esd-runner-leg-two {
  width: 20px;
  background: var(--esd-orange);
  border: 5px solid var(--esd-ink);
  border-radius: 999px;
}

.esd-runner-arm-one {
  top: 86px;
  left: 55px;
  height: 90px;
  transform: rotate(44deg);
}

.esd-runner-arm-two {
  top: 82px;
  left: 151px;
  height: 82px;
  transform: rotate(-52deg);
}

.esd-runner-leg-one {
  top: 145px;
  left: 77px;
  height: 110px;
  transform: rotate(52deg);
}

.esd-runner-leg-two {
  top: 146px;
  left: 144px;
  height: 118px;
  transform: rotate(-44deg);
}

.esd-runner-bag {
  top: 96px;
  left: 168px;
  width: 64px;
  height: 52px;
  background: var(--esd-pink);
  border: 5px solid var(--esd-ink);
  border-radius: 12px;
  transform: rotate(10deg);
}

.esd-tag-cloud {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.esd-tag-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 14px;
  color: var(--esd-paper);
  border: 3px solid var(--esd-blue);
  border-radius: 16px;
  font-size: 11px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.esd-tag-chip:nth-child(1) {
  top: 8px;
  right: 12%;
  background: var(--esd-orange);
  transform: rotate(3deg);
}

.esd-tag-chip:nth-child(2) {
  top: 86px;
  left: 8%;
  background: var(--esd-green);
  transform: rotate(-6deg);
}

.esd-tag-chip:nth-child(3) {
  right: 0;
  bottom: 106px;
  color: var(--esd-ink);
  background: var(--esd-lime);
  transform: rotate(8deg);
}

.esd-badge-card {
  position: absolute;
  right: 12%;
  bottom: 16px;
  display: grid;
  width: clamp(116px, 24vw, 162px);
  height: clamp(116px, 24vw, 162px);
  place-items: center;
  color: var(--esd-paper);
  background: var(--esd-pink);
  border: 5px solid var(--esd-blue);
  border-radius: 50%;
  box-shadow: 0 20px 40px rgba(8, 10, 16, 0.2);
}

.esd-badge-card::before {
  display: block;
  width: 52%;
  height: 52%;
  border: 10px solid rgba(255, 250, 240, 0.9);
  border-radius: 50%;
  content: "";
}

.esd-badge-card span {
  position: absolute;
  inset: 24px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.15;
  text-transform: uppercase;
}

.esd-wave {
  display: flex;
  height: 34px;
  margin: clamp(22px, 4vw, 42px) -38px 0;
  overflow: hidden;
}

.esd-wave span {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  background: var(--esd-paper);
  border-radius: 50% 50% 0 0;
}

.esd-highlight {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: clamp(18px, 4vw, 38px);
  background: var(--esd-paper);
}

.esd-mini-card,
.esd-lime-card,
.esd-chip-card {
  min-width: 0;
  border-radius: var(--esd-radius);
}

.esd-mini-card {
  display: grid;
  gap: 10px;
  padding: 20px;
  color: var(--esd-ink);
  background: var(--esd-pink);
}

.esd-mini-card small,
.esd-lime-card small {
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.esd-mini-card strong {
  font-size: clamp(28px, 7vw, 50px);
  font-weight: 950;
  line-height: 0.95;
}

.esd-mini-card span,
.esd-lime-card span {
  color: rgba(8, 10, 16, 0.72);
  font-size: 13px;
  font-weight: 750;
}

.esd-lime-card {
  display: grid;
  min-height: 180px;
  gap: 12px;
  align-content: space-between;
  padding: 20px;
  color: var(--esd-ink);
  background: var(--esd-lime);
}

.esd-lime-card strong {
  font-size: clamp(54px, 13vw, 94px);
  font-weight: 950;
  line-height: 0.82;
}

.esd-chip-card {
  display: flex;
  min-height: 166px;
  flex-wrap: wrap;
  align-content: center;
  gap: 8px;
  padding: 20px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 125, 77, 0.5) 0 76px, transparent 78px),
    var(--esd-blue);
}

.esd-chip-card a,
.esd-chip-card span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 7px 12px;
  color: var(--esd-ink);
  background: var(--esd-paper);
  border: 2px solid rgba(8, 10, 16, 0.1);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
}

.esd-chip-card a:nth-child(2n),
.esd-chip-card span:nth-child(2n) {
  background: var(--esd-lime);
}

.esd-chip-card a:nth-child(3n),
.esd-chip-card span:nth-child(3n) {
  background: var(--esd-pink);
}

.esd-section {
  padding: clamp(34px, 6vw, 70px) clamp(18px, 4vw, 38px);
  background: var(--esd-paper);
}

.esd-section-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: end;
  margin-bottom: 22px;
}

.esd-section-title {
  max-width: 820px;
  margin: 0;
  color: var(--esd-ink);
  font-size: clamp(38px, 8vw, 82px);
  font-weight: 950;
  line-height: 0.9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.esd-section-text {
  max-width: 460px;
  margin: 0;
  color: var(--esd-muted);
  font-size: 14px;
  font-weight: 650;
}

.esd-widget-area {
  display: grid;
  gap: 16px;
}

.esd-widget-area > * {
  margin-top: 0;
  margin-bottom: 0;
}

.esd-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.esd-post-card {
  display: grid;
  min-width: 0;
  overflow: hidden;
  color: var(--esd-ink);
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius);
}

.esd-card-media {
  display: block;
  overflow: hidden;
  aspect-ratio: 1.28 / 1;
  background: var(--esd-lime);
}

.esd-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 260ms ease;
}

.esd-post-card:hover .esd-card-image,
.esd-post-card:focus-within .esd-card-image {
  transform: scale(1.04);
}

.esd-card-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  color: var(--esd-blue);
  background:
    radial-gradient(circle at 72% 22%, var(--esd-pink) 0 54px, transparent 56px),
    linear-gradient(135deg, var(--esd-lime), #b4f7ff);
  font-size: clamp(48px, 14vw, 96px);
  font-weight: 950;
  text-transform: uppercase;
}

.esd-card-body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 20px;
}

.esd-card-meta,
.esd-single-meta {
  color: var(--esd-muted);
  font-size: 12px;
  font-weight: 850;
}

.esd-card-title {
  margin: 10px 0;
  color: var(--esd-ink);
  font-size: clamp(24px, 5vw, 36px);
  font-weight: 950;
  line-height: 0.98;
  letter-spacing: 0;
}

.esd-card-title a {
  color: var(--esd-ink);
}

.esd-card-title a:hover,
.esd-card-title a:focus-visible {
  color: var(--esd-blue);
}

.esd-card-excerpt {
  color: var(--esd-muted);
  font-size: 14px;
  font-weight: 600;
}

.esd-card-excerpt p {
  margin: 0;
}

.esd-text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 18px;
  color: var(--esd-ink);
  border-bottom: 3px solid var(--esd-lime);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.esd-pagination {
  margin-top: 28px;
}

.esd-pagination > * {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.esd-pagination a,
.esd-pagination span {
  display: inline-flex;
  min-width: 40px;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  color: var(--esd-ink);
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: 999px;
  font-weight: 900;
}

.esd-pagination span[aria-current],
.esd-pagination a:hover,
.esd-pagination a:focus-visible {
  background: var(--esd-lime);
}

.esd-empty {
  padding: 28px;
  background: var(--esd-lime);
  border-radius: var(--esd-radius);
}

.esd-empty-title {
  margin: 0 0 8px;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.esd-empty-text {
  margin: 0;
  color: rgba(8, 10, 16, 0.72);
  font-weight: 700;
}

.esd-single-wrap {
  width: min(80vw, 980px);
  margin: 42px auto;
  overflow: hidden;
  background: var(--esd-paper);
  border: 6px solid var(--esd-paper);
  border-radius: 26px;
  box-shadow: var(--esd-shadow);
}

.esd-single-header {
  padding: clamp(24px, 5vw, 54px);
  color: var(--esd-paper);
  background: var(--esd-blue);
}

.esd-back-link {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--esd-paper);
  border-bottom: 3px solid var(--esd-lime);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.esd-single-title {
  max-width: 780px;
  margin: 14px 0 0;
  font-size: clamp(44px, 8vw, 96px);
  font-weight: 950;
  line-height: 0.88;
  text-transform: uppercase;
}

.esd-single-content {
  padding: clamp(24px, 5vw, 56px);
  color: var(--esd-ink);
  background: var(--esd-paper);
  font-size: clamp(18px, 2.3vw, 21px);
  line-height: 1.78;
}

.esd-single-content > * {
  margin-top: 0;
  margin-bottom: 1.22em;
}

.esd-single-content h2,
.esd-single-content h3,
.esd-single-content h4 {
  margin-top: 1.65em;
  margin-bottom: 0.55em;
  line-height: 1.02;
}

.esd-single-content h2 {
  font-size: clamp(32px, 5vw, 52px);
}

.esd-single-content h3 {
  font-size: clamp(26px, 4vw, 38px);
}

.esd-single-content a {
  color: var(--esd-ink);
  border-bottom: 3px solid var(--esd-lime);
  font-weight: 800;
}

.esd-single-content blockquote {
  margin-right: 0;
  margin-left: 0;
  padding: 22px;
  color: var(--esd-ink);
  background: var(--esd-lime);
  border-radius: var(--esd-radius);
  font-weight: 800;
}

.esd-single-content table {
  display: block;
  width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
}

.esd-single-content th,
.esd-single-content td {
  padding: 12px;
  border: 1px solid var(--esd-line);
}

.esd-single-content img {
  border-radius: var(--esd-radius-small);
}

.esd-single-footer {
  display: grid;
  gap: 18px;
  padding: 0 clamp(24px, 5vw, 56px) clamp(24px, 5vw, 48px);
  background: var(--esd-paper);
}

.esd-term-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.esd-term-list a {
  display: inline-flex;
  padding: 8px 12px;
  color: var(--esd-ink);
  background: var(--esd-lime);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.esd-post-nav {
  display: grid;
  gap: 12px;
}

.esd-post-nav a {
  display: block;
  padding: 16px;
  color: var(--esd-ink);
  background: var(--esd-white);
  border: 1px solid var(--esd-line);
  border-radius: var(--esd-radius-small);
  font-weight: 850;
}

.esd-footer {
  width: var(--esd-shell);
  margin: 0 auto 38px;
  padding: 26px clamp(18px, 4vw, 38px);
  color: var(--esd-paper);
  background: var(--esd-ink);
  border-radius: 0 0 26px 26px;
}

.esd-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.esd-footer-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
}

.esd-footer-text {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 250, 240, 0.72);
  font-size: 14px;
}

.esd-footer-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  justify-content: flex-start;
  padding: 0;
  margin: 0;
  list-style: none;
}

.esd-footer-menu a {
  color: rgba(255, 250, 240, 0.78);
  font-size: 13px;
  font-weight: 850;
}

.esd-footer-bottom {
  margin-top: 22px;
  padding-top: 16px;
  color: rgba(255, 250, 240, 0.62);
  border-top: 1px solid rgba(255, 250, 240, 0.14);
  font-size: 12px;
  font-weight: 700;
}

@media (min-width: 720px) {
  .esd-highlight {
    grid-template-columns: 0.76fr 1fr;
  }

  .esd-lime-card {
    grid-row: span 2;
  }

  .esd-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esd-post-card:first-child {
    grid-column: 1 / -1;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  }

  .esd-post-card:first-child .esd-card-media {
    min-height: 100%;
    aspect-ratio: auto;
  }

  .esd-post-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .esd-footer-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.65fr);
  }

  .esd-footer-menu {
    justify-content: flex-end;
  }
}

@media (min-width: 920px) {
  .esd-menu-toggle {
    display: none;
  }

  .esd-menu {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .esd-menu a {
    min-height: 38px;
    padding: 8px 12px;
  }

  .esd-hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  }

  .esd-runner {
    right: 18%;
    bottom: 18px;
  }

  .esd-post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .esd-post-card:first-child {
    grid-column: 1 / 3;
  }

  .esd-section-head {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.55fr);
  }
}

@media (max-width: 560px) {
  :root {
    --esd-shell: min(100vw - 16px, 1180px);
  }

  .esd-site-wrap {
    padding-top: 8px;
  }

  .esd-browser {
    border-width: 4px;
    border-radius: 20px;
  }

  .esd-header-inner {
    min-height: 64px;
    padding: 0 12px;
  }

  .esd-brand {
    max-width: calc(100vw - 94px);
  }

  .esd-hero {
    padding-right: 14px;
    padding-left: 14px;
  }

  .esd-hero-title {
    max-width: 420px;
    font-size: clamp(38px, 12vw, 56px);
    line-height: 0.94;
  }

  .esd-runner {
    right: 50%;
    bottom: 24px;
    transform: translateX(50%) rotate(-8deg) scale(0.88);
  }

  .esd-tag-chip:nth-child(1) {
    right: 2%;
  }

  .esd-tag-chip:nth-child(2) {
    left: 1%;
  }

  .esd-badge-card {
    right: 2%;
  }

  .esd-single-wrap {
    width: min(92vw, 980px);
    margin-top: 14px;
  }

  .esd-footer {
    margin-bottom: 12px;
  }
}
