@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --background: #fbfdff;
  --foreground: #182235;
  --card: #ffffff;
  --muted: #f3f7fb;
  --muted-foreground: #64748b;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #dbeafe;
  --accent: #eff6ff;
  --border: #dbe5f0;
  --border-strong: #c7d7ea;
  --slate-950: #020617;
  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-700: #1d4ed8;
  --radius: 1.25rem;
  --shadow-soft: 0 18px 40px -28px rgba(15, 23, 42, 0.28);
  --shadow-blue: 0 24px 60px -34px rgba(37, 99, 235, 0.28);
  --container: 80rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  color: var(--foreground);
  font-family: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

a:hover {
  color: var(--primary);
}

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

::selection {
  background: rgba(37, 99, 235, 0.18);
  color: var(--slate-950);
}

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

.skip-link:focus {
  z-index: 100;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--slate-950);
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.site-container.narrow {
  width: min(100% - 2rem, 52rem);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid transparent;
  background: transparent;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgba(203, 213, 225, 0.78);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 30px -28px rgba(15, 23, 42, 0.28);
  backdrop-filter: blur(16px);
}

body.admin-bar .site-header {
  top: 32px;
}

.site-header .site-container {
  width: min(100% - 2rem, 92.5rem);
}

.site-header__inner {
  min-height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--slate-900);
  line-height: 1;
  white-space: nowrap;
}

.brand-logo img {
  width: 11.55rem;
  max-height: 2.75rem;
  object-fit: contain;
}

.brand-logo span {
  display: block;
  margin-top: 0;
  color: var(--slate-500);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.custom-logo-link {
  display: block;
}

.custom-logo-link + span {
  display: none;
}

.primary-nav {
  margin-left: auto;
  margin-right: 1.5rem;
}

.primary-nav ul,
.footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.primary-nav .menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.primary-nav li {
  position: relative;
}

.primary-nav a {
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 160ms ease;
}

.primary-nav .menu-item-has-children > a,
.primary-nav .page_item_has_children > a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.primary-nav .menu-item-has-children > a::after,
.primary-nav .page_item_has_children > a::after {
  content: "";
  width: 0.42rem;
  height: 0.42rem;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: translateY(-0.12rem) rotate(45deg);
  transition: transform 160ms ease;
}

.primary-nav .menu-item-has-children:hover > a::after,
.primary-nav .page_item_has_children:hover > a::after,
.primary-nav .menu-item-has-children:focus-within > a::after,
.primary-nav .page_item_has_children:focus-within > a::after {
  transform: translateY(0.05rem) rotate(225deg);
}

.primary-nav .sub-menu,
.primary-nav .children {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 60;
  min-width: 18rem;
  margin: 0;
  padding: 1rem 0 0;
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-0.25rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.primary-nav .menu-item-has-children:hover > .sub-menu,
.primary-nav .page_item_has_children:hover > .children,
.primary-nav .menu-item-has-children:focus-within > .sub-menu,
.primary-nav .page_item_has_children:focus-within > .children {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.primary-nav .sub-menu::before,
.primary-nav .children::before {
  content: "";
  position: absolute;
  inset: 1rem 0 0;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 18px 40px -24px rgba(15, 23, 42, 0.18);
}

.primary-nav .sub-menu li,
.primary-nav .children li {
  position: relative;
}

.primary-nav .sub-menu a,
.primary-nav .children a {
  display: block;
  border-bottom: 1px solid #f1f5f9;
  padding: 0.82rem 1rem;
  color: var(--slate-700);
  font-size: 0.875rem;
  font-weight: 500;
}

.primary-nav .sub-menu li:last-child > a,
.primary-nav .children li:last-child > a {
  border-bottom: 0;
}

.primary-nav .sub-menu a:hover,
.primary-nav .children a:hover {
  background: #f8fafc;
  color: var(--primary);
}

.primary-nav a:hover,
.primary-nav .current-menu-item > a,
.primary-nav .current_page_item > a {
  color: var(--primary);
}

.site-header__cta {
  min-height: 2.75rem;
  padding-inline: 1.15rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.site-header__cta svg {
  flex: 0 0 auto;
}

.button,
.wp-element-button,
.wp-block-button__link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 1px solid transparent;
  border-radius: 0;
  padding: 0.75rem 1.15rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.button:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  transform: translateY(-1px);
}

.button--primary,
.wp-element-button,
.wp-block-button__link {
  background: var(--primary);
  color: #ffffff;
}

.button--primary:hover,
.wp-element-button:hover,
.wp-block-button__link:hover {
  background: var(--primary-dark);
  color: #ffffff;
}

.button--outline {
  border-color: #bfdbfe;
  background: #ffffff;
  color: var(--blue-700);
}

.button--outline:hover {
  background: var(--blue-50);
}

.button--light {
  background: #ffffff;
  color: var(--blue-700);
}

.button--light:hover {
  background: var(--blue-50);
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 80;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--slate-900);
}

.nav-toggle span[aria-hidden="true"] {
  width: 1.1rem;
  height: 2px;
  background: currentColor;
}

.blog-hero,
.page-hero,
.single-hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.blog-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 5rem;
}

.blog-hero__copy {
  max-width: 40rem;
  margin-left: 4rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--primary);
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.32em;
  line-height: 1.4;
  text-transform: uppercase;
}

.blog-hero h1,
.page-hero h1,
.single-hero h1 {
  margin: 0;
  color: var(--slate-950);
  font-size: clamp(2.5rem, 5vw, 4.85rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.02;
}

.page-hero h1,
.single-hero h1 {
  max-width: 54rem;
}

.blog-hero p,
.page-hero p,
.single-hero p {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.8;
}

.blog-hero__copy > p:not(.eyebrow),
.page-hero__inner > p,
.single-hero__copy > p:not(.eyebrow) {
  margin: 1rem 0 0;
  max-width: 42rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.shape {
  position: absolute;
  pointer-events: none;
}

.shape--center {
  inset-block: 0;
  left: 50%;
  width: 36rem;
  transform: translateX(-50%);
  background: var(--blue-50);
  clip-path: polygon(32% 0, 100% 0, 67% 100%, 0 100%);
}

.shape--left {
  top: 2rem;
  left: 0;
  width: 5rem;
  height: 7rem;
  background: rgba(219, 234, 254, 0.82);
  clip-path: polygon(0 20%, 100% 0, 100% 78%, 25% 100%);
}

.shape--right {
  right: 0;
  bottom: 0;
  width: 14rem;
  height: 18rem;
  background: rgba(219, 234, 254, 0.72);
  clip-path: polygon(18% 0, 100% 0, 82% 100%, 0 100%);
}

.blog-hero__panel {
  position: relative;
}

.blog-hero__panel::before {
  content: "";
  position: absolute;
  inset: -1.5rem 3rem auto auto;
  width: 8rem;
  height: 8rem;
  background-image: radial-gradient(circle, rgba(59, 130, 246, 0.32) 1.3px, transparent 1.3px);
  background-size: 10px 10px;
}

.blog-hero__screen {
  position: relative;
  width: min(100%, 42rem);
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--blue-100);
  border-radius: 1.35rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: var(--shadow-blue);
}

.blog-hero__screen img {
  width: 100%;
  min-height: 17rem;
  object-fit: cover;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
}

.blog-hero__media {
  display: block;
  overflow: hidden;
  border-radius: 1rem;
  background: var(--blue-50);
}

.blog-hero__media img {
  width: 100%;
  aspect-ratio: 16 / 11;
  min-height: 17rem;
  object-fit: cover;
  transition: transform 220ms ease;
}

.blog-hero__media:hover img {
  transform: scale(1.025);
}

.blog-hero__meta {
  margin-top: 1rem;
}

.latest-card-summary {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.85rem;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 1rem;
  background: #ffffff;
  padding: 1rem;
  box-shadow: 0 16px 38px -32px rgba(15, 23, 42, 0.28);
}

.latest-card-summary span {
  color: var(--primary);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.latest-card-summary strong {
  color: var(--slate-950);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.2;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.7rem;
  border: 1px solid rgba(219, 234, 254, 0.95);
  border-radius: 1rem;
  background: #ffffff;
  padding: 0.8rem 1rem;
  color: var(--slate-600);
  font-size: 0.8rem;
  box-shadow: 0 16px 38px -32px rgba(15, 23, 42, 0.28);
}

.metric-row strong {
  color: var(--slate-950);
  font-size: 1.4rem;
}

.page-hero__inner {
  position: relative;
  padding-top: 8rem;
  padding-bottom: 4.5rem;
  text-align: center;
}

.page-hero--compact .page-hero__inner {
  max-width: 54rem;
}

.page-hero__copy p {
  margin: 0;
}

.blog-section {
  background: #ffffff;
  padding: 4.5rem 0 5rem;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 21rem;
  gap: 2rem;
  align-items: start;
}

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

.post-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px -34px rgba(37, 99, 235, 0.34);
}

.post-card__media {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--blue-50);
}

.post-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 220ms ease;
}

.post-card:hover .post-card__media img {
  transform: scale(1.035);
}

.post-card__body {
  padding: 1.5rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  align-items: center;
  color: var(--slate-500);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.post-meta a {
  color: var(--primary);
}

.post-card__title {
  margin: 0.7rem 0 0;
  color: var(--slate-950);
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.18;
}

.post-card__excerpt {
  margin-top: 0.9rem;
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.75;
}

.post-card__excerpt p {
  margin: 0;
}

.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.6fr) minmax(0, 0.4fr);
  align-items: stretch;
}

.post-card--featured .post-card__media {
  order: 2;
  aspect-ratio: auto;
  min-height: 21rem;
}

.post-card--featured .post-card__body {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.post-card--featured .post-card__title {
  max-width: 42rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.04;
}

.post-card--featured .post-card__excerpt {
  max-width: 38rem;
  font-size: 0.96rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 1rem;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 800;
}

.blog-sidebar {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1rem;
}

.blog-sidebar-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.blog-sidebar-card--blue {
  border-color: transparent;
  background: linear-gradient(135deg, var(--blue-700), var(--blue-500));
  color: #ffffff;
}

.blog-sidebar-title,
.blog-sidebar-card h2 {
  margin: 0 0 1rem;
  color: var(--slate-950);
  font-size: 1rem;
  font-weight: 800;
}

.blog-sidebar-card--blue .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.blog-sidebar-card--blue h2,
.blog-sidebar-card--blue p {
  color: #ffffff;
}

.blog-sidebar-card--blue p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.9);
}

.blog-sidebar-card--blue .button--light {
  background: #ffffff;
  color: var(--blue-700);
}

.blog-sidebar-card--blue .button--light:hover,
.blog-sidebar-card--blue .button--light:focus-visible {
  background: #eff6ff;
  color: #1e40af;
}

.sidebar-list,
.blog-sidebar-card ul {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--slate-600);
  font-size: 0.9rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
}

.search-form label {
  flex: 1;
}

.search-field {
  width: 100%;
  min-height: 2.8rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: #ffffff;
  padding: 0.75rem 1rem;
  color: var(--slate-900);
  outline: none;
}

.search-field:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.search-form button {
  min-height: 2.8rem;
  border: 0;
  border-radius: 999px;
  background: var(--primary);
  color: #ffffff;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.single-hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(18rem, 0.75fr);
  gap: 2.5rem;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4.5rem;
}

.single-hero__copy {
  max-width: 48rem;
  margin-left: 3rem;
}

.single-hero__media {
  overflow: hidden;
  border: 1px solid var(--blue-100);
  border-radius: 1.35rem;
  background: #ffffff;
  padding: 0.75rem;
  box-shadow: var(--shadow-blue);
}

.single-hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 1rem;
  background: var(--blue-50);
}

.single-content-wrap {
  width: min(100% - 2rem, 54rem);
  padding: 4rem 0 5rem;
}

.entry-content {
  color: var(--slate-700);
  font-size: 1.03rem;
  line-height: 1.85;
}

.entry-content > * {
  margin-top: 0;
  margin-bottom: 1.45rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2.2rem;
  color: var(--slate-950);
  line-height: 1.18;
}

.entry-content h2 {
  font-size: clamp(1.8rem, 3vw, 2.45rem);
}

.entry-content h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.entry-content a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.25rem;
}

.entry-content li + li {
  margin-top: 0.45rem;
}

.entry-content blockquote {
  margin-inline: 0;
  border-left: 3px solid var(--primary);
  background: #ffffff;
  padding: 1rem 1.25rem;
  color: var(--slate-700);
  box-shadow: var(--shadow-soft);
}

.entry-content pre,
.entry-content code {
  border-radius: 0.55rem;
  background: #eef4fb;
  color: var(--slate-950);
}

.entry-content code {
  padding: 0.12rem 0.35rem;
}

.entry-content pre {
  overflow-x: auto;
  padding: 1rem;
}

.entry-content pre code {
  padding: 0;
}

.entry-content .alignwide {
  margin-inline: calc((54rem - min(100vw - 2rem, 72rem)) / 2);
  max-width: 72rem;
}

.entry-content .alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
}

.single-footer {
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag-list a {
  border: 1px solid var(--blue-100);
  border-radius: 999px;
  background: var(--blue-50);
  padding: 0.35rem 0.7rem;
  color: var(--blue-700);
  font-size: 0.75rem;
  font-weight: 800;
}

.post-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.post-navigation a {
  display: block;
  min-height: 7rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1rem;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: var(--shadow-soft);
}

.post-navigation span {
  display: block;
  margin-top: 0.45rem;
  color: var(--slate-950);
  font-size: 1rem;
  line-height: 1.35;
  text-transform: none;
}

.pagination-wrap {
  grid-column: 1 / -1;
  margin-top: 1.5rem;
}

.pagination,
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.page-numbers {
  display: inline-flex;
  min-width: 2.4rem;
  min-height: 2.4rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #ffffff;
  padding: 0.5rem 0.75rem;
  color: var(--slate-600);
  font-weight: 800;
}

.page-numbers.current,
.page-numbers:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.empty-state h2 {
  margin: 0;
  color: var(--slate-950);
  font-size: 2rem;
  line-height: 1.15;
}

.empty-state p:not(.eyebrow) {
  color: var(--slate-600);
}

.comments-area {
  border-top: 1px solid var(--border);
  background: var(--muted);
  padding: 4rem 0;
}

.comments-title,
.comment-reply-title {
  color: var(--slate-950);
}

.comment-list {
  display: grid;
  gap: 1rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.comment-body,
.comment-respond {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #ffffff;
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
}

.comment-form {
  display: grid;
  gap: 1rem;
}

.comment-form input:not([type="checkbox"]),
.comment-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 0.9rem;
  padding: 0.85rem 1rem;
}

.comment-form .submit {
  border: 0;
  background: var(--primary);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  cursor: pointer;
  font-weight: 800;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid rgba(203, 213, 225, 0.7);
  background: #ffffff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr 0.9fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.site-footer__brand p,
.site-footer__contact,
.footer-menu {
  color: var(--slate-500);
  font-size: 0.9rem;
}

.site-footer__brand > p {
  max-width: 28rem;
}

.site-footer h2 {
  margin: 0 0 1rem;
  color: var(--slate-500);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-menu {
  display: grid;
  gap: 0.75rem;
}

.site-footer .menu {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__bottom {
  border-top: 1px solid rgba(203, 213, 225, 0.7);
}

.site-footer__bottom .site-container {
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
  color: var(--slate-500);
  font-size: 0.88rem;
}

@media (min-width: 640px) {
  .brand-logo img {
    width: 10.65rem;
  }
}

@media (min-width: 1024px) {
  .brand-logo img {
    width: 11.55rem;
  }
}

@media (max-width: 1024px) {
  .blog-hero__grid,
  .single-hero__grid,
  .content-layout,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .blog-hero__copy,
  .single-hero__copy {
    max-width: 42rem;
    margin-left: 0;
  }

  .blog-sidebar {
    position: static;
  }

  .shape--center,
  .shape--left,
  .shape--right {
    display: none;
  }
}

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

  .site-header__inner {
    min-height: 4rem;
  }

  .brand-logo img {
    width: 9.75rem;
  }

  .brand-logo span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header__cta {
    display: none;
  }

  .primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: auto;
    z-index: 70;
    display: none;
    width: min(88vw, 24rem);
    border-left: 1px solid var(--border);
    background: #ffffff;
    padding: 6rem 1.5rem 1.5rem;
    box-shadow: -24px 0 54px -38px rgba(15, 23, 42, 0.36);
    overflow-y: auto;
  }

  body.admin-bar .primary-nav {
    top: 46px;
  }

  .primary-nav.is-open {
    display: block;
  }

  .primary-nav .menu {
    display: grid;
    gap: 0.75rem;
  }

  .primary-nav a {
    display: block;
    border: 1px solid var(--border);
    padding: 0.9rem 1rem;
    color: var(--slate-700);
  }

  .primary-nav .menu-item-has-children > a,
  .primary-nav .page_item_has_children > a {
    display: flex;
    justify-content: space-between;
  }

  .primary-nav .sub-menu,
  .primary-nav .children {
    position: static;
    min-width: 0;
    padding: 0;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .primary-nav .sub-menu::before,
  .primary-nav .children::before {
    display: none;
  }

  .primary-nav .sub-menu a,
  .primary-nav .children a {
    border: 0;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    border-left: 1px solid var(--border);
    background: #f8fafc;
    padding-left: 1.5rem;
    color: var(--slate-600);
  }

  .blog-hero__grid,
  .single-hero__grid,
  .page-hero__inner {
    padding-top: 6.5rem;
    padding-bottom: 3rem;
  }

  .post-grid {
    grid-template-columns: 1fr;
  }

  .post-card--featured {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .post-card--featured .post-card__media {
    order: 0;
    aspect-ratio: 16 / 10;
    min-height: 0;
  }

  .post-card--featured .post-card__title {
    font-size: clamp(1.7rem, 7vw, 2.35rem);
  }

  .post-navigation {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  body.admin-bar .site-header {
    top: 0;
  }

  body.admin-bar .primary-nav {
    top: 0;
  }

  .site-container {
    width: min(100% - 1.25rem, var(--container));
  }

  .blog-hero h1,
  .page-hero h1,
  .single-hero h1 {
    font-size: 2.45rem;
  }

  .blog-section {
    padding: 3rem 0;
  }

  .blog-hero__screen img {
    min-height: 12rem;
  }

  .hero-actions,
  .search-form {
    flex-direction: column;
  }

  .button,
  .search-form button {
    width: 100%;
  }

  .single-content-wrap {
    padding-top: 3rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
