/*
Theme Name:   Kosher Cool
Theme URI:    https://kosherfish.co
Description:  Kosher Cool – hip, modern child theme for KosherFish.co with a hint of old-school Jewish aesthetic. Built on Astra. Frank Ruhl Libre headings, Heebo body, navy & gold palette.
Author:       KosherFish.co
Author URI:   https://kosherfish.co
Template:     astra
Version:      1.0.5
Text Domain:  kosher-cool
Tags:         jewish, kosher, modern, clean, blue, gold
*/

/* ============================================================
   GOOGLE FONTS — Frank Ruhl Libre + Heebo
   Both are Hebrew-origin fonts used throughout Israel.
   Frank Ruhl Libre = classic newspaper serif (old-school feel)
   Heebo = modern Israeli sans-serif (hip + clean)
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Frank+Ruhl+Libre:wght@300;400;700;900&family=Heebo:wght@300;400;500;600;700;800&display=swap');

/* ============================================================
   OPTIONAL: Jewish Decorative Display Font
   Download one of these from 1001fonts.com and place the
   .woff2 / .woff files into /assets/fonts/, then uncomment:

   Recommended picks (free for commercial use):
     - Almost Hebrew  → almost-hebrew.woff2
     - Shalom         → shalom.woff2
     - Tanach         → tanach.woff2

   @font-face {
     font-family: 'KosherDisplay';
     src: url('assets/fonts/almost-hebrew.woff2') format('woff2'),
          url('assets/fonts/almost-hebrew.woff')  format('woff');
     font-weight: normal;
     font-style:  normal;
     font-display: swap;
   }

   Then change --kc-font-hero below to: 'KosherDisplay', 'Frank Ruhl Libre', serif
   ============================================================ */

/* ============================================================
   DESIGN TOKENS — The full Kosher Cool system
   ============================================================ */
:root {
  /* ─── Brand blues ─── */
  --kc-navy:          #1A2B4A;   /* primary: deep Israeli navy */
  --kc-blue:          #2C4A7C;   /* mid blue for links, hover states */
  --kc-blue-light:    #4A6FA5;   /* lighter accent */
  --kc-blue-tint:     #EEF2F8;   /* very light bg tint */

  /* ─── Gold accents ─── */
  --kc-gold:          #C8A84B;   /* primary gold — Star of David warmth */
  --kc-gold-light:    #E8D49A;   /* soft gold for on-dark text */
  --kc-gold-dark:     #9A7A28;   /* deep gold, hover states */

  /* ─── Neutrals ─── */
  --kc-white:         #FFFFFF;
  --kc-cream:         #F9F6F0;   /* warm paper — the "old school" hint */
  --kc-cream-dark:    #EDE8DF;
  --kc-bg:            #F4F7FA;
  --kc-border:        #DDE4EE;

  /* ─── Text ─── */
  --kc-text:          #1A2B4A;
  --kc-text-mid:      #4A5568;
  --kc-text-light:    #718096;

  /* ─── Kosher status ─── */
  --kc-kosher:        #1B6B3A;
  --kc-kosher-bg:     #E8F5EE;
  --kc-nonkosher:     #8B1A1A;
  --kc-nonkosher-bg:  #FBE9E9;

  /* ─── Typography ─── */
  --kc-font-display:  'Frank Ruhl Libre', 'Georgia', 'Times New Roman', serif;
  --kc-font-body:     'Heebo', 'Arial', 'Helvetica Neue', sans-serif;
  --kc-font-hero:     'Frank Ruhl Libre', 'Georgia', serif;
  /* ↑ swap to 'KosherDisplay', 'Frank Ruhl Libre', serif after adding font file */

  /* ─── Radii & shadows ─── */
  --kc-radius:        6px;
  --kc-radius-lg:     12px;
  --kc-shadow:        0 2px 12px rgba(26, 43, 74, 0.08);
  --kc-shadow-hover:  0 8px 28px rgba(26, 43, 74, 0.18);
  --kc-transition:    0.2s ease;

  /* Override Astra HFB primary color so ast-primary-header-bar background resolves to navy */
  --ast-global-color-primary: #1A2B4A;
}

/* ============================================================
   THIN GOLD STRIPE — top-of-page accent
   ============================================================ */
body::before {
  content: '';
  display: block;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--kc-gold-dark), var(--kc-gold), var(--kc-blue-light), var(--kc-gold), var(--kc-gold-dark));
  z-index: 99999;
  pointer-events: none;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--kc-font-body);
  color: var(--kc-text-mid);
  background-color: var(--kc-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, .entry-title, .page-title, .ast-archive-description .archive-title {
  font-family: var(--kc-font-display);
  font-weight: 900;
  color: var(--kc-navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h3, h4, h5, h6 {
  font-family: var(--kc-font-body);
  font-weight: 700;
  color: var(--kc-navy);
  line-height: 1.3;
}

h1, .entry-title, .page-title { font-size: clamp(1.9rem, 4.5vw, 3rem); }
h2  { font-size: clamp(1.4rem, 3vw,   2.1rem); }
h3  { font-size: clamp(1.1rem, 2.5vw, 1.4rem); }
h4  { font-size: 1.1rem; }
h5  { font-size: 1rem;   }
h6  { font-size: 0.9rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

p {
  font-family: var(--kc-font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--kc-text-mid);
  margin-bottom: 1.3em;
}

a {
  color: var(--kc-blue);
  text-decoration: none;
  transition: color var(--kc-transition);
}
a:hover { color: var(--kc-gold-dark); text-decoration: none; }

strong, b { font-weight: 700; color: var(--kc-navy); }

ul, ol { font-family: var(--kc-font-body); line-height: 1.8; }

/* ============================================================
   SITE HEADER — navy with gold bottom border
   ============================================================ */
.site-header,
.ast-header-break-point .main-header-bar,
.main-header-bar,
.ast-desktop-header-content,
.ast-primary-header-bar,
#masthead {
  background-color: var(--kc-navy) !important;
  border-bottom: 3px solid var(--kc-gold) !important;
  box-shadow: 0 2px 20px rgba(26, 43, 74, 0.3) !important;
  position: sticky !important;
  top: 3px !important; /* clear the gold stripe */
  z-index: 9999 !important;
}

.site-title,
.site-title a,
.ast-site-title-wrap .site-title a,
.ast-site-title-wrap a {
  font-family: var(--kc-font-hero) !important;
  font-weight: 900 !important;
  font-size: 1.6rem !important;
  color: #FFFFFF !important;
  letter-spacing: 0.01em !important;
  text-shadow: none !important;
}
.site-title a:hover,
.ast-site-title-wrap a:hover { color: var(--kc-gold-light) !important; }

.site-description,
.ast-site-description {
  font-family: var(--kc-font-body) !important;
  font-size: 0.7rem !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: rgba(255,255,255,0.55) !important;
}

/* ─── Nav links ─── */
.main-navigation .menu > .menu-item > a,
.main-header-menu .menu-item > a,
#ast-hf-menu-1 .menu-item > a,
.ast-builder-menu-1 .menu-item > a,
.ast-builder-menu-1 .menu-item > .menu-link,
.ast-main-header-wrap .main-navigation a {
  font-family: var(--kc-font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em !important;
  text-transform: uppercase !important;
  padding: 0.25rem 0.9rem !important;
  transition: color var(--kc-transition) !important;
}
.main-navigation .menu > .menu-item > a:hover,
.main-header-menu .menu-item > a:hover,
.main-navigation .menu > .menu-item.current-menu-item > a,
.main-navigation .menu > .menu-item.current_page_item > a,
#ast-hf-menu-1 .menu-item > a:hover,
.ast-builder-menu-1 .menu-item > a:hover,
.ast-builder-menu-1 .menu-item > .menu-link:hover,
#ast-hf-menu-1 .current-menu-item > a,
.ast-builder-menu-1 .current-menu-item > a {
  color: var(--kc-gold) !important;
}

/* ─── Dropdown menus ─── */
.main-navigation .sub-menu,
.main-header-menu .sub-menu {
  background: var(--kc-navy) !important;
  border: 1px solid rgba(200,168,75,0.3) !important;
  border-top: 2px solid var(--kc-gold) !important;
  box-shadow: var(--kc-shadow-hover) !important;
}
.main-navigation .sub-menu a,
.main-header-menu .sub-menu a {
  color: rgba(255,255,255,0.8) !important;
  font-size: 0.8rem !important;
}
.main-navigation .sub-menu a:hover { color: var(--kc-gold) !important; }

/* ─── Mobile hamburger ─── */
.ast-mobile-menu-trigger-fill,
.menu-toggle,
.ast-mobile-menu-trigger {
  color: var(--kc-gold) !important;
  fill: var(--kc-gold) !important;
}

/* ============================================================
   CONTENT AREA
   ============================================================ */
.site-content,
.ast-container { background-color: var(--kc-white); }

.entry-content,
.page-content {
  font-family: var(--kc-font-body);
  color: var(--kc-text-mid);
}

/* ============================================================
   FEATURED IMAGE
   ============================================================ */
.post-thumbnail img,
.wp-post-image,
.entry-thumbnail img {
  border-radius: var(--kc-radius);
  box-shadow: var(--kc-shadow);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.ast-btn,
.button,
button:not(.menu-toggle):not(.ast-mobile-menu-trigger),
input[type="submit"],
input[type="button"],
.wp-block-button__link {
  font-family: var(--kc-font-body) !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  border-radius: var(--kc-radius) !important;
  background-color: var(--kc-navy) !important;
  color: #fff !important;
  border: 2px solid var(--kc-navy) !important;
  padding: 0.65em 1.5em !important;
  transition: all var(--kc-transition) !important;
  cursor: pointer !important;
}
.ast-btn:hover,
.button:hover,
input[type="submit"]:hover,
.wp-block-button__link:hover {
  background-color: var(--kc-gold) !important;
  border-color: var(--kc-gold) !important;
  color: var(--kc-navy) !important;
}

/* ============================================================
   KOSHER STATUS BADGE  (used on fish CPT pages)
   ============================================================ */
.kf-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.4em 1.1em;
  border-radius: 2em;
  font-family: var(--kc-font-body);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.kf-status-badge.kosher {
  background: var(--kc-kosher-bg);
  color: var(--kc-kosher);
  border: 1.5px solid var(--kc-kosher);
}
.kf-status-badge.not-kosher {
  background: var(--kc-nonkosher-bg);
  color: var(--kc-nonkosher);
  border: 1.5px solid var(--kc-nonkosher);
}

/* ============================================================
   FISH CPT CARDS (archive/search listings)
   ============================================================ */
.ast-article-post,
article.type-fish,
.hentry {
  background: var(--kc-white);
  border: 1px solid var(--kc-border);
  border-radius: var(--kc-radius-lg);
  overflow: hidden;
  transition: transform var(--kc-transition), box-shadow var(--kc-transition);
  box-shadow: var(--kc-shadow);
}
.ast-article-post:hover,
article.type-fish:hover,
.hentry:hover {
  transform: translateY(-3px);
  box-shadow: var(--kc-shadow-hover);
}

.ast-article-post .entry-title a,
article.type-fish .entry-title a,
.hentry .entry-title a {
  font-family: var(--kc-font-display);
  font-weight: 700;
  color: var(--kc-navy);
  transition: color var(--kc-transition);
}
.ast-article-post .entry-title a:hover,
article.type-fish .entry-title a:hover { color: var(--kc-blue); }

.entry-meta,
.ast-post-meta,
.posted-on,
.byline {
  font-family: var(--kc-font-body);
  font-size: 0.78rem;
  color: var(--kc-text-light);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================================================
   FISH DATA TABLE (the big kosher fish list page)
   ============================================================ */
.entry-content table,
.wp-block-table table {
  border-collapse: collapse;
  width: 100%;
  font-family: var(--kc-font-body);
  font-size: 0.9rem;
  border-radius: var(--kc-radius);
  overflow: hidden;
  box-shadow: var(--kc-shadow);
}

.entry-content table thead th,
.wp-block-table table thead th {
  background: var(--kc-navy);
  color: #fff;
  font-family: var(--kc-font-body);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 3px solid var(--kc-gold);
}

.entry-content table tbody tr:nth-child(even),
.wp-block-table table tbody tr:nth-child(even) {
  background: var(--kc-cream);
}
.entry-content table tbody tr:hover,
.wp-block-table table tbody tr:hover {
  background: var(--kc-blue-tint);
  transition: background var(--kc-transition);
}

.entry-content table tbody td,
.wp-block-table table tbody td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--kc-border);
  vertical-align: middle;
  line-height: 1.4;
}

/* ============================================================
   BLOCKQUOTES
   ============================================================ */
blockquote {
  border-left: 4px solid var(--kc-gold);
  background: var(--kc-cream);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  border-radius: 0 var(--kc-radius-lg) var(--kc-radius-lg) 0;
}
blockquote p {
  font-family: var(--kc-font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--kc-navy);
  font-weight: 400;
  line-height: 1.6;
  margin: 0;
}
blockquote cite {
  font-family: var(--kc-font-body);
  font-size: 0.78rem;
  color: var(--kc-text-light);
  font-style: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
  margin-top: 0.6rem;
}

/* Gutenberg pullquote */
.wp-block-pullquote {
  border-top: 4px solid var(--kc-gold);
  border-bottom: 4px solid var(--kc-gold);
  background: var(--kc-cream);
  padding: 2rem;
}
.wp-block-pullquote p,
.wp-block-pullquote blockquote p {
  font-family: var(--kc-font-display);
  color: var(--kc-navy);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-style: italic;
  margin: 0;
}
.wp-block-pullquote cite { color: var(--kc-text-light); font-size: 0.8rem; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.secondary,
.widget-area {
  background: var(--kc-cream);
  border-left: 1px solid var(--kc-border);
  padding: 1.5rem;
}
.widget-title {
  font-family: var(--kc-font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--kc-navy);
  border-bottom: 2px solid var(--kc-gold);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: 0.01em;
}

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.ast-breadcrumbs,
.ast-breadcrumbs-wrap,
.breadcrumbs {
  font-family: var(--kc-font-body);
  font-size: 0.78rem;
  color: var(--kc-text-light);
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
}
.ast-breadcrumbs a,
.breadcrumbs a { color: var(--kc-blue); }
.ast-breadcrumbs a:hover { color: var(--kc-gold-dark); }

/* ============================================================
   PAGINATION
   ============================================================ */
.page-numbers,
.ast-pagination .page-numbers {
  font-family: var(--kc-font-body);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: var(--kc-radius);
  border: 1.5px solid var(--kc-border);
  color: var(--kc-blue);
  padding: 0.3em 0.75em;
  transition: all var(--kc-transition);
}
.page-numbers:hover { border-color: var(--kc-blue); color: var(--kc-navy); }
.page-numbers.current,
.ast-pagination .page-numbers.current {
  background: var(--kc-navy);
  color: #fff;
  border-color: var(--kc-navy);
}

/* ============================================================
   GUTENBERG BLOCK OVERRIDES
   ============================================================ */
.wp-block-separator {
  border-color: var(--kc-border);
  border-width: 1px;
}
.wp-block-separator.is-style-wide,
.wp-block-separator.has-alpha-channel-opacity {
  border-color: var(--kc-gold);
  opacity: 0.5;
  border-width: 2px;
}

/* Cover block */
.wp-block-cover {
  border-radius: var(--kc-radius-lg);
  overflow: hidden;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer,
#colophon,
.footer-widget-area,
.ast-footer-widget-area {
  background-color: var(--kc-navy) !important;
  color: rgba(255,255,255,0.75) !important;
  border-top: 3px solid var(--kc-gold) !important;
}

.site-footer a,
.footer-widget-area a,
#colophon a {
  color: var(--kc-gold-light) !important;
  transition: color var(--kc-transition) !important;
}
.site-footer a:hover,
.footer-widget-area a:hover { color: #fff !important; }

.footer-widget-area .widget-title,
#colophon .widget-title {
  color: var(--kc-gold) !important;
  border-bottom-color: rgba(200,168,75,0.35) !important;
  font-family: var(--kc-font-display) !important;
}

.footer-widget-area p,
#colophon p {
  color: rgba(255,255,255,0.65) !important;
  font-size: 0.9rem !important;
}

.ast-footer-copyright,
.footer-copyright,
.ast-copyright-footer {
  background: rgba(0,0,0,0.25) !important;
  color: rgba(255,255,255,0.45) !important;
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  font-family: var(--kc-font-body) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.05em !important;
  padding: 1rem !important;
  text-align: center !important;
}
.ast-footer-copyright a { color: var(--kc-gold-light) !important; }

/* ============================================================
   SINGLE FISH PAGE — enhanced layout
   ============================================================ */
.is-fish-page .entry-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
}

/* ============================================================
   HOMEPAGE SEARCH WIDGET (if used)
   ============================================================ */
.kf-search-hero {
  background: linear-gradient(140deg, var(--kc-navy) 0%, var(--kc-blue) 100%);
  padding: 4rem 2rem;
  text-align: center;
  border-bottom: 4px solid var(--kc-gold);
  position: relative;
  overflow: hidden;
}
/* Subtle star watermark */
.kf-search-hero::after {
  content: '✡';
  position: absolute;
  right: -2rem;
  bottom: -3rem;
  font-size: 18rem;
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}
.kf-search-hero h1 {
  font-family: var(--kc-font-hero) !important;
  font-size: clamp(2.2rem, 6vw, 4rem) !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: -0.02em !important;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3) !important;
  margin-bottom: 0.4rem !important;
}
.kf-search-hero p {
  color: rgba(255,255,255,0.8) !important;
  font-size: 1.15rem !important;
  margin-bottom: 1.75rem !important;
}

/* ============================================================
   GOLD UTILITY CLASS
   ============================================================ */
.kc-gold-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--kc-gold);
  margin: 1rem 0;
  border-radius: 2px;
}
.kc-gold-line.centered { margin-left: auto; margin-right: auto; }

/* ============================================================
   PRINT
   ============================================================ */
@media print {
  body::before { display: none; }
  .site-header { position: relative !important; top: 0 !important; background: #fff !important; }
  a { color: var(--kc-navy); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  h1, .entry-title, .page-title { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.1rem; }

  .entry-content table,
  .wp-block-table table { font-size: 0.78rem; }
  .entry-content table thead th,
  .wp-block-table table thead th,
  .entry-content table tbody td,
  .wp-block-table table tbody td { padding: 0.5rem 0.6rem; }

  .kf-search-hero { padding: 2.5rem 1rem; }

  blockquote { padding: 1rem 1.25rem; }
}

@media (max-width: 480px) {
  h1, .entry-title { font-size: 1.5rem; }

  .entry-content table thead { display: none; }
  .entry-content table tbody td {
    display: block;
    border-bottom: 0;
    padding: 0.3rem 0.5rem;
  }
  .entry-content table tbody tr {
    border-bottom: 1px solid var(--kc-border);
    display: block;
    margin-bottom: 0.5rem;
  }
}
/* ============================================================
   KOSHER COOL — v1.0.1 PATCH
   1. Narrower header
   2. Menu restored (nav container un-collapsed)
   3. Footer as single unified box
   ============================================================ */

/* ── 1. HEADER: remove position:sticky override (Astra handles it),
         reduce padding so the bar is tight/slim ── */
.site-header,
.ast-header-break-point .main-header-bar,
.main-header-bar,
.ast-desktop-header-content,
.ast-primary-header-bar,
#masthead {
  position: relative !important; /* let Astra control sticky behaviour */
  top: auto !important;
}

/* The actual sticky wrapper Astra uses */
#ast-desktop-header,
.ast-main-header-wrap {
  position: sticky !important;
  top: 3px !important;   /* sit below the gold stripe */
  z-index: 9998 !important;
  background: var(--kc-navy) !important;
}

/* Slim the primary header bar */
.ast-primary-header-bar,
.main-header-bar {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
  min-height: 56px !important;
}

/* ── 2. MENU: ensure the Header Builder nav container is visible ── */
.ast-builder-menu,
.ast-builder-menu-1,
.ast-main-header-bar-alignment,
.main-header-bar-navigation {
  display: flex !important;
  align-items: center !important;
}

/* Ensure the nav UL is flex row and visible */
#ast-hf-menu-1,
ul.main-header-menu {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  background: transparent !important;
}

/* Menu item links — tighter padding for slim header */
#ast-hf-menu-1 .menu-item > a.menu-link,
.main-header-menu .menu-item > .menu-link {
  font-family: var(--kc-font-body) !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  color: var(--kc-blue) !important;
  padding: 0.5rem 0.85rem !important;
  display: block !important;
  white-space: nowrap !important;
  transition: color 0.2s ease !important;
  text-decoration: none !important;
}
#ast-hf-menu-1 .menu-item > a.menu-link:hover,
#ast-hf-menu-1 .menu-item.current-menu-item > a.menu-link,
#ast-hf-menu-1 .menu-item.current_page_item > a.menu-link {
  color: var(--kc-gold) !important;
}

/* Remove box-shadow from Astra nav UL */
ul.ast-menu-shadow { box-shadow: none !important; }

/* Ensure the right column (where menu lives) stretches properly */
.site-header-primary-section-right {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
}

/* Logo / left column */
.site-header-primary-section-left {
  display: flex !important;
  align-items: center !important;
}

/* ── 3. FOOTER: single unified box ── */

/* Remove the gap / border between the widget row and the copyright row */
.ast-footer-copyright,
.footer-copyright,
.ast-copyright-footer {
  background: transparent !important;      /* no separate dark box */
  border-top: 1px solid rgba(255,255,255,0.08) !important;
  padding: 0.75rem 1.5rem !important;
  text-align: center !important;
  color: rgba(255,255,255,0.45) !important;
  font-size: 0.78rem !important;
  letter-spacing: 0.04em !important;
}

/* Footer above-bar (copyright + footer menu row from Astra's footer builder) */
.ast-footer-above-bar,
.footer-above-bar-wrap,
.ast-above-footer {
  background: var(--kc-navy) !important;
  border-bottom: none !important;
  padding: 1rem 1.5rem !important;
  border-top: 3px solid var(--kc-gold) !important;
}

/* Flatten the whole footer into one continuous navy block */
#colophon,
.site-footer {
  background: var(--kc-navy) !important;
  border-top: 3px solid var(--kc-gold) !important;
  padding: 0 !important;
}

/* Footer above sections — give them consistent padding */
.ast-above-footer-section,
.ast-below-footer-section {
  background: transparent !important;
  border-top: none !important;
  border-bottom: none !important;
}

/* Remove Astra's default footer dividers */
.ast-footer-above-bar + .footer-copyright,
.ast-footer-above-bar + .ast-footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* Footer nav links - inline, small */
#astra-footer-menu,
ul.astra-footer-nav-list {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: wrap !important;
  gap: 0 0.25rem !important;
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  justify-content: center !important;
}
#astra-footer-menu .menu-item a,
ul.astra-footer-nav-list .menu-item a {
  color: var(--kc-gold-light) !important;
  font-size: 0.78rem !important;
  padding: 0.25rem 0.6rem !important;
  transition: color 0.2s ease !important;
}
#astra-footer-menu .menu-item a:hover { color: #fff !important; }

/* The copyright + footer-nav container — flex row, centered */
.ast-footer-above-bar .ast-builder-grid-row,
.ast-above-footer .ast-builder-grid-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  padding: 0.75rem 0 !important;
}
