/*
Theme Name: Northland Automotive Services
Theme URI: https://northlandautomotiveservices.com
Author: Northland Motorcars
Description: Custom theme for Northland Automotive Services — Sioux Falls, SD
Version: 1.0.0
License: Proprietary
Text Domain: northland-automotive
*/

:root {
  --nas-blue: #0e34ad;
  --nas-dark: #091f6b;
  --nas-gray: #7a7a7a;
  --nas-light: #f5f7fb;
  --nas-border: #e2e6f0;
}

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

body {
  margin: 0;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #222;
  font-size: 16px;
  line-height: 1.5;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--nas-blue);
}

/* ── Container ── */
.nas-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── Nav ── */
.nas-nav {
  background: var(--nas-dark);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nas-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nas-nav-logo img {
  height: 38px;
  display: block;
}

.nas-nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nas-nav-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 7px 14px;
  border-radius: 4px;
  transition: color 0.15s;
}

.nas-nav-links a:hover {
  color: #fff;
}

.nas-nav-links .nav-cta {
  background: var(--nas-blue);
  color: #fff !important;
  border-radius: 4px;
  margin-left: 6px;
}

.nas-nav-links .nav-cta:hover {
  background: #0c2d96;
}


/* ── Buttons ── */
.btn-nas {
  display: inline-block;
  background: var(--nas-blue);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 2px solid var(--nas-blue);
  transition: background 0.15s;
}

.btn-nas:hover {
  background: #0c2d96;
  border-color: #0c2d96;
  color: #fff;
}

.btn-nas-outline {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color 0.15s;
}

.btn-nas-outline:hover {
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.btn-nas-sm {
  padding: 10px 22px;
  font-size: 0.9rem;
}

/* ── Section label ── */
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--nas-blue);
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 14px;
  line-height: 1.2;
}

.section-sub {
  font-size: 1.05rem;
  color: #555;
  line-height: 1.65;
  max-width: 620px;
}

/* ── Hero ── */
.nas-hero {
  background: var(--nas-dark);
  color: #fff;
  padding: 80px 0 72px;
}

.nas-hero-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: center;
}

.nas-hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 18px;
  color: #fff;
}

.nas-hero .hero-lead {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 28px;
  line-height: 1.65;
  max-width: 540px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-info-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 26px 28px;
}

.info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  align-items: flex-start;
}

.info-row:last-child {
  margin-bottom: 0;
}

.info-row .icon {
  color: var(--nas-blue);
  width: 18px;
  flex-shrink: 0;
  margin-top: 2px;
}

.info-row span {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .nas-hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nas-hero {
    padding: 52px 0 48px;
  }

  .nas-hero h1 {
    font-size: 1.9rem;
  }
}

/* ── Page hero ── */
.page-hero {
  background: var(--nas-dark);
  color: #fff;
  padding: 52px 0 48px;
}

.page-hero .section-label {
  color: rgba(255, 255, 255, 0.55);
}

.page-hero h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 12px;
  color: #fff;
}

.page-hero p {
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.6;
  margin: 0;
}

/* -- Headers -- */

/* .section-header p {
  margin-bottom: 0;
}

.section-header p:nth-last-child {
  font-size: 1.5rem;
}

.section-header h2 {
  margin-top: 0;
  margin-bottom: 8px;
} */


/* ── Services grid ── */
.section-what {
  padding: 80px 0;
  background: #fff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 36px;
}

.svc-card {
  background: var(--nas-light);
  border: 1px solid var(--nas-border);
  border-top: 3px solid var(--nas-blue);
  border-radius: 6px;
  padding: 26px 22px;
}

.svc-card .icon {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--nas-blue);
  display: block;
}

.svc-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 8px;
}

.svc-card p {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Why us ── */
.section-why {
  padding: 80px 0;
  background: var(--nas-light);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 60px;
  align-items: start;
}

.trust-item {
  display: flex;
  gap: 16px;
  margin-bottom: 28px;
}

.trust-item:last-child {
  margin-bottom: 0;
}

.trust-icon {
  width: 46px;
  height: 46px;
  background: var(--nas-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1.1rem;
}

.trust-item h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
}

.trust-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.warranty-box {
  background: var(--nas-dark);
  color: #fff;
  border-radius: 8px;
  padding: 34px 30px;
  text-align: center;
  margin-bottom: 16px;
}

.warranty-num {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
}

.warranty-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin: 6px 0 16px;
}

.warranty-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
}

.tow-box {
  background: #fff;
  border: 1px solid var(--nas-border);
  border-radius: 6px;
  padding: 24px;
}

.tow-box h6 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111;
}

.tow-box p {
  font-size: 0.87rem;
  color: #555;
  margin: 0 0 8px;
  line-height: 1.6;
}

.tow-box a {
  color: var(--nas-blue);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

@media (max-width: 900px) {
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ ── */
.section-faq {
  padding: 80px 0;
  background: #fff;
}

.faq-wrap {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--nas-border);
  border-radius: 6px;
  margin-bottom: 8px;
  overflow: hidden;
}

.faq-q {
  background: var(--nas-light);
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.96rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #111;
  user-select: none;
}

.faq-q::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--nas-blue);
}

.faq-q.open::after {
  content: '\2212';
}

.faq-a {
  display: none;
  padding: 14px 20px 18px;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
}

.faq-a.open {
  display: block;
}

/* ── Services detail page ── */
.services-detail {
  padding: 72px 0;
  background: #fff;
}

.svc-detail-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.svc-group {
  margin-bottom: 52px;
}

.svc-group:last-child {
  margin-bottom: 0;
}

.group-hdr {
  border-bottom: 2px solid var(--nas-border);
  padding-bottom: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.group-hdr .icon {
  color: var(--nas-blue);
  font-size: 1.3rem;
}

.group-hdr h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #111;
}

.svc-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--nas-border);
}

.svc-item:last-child {
  border-bottom: none;
}

.svc-item h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 6px;
}

.svc-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.65;
}

.svc-sidebar>* {
  margin-bottom: 16px;
}

.sidebar-card {
  background: var(--nas-light);
  border: 1px solid var(--nas-border);
  border-radius: 6px;
  padding: 24px 22px;
}

.sidebar-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}

.sidebar-card p {
  font-size: 0.87rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.sidebar-card a {
  color: var(--nas-blue);
  font-weight: 700;
  text-decoration: none;
}

.sidebar-dark {
  background: var(--nas-dark);
  color: #fff;
  border-radius: 6px;
  padding: 24px 22px;
}

.sidebar-dark .big {
  font-size: 2.2rem;
  font-weight: 800;
}

.sidebar-dark .label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
}

.sidebar-dark p {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  line-height: 1.6;
}

.svc-faq {
  background: var(--nas-light);
  border-top: 3px solid var(--nas-blue);
  border-radius: 0 0 6px 6px;
  padding: 22px 24px;
}

.svc-faq h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
}

.svc-faq p {
  font-size: 0.88rem;
  color: #555;
  margin: 0 0 16px;
  line-height: 1.6;
}

.svc-faq p:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .svc-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* ── About page ── */
.about-story {
  padding: 80px 0;
  background: #fff;
}

.about-story-inner {
  max-width: 780px;
  margin: 0 auto;
}

.about-story h2 {
  font-size: 1.9rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 18px;
}

.about-story p {
  font-size: 1rem;
  color: #444;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-expect {
  padding: 72px 0;
  background: var(--nas-light);
}

.expect-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 60px;
  align-items: start;
}

.expect-item {
  display: flex;
  gap: 16px;
  margin-bottom: 26px;
}

.expect-item:last-child {
  margin-bottom: 0;
}

.expect-icon {
  width: 44px;
  height: 44px;
  background: var(--nas-blue);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
  font-size: 1rem;
}

.expect-item h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
}

.expect-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

.coming-box {
  background: var(--nas-dark);
  color: #fff;
  border-radius: 8px;
  padding: 34px 30px;
  margin-bottom: 16px;
}

.coming-box h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.coming-box p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 900px) {
  .expect-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Contact page ── */
.contact-main {
  padding: 80px 0;
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.contact-card {
  background: var(--nas-light);
  border: 1px solid var(--nas-border);
  border-radius: 8px;
  padding: 28px 24px;
}

.contact-card .c-icon {
  width: 50px;
  height: 50px;
  background: var(--nas-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.contact-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 10px;
}

.contact-card p {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
  line-height: 1.65;
}

.contact-card a {
  color: var(--nas-blue);
  font-weight: 700;
  text-decoration: none;
}

.big-phone {
  font-size: 1.6rem;
  font-weight: 800;
  color: #111;
  text-decoration: none;
  display: block;
  margin: 6px 0 10px;
}

.big-phone:hover {
  color: var(--nas-blue);
}

.hours-tbl {
  width: 100%;
  font-size: 0.88rem;
}

.hours-tbl tr td {
  padding: 6px 0;
  border-bottom: 1px solid var(--nas-border);
  color: #444;
}

.hours-tbl tr:last-child td {
  border-bottom: none;
}

.hours-tbl td:last-child {
  text-align: right;
  font-weight: 700;
  color: #111;
}

.hours-tbl .closed {
  color: var(--nas-gray);
  font-weight: 400;
}

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

.what-happens {
  padding: 72px 0;
  background: var(--nas-light);
}

.steps-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 18px;
  margin-bottom: 26px;
}

.step-num {
  width: 40px;
  height: 40px;
  background: var(--nas-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.step-item h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: #111;
  margin: 0 0 4px;
}

.step-item p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ── */
.nas-footer {
  background: var(--nas-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 52px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 36px;
}

.footer-logo img {
  height: 32px;
  display: block;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin: 0;
}

.footer-col h6 {
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin: 0 0 14px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  margin-bottom: 7px;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ── Kadence block utility overrides ── */
.wp-block-kadence-rowlayout {
  width: 100%;
}

.alignfull.wp-block-kadence-rowlayout {
  margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px));
  margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px));
  max-width: unset;
}

.kt-inside-inner-col {
  height: 100%;
}

/* ── Hero info box (semi-transparent on dark bg) ── */
.hero-info-box {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 26px 28px;
}

.hero-info-box p {
  margin-bottom: 14px;
}

.hero-info-box p:last-child {
  margin-bottom: 0;
}

/* ── Hero badges ── */
.hero-badge {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.9) !important;
  display: inline-block;
  margin: 0;
}

/* ── Map embed ── */
.map-wrap {
  border-radius: 8px;
  overflow: hidden;
}

.map-wrap iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: none;
}

/* ── WP core resets ── */
.wp-block-image {
  margin: 0;
}

p:empty {
  display: none;
}

/* ── Kadence column border fix (top accent) ── */
.wp-block-kadence-column[style*="border-top"] {
  border-top-style: solid;
}

/* ── Block theme: nav header ── */
.nas-nav {
  position: sticky;
  top: 0;
  z-index: 100;
}

.nas-nav > .wp-block-group {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation block link styles within header */
.nas-nav .wp-block-navigation a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
  padding: 7px 14px;
  border-radius: 4px;
  transition: color 0.15s;
}

.nas-nav .wp-block-navigation a:hover {
  color: #fff;
}

.nas-nav .wp-block-navigation .nav-cta>a,
.nas-nav .wp-block-navigation .wp-block-navigation-item.nav-cta>a {
  background: #0e34ad;
  color: #fff;
  padding: 7px 18px;
  margin-left: 6px;
  border-radius: 4px;
}

.nas-nav .wp-block-navigation .nav-cta>a:hover {
  background: #0c2d96;
}

/* ── Mobile breakpoint override ── */
/* WP core switches from hamburger to inline nav at 600px. We want 768px instead.
   Override the 600px–767px range to keep hamburger visible and container hidden. */
@media (min-width: 600px) and (max-width: 767px) {
  .nas-nav .wp-block-navigation__responsive-container-open {
    display: flex !important;
  }
  .nas-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
    display: none !important;
  }
}

/* ── Mobile hamburger button ── */
.nas-nav .wp-block-navigation__responsive-container-open {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

.nas-nav .wp-block-navigation__responsive-container-open svg {
  fill: #fff;
}

/* ── Mobile overlay ── */
/* When the custom navigation-overlay template part is used (disable-default-overlay),
   the inner overlay group provides its own white background. The outer fixed container
   must also be white to avoid gaps during animation. */
.nas-nav .wp-block-navigation__responsive-container.is-menu-open {
  background-color: #fff !important;
  z-index: 100001;
}

/* Kadence column (flex item with z-index:1) creates a stacking context. When the
   overlay opens, boost that context above all page content so the fixed overlay
   isn't clipped by lower-z stacking parents. */
body.has-modal-open .wp-block-kadence-column.kb-section-is-sticky {
  z-index: 100002 !important;
}

/* Stretch the inner dialog chain so the overlay content fills the fixed container */
.nas-nav .wp-block-navigation__responsive-container.disable-default-overlay.is-menu-open
.wp-block-navigation__responsive-close {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nas-nav .wp-block-navigation__responsive-container.disable-default-overlay.is-menu-open
.wp-block-navigation__responsive-dialog {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.nas-nav .wp-block-navigation__responsive-container.disable-default-overlay.is-menu-open
.wp-block-navigation__responsive-container-content {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  flex: 1 !important;
}

.nas-nav .wp-block-navigation__responsive-container.disable-default-overlay.is-menu-open
.wp-block-navigation__overlay-container {
  flex: 1;
  display: flex !important;
  flex-direction: column;
}

/* Desktop: keep nav container transparent so header bg shows through */
.nas-nav .wp-block-navigation__responsive-container:not(.is-menu-open) {
  background: transparent;
}

/* Close button (custom overlay uses .wp-block-navigation-overlay-close) */
.wp-block-navigation-overlay-close {
  cursor: pointer;
}

/* Kadence set letter-spacing:2em (should be 2px) on overlay buttons at mobile.
   Override here since it requires a Site Editor fix to correct at the source. */
.wp-block-navigation__overlay-container .kb-button {
  letter-spacing: 0.05em !important;
}

/* Overlay nav links: scope the global .nas-nav a font-size rule away from the
   overlay, so the overlay links use the size set in the Site Editor (fixed via
   PHP render filter in functions.php). */
.wp-block-navigation__overlay-container .wp-block-navigation-item a {
  font-size: inherit;
}

/* The overlay white group uses is-layout-constrained, which applies
   margin:auto !important to direct children. On mobile this centers narrower
   elements (buttons, nav links) instead of letting them fill the width.
   Override so all overlay children stretch edge-to-edge. */
.wp-block-navigation__overlay-container .is-layout-constrained > *:not(.alignleft):not(.alignright):not(.alignfull) {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wp-block-navigation__overlay-container .is-layout-constrained > .alignwide {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* Site logo in nav */
.nas-nav .wp-block-site-logo {
  margin: 0;
  line-height: 0;
}

.nas-nav .wp-block-site-logo img {
  height: 38px;
  width: auto;
  display: block;
}

/* ── Block theme: footer bottom bar ── */
.nas-footer-bottom-wrap>.kt-row-column-wrap {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ── Block theme: footer nav ── */
.footer-col .wp-block-navigation {
  --wp--style--block-gap: 10px;
}

.footer-col .wp-block-navigation a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
}

.footer-col .wp-block-navigation a:hover {
  color: #fff;
}

.footer-col .wp-block-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}