/*
Theme Name:     Astra Child
Theme URI:      https://handicappedvets.org/
Description:    Astra Child Theme for Handicapped Veterans Association
Author:         Handicapped Veterans Association
Template:       astra
Version:        1.0.3
*/

/* Global Reset & Astra Canvas Overrides */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --navy: #062b55;
  --blue: #0b4f86;
  --red: #b3262d;
  --cream: #f4f0e7;
  --ink: #152331;
  --muted: #5b6772;
  --font-sans: Arial, Helvetica, sans-serif;
}

html, body {
  font-family: Arial, Helvetica, sans-serif !important;
  color: var(--ink) !important;
  background-color: #ffffff !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  margin: 0 !important;
  padding: 0 !important;
}

p, span, a, li, input, textarea, select, button {
  font-family: Arial, Helvetica, sans-serif !important;
}

/* ONLY target Astra theme wrapper containers, NEVER generic article/div */
#page, .site, .site-content, #content, #primary, #main, .ast-container, .entry-content, article.ast-article-single, article.page {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background-color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}

.entry-header,
.ast-article-single .entry-header,
.ast-page-builder-template .entry-header,
.page-template-default .entry-header {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}

#content,
#content.site-content,
#primary,
#main,
article.ast-article-single,
.ast-article-single,
.entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

#ast-scroll-top {
  display: none !important;
}

/* Gutenberg block normalize */
.wp-block-group {
  box-sizing: border-box;
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.entry-content > .wp-block-group {
  max-width: 100% !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wp-block-columns {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

.wp-block-image {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
  margin: 0 !important;
}

.wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}

.wp-block-quote {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}

/* Base site CSS from html/assets/site.css */
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.table{display:table}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--navy:#062b55;--blue:#0b4f86;--red:#b3262d;--cream:#f4f0e7;--ink:#152331;--muted:#5b6772}*{box-sizing:border-box}html{scroll-behavior:smooth}body{color:var(--ink);background:#fff;margin:0;font-family:Arial,Helvetica,sans-serif}a{color:inherit}.crisis-bar{background:var(--red);color:#fff;text-align:center;letter-spacing:.02em;padding:.55rem 1rem;font-size:.84rem;font-weight:700}.crisis-bar p{margin:0}.crisis-bar a{text-underline-offset:3px}.crisis-bar span{opacity:.55;margin:0 .8rem}.site-header{background:#fff;border-bottom:1px solid #dde2e6;align-items:center;gap:2.5rem;height:88px;padding:0 clamp(1.25rem,5vw,5rem);display:flex}.wordmark{color:var(--navy);align-items:center;gap:.85rem;font-family:Georgia,serif;font-size:.82rem;line-height:1.2;text-decoration:none;display:flex}.wordmark-mark{letter-spacing:-.08em;color:var(--navy);border-right:3px solid var(--red);padding-right:.7rem;font-family:Arial,sans-serif;font-size:1.55rem;font-weight:900;display:inline-block}nav{gap:2rem;margin-left:auto;display:flex}nav a{color:#26394b;font-size:.88rem;font-weight:700;text-decoration:none}nav a:hover{color:var(--red)}.button{color:#fff;background:var(--red);border-radius:3px;justify-content:center;align-items:center;min-height:50px;padding:.85rem 1.35rem;font-size:.9rem;font-weight:800;text-decoration:none;display:inline-flex}.button:hover{background:#8f1d23}.button-small{min-height:42px;padding:.7rem 1.1rem}.hero{background:#ead6bd;overflow:visible;position:relative}.hero img{width:100%;height:auto;display:block}.hero-message{background:var(--navy);padding:clamp(3.5rem,6vw,5.5rem) clamp(1.25rem,8vw,8.5rem)}.hero-copy{color:#fff;width:min(880px,100%)}.eyebrow{color:var(--red);text-transform:uppercase;letter-spacing:.2em;margin:0 0 1rem;font-size:.76rem;font-weight:900}.eyebrow.light{color:#f4c7ad}h1,h2,h3,p{margin-top:0}h1,h2{letter-spacing:-.025em;font-family:Georgia,Times New Roman,serif;font-weight:500}h1{max-width:680px;margin-bottom:1.5rem;font-size:clamp(2.8rem,5.4vw,5.2rem);line-height:.98}.hero-lede{color:#edf3f7;max-width:610px;font-size:clamp(1rem,1.6vw,1.25rem);line-height:1.65}.hero-actions{align-items:center;gap:1.7rem;margin-top:2rem;display:flex}.text-link{border-bottom:1px solid;padding-bottom:.25rem;font-weight:800;text-decoration:none}.text-link span,.card-link span{margin-left:.35rem}.light-link{color:#fff}.mission-section,.programs-section,.get-involved,.pilot-section,.research-section{padding:clamp(4.5rem,9vw,8rem) clamp(1.25rem,8vw,8.5rem)}.mission-section{background:var(--cream);grid-template-columns:1.05fr .85fr;gap:clamp(3rem,9vw,9rem);display:grid}h2{color:var(--navy);margin-bottom:0;font-size:clamp(2.25rem,4.2vw,4rem);line-height:1.08}.mission-copy{color:#455563;padding-top:1.8rem;font-size:1.1rem;line-height:1.8}.mission-copy p:last-child{margin-bottom:0}.save-section{background:var(--red);color:#fff;grid-template-columns:1fr minmax(240px,340px);align-items:center;gap:clamp(3rem,8vw,8rem);padding:clamp(4rem,7vw,6.5rem) clamp(1.25rem,8vw,8.5rem);display:grid}.save-copy{max-width:820px}.save-copy h2{color:#fff;max-width:760px}.save-copy>p:not(.eyebrow){color:#ffe9e9;max-width:720px;margin:1.5rem 0 2rem;font-size:1.08rem;line-height:1.75}.save-qr-card{color:var(--navy);text-align:center;background:#fff;border-radius:6px;flex-direction:column;align-items:center;padding:1.35rem;text-decoration:none;display:flex;box-shadow:0 18px 44px #29060933}.save-qr-card img{width:100%;max-width:190px;height:auto;display:block}.save-qr-card strong{margin-top:.7rem;font-family:Georgia,serif;font-size:1.3rem}.save-qr-card span{color:var(--muted);margin-top:.35rem;font-size:.75rem;line-height:1.4}.programs-section{background:#fff}.section-heading{justify-content:space-between;align-items:flex-end;gap:3rem;margin-bottom:3.5rem;display:flex}.section-heading>div{max-width:750px}.section-heading>p{max-width:360px;color:var(--muted);line-height:1.65}.program-grid{border-top:1px solid #cdd5db;border-bottom:1px solid #cdd5db;grid-template-columns:repeat(3,1fr);display:grid}.program-card{border-right:1px solid #cdd5db;flex-direction:column;min-height:370px;padding:2rem 2.2rem 2.2rem;display:flex}.program-card:last-child{border-right:0}.program-number{color:var(--red);letter-spacing:.18em;font-size:.78rem;font-weight:900}.program-card h3,.involved-grid h3{color:var(--navy);margin:4.5rem 0 1rem;font-family:Georgia,serif;font-size:1.75rem}.program-card p{color:var(--muted);line-height:1.7}.card-link{color:var(--blue);margin-top:auto;font-size:.84rem;font-weight:900}.connection-section{background:var(--navy);color:#fff;grid-template-columns:1.1fr .9fr;display:grid}.connection-panel{padding:clamp(4rem,8vw,7rem) clamp(1.25rem,8vw,8.5rem)}.connection-panel h2{color:#fff}.connection-panel>p:not(.eyebrow){color:#d9e5ed;max-width:690px;margin:1.7rem 0 2rem;font-size:1.08rem;line-height:1.75}.connection-facts{background:#0a3c6b;grid-template-columns:1fr 1fr;gap:1px;padding:3rem clamp(2rem,5vw,5rem);display:grid}.connection-facts div{border-bottom:1px solid #ffffff2e;flex-direction:column;justify-content:center;padding:2rem;display:flex}.connection-facts div:nth-child(3){grid-column:1/-1}.connection-facts strong{color:#fff;font-family:Georgia,serif;font-size:4rem;font-weight:500}.connection-facts span{color:#c6d8e6;text-transform:uppercase;letter-spacing:.1em;font-size:.84rem;line-height:1.4}.research-section{background:#fff}.research-intro{grid-template-columns:1fr .9fr;align-items:start;gap:2rem 6rem;margin-bottom:3.5rem;display:grid}.research-intro .eyebrow{grid-column:1/-1;margin-bottom:0}.research-intro>p:last-child{color:var(--muted);margin:0;font-size:1.05rem;line-height:1.75}.research-grid{grid-template-columns:1fr 1fr;gap:1.5rem;display:grid}.research-grid article{border:1px solid #d9e0e5;border-top:4px solid var(--red);background:#f8f9fa;padding:2.25rem}.research-year{color:var(--red);letter-spacing:.15em;text-transform:uppercase;font-size:.75rem;font-weight:900}.research-grid h3{color:var(--navy);margin:1.25rem 0;font-family:Georgia,serif;font-size:1.65rem;line-height:1.25}.research-grid blockquote{border-left:3px solid var(--blue);color:#263f54;margin:0 0 1.25rem;padding-left:1.25rem;font-family:Georgia,serif;font-size:1.08rem;font-style:italic;line-height:1.65}.research-grid p{color:var(--muted);line-height:1.7}.research-grid a{color:var(--blue);font-weight:800;text-decoration:none}.pilot-section{background:var(--cream);grid-template-columns:.9fr 1.1fr;gap:clamp(3rem,9vw,9rem);display:grid}.pilot-intro>p:not(.eyebrow){max-width:620px;color:var(--muted);margin:1.5rem 0 0;font-size:1.05rem;line-height:1.75}.pilot-list{border-top:1px solid #b9c3ca}.pilot-row{border-bottom:1px solid #b9c3ca;grid-template-columns:3rem 1fr auto;align-items:center;gap:1rem;min-height:92px;display:grid}.pilot-row span{color:var(--red);letter-spacing:.14em;font-size:.76rem;font-weight:900}.pilot-row strong{color:var(--navy);font-family:Georgia,serif;font-size:1.55rem;font-weight:500}.pilot-row em{color:var(--muted);text-transform:uppercase;letter-spacing:.08em;font-size:.78rem;font-style:normal;font-weight:800}.get-involved{text-align:center;background:#f8f9fa}.get-involved h2{margin-bottom:3.5rem}.involved-grid{text-align:left;grid-template-columns:repeat(3,1fr);gap:1.25rem;display:grid}.involved-grid article{border-top:4px solid var(--red);background:#fff;padding:2rem;box-shadow:0 12px 34px #08233d14}.involved-grid h3{margin:0 0 1rem}.involved-grid p{min-height:72px;color:var(--muted);line-height:1.6}.involved-grid a{color:var(--blue);font-weight:800;text-decoration:none}.membership-section{color:#fff;background:#0a3c6b;grid-template-columns:1fr .8fr;align-items:center;gap:clamp(3rem,9vw,9rem);padding:clamp(4rem,7vw,6.5rem) clamp(1.25rem,8vw,8.5rem);display:grid}.membership-section h2{color:#fff}.membership-section>p{color:#d9e5ed;margin:0;font-size:1.08rem;line-height:1.8}.all-military-section{background:var(--cream);grid-template-columns:.8fr 1.2fr;align-items:center;gap:clamp(2.5rem,7vw,7rem);padding:clamp(4.5rem,8vw,7rem) clamp(1.25rem,8vw,8.5rem);display:grid}.all-military-copy p:not(.eyebrow){color:var(--muted);margin:1.5rem 0 0;font-size:1.05rem;line-height:1.75}.all-military-card{color:var(--navy);background:#fff;border:1px solid #d9cfbd;border-radius:6px;text-decoration:none;transition:transform .2s,box-shadow .2s;display:block;overflow:hidden;box-shadow:0 18px 44px #08233d1f}.all-military-card:hover{transform:translateY(-4px);box-shadow:0 24px 52px #08233d2e}.all-military-card:focus-visible{outline:4px solid var(--red);outline-offset:4px}.all-military-card img{width:100%;height:auto;display:block}.all-military-card>span{color:var(--navy);letter-spacing:.03em;justify-content:space-between;align-items:center;padding:1rem 1.25rem;font-size:.88rem;font-weight:900;display:flex}.join-section{background:var(--red);color:#fff;justify-content:space-between;align-items:center;gap:3rem;margin:0;padding:clamp(3.5rem,6vw,5.5rem) clamp(1.25rem,8vw,8.5rem);display:flex}.join-section h2{color:#fff}.join-section p:not(.eyebrow){color:#ffe9e9;max-width:720px;margin:1.2rem 0 0;line-height:1.7}.join-section .eyebrow{color:#ffd0d0}.button-light{color:var(--red);background:#fff;flex:none}.button-light:hover{background:var(--cream)}footer{color:#c5d1dc;background:#061d35;grid-template-columns:1.2fr .7fr;gap:2rem 5rem;padding:3.5rem clamp(1.25rem,8vw,8.5rem);display:grid}.footer-brand{align-items:center;gap:1rem;display:flex}.footer-brand .wordmark-mark{color:#fff}.footer-brand p{margin:0;line-height:1.55}.footer-brand strong{color:#fff}.footer-contact{flex-direction:column;gap:.55rem;font-size:.9rem;display:flex}.footer-contact a{color:#fff}.footer-note{color:#8fa2b3;border-top:1px solid #ffffff26;grid-column:1/-1;margin:1rem 0 0;padding-top:1.5rem;font-size:.78rem;line-height:1.55}@media (width<=960px){nav{display:none}.site-header{gap:1rem}.site-header>.button{margin-left:auto}.mission-section,.save-section,.connection-section,.pilot-section,.membership-section,.research-intro,.all-military-section{grid-template-columns:1fr}.save-qr-card{width:min(340px,100%)}.program-grid,.involved-grid,.research-grid{grid-template-columns:1fr}.program-card{border-bottom:1px solid #cdd5db;border-right:0;min-height:280px}.program-card:last-child{border-bottom:0}.program-card h3{margin-top:2.5rem}.section-heading{flex-direction:column;align-items:flex-start}.connection-facts{grid-template-columns:repeat(3,1fr)}.connection-facts div:nth-child(3){grid-column:auto}.join-section{flex-direction:column;align-items:flex-start}}@media (width<=620px){.crisis-bar span{display:none}.crisis-bar a{margin:.2rem 0;display:block}.site-header{height:76px}.wordmark{font-size:.7rem}.wordmark-mark{font-size:1.25rem}.site-header>.button{padding:.6rem .8rem;font-size:.76rem}.hero-actions{flex-direction:column;align-items:flex-start;gap:1.2rem}.mission-section{gap:2rem}.connection-facts{grid-template-columns:1fr}.connection-facts div:nth-child(3){grid-column:auto}.connection-facts strong{font-size:3rem}.pilot-row{grid-template-columns:2.2rem 1fr}.pilot-row em{grid-column:2}.membership-section{gap:2rem}footer{grid-template-columns:1fr}.footer-note{grid-column:auto}}

/* Mascot Badge (Buddy the Puppy) Overlap - Matching HVASocial.org */
.hero {
  position: relative !important;
  overflow: visible !important;
}

.hva-buddy-badge {
  position: absolute !important;
  bottom: -46px !important;
  right: 24px !important;
  z-index: 40 !important;
  width: 165px !important;
  text-align: center !important;
  pointer-events: auto !important;
}

.hva-buddy-img,
.hva-buddy-img img {
  width: 148px !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)) !important;
  transition: transform 0.2s ease !important;
}

.hva-buddy-img:hover {
  transform: scale(1.05) !important;
}

.hva-buddy-speech {
  margin-top: 4px !important;
  text-align: center !important;
  user-select: none !important;
}

.hva-buddy-speech .title {
  display: block !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  line-height: 1.2 !important;
  letter-spacing: -0.01em !important;
}

.hva-buddy-speech .subtitle {
  display: block !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.88) !important;
  line-height: 1.2 !important;
  margin-top: 2px !important;
}

@media (max-width: 860px) {
  .hva-buddy-badge {
    bottom: -38px !important;
    right: 16px !important;
    width: 135px !important;
  }
  .hva-buddy-img,
  .hva-buddy-img img {
    width: 120px !important;
  }
  .hva-buddy-speech .title {
    font-size: 13px !important;
  }
  .hva-buddy-speech .subtitle {
    font-size: 11px !important;
  }
}

@media (max-width: 480px) {
  .hva-buddy-badge {
    bottom: -30px !important;
    right: 12px !important;
    width: 110px !important;
  }
  .hva-buddy-img,
  .hva-buddy-img img {
    width: 98px !important;
  }
  .hva-buddy-speech .title {
    font-size: 12px !important;
  }
  .hva-buddy-speech .subtitle {
    font-size: 10px !important;
  }
}

/* --- Precise Layout & Typography Overrides for Gutenberg Blocks --- */

/* Hero full-bleed edge-to-edge without background padding */
.hero,
.entry-content > .wp-block-group.hero {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: visible !important;
  position: relative !important;
}

.hero figure,
.hero .wp-block-image {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

.hero img,
.hero .wp-block-image img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Individual Section Paddings matching original site.css */
.hero-message,
.entry-content > .wp-block-group.hero-message {
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.mission-section,
.entry-content > .wp-block-group.mission-section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.save-section,
.entry-content > .wp-block-group.save-section {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.programs-section,
.entry-content > .wp-block-group.programs-section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.connection-section,
.entry-content > .wp-block-group.connection-section {
  padding: 0 !important;
}

.research-section,
.entry-content > .wp-block-group.research-section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.pilot-section,
.entry-content > .wp-block-group.pilot-section {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.get-involved,
.entry-content > .wp-block-group.get-involved {
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.membership-section,
.entry-content > .wp-block-group.membership-section {
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.all-military-section,
.entry-content > .wp-block-group.all-military-section {
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.join-section,
.entry-content > .wp-block-group.join-section {
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

/* Heading Typography & Colors */
h1, .entry-content h1, .wp-block-heading.hero-heading {
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important;
  letter-spacing: -0.025em !important;
  max-width: 680px !important;
  margin-bottom: 1.5rem !important;
  font-size: clamp(2.8rem, 5.4vw, 5.2rem) !important;
  line-height: 0.98 !important;
}

h2, .entry-content h2, .wp-block-heading {
  letter-spacing: -0.025em !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: 500 !important;
  font-size: clamp(2.25rem, 4.2vw, 4rem) !important;
  line-height: 1.08 !important;
}

.hero-copy h1,
.hero-message h1,
#hero-heading {
  color: #ffffff !important;
}

.save-copy h2,
#save-heading {
  color: #ffffff !important;
}

.connection-panel h2 {
  color: #ffffff !important;
}

.membership-section h2 {
  color: #ffffff !important;
}

.join-section h2 {
  color: #ffffff !important;
}

/* --- WHAT WE ARE BUILDING / PROGRAMS SECTION EXACT STYLING --- */
.section-heading {
  justify-content: space-between !important;
  align-items: flex-end !important;
  gap: 3rem !important;
  margin-bottom: 3.5rem !important;
  display: flex !important;
}

.section-heading > p {
  color: #5b6772 !important;
  max-width: 360px !important;
  margin-bottom: .4rem !important;
  font-size: 1.05rem !important;
  line-height: 1.65 !important;
}

.program-grid {
  border-top: 1px solid #cdd5db !important;
  border-bottom: 1px solid #cdd5db !important;
  grid-template-columns: repeat(3, 1fr) !important;
  display: grid !important;
  width: 100% !important;
}

.program-card,
article.program-card {
  border-right: 1px solid #cdd5db !important;
  border-top: none !important;
  border-bottom: none !important;
  border-left: none !important;
  flex-direction: column !important;
  min-height: 370px !important;
  padding: 2rem 2.2rem 2.2rem !important;
  display: flex !important;
  background: #ffffff !important;
  box-sizing: border-box !important;
}

.program-card:last-child,
article.program-card:last-child {
  border-right: 0 !important;
}

.program-number {
  color: var(--red, #b3262d) !important;
  letter-spacing: .18em !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  display: block !important;
  margin-bottom: 0 !important;
}

.program-card h3,
.program-card h3.wp-block-heading {
  color: var(--navy, #062b55) !important;
  margin: 4.5rem 0 1rem !important;
  font-family: Georgia, serif !important;
  font-size: 1.75rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
}

.program-card p {
  color: var(--muted, #5b6772) !important;
  line-height: 1.7 !important;
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1rem !important;
  margin: 0 !important;
}

.card-link,
p.card-link {
  color: var(--navy, #062b55) !important;
  margin-top: auto !important;
  padding-top: 1.5rem !important;
  font-size: .88rem !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.card-link a {
  color: var(--navy, #062b55) !important;
  text-decoration: none !important;
  font-weight: 800 !important;
}

.card-link span {
  margin-left: .35rem !important;
}

/* Research Articles */
.research-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 2.5rem !important;
  width: 100% !important;
}

.research-grid article {
  border: 1px solid #d9e0e5 !important;
  border-top: 4px solid var(--red, #b3262d) !important;
  background: #f8f9fa !important;
  padding: 2.25rem !important;
  box-sizing: border-box !important;
}

.research-year {
  color: var(--red, #b3262d) !important;
  letter-spacing: .15em !important;
  text-transform: uppercase !important;
  font-size: .78rem !important;
  font-weight: 900 !important;
  display: block !important;
  margin-bottom: 1rem !important;
}

.research-grid h3 {
  color: var(--navy, #062b55) !important;
  margin: 0 0 1rem !important;
  font-family: Georgia, serif !important;
  font-size: 1.65rem !important;
  line-height: 1.25 !important;
}

.research-grid blockquote {
  border-left: 3px solid var(--blue, #0b4f86) !important;
  color: #263f54 !important;
  margin: 0 0 1.25rem !important;
  padding-left: 1.25rem !important;
  font-family: Georgia, serif !important;
  font-size: 1.08rem !important;
  font-style: italic !important;
  line-height: 1.65 !important;
}

.research-grid p {
  color: #455563 !important;
  line-height: 1.7 !important;
}

.research-grid a {
  color: var(--blue, #0b4f86) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-bottom: 1px solid var(--blue, #0b4f86) !important;
  padding-bottom: .2rem !important;
  display: inline-block !important;
  margin-top: 1.25rem !important;
}

/* Involved Grid */
.involved-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 2rem !important;
  width: 100% !important;
}

.involved-grid article {
  border-top: 4px solid var(--red, #b3262d) !important;
  background: #ffffff !important;
  padding: 2rem !important;
  box-shadow: 0 12px 34px #08233d14 !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  box-sizing: border-box !important;
}

.involved-grid h3 {
  color: var(--navy, #062b55) !important;
  margin: 0 0 1rem !important;
  font-family: Georgia, serif !important;
  font-size: 1.75rem !important;
}

.involved-grid p {
  color: var(--muted, #5b6772) !important;
  line-height: 1.7 !important;
  margin-bottom: 1.5rem !important;
}

.involved-grid a {
  color: var(--navy, #062b55) !important;
  margin-top: auto !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  border-bottom: 1px solid !important;
  padding-bottom: .2rem !important;
  display: inline-block !important;
}

/* --- BUTTON DESIGN & HOVER STATES MATCHING ORIGINAL --- */

/* Reset button wrappers so Gutenberg block wrappers never have double background, padding or height */
.wp-block-buttons {
  margin: 0 !important;
}

.wp-block-button,
div.wp-block-button,
div.wp-block-button.button,
div.wp-block-button.button-light,
div.wp-block-button.button-small,
.entry-content .wp-block-button,
.entry-content div.wp-block-button,
.entry-content div.wp-block-button.button,
.entry-content div.wp-block-button.button-light {
  background: transparent !important;
  background-color: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  min-height: 0 !important;
  height: auto !important;
  line-height: normal !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  display: inline-flex !important;
}

/* Primary Red Button (Hero, Header, etc.) strictly on link elements */
a.button,
button.button,
.hero-actions .wp-block-button__link,
.hero-actions .wp-element-button,
.wp-block-button:not(.button-light) > .wp-block-button__link,
.wp-block-button:not(.button-light) > .wp-element-button {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  letter-spacing: normal !important;
  color: #ffffff !important;
  background-color: var(--red, #b3262d) !important;
  border-radius: 3px !important;
  min-height: 50px !important;
  padding: 0.85rem 1.35rem !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  transition: background-color 0.15s ease !important;
}

a.button:hover,
button.button:hover,
.hero-actions .wp-block-button__link:hover,
.hero-actions .wp-element-button:hover,
.wp-block-button:not(.button-light) > .wp-block-button__link:hover,
.wp-block-button:not(.button-light) > .wp-element-button:hover {
  background-color: #8f1d23 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.site-header > .button,
.site-header > a.button {
  min-height: 42px !important;
  padding: 0.7rem 1.1rem !important;
  font-size: 0.76rem !important;
  margin-left: auto !important;
}

/* Light / White Button (Continue to HVA Social, Watch VA S.A.V.E.) strictly on link elements */
a.button-light,
button.button-light,
.button-light > a,
.button-light > a.wp-block-button__link,
.button-light > .wp-element-button,
.save-copy .wp-block-button__link,
.save-copy .wp-element-button,
.join-section .wp-block-button__link,
.join-section .wp-element-button {
  color: var(--red, #b3262d) !important;
  background-color: #ffffff !important;
  border-radius: 3px !important;
  min-height: 50px !important;
  padding: 0.85rem 1.35rem !important;
  font-size: 0.9rem !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
  white-space: nowrap !important;
  flex: none !important;
  transition: background-color 0.15s ease, color 0.15s ease !important;
}

a.button-light:hover,
button.button-light:hover,
.button-light > a:hover,
.button-light > a.wp-block-button__link:hover,
.button-light > .wp-element-button:hover,
.save-copy .wp-block-button__link:hover,
.save-copy .wp-element-button:hover,
.join-section .wp-block-button__link:hover,
.join-section .wp-element-button:hover {
  background-color: var(--cream, #f4f0e7) !important;
  color: var(--red, #b3262d) !important;
  text-decoration: none !important;
}

/* Text link */
.text-link,
a.text-link,
.entry-content a.text-link {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom: 1px solid #ffffff !important;
  padding-bottom: 0.25rem !important;
  display: inline-block !important;
  transition: opacity 0.15s ease !important;
}

.text-link:hover,
a.text-link:hover,
.entry-content a.text-link:hover {
  color: #ffffff !important;
  text-decoration: none !important;
  border-bottom-color: #ffffff !important;
  opacity: 0.88 !important;
}

.text-link span,
.card-link span {
  margin-left: 0.35rem !important;
}

.hero-actions {
  display: flex !important;
  align-items: center !important;
  gap: 1.7rem !important;
  margin-top: 2rem !important;
}

.hero-actions .wp-block-buttons {
  margin: 0 !important;
}

.hero-actions p {
  margin: 0 !important;
}


/* ==========================================================================
   Responsive Overrides for Tablet & Mobile (<= 960px and <= 620px)
   Ensuring single-column grids and proper spacing across all devices
   ========================================================================== */

@media (max-width: 960px) {
  nav {
    display: none !important;
  }

  .site-header {
    gap: 1rem !important;
  }

  .site-header > .button {
    margin-left: auto !important;
  }

  /* Stack 2-column & multi-column grid sections */
  .mission-section,
  .entry-content > .wp-block-group.mission-section,
  .save-section,
  .entry-content > .wp-block-group.save-section,
  .connection-section,
  .entry-content > .wp-block-group.connection-section,
  .research-intro,
  .entry-content > .wp-block-group.research-intro,
  .pilot-section,
  .entry-content > .wp-block-group.pilot-section,
  .membership-section,
  .entry-content > .wp-block-group.membership-section,
  .all-military-section,
  .entry-content > .wp-block-group.all-military-section {
    grid-template-columns: 1fr !important;
  }

  /* Research Grid Responsive (Stack cards in 1 column) */
  .research-grid,
  .entry-content .wp-block-group.research-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  /* Programs / What We Are Building Responsive */
  .section-heading {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.25rem !important;
  }

  .section-heading > p {
    max-width: 100% !important;
  }

  .program-grid,
  .entry-content .wp-block-group.program-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .program-card,
  article.program-card {
    border-right: 0 !important;
    border-bottom: 1px solid #cdd5db !important;
    min-height: auto !important;
    padding: 2rem !important;
  }

  .program-card:last-child,
  article.program-card:last-child {
    border-bottom: 0 !important;
  }

  .program-card h3,
  .program-card h3.wp-block-heading {
    margin: 2.5rem 0 1rem !important;
  }

  /* Get Involved Grid Responsive */
  .involved-grid,
  .entry-content .wp-block-group.involved-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
  }

  .save-qr-card {
    width: min(340px, 100%) !important;
    margin: 0 auto !important;
  }

  .connection-facts {
    grid-template-columns: repeat(3, 1fr) !important;
  }

  .connection-facts div:nth-child(3) {
    grid-column: auto !important;
  }

  .join-section,
  .entry-content > .wp-block-group.join-section {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 2rem !important;
  }
}

@media (max-width: 620px) {
  .crisis-bar span {
    display: none !important;
  }

  .crisis-bar a {
    margin: 0.2rem 0 !important;
    display: block !important;
  }

  .site-header {
    height: 76px !important;
  }

  .wordmark {
    font-size: 0.7rem !important;
  }

  .wordmark-mark {
    font-size: 1.25rem !important;
  }

  .site-header > .button {
    padding: 0.6rem 0.8rem !important;
    font-size: 0.76rem !important;
  }

  .hero-actions {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1.2rem !important;
  }

  .mission-section,
  .entry-content > .wp-block-group.mission-section {
    gap: 2rem !important;
  }

  .connection-facts {
    grid-template-columns: 1fr !important;
  }

  .connection-facts div:nth-child(3) {
    grid-column: auto !important;
  }

  .connection-facts strong {
    font-size: 3rem !important;
  }

  .pilot-row {
    grid-template-columns: 2.2rem 1fr !important;
  }

  .pilot-row em {
    grid-column: 2 !important;
  }

  .membership-section,
  .entry-content > .wp-block-group.membership-section {
    gap: 2rem !important;
  }

  footer {
    grid-template-columns: 1fr !important;
  }

  .footer-note {
    grid-column: auto !important;
  }

  /* Research Article Mobile Card Padding & Typography */
  .research-grid article,
  .research-grid article.wp-block-group {
    padding: 1.5rem 1.25rem !important;
  }

  .research-grid h3 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
  }

  .research-grid blockquote {
    padding-left: 1rem !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
  }
}


/* ==========================================================================
   GUTENBERG BLOCK EDITOR STYLES & PREVIEW COMPATIBILITY
   Ensures the WordPress backend editor displays colors, full-width sections,
   and layout identical to the live site.
   ========================================================================== */

/* Full-width editor canvas */
.editor-styles-wrapper {
  font-family: 'Geist', sans-serif !important;
  color: var(--text, #1d252c) !important;
  background-color: #ffffff !important;
  padding: 0 !important;
}

.editor-styles-wrapper .is-root-container {
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}

.editor-styles-wrapper .is-root-container > .wp-block {
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Section Backgrounds in both frontend and Gutenberg Editor */
.hero,
.editor-styles-wrapper .hero {
  background: transparent !important;
  padding: 0 !important;
  margin: 0 !important;
  position: relative !important;
}

.hero-message,
.editor-styles-wrapper .hero-message {
  background-color: var(--navy, #062b55) !important;
  color: #ffffff !important;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.mission-section,
.editor-styles-wrapper .mission-section {
  background-color: var(--cream, #f4f0e7) !important;
  color: #1d252c !important;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.save-section,
.editor-styles-wrapper .save-section {
  background-color: var(--red, #b3262d) !important;
  color: #ffffff !important;
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.programs-section,
.editor-styles-wrapper .programs-section {
  background-color: #ffffff !important;
  color: #1d252c !important;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.connection-section,
.editor-styles-wrapper .connection-section {
  background-color: var(--navy, #062b55) !important;
  color: #ffffff !important;
  padding: 0 !important;
}

.connection-panel,
.editor-styles-wrapper .connection-panel {
  padding: clamp(4rem, 8vw, 7rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.connection-facts,
.editor-styles-wrapper .connection-facts {
  background-color: #0a3c6b !important;
  color: #ffffff !important;
}

.research-section,
.editor-styles-wrapper .research-section {
  background-color: #ffffff !important;
  color: #1d252c !important;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.pilot-section,
.editor-styles-wrapper .pilot-section {
  background-color: var(--cream, #f4f0e7) !important;
  color: #1d252c !important;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.get-involved,
.editor-styles-wrapper .get-involved {
  background-color: #f8f9fa !important;
  color: #1d252c !important;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.membership-section,
.editor-styles-wrapper .membership-section {
  background-color: #0a3c6b !important;
  color: #ffffff !important;
  padding: clamp(4rem, 7vw, 6.5rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.all-military-section,
.editor-styles-wrapper .all-military-section {
  background-color: var(--cream, #f4f0e7) !important;
  color: #1d252c !important;
  padding: clamp(4.5rem, 8vw, 7rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

.join-section,
.editor-styles-wrapper .join-section {
  background-color: var(--red, #b3262d) !important;
  color: #ffffff !important;
  padding: clamp(3.5rem, 6vw, 5.5rem) clamp(1.25rem, 8vw, 8.5rem) !important;
}

/* Light text on dark backgrounds in editor */
.editor-styles-wrapper .hero-message h1,
.editor-styles-wrapper .hero-message p,
.editor-styles-wrapper .save-section h2,
.editor-styles-wrapper .save-section p,
.editor-styles-wrapper .connection-panel h2,
.editor-styles-wrapper .connection-panel p,
.editor-styles-wrapper .membership-section h2,
.editor-styles-wrapper .membership-section p,
.editor-styles-wrapper .join-section h2,
.editor-styles-wrapper .join-section p {
  color: #ffffff !important;
}

.editor-styles-wrapper .eyebrow.light {
  color: #ffd0d0 !important;
}

/* Buttons in editor */
.editor-styles-wrapper .hero-actions .wp-block-button__link,
.editor-styles-wrapper .hero-actions .wp-element-button {
  background-color: var(--red, #b3262d) !important;
  color: #ffffff !important;
}

.editor-styles-wrapper .save-section .wp-block-button__link,
.editor-styles-wrapper .save-section .wp-element-button,
.editor-styles-wrapper .join-section .wp-block-button__link,
.editor-styles-wrapper .join-section .wp-element-button {
  background-color: #ffffff !important;
  color: var(--red, #b3262d) !important;
}

/* Buddy Mascot Badge inside editor */
.editor-styles-wrapper .hva-buddy-badge {
  position: absolute !important;
  bottom: -46px !important;
  right: 24px !important;
  z-index: 40 !important;
  width: 165px !important;
  text-align: center !important;
}

.editor-styles-wrapper .hva-buddy-img,
.editor-styles-wrapper .hva-buddy-img img {
  width: 148px !important;
  height: auto !important;
  margin: 0 auto !important;
  display: block !important;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.3)) !important;
}


/* --- STRICT GUTENBERG BLOCK COMPATIBILITY STYLES --- */
/* Pilot rows */
.pilot-row,
.entry-content .pilot-row {
  border-bottom: 1px solid #b9c3ca !important;
  grid-template-columns: 3rem 1fr auto !important;
  align-items: center !important;
  gap: 1rem !important;
  min-height: 92px !important;
  display: grid !important;
  width: 100% !important;
}

.pilot-row .pilot-num,
.pilot-row p.pilot-num {
  color: var(--red, #b3262d) !important;
  letter-spacing: .14em !important;
  font-size: .76rem !important;
  font-weight: 900 !important;
  margin: 0 !important;
}

.pilot-row .pilot-name,
.pilot-row p.pilot-name,
.pilot-row strong {
  color: var(--navy, #062b55) !important;
  font-family: Georgia, serif !important;
  font-size: 1.55rem !important;
  font-weight: 500 !important;
  margin: 0 !important;
}

.pilot-row .pilot-status,
.pilot-row p.pilot-status,
.pilot-row em {
  color: var(--muted, #5b6772) !important;
  text-transform: uppercase !important;
  letter-spacing: .08em !important;
  font-size: .78rem !important;
  font-style: normal !important;
  font-weight: 800 !important;
  margin: 0 !important;
}

/* Connection facts */
.connection-facts,
.entry-content .connection-facts {
  background: #0a3c6b !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 1px !important;
  padding: 3rem clamp(2rem, 5vw, 5rem) !important;
  display: grid !important;
}

.connection-facts .fact-item,
.connection-facts > div {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 2rem !important;
  display: flex !important;
}

.connection-facts .fact-item:nth-child(3) {
  grid-column: 1 / -1 !important;
}

.connection-facts .fact-number,
.connection-facts .fact-number strong,
.connection-facts strong {
  color: #ffffff !important;
  font-family: Georgia, serif !important;
  font-size: 4rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.connection-facts .fact-label,
.connection-facts .fact-label span,
.connection-facts span {
  color: #c6d8e6 !important;
  text-transform: uppercase !important;
  letter-spacing: .1em !important;
  font-size: .84rem !important;
  line-height: 1.4 !important;
  margin-top: 0.5rem !important;
  display: block !important;
}

/* Save QR card */
.save-qr-card,
.entry-content .save-qr-card {
  color: var(--navy, #062b55) !important;
  text-align: center !important;
  background: #ffffff !important;
  border-radius: 6px !important;
  flex-direction: column !important;
  align-items: center !important;
  padding: 1.35rem !important;
  text-decoration: none !important;
  display: flex !important;
  box-shadow: 0 18px 44px rgba(41, 6, 9, 0.2) !important;
  width: min(340px, 100%) !important;
}

.save-qr-card figure,
.save-qr-card .wp-block-image {
  margin: 0 !important;
}

.save-qr-card img {
  width: 100% !important;
  max-width: 190px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
}

.save-qr-card .qr-title,
.save-qr-card .qr-title strong {
  margin-top: .7rem !important;
  font-family: Georgia, serif !important;
  font-size: 1.3rem !important;
  color: var(--navy, #062b55) !important;
  display: block !important;
  margin-bottom: 0 !important;
}

.save-qr-card .qr-subtitle {
  color: var(--muted, #5b6772) !important;
  margin-top: .35rem !important;
  font-size: .75rem !important;
  line-height: 1.4 !important;
  margin-bottom: 0 !important;
}

/* All Military Card */
.all-military-card,
.entry-content .all-military-card {
  color: var(--navy, #062b55) !important;
  background: #ffffff !important;
  border: 1px solid #d9cfbd !important;
  border-radius: 6px !important;
  text-decoration: none !important;
  transition: transform .2s, box-shadow .2s !important;
  display: block !important;
  overflow: hidden !important;
  box-shadow: 0 18px 44px rgba(8, 35, 61, 0.12) !important;
  padding: 0 !important;
}

.all-military-card figure,
.all-military-card .wp-block-image {
  margin: 0 !important;
}

.all-military-card img {
  width: 100% !important;
  height: auto !important;
  display: block !important;
}

.all-military-card .all-military-card-label,
.all-military-card .all-military-card-label a {
  color: var(--navy, #062b55) !important;
  letter-spacing: .03em !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 1rem 1.25rem !important;
  font-size: .88rem !important;
  font-weight: 900 !important;
  display: flex !important;
  text-decoration: none !important;
  margin: 0 !important;
}

/* Mobile adjustments */
@media (max-width: 620px) {
  .connection-facts .fact-item,
  .connection-facts > div {
    grid-column: auto !important;
  }
  .pilot-row {
    grid-template-columns: 2.2rem 1fr !important;
  }
  .pilot-row .pilot-status {
    grid-column: 2 !important;
  }
}


/* ==========================================================================
   FIXED / STICKY NAVIGATION MENU BAR
   ========================================================================== */
html {
  scroll-behavior: smooth !important;
  scroll-padding-top: 88px !important;
}

.site-header {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  background-color: #ffffff !important;
  border-bottom: 1px solid #dde2e6 !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
  width: 100% !important;
}

/* Offset for WordPress Admin Bar when logged in */
body.admin-bar .site-header {
  top: 32px !important;
}

@media screen and (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px !important;
  }
  html {
    scroll-padding-top: 134px !important; /* 88px header + 46px admin bar */
  }
}

@media screen and (max-width: 620px) {
  html {
    scroll-padding-top: 76px !important;
  }
}

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


/* ==========================================================================
   ACTIVE NAVIGATION MENU ITEM STYLING
   ========================================================================== */
nav {
  gap: 2rem !important;
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
}

nav a {
  color: #26394b !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  padding: 0.35rem 0 !important;
  border-bottom: 2px solid transparent !important;
  transition: color 0.15s ease, border-color 0.15s ease !important;
  display: inline-block !important;
}

nav a:hover {
  color: var(--red, #b3262d) !important;
  border-bottom-color: rgba(179, 38, 45, 0.4) !important;
}

nav a.active,
nav a.is-active,
nav a[aria-current="page"] {
  color: var(--red, #b3262d) !important;
  border-bottom: 2px solid var(--red, #b3262d) !important;
}
