/* ============================================================
   PONCA TRIBE OF NEBRASKA — Design System & Core Styles
   Aesthetic: Sacred Modernism
   ============================================================ */

/* --- Google Fonts ---
   Enqueued separately as 'ponca-tribe-google-fonts' in functions.php
   (ponca_tribe_scripts) and loaded as a dependency of this stylesheet,
   so the font request starts before this file is even parsed. */

/* --- Design Tokens --- */
:root {
  /* Brand colour custom properties are injected inline from
     Theme Settings → Colors (ponca_output_theme_colors() in functions.php)
     so they load before this stylesheet. */

  /* Semantic Colors */
  --text-primary: var(--color-charcoal);
  --text-secondary: var(--color-ash);
  --text-on-dark: var(--color-cream);
  --text-on-dark-muted: var(--color-stone);
  --accent: var(--color-copper);
  --accent-hover: var(--color-copper-light);

  /* Typography Scale */
  --font-display: 'Cormorant Garamond', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
  --text-sm: clamp(0.8rem, 0.75rem + 0.3vw, 0.9rem);
  --text-base: clamp(0.95rem, 0.88rem + 0.35vw, 1.1rem);
  --text-lg: clamp(1.1rem, 1rem + 0.5vw, 1.35rem);
  --text-xl: clamp(1.3rem, 1.1rem + 1vw, 1.8rem);
  --text-2xl: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
  --text-3xl: clamp(2rem, 1.4rem + 3vw, 4rem);
  --text-4xl: clamp(2.5rem, 1.5rem + 5vw, 6rem);
  --text-hero: clamp(3rem, 1.5rem + 7vw, 8.5rem);

  /* Spacing */
  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1.25rem);
  --space-md: clamp(1.5rem, 1rem + 2vw, 3rem);
  --space-lg: clamp(3rem, 2rem + 4vw, 6rem);
  --space-xl: clamp(5rem, 3rem + 6vw, 10rem);
  --space-2xl: clamp(7rem, 4rem + 8vw, 14rem);

  /* Layout */
  --container-max: 1504px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.3s;
  --duration-base: 0.6s;
  --duration-slow: 1s;
  --duration-slower: 1.4s;

  /* Borders & Radii */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(13, 15, 14, 0.06), 0 1px 2px rgba(13, 15, 14, 0.04);
  --shadow-md: 0 4px 12px rgba(13, 15, 14, 0.08), 0 2px 4px rgba(13, 15, 14, 0.04);
  --shadow-lg: 0 12px 40px rgba(13, 15, 14, 0.12), 0 4px 12px rgba(13, 15, 14, 0.06);
  --shadow-xl: 0 24px 60px rgba(13, 15, 14, 0.16), 0 8px 20px rgba(13, 15, 14, 0.08);
  --shadow-glow: 0 0 40px rgba(184, 120, 78, 0.15);

  --mobile-tab-gaps: 50px;

}

html.page-entering {
  background: var(--color-night);
}

html.page-entering body {
  opacity: 0;
}

html.page-entering .page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  visibility: visible;
}

html.page-entering .page-transition__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-night);
  transform: scaleY(1);
}

html.page-entering .page-transition__line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(1);
  width: min(200px, 40vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-copper-100), transparent);
  box-shadow: 0 0 30px var(--color-copper-100), 0 0 60px rgba(184, 120, 78, 0.4);
}

.entry-header {
  display: none;
}


/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* `clip` contains horizontal overflow without making this a scroll
     container, unlike `hidden` (which forces overflow-y to compute to
     `auto`). A scroll container here lets scrollIntoView({block:"nearest"})
     scroll the whole page -- e.g. the Formstack datepicker on
     /form-packet-test/ -- and breaks position: sticky. */
  overflow-x: clip;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--text-primary);
  overflow-x: clip; /* see note on html above */
}

body.menu-open {
  overflow: hidden;
}

/* ==========================================================
   PAGE TRANSITION — Line Wipe Loader
   Minimal, elegant, fast (~1s)
   ========================================================== */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 10000;
  pointer-events: none;
  visibility: hidden;
}

.page-transition__overlay {
  position: absolute;
  inset: 0;
  background: var(--color-night);
  transform: scaleY(0);
  transform-origin: bottom;
}

.page-transition__line {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scaleX(0);
  width: min(200px, 40vw);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-copper), transparent);
  box-shadow: 0 0 30px var(--color-copper), 0 0 60px rgba(184, 120, 78, 0.4);
}

/* ==========================================================
   ACTIVE STATE — Exit: Line expands, overlay wipes up
   ========================================================== */
.page-transition.active {
  visibility: visible;
  pointer-events: all;
}

.page-transition.active .page-transition__line {
  animation: lineExpand 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-transition.active .page-transition__overlay {
  animation: overlayUp 0.4s cubic-bezier(0.76, 0, 0.24, 1) 0.15s forwards;
}

/* ==========================================================
   PAGE-ENTERING STATE — Line Wipe reveal
   ========================================================== */
html.page-entering {
  background: var(--color-night);
}

html.page-entering body {
  opacity: 0;
}

html.page-entering .page-transition {
  visibility: visible;
  pointer-events: all;
}

html.page-entering .page-transition__overlay {
  transform: scaleY(1);
  transform-origin: top;
}

html.page-entering .page-transition__line {
  transform: translate(-50%, -50%) scaleX(1);
  animation: linePulse 0.6s ease-in-out infinite alternate;
}

/* Revealing state */
html.page-entering.revealing body {
  opacity: 1;
  transition: opacity 0.4s ease;
}

html.page-entering.revealing .page-transition__line {
  animation: lineCollapse 0.3s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}

html.page-entering.revealing .page-transition__overlay {
  animation: overlayDown 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.youth-education-pages-responsive.sec_padding {
  padding: 30px;
}

.yip-page.youth-education-pages-responsive.sec_padding {
  padding: 20px;
}

.youth-education-pages-responsiveness.sec_padding {
  padding: 0;
}

.education-bottom-padding.sec_padding {
  padding-bottom: 60px !important;
}

.education-top-padding.sec_padding {
  padding-top: 60px !important;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) ease;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--color-copper);
  color: var(--color-white);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-copper);
  outline-offset: 3px;
}

.wp-block-columns {
  display: flex;
  justify-content: space-between;
  /* padding:0px 20px 0px 20px; */
}

.ponca-news__card {
  border-radius: 8px !important;
}

.right-col-form {
  padding-top: 128px;
}

.editor-styles-wrapper .wp-block {
  max-width: 100% !important;
}

ul,
li {
  list-style: none !important
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.heading-hero {
  font-size: var(--text-hero);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.heading-1 {
  font-size: var(--text-4xl);
  font-weight: 300;
  letter-spacing: -0.02em;
}

.heading-2 {
  font-size: var(--text-3xl);
  font-weight: 400;
}

.heading-3 {
  font-size: var(--text-2xl);
  font-weight: 400;
}

.heading-4 {
  font-size: var(--text-xl);
  font-weight: 500;
}

.text-lg {
  font-size: var(--text-lg);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-xs {
  font-size: var(--text-xs);
}

.font-display {
  font-family: var(--font-display);
}

.font-body {
  font-family: var(--font-body);
}

.uppercase {
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-copper);
}

.label-dark {
  color: var(--color-copper-light);
}

/* --- Layout --- */
.container {
  max-width: var(--container-max);
  width: 100%;
  margin: 0 auto;
}

.sec_padding {
  padding: 120px 0px;
}

.sec_padding_footer {
  padding: 120px 0px 203px;
}

.sec_padding_top {
  padding: 120px 0px 0px;
}

.sec_padding_bottom {
  padding: 0px 0px 120px;
}

.sec_padding_footer_bottom {
  padding: 0px 0px 203px;
}

/* ============================================================
   NAVIGATION — Two-row: Brand Bar + Link Bar
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 8;
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.nav--transparent {
  background: transparent;
}

.nav--solid {
  background: rgba(13, 15, 14, 0.97);
  backdrop-filter: blur(30px) saturate(1.4);
  -webkit-backdrop-filter: blur(30px) saturate(1.4);
}

/* ---- Row 1: Brand Bar ---- */
.nav__brand {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: var(--container-max);
  margin: 0 auto;
  position: relative;
  z-index: 1001;
  transition: padding var(--duration-slow) var(--ease-out-expo);
}

/* Transparent state: generous height */
.nav--transparent .nav__brand {
  padding-top: 1.2rem;
  padding-bottom: 0.8rem;
}

/* Solid/scrolled state: compact */
.nav--solid .nav__brand {
  padding-top: 0.5rem;
  padding-bottom: 0.35rem;
}

/* The full brand assembly: ── PONCA TRIBE [seal] OF NEBRASKA ── */
.nav__logo {
  display: flex;
  align-items: center;
  gap: 0;
  z-index: 1001;
  text-decoration: none;
}

.nav__logo-line {
  flex: 1;
  min-width: 30px;
  max-width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-copper));
  opacity: 0.35;
  transition: all var(--duration-slow) var(--ease-out-expo);
}

.nav__logo-line--right {
  background: linear-gradient(90deg, var(--color-copper), transparent);
}

/* Shrink lines when scrolled */
.nav--solid .nav__logo-line {
  max-width: 40px;
  min-width: 15px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-cream);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: font-size var(--duration-slow) var(--ease-out-expo),
    letter-spacing var(--duration-slow) var(--ease-out-expo);
  padding: 0 clamp(0.6rem, 1vw, 1.2rem);
}

/* Transparent: large & spacious */
.nav--transparent .nav__logo-text {
  font-size: clamp(1rem, 0.7rem + 1vw, 1.55rem);
}

/* Scrolled: compact */
.nav--solid .nav__logo-text {
  font-size: clamp(0.7rem, 0.55rem + 0.5vw, 0.95rem);
  letter-spacing: 0.14em;
}

.nav__logo img {
  transition: height var(--duration-slow) var(--ease-out-expo),
    margin var(--duration-slow) var(--ease-out-expo);
}

.nav--transparent .nav__logo img {
  height: 72px;
  width: auto;
  margin: 0 clamp(0.5rem, 1vw, 1rem);
}

.nav--solid .nav__logo img {
  height: 38px;
  width: auto;
  margin: 0 clamp(0.3rem, 0.5vw, 0.6rem);
}

/* ---- Top / Bottom hairlines on brand bar ---- */
.nav__rule {
  display: block;
  height: 1px;
  border: none;
  margin: 0;
  transition: opacity var(--duration-slow) var(--ease-out-expo);
}

.nav__rule--top {
  background: linear-gradient(90deg,
      transparent 5%,
      rgba(184, 120, 78, 0.2) 30%,
      rgba(184, 120, 78, 0.35) 50%,
      rgba(184, 120, 78, 0.2) 70%,
      transparent 95%);
}

.nav__rule--mid {
  background: linear-gradient(90deg,
      transparent 5%,
      rgba(184, 120, 78, 0.15) 30%,
      rgba(184, 120, 78, 0.25) 50%,
      rgba(184, 120, 78, 0.15) 70%,
      transparent 95%);
}

.nav--solid .nav__rule--top {
  opacity: 0;
  height: 0;
}

/* ---- Row 2: Link Bar ---- */
.nav__linkbar {
  max-width: var(--container-max);
  margin: 0 auto;
  transition: all var(--duration-slow) var(--ease-out-expo);
}

@media (min-width: 1024px) {
  .nav__linkbar {
    display: block;
  }
}

.nav__links {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  padding: 0;
  transition: padding var(--duration-slow) var(--ease-out-expo);
}

.nav--transparent .nav__links {
  padding: 0.35rem 0 0.7rem;
}

.nav--solid .nav__links {
  padding: 0.15rem 0 0.4rem;
}

.nav__link {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  color: rgba(200, 191, 179, 0.6);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  position: relative;
  padding: 0.55rem 1.15rem;
  transition: color var(--duration-base) var(--ease-out-expo);
  overflow: hidden;
}

/* Numbered index for editorial feel */
.nav__link[data-index]::before {
  content: attr(data-index);
  display: inline-block;
  font-size: 0.5rem;
  font-weight: 600;
  color: var(--color-copper);
  margin-right: 0.3rem;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity var(--duration-base) var(--ease-out-expo),
    transform var(--duration-base) var(--ease-out-expo);
  vertical-align: top;
  line-height: 1.5;
}

/* Hover underline — slides in from left */
.nav__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 1.15rem;
  right: 1.15rem;
  height: 1px;
  background: var(--color-copper);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-cream);
}

.nav__link:hover[data-index]::before,
.nav__link--active[data-index]::before {
  opacity: 1;
  transform: translateY(0);
}

.nav__link:hover::after,
.nav__link--active::after {
  transform: scaleX(1);
}

/* Separator dots between links */
.nav__sep {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--color-copper);
  opacity: 0.2;
  flex-shrink: 0;
}

/* CTA sits at right end of link bar */
.nav__cta {
  display: none;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-night);
  background: var(--color-copper);
  padding: 15px 20px;
  border: 1px solid var(--color-copper);
  transition: all var(--duration-base) var(--ease-out-expo);
  position: relative;
  overflow: hidden;
  line-height: 18px;
  border-radius: 8px;
}

.event_buttons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.search_button {
  width: 18px;
  height: 18px
}

@media (min-width: 935px) {
  .nav__cta {
    display: flex;
  }
}

.nav__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-cream);
  transform: translateY(101%);
  transition: transform var(--duration-base) var(--ease-out-expo);
}

.nav__cta:hover {
  background: var(--color-yellow-200);
  border-color: var(--color-yellow-200);
}

.nav__cta-text {
  position: relative;
  z-index: 1;
}

.nav__cta .btn__arrow {
  position: relative;
  z-index: 1;
  transition: transform var(--duration-fast) ease;
}

.nav__cta:hover .btn__arrow {
  transform: translateX(4px);
}

/* Bottom rule under entire nav */
.nav__rule--bottom {
  background: linear-gradient(90deg,
      transparent 5%,
      rgba(184, 120, 78, 0.12) 30%,
      rgba(184, 120, 78, 0.2) 50%,
      rgba(184, 120, 78, 0.12) 70%,
      transparent 95%);
}

.nav--solid .nav__rule--bottom {
  opacity: 0.6;
}

/* --- Hamburger / Mobile Toggle --- */
.nav__hamburger {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  z-index: 1001;
  cursor: pointer;
  padding: 0.5rem 0;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

@media (min-width: 1024px) {
  .nav__hamburger {
    display: none;
  }
}

.nav__hamburger-label {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-sand);
  transition: color var(--duration-fast) ease;
}

.nav__hamburger:hover .nav__hamburger-label {
  color: var(--color-cream);
}

.nav__hamburger.active .nav__hamburger-label {
  color: var(--color-copper-light);
}

.nav__hamburger-lines {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
}

.nav__hamburger-lines span {
  display: block;
  height: 1.5px;
  background: var(--color-cream);
  transition: all var(--duration-base) var(--ease-out-expo);
  transform-origin: center;
}

.nav__hamburger-lines span:nth-child(1) {
  width: 100%;
}

.nav__hamburger-lines span:nth-child(2) {
  width: 60%;
  margin-left: auto;
}

.nav__hamburger.active .nav__hamburger-lines span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav__hamburger.active .nav__hamburger-lines span:nth-child(2) {
  width: 100%;
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU — Full-screen cinematic overlay
   ============================================================ */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  pointer-events: none;
  overflow: hidden;
}

/* Background layers */
.mobile-menu__bg {
  position: absolute;
  inset: 0;
  background: var(--color-night);
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease-out-expo);
}

.mobile-menu.active .mobile-menu__bg {
  transform: translateY(0);
}

/* Pattern layer */
.mobile-menu__pattern {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 10L80 30L60 50L40 30Z' fill='none' stroke='%23b8784e' stroke-width='0.6' opacity='0.04'/%3E%3Cpath d='M60 70L80 90L60 110L40 90Z' fill='none' stroke='%23b8784e' stroke-width='0.6' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}

.mobile-menu.active .mobile-menu__pattern {
  opacity: 1;
}

.mobile-menu.active {
  pointer-events: all;
}

/* Layout: two columns */
.mobile-menu__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
}

@media (min-width: 768px) {
  .mobile-menu__body {
    flex-direction: row;
    align-items: center;
    padding: 100px var(--space-lg) var(--space-md);
    gap: var(--space-xl);
  }

}

/* Main links column */
.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 1;
}

@media (min-width: 768px) {
  .mobile-menu__nav {
    max-width: 600px;
  }
}

.mobile-menu__link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.2rem + 3.5vw, 4.5rem);
  font-weight: 300;
  color: var(--color-cream);
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.15em 0;
  position: relative;
  overflow: hidden;
  transform: translateY(80px);
  opacity: 0;
  transition:
    transform 0.6s var(--ease-out-expo),
    opacity 0.6s var(--ease-out-expo),
    color 0.3s ease;
  border-bottom: 1px solid rgba(200, 191, 179, 0.06);
}

.mobile-menu__link-index {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--color-copper);
  min-width: 1.5em;
  padding-top: 0.35em;
  transition: color 0.3s ease;
}

/* Hover: copper highlight bar slides behind text */
.mobile-menu__link::before {
  content: '';
  position: absolute;
  left: -5%;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(184, 120, 78, 0.08), rgba(184, 120, 78, 0.03));
  transition: width 0.5s var(--ease-out-expo);
  z-index: -1;
}

.mobile-menu__link:hover {
  color: var(--color-copper-light);
}

.mobile-menu__link:hover::before {
  width: 110%;
}

.mobile-menu__link:hover .mobile-menu__link-index {
  color: var(--color-copper-light);
}

/* Staggered entrance */
.mobile-menu.active .mobile-menu__link {
  transform: translateY(0);
  opacity: 1;
}

.mobile-menu.active .mobile-menu__link:nth-child(1) {
  transition-delay: 0.15s;
}

.mobile-menu.active .mobile-menu__link:nth-child(2) {
  transition-delay: 0.2s;
}

.mobile-menu.active .mobile-menu__link:nth-child(3) {
  transition-delay: 0.25s;
}

.mobile-menu.active .mobile-menu__link:nth-child(4) {
  transition-delay: 0.3s;
}

.mobile-menu.active .mobile-menu__link:nth-child(5) {
  transition-delay: 0.35s;
}

.mobile-menu.active .mobile-menu__link:nth-child(6) {
  transition-delay: 0.4s;
}

.mobile-menu.active .mobile-menu__link:nth-child(7) {
  transition-delay: 0.45s;
}

/* Side info column */
.mobile-menu__info {
  display: none;
  flex-direction: column;
  gap: var(--space-md);
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.6s var(--ease-out-expo) 0.5s;
}

@media (min-width: 768px) {
  .mobile-menu__info {
    display: flex;
    width: 280px;
    flex-shrink: 0;
  }
}

.mobile-menu.active .mobile-menu__info {
  opacity: 1;
  transform: translateX(0);
}

.mobile-menu__info-block h4 {
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-copper);
  margin-bottom: 0.75rem;
}

.mobile-menu__info-block p,
.mobile-menu__info-block a {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.8;
}

.mobile-menu__info-block a:hover {
  color: var(--color-cream);
}

/* Footer bar */
.mobile-menu__footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  border-top: 1px solid rgba(200, 191, 179, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  opacity: 0;
  transition: opacity 0.5s ease 0.55s;
}

.mobile-menu.active .mobile-menu__footer {
  opacity: 1;
}

.mobile-menu__footer p {
  font-size: 0.65rem;
  color: var(--color-ash);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu__footer-line {
  width: 40px;
  height: 1px;
  background: var(--color-copper);
  opacity: 0.3;
}




/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--color-night);
  color: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.footer__texture {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 L30 0 L60 30 L30 60Z' fill='none' stroke='rgba(184,120,78,0.025)' stroke-width='0.5'/%3E%3C/svg%3E");
  pointer-events: none;
}

/* ---- CTA Band ---- */
.footer__cta {
  padding: 80px 0px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* .footer-pattern-bottom {
  position: absolute !important;
  bottom: 0;
  height: 83px !important;
  left: 0;
} */
.link-color-whole-page {
  color: var(--color-yellow-300);
}

.footer__cta-inner {
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 3vw, 3rem);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .footer__cta-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

.footer__cta-label {
  color: var(--color-copper);
  margin-bottom: var(--space-xs);
}

.footer__cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--color-cream);
}

.footer__cta-title em {
  font-style: italic;
  color: var(--color-yellow-base);
}

.footer__cta-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer__cta-actions {
    flex-direction: row;
    gap: 1rem;
  }
}

.footer__cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 1.75rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-cream);
  transition: all 0.35s var(--ease-out-expo);
  white-space: nowrap;
}

.footer__cta-btn:hover {
  border-color: var(--color-copper);
  background: rgba(184, 120, 78, 0.08);
}

.footer__cta-btn--primary {
  background: var(--color-red-shade-200);
  border-color: var(--color-red-shade-200);
  color: var(--color-vista-white);
}

/* ---- Main Footer Grid ---- */
.footer__main {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__main-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: clamp(2rem, 5vw, 5rem);
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  .footer__main-inner {
    grid-template-columns: 1fr 2fr;
  }
}

/* Brand */
.footer__logo {
  margin-bottom: var(--space-md);
}

.footer__logo img {
  height: 60px;
  width: auto;
}

.footer__brand-desc {
  font-size: 15px;
  color: var(--color-grey);
  line-height: 26px;
  max-width: 45ch;
  margin-bottom: var(--space-md);
}

.footer__address,
.footer__hours {
  margin-bottom: var(--space-sm);
}

.footer__address strong,
.footer__hours strong {
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-yellow-300);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.footer__address span,
.footer__hours span {
  display: block;
  font-size: 14px;
  color: var(--color-grey);
  line-height: 23px;
}

/* Right column: nav columns + partner/social meta row */
.footer__nav-wrap {
  display: flex;
  flex-direction: column;
  gap: clamp(2.5rem, 4vw, 3.5rem);
}

/* Nav columns */
.footer__nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.25rem, 2.5vw, 20px);
}

@media (max-width: 640px) {
  .footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.footer__col h4 {
  font-family: var(--font-body);
  font-size: 14.4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-yellow-300);
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 13px;
}

.footer__col ul {
  display: flex;
  flex-direction: column;
  gap: 9.6px;
}

.footer__col a {
  font-size: 16px;
  line-height: 25px;
  color: var(--color-grey);
  transition: color 0.25s ease;
  display: inline-block;
}

.footer__col a:hover {
  color: var(--color-cream);
}

/* ---- Partner logos + social icons ---- */
.footer__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(1.5rem, 4vw, 3rem);
}

.footer__partners {
  display: flex;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 60px);
}

.footer__partner {
  display: inline-flex;
  align-items: center;
}

.footer__partner-logo {
  height: 52px;
  width: auto;
  display: block;
  opacity: 0.85;
  transition: opacity 0.25s ease;
}

a.footer__partner:hover .footer__partner-logo {
  opacity: 1;
}

.footer__social {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 20px;
  opacity: 0.85;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.footer__social-icon {
  height: 20px;
  width: auto;
  display: block;
}

.footer__social-link:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ---- Bottom Bar ---- */
.footer__bottom-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .footer__bottom-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer__bottom p {
  font-size: var(--text-xs);
  color: var(--color-ash);
}

.footer__bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer__bottom-links a {
  font-size: var(--text-xs);
  color: var(--color-ash);
  transition: color 0.2s ease;
}

.footer__bottom-links a:hover {
  color: var(--color-copper-light);
}

/* (old footer CSS removed — replaced above) */

/* ============================================================
   DARK SECTIONS
   ============================================================ */


.bg-alt {
  background: var(--color-cream);
}

/* ============================================================
   LANGUAGE SECTION (Culture page) — Bento grid
   ============================================================ */
.lang-section {
  background: var(--color-cream);
  position: relative;
  overflow: hidden;
}

.lang-section__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Header — split */
.lang-section__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

@media (min-width: 1024px) {
  .lang-section__header {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.lang-section__label {
  color: var(--color-copper);
  margin-bottom: var(--space-xs);
}

.lang-section__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-night);
}

.lang-section__title em {
  font-style: italic;
  color: var(--color-copper);
}

.lang-section__desc {
  font-size: var(--text-base);
  color: var(--color-ash);
  line-height: 1.8;
  max-width: 45ch;
}

@media (min-width: 1024px) {
  .lang-section__desc {
    margin-left: auto;
  }
}

/* Bento grid */
.lang-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.2vw, 1rem);
}

@media (min-width: 768px) {
  .lang-section__grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
  }

  .lang-section__image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .lang-section__word {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }
}

@media (min-width: 1024px) {
  .lang-section__grid {
    grid-template-columns: 1.3fr 0.7fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .lang-section__image {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .lang-section__word {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }
}

/* Image tile */
.lang-section__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  min-height: 280px;
}

.lang-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 1s var(--ease-out-expo);
}

.lang-section__image:hover img {
  transform: scale(1.04);
}

/* Ponca word tile */
.lang-section__word {
  background: var(--color-night);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 3vw, 3rem);
  min-height: 200px;
}

.lang-section__word-ponca {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 6vw, 5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-copper-light);
  line-height: 1;
}

.lang-section__word-line {
  width: 30px;
  height: 2px;
  background: var(--color-copper);
  margin: 1rem 0;
}

.lang-section__word-english {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-stone);
  font-weight: 600;
}

/* Program cards */
.lang-program {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: clamp(1.25rem, 2vw, 1.5rem);
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: var(--color-white);
  transition: all 0.35s var(--ease-out-expo);
}

.lang-program:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  border-color: rgba(184, 120, 78, 0.15);
}

.lang-program__icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-night);
  color: var(--color-copper-light);
  flex-shrink: 0;
  transition: all 0.35s var(--ease-out-expo);
}

.lang-program:hover .lang-program__icon {
  background: var(--color-copper);
  color: var(--color-cream);
}

.lang-program__icon svg {
  width: 18px;
  height: 18px;
}

.lang-program__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-night);
  margin-bottom: 0.15rem;
}

.lang-program__text {
  font-size: var(--text-xs);
  color: var(--color-ash);
  line-height: 1.5;
}

/* ============================================================
   POWWOW — Cinematic Immersive Section
   ============================================================ */
.powwow {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.powwow__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.powwow__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.powwow__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(13, 15, 14, 0.78);
}

@media (max-width: 767px) {
  .powwow__overlay {
    background: rgba(13, 15, 14, 0.85);
  }
}

.powwow__side-label {
  position: absolute;
  left: clamp(1rem, 2vw, 2rem);
  top: 50%;
  transform: rotate(-90deg) translateX(-50%);
  transform-origin: left center;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: rgba(240, 235, 228, 0.25);
  font-weight: 600;
  z-index: 3;
  white-space: nowrap;
  display: none;
}

@media (min-width: 1024px) {
  .powwow__side-label {
    display: block;
  }
}

.powwow__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
}

.powwow__split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 4vw, 4rem);
}

@media (min-width: 1024px) {
  .powwow__split {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }
}

.powwow__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 300;
  line-height: 1.05;
  color: var(--color-cream);
  margin-top: var(--space-sm);
  margin-bottom: var(--space-md);
}

.powwow__title em {
  font-style: italic;
  color: var(--color-copper-light);
}

.powwow__desc {
  font-size: var(--text-base);
  color: var(--color-stone);
  line-height: 1.85;
  max-width: 50ch;
  margin-bottom: var(--space-md);
}

.powwow__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  background: var(--color-copper);
  color: var(--color-cream);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.4s var(--ease-out-expo);
}

.powwow__cta:hover {
  background: var(--color-copper-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184, 120, 78, 0.3);
}

/* Detail items */
.powwow__details {
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.powwow__detail {
  display: flex;
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.5rem);
  padding-bottom: clamp(1.5rem, 3vw, 2.5rem);
  border-bottom: 1px solid rgba(240, 235, 228, 0.08);
}

.powwow__detail:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.powwow__detail-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--color-copper-light);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3ch;
}

.powwow__detail-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-cream);
  margin-bottom: 0.35rem;
}

.powwow__detail-text {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.7;
  max-width: 35ch;
}

/* ============================================================
   CULTURAL PROGRAMS — Editorial Numbered Cards
   ============================================================ */
.cprograms {
  background: var(--color-ivory);
  position: relative;
  overflow: hidden;
}

.cprograms__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

/* Header — split */
.cprograms__header {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

@media (min-width: 1024px) {
  .cprograms__header {
    grid-template-columns: 1fr 1fr;
    align-items: end;
  }
}

.cprograms__label {
  color: var(--color-copper);
  margin-bottom: var(--space-xs);
}

.cprograms__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-night);
}

.cprograms__title em {
  font-style: italic;
  color: var(--color-copper);
}

.cprograms__desc {
  font-size: var(--text-base);
  color: var(--color-ash);
  line-height: 1.8;
  max-width: 45ch;
}

@media (min-width: 1024px) {
  .cprograms__desc {
    margin-left: auto;
  }
}

/* Bento grid — image cards */
.cprograms__bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.5rem, 1vw, 0.75rem);
}

@media (min-width: 768px) {
  .cprograms__bento {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: 1fr 1fr;
  }

  .cprograms__card--museum {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }
}

@media (min-width: 1024px) {
  .cprograms__bento {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .cprograms__card--museum {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
  }

  .cprograms__card--buffalo {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .cprograms__card--historic {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .cprograms__card--education {
    grid-column: 2 / 4;
    grid-row: 2 / 3;
  }
}

/* Image card base */
.cprograms__card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.cprograms__card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out-expo);
}

.cprograms__card:hover .cprograms__card-img {
  transform: scale(1.06);
}

/* Gradient overlay */
.cprograms__card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg,
      rgba(13, 15, 14, 0.88) 0%,
      rgba(13, 15, 14, 0.45) 45%,
      rgba(13, 15, 14, 0.1) 100%);
  transition: background 0.6s var(--ease-out-expo);
}

.cprograms__card:hover .cprograms__card-overlay {
  background: linear-gradient(0deg,
      rgba(13, 15, 14, 0.92) 0%,
      rgba(13, 15, 14, 0.55) 50%,
      rgba(13, 15, 14, 0.2) 100%);
}

/* Index number watermark */
.cprograms__card-index {
  position: absolute;
  top: clamp(0.75rem, 1.5vw, 1.25rem);
  right: clamp(0.75rem, 1.5vw, 1.25rem);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  z-index: 2;
  transition: color 0.4s ease;
}

.cprograms__card:hover .cprograms__card-index {
  color: rgba(184, 120, 78, 0.3);
}

/* Content at bottom */
.cprograms__card-content {
  position: relative;
  z-index: 2;
  padding: clamp(1.25rem, 2.5vw, 1.75rem);
}

.cprograms__card-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  color: var(--color-cream);
  margin-bottom: 0.4rem;
}

.cprograms__card-text {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.6s var(--ease-out-expo), opacity 0.4s ease, margin 0.4s ease;
  margin-bottom: 0;
}

.cprograms__card:hover .cprograms__card-text {
  max-height: 6rem;
  opacity: 1;
  margin-bottom: 0.75rem;
}

.cprograms__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  color: var(--color-copper-light);
  text-decoration: none;
  transition: gap 0.3s var(--ease-out-expo), color 0.3s ease;
}

.cprograms__card:hover .cprograms__card-link {
  color: var(--color-copper);
  gap: 0.75rem;
}

/* ============================================================
   CULTURAL SITES — Dark Section with Scroll Cards
   ============================================================ */
.csites {
  background: var(--color-night);
  position: relative;
  overflow: hidden;
}

.csites__inner {
  max-width: var(--container-max);
  margin: 0 auto;
}

.csites__header {
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.csites__label {
  color: var(--color-copper-light);
  margin-bottom: var(--space-xs);
}

.csites__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--color-cream);
  margin-bottom: var(--space-sm);
}

.csites__title em {
  font-style: italic;
  color: var(--color-copper-light);
}

.csites__desc {
  font-size: var(--text-base);
  color: var(--color-stone);
  line-height: 1.8;
  max-width: 50ch;
}

/* Card track */
.csites__track {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(0.75rem, 1.5vw, 1rem);
}

@media (min-width: 768px) {
  .csites__track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .csites__track {
    grid-template-columns: repeat(4, 1fr);
  }
}

.csites__card {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(240, 235, 228, 0.06);
  transition: all 0.5s var(--ease-out-expo);
  background: var(--color-charcoal);
}

.csites__card:hover {
  transform: translateY(-5px);
  border-color: rgba(184, 120, 78, 0.25);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.csites__card-visual {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.csites__card-gradient {
  position: absolute;
  inset: 0;
}

.csites__card-number {
  position: absolute;
  bottom: 0.75rem;
  right: 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3rem);
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.12);
  line-height: 1;
}

.csites__card-body {
  padding: clamp(1.25rem, 2vw, 1.5rem);
}

.csites__card-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-cream);
  margin-bottom: 0.5rem;
}

.csites__card-text {
  font-size: var(--text-sm);
  color: var(--color-stone);
  line-height: 1.7;
  margin-bottom: var(--space-sm);
}

.csites__card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--color-copper-light);
  text-decoration: none;
  transition: gap 0.3s var(--ease-out-expo);
}

.csites__card-link:hover {
  gap: 0.75rem;
  color: var(--color-copper);
}

/* ============================================================
   GALLERY GRID
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xs);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-grid__item {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--duration-base) var(--ease-out-expo);
}

.gallery-grid__item:hover {
  transform: scale(0.97);
  opacity: 0.85;
}

.gallery-grid__item--tall {
  grid-row: span 2;
  aspect-ratio: auto;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-copper {
  color: var(--color-copper);
}

.text-cream {
  color: var(--color-cream);
}

.text-muted {
  color: var(--color-ash);
}

.text-center {
  text-align: center;
}

.text-balance {
  text-wrap: balance;
}

.mt-xs {
  margin-top: var(--space-xs);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-xs {
  margin-bottom: var(--space-xs);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

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

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-xs {
  gap: var(--space-xs);
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Grain texture overlay */
.grain::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}

/* Standing Bear highlight section */
.highlight-block {
  position: relative;
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.highlight-block__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.highlight-block__content {
  position: relative;
  z-index: 2;
}

.highlight-block__quote {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--color-cream);
  max-width: 40ch;
  margin-bottom: var(--space-sm);
}

/* Culture page cards */
.culture-card {
  padding: var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--duration-base) var(--ease-out-expo);
}

.culture-card:hover {
  border-color: rgba(184, 120, 78, 0.15);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.culture-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(184, 120, 78, 0.1), rgba(184, 120, 78, 0.05));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  color: var(--color-copper);
}

.culture-card__title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.culture-card__text {
  font-size: var(--text-sm);
  color: var(--color-ash);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
}

.hipaa-form-embed:focus-visible {
  outline: none;
}

.profile_page .single_news_sec {
  margin-top: 0px;
}

.news_page {
  background: linear-gradient(180deg, var(--color-cream-100) 0%, var(--color-copper-200) 158.08%);
  position: relative;
}

.single_news_sec {
  display: grid;
  grid-template-columns: 6fr 4fr;
  align-items: start;
  gap: 100px;
}

.post_content {
  margin-top: 80px
}

.ponca-hi__paragraph ul li {
  list-style: disc !important;
}

.post_content h2 {
  font-size: 50px;
  font-weight: 600;
  color: var(--color-night);
  font-family: 'Cormorant Garamond', 'Times New Roman', serif;
}

.content_detail p,
.content_detail img,
.content_detail .wp-block-file,
.content_detail .wp-block-heading,
.content_detail iframe {
  margin-top: 30px
}

.posts_sidebar {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.widget_ponca_recent_posts,
.widget_ponca_upcoming_events {
  background-color: var(--color-white);
  border: 1px solid var(--color-yellow-500);
  border-radius: 16px;
  padding: 30px;
}

.sidebar_heading {
  font-size: 27px;
  color: var(--color-night);
  line-height: 37px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-yellow-200)
}

.post_lists {
  display: flex;
  gap: 30px;
  flex-direction: column;
  margin-top: 30px
}

.single_post_sec {
  display: flex;
  gap: 30px;
  align-items: start;
}

.single_post_sec img {
  border: 1px solid var(--color-cream-400);
  border-radius: 4px;
  object-fit: contain;
  max-height: 70px;
  max-width: 100px;
  width: 100%
}

.postlist_content {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.postlist_content p {
  font-size: 20px;
  color: var(--color-dark);
  line-height: 28px;
}

.postlist_content span {
  font-size: 14px;
  color: var(--color-yellow-200);
  line-height: 20px;
}

.post_author {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding: 20px 0px;
  border-top: 1px solid var(--color-cream-300);
  border-bottom: 1px solid var(--color-cream-300)
}

.author_info {
  display: flex;
  gap: 4px
}

.post_author p {
  font-size: 13px;
  color: var(--color-grey-100);
}

.single_news_sec {
  margin-top: 60px
}

.back_link {
  display: flex;
  gap: 5px;
  color: var(--color-grey-200);
  size: 12px
}

/* Event single (single-events.php) — location/date/time/labels, share,
   countdown, add-to-calendar panel shown below the event description. */
.event_detail_box {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  background-color: var(--color-white);
  border: 1px solid var(--color-yellow-500);
  border-radius: var(--radius-lg);
  padding: 30px;
}

.event_dtl_row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-cream-300);
}

.event_dtl_row:first-child {
  padding-top: 0;
}

.event_dtl_row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event_dtl_label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--color-yellow-200);
  white-space: nowrap;
}

.event_dtl_value {
  font-size: 16px;
  color: var(--color-night);
  text-align: right;
}

.event_share_icons {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--color-grey);
}

.event_share_icon {
  display: inline-flex;
  color: inherit;
  transition: color .2s ease;
}

.event_share_icon:hover {
  color: var(--color-yellow-200);
}

.event_countdown {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-night);
  text-align: right;
}

.event_calendar_actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.event_cal_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.event_cal_btn--gcal {
  background-color: #1B7A43;
  border: 1px solid #1B7A43;
  color: var(--color-white);
}

.event_cal_btn--gcal:hover {
  background-color: #145E33;
  border-color: #145E33;
  color: var(--color-white);
}

.event_cal_btn--ical {
  background-color: transparent;
  border: 1px solid var(--color-corduroy-100);
  color: var(--color-corduroy-100);
}

.event_cal_btn--ical:hover {
  background-color: var(--color-corduroy-100);
  color: var(--color-white);
}

.nav_sticky {
  transition: box-shadow .3s ease;
}

.ponca-nav-strip.nav_sticky.is-sticky {
  position: fixed;
  top: 120px;
  left: 0;
  width: 100%;
  z-index: 9999;
  animation: navStickyFade .3s ease forwards;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .08);
}

.admin-bar .ponca-nav-strip.nav_sticky.is-sticky {
  top: 150px
}

.nav_sticky .ponca-nav-strip__container a.ponca-nav-strip__item:last-of-type {
  background-color: var(--color-yellow-base);
  color: var(--color-red-shade-200);
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav_sticky .ponca-nav-strip__container a.ponca-nav-strip__item:last-of-type::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../images/info-circle.svg);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  color-scheme: only light;
}
.nav_sticky .ponca-nav-strip__item:last-child .ponca-nav-strip__label{
   color-scheme: only light;
}
.admin-bar .nav {
  margin-top: 32px;
}

.ca-wrap {
  background-color: var(--color-white);
  border: 1px solid var(--color-yellow-500);
  border-radius: 16px;
  padding: 30px;
}

.footer__bottom-links>ul {
  display: flex;
  gap: 24px;
  flex-direction: row;
}

/* ════════════════════ ACCESSIBILITY WIDGET (UserWay) ════════════════════ */
body .uwy.userway_p3 .userway_buttons_wrapper {
  bottom: 104px !important;
  right: 24px !important;
  left: unset !important;
  top: unset !important;
  box-shadow: 0 4px 16px rgba(11, 60, 93, .3);
  width: 44px;
  height: 44px;
  border-radius: 4px;
  transform: none;
  background: var(--color-red-shade-300);
}

body .uwy.userway_p3 .userway_buttons_wrapper .uiiw .ui_b,
body .uwy.userway_p3 .userway_buttons_wrapper .uiiw .ui_w {
  display: none !important;
}

body .uwy.userway_p3 .userway_buttons_wrapper .uai,
body .uwy.userway_p3 .userway_buttons_wrapper .ulsti {
  width: 44px;
  height: 44px;
  background-color: var(--color-red-shade-300) !important;
  border-radius: 4px !important;
}

body .uwy.userway_p3 .userway_buttons_wrapper .uiiw {
  background-image: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><!-- Uploaded to: SVG Repo, www.svgrepo.com, Generator: SVG Repo Mixer Tools --><svg width="800px" height="800px" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill="%23FFFFFF" fill-rule="evenodd" d="M13.4338078,4.18678 C13.5358078,4.65874 13.2359078,5.12406 12.7640078,5.22611 L10.0455078,5.81388 C9.58532779,5.91339 9.25686779,6.32045 9.25686779,6.7913 L9.25686779,7.67098 C9.25686779,8.62688 9.42818779,9.57506 9.76270779,10.4705 L11.3873078,14.8195 C11.5563078,15.2718 11.3266078,15.7755 10.8742078,15.9445 C10.4219078,16.1135 9.91820779,15.8837 9.74930779,15.4314 L8.19520779,11.2713 C8.03331779,10.8379 7.42032779,10.8379 7.25843779,11.2713 L5.70436779,15.4314 C5.53538779,15.8837 5.03171779,16.1135 4.57938779,15.9445 C4.12705779,15.7755 3.89734779,15.2718 4.06632779,14.8195 L5.69097779,10.4704 C6.02549779,9.57496 6.19681779,8.62678 6.19681779,7.67088 L6.19681779,6.79129 C6.19681779,6.32044 5.86835779,5.91338 5.40814779,5.81388 L2.68971779,5.22611 C2.21775779,5.12406 1.91788779,4.65874 2.01992779,4.18678 C2.12197779,3.71483 2.58729779,3.41495 3.05925779,3.517 L6.88151779,4.34344 C7.43863779,4.46389 8.01506779,4.46389 8.57218779,4.34344 L12.3944078,3.517 C12.8664078,3.41495 13.3317078,3.71483 13.4338078,4.18678 Z M7.68341779,0 C8.6491429,0 9.43201779,0.782874886 9.43201779,1.7486 C9.43201779,2.71432511 8.6491429,3.4972 7.68341779,3.4972 C6.71769267,3.4972 5.93481779,2.71432511 5.93481779,1.7486 C5.93481779,0.782874886 6.71769267,0 7.68341779,0 Z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 24px 30px;
  width: 30px;
  height: 30px;
}

.scroll-top svg {
  width: 24px;
  height: 24px;
}

.scroll-top svg path {
  stroke: var(--color-white);
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ponca-hs__container,
.ponca-sbf__wrap {
  padding: 0px 72px;
}

.wp-block-ponca-stats-ribbon {
  padding: 80px 0px !important
}

.sec_padding.leader {
  padding-bottom: 0px !important
}

.ponca-ih.sec_padding,
.ponca-connect-hero.sec_padding {
  padding-bottom: 64px !important
}

/* Sidebar Style */
.ponca-la__card.ponca-la__members {
  background: var(--color-charcoal);
  border: none;
  border-radius: 16px;
}

.ponca-la__right {
  display: flex;
  flex-basis: 504px;
  flex-direction: column;
  gap: 40px;
}

.ponca-la__right .ponca-la__card {
  padding: 40px;
}

.ponca-la__members-eyebrow {
  color: var(--color-yellow-200);
  font-size: 13px;
  line-height: 22px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.ponca-la__members-heading {
  color: var(--color-white);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 36px;
  line-height: 43.2px;
  letter-spacing: -0.36px;
  margin-bottom: 12px;
  font-weight: 500;
}

.ponca-la__members-heading span {
  display: block;
  color: var(--color-yellow-base);
  font-style: italic;
}

.ponca-la__members-body {
  color: var(--color-corduroy);
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 14.4px;
  line-height: 21.6px;
  margin-bottom: 12px;
}

.ponca-la__members-link {
  color: var(--color-yellow-300);
  font-size: 13px;
  line-height: 22px;
  margin: 7px 0 10px;
  font-weight: 600;
  letter-spacing: 1.92px;
  display: flex;
  gap: 10px;
}

.ponca-la__card.ponca-la__features {
  background: var(--color-white);
  border: 1px solid var(--color-yellow-500);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.ponca-la__features .ponca-la__feature {
  display: flex;
  flex-direction: row;
  gap: 20px;
}

.ponca-la__feature-text h4 {
  color: var(--color-night);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  line-height: 36.8px;
  font-weight: 600;
  letter-spacing: 0.58px;
}

.ponca-la__feature-text p {
  color: var(--color-corduroy-100);
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 25px;
  font-weight: 400;
}

.ponca-la__feature-icon img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
  margin-top: 5px;
}

.ponca-ra__card.ponca-ra__notice {
  background: var(--color-white);
  border: 1px solid var(--color-yellow-500);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: row;
  gap: 30px;
}

.ponca-ra__notice-icon {
  background: var(--color-yellow-600);
  width: 50px;
  height: 50px;
  display: flex;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
}

.ponca-ra__notice-title {
  color: var(--color-night);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  font-size: 36px;
  line-height: 43.2px;
  letter-spacing: -0.36px;
}

.ponca-ra__notice-text {
  color: var(--color-grey-100);
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-size: 14.4px;
  line-height: 21.6px;
  font-weight: 400;
}

.ponca-ra__notice-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: calc(100% - 80px);
}

.ponca-ra__notice-link {
  color: var(--color-yellow-300);
  font-family: 'DM Sans', sans-serif;
  font-weight: 600;
  letter-spacing: 1.92px;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 22px;
  margin: 7px 0 10px;
}


.ponca-nav-strip__mobile-row .ponca-nav-strip__mobile-item {
  font-weight: 600 !important;
}

footer .sec_padding.footer__cta,
footer .sec_padding.footer__main {
  padding: 80px 0;
}

footer .sec_padding.footer__bottom {
  padding: 20px 0;
}

footer .footer__brand {
  max-width: 370px;
}

footer .footer__nav-wrap {
  max-width: 994px;
  width: 100%;
}

.ponca-nav-strip__mobile-row .ponca-nav-strip__mobile-item {
  font-weight: 600 !important;
}

html :where([style*=border-width]) {
  border-style: none;
}

.forms_res {
  padding-bottom: 0px;
}

html :where([style*=border-color]) {
  border: none !important
}

.sec_padding.borard_district {
  padding: 60px 48px;
}

.nav__links {
  position: relative;
}

body #mega-menu-wrap-primary_menu,
body #mega-menu-wrap-primary_menu #mega-menu-primary_menu {
  position: unset;
}

body #mega-menu-wrap-primary_menu #mega-menu-primary_menu>li.mega-menu-megamenu>ul.mega-sub-menu {
  width: var(--container-max);
  max-width: 100%;
}

.profile_page {
  position: relative;
}

.page-footer-image img {
  max-width: 100%;
  width: 100%;
  position: absolute;
  height: clamp(56px, 5vw, 83px);
  object-fit: cover;
  bottom: 0;
  left: 0px
}

.voting_district.sec_padding {
  padding: 0px
}

.wp-block-column .ponca-faq--no-numbers.sec_padding {
  padding: 0px
}

.footer_image img {
  height: clamp(56px, 5vw, 83px);
  object-fit: cover;
}

.footer_pattern_single img {
  position: absolute;
  bottom: 0px;
  left: 0px;
  max-width: 100%;
  width: 100%;
  height: clamp(56px, 5vw, 83px);
  object-fit: cover;
}

.single_footer.sec_padding {
  padding: 0px
}

.diabetes_pro.ponca-pg.sec_padding {
  padding-top: 50px;
  padding-bottom: 203px;
}

.ponca-pg.sec_padding.forms_res {
  padding-bottom: 0px;
  padding-top: 120px
}

.sec_padding.wp-block-ponca-buffalo-stats {
  padding: 60px 0px
}

/* .ponca-sch__inner{
  transition:transform 200ms ease, border-color 200ms ease;
}
.ponca-sch__inner:hover{
  transform: translateY(-2px);
  cursor: pointer;
}
.ponca-sch__link{
  padding-bottom:4px;
  border-bottom: 1px solid transparent;
}
.ponca-sch__inner:hover .ponca-sch__link, .ponca-sch__link:focus{
  gap: 14px;
  opacity: 0.85;
  border-bottom: 1px solid var(--psc-link-underline, var(--color-yellow-300));
} */

.ponca-news__card-link,
.ponca-bv__apply,
.ponca-rfp__cta,
.ponca-sch__link,
.ponca-nc__cta-row,
.ponca-dc__cta,
.ponca-nc__cta,
.cultural_program .ponca-fd__card-link-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.ponca-news__card-link::after,
.cultural_program .ponca-fd__card-link-row::after,
.ponca-bv__apply::after,
.ponca-rfp__cta::after,
.ponca-sch__link::after,
.ponca-nc__cta-row::after,
.ponca-dc__cta::after,
.ponca-bv__apply::after,
.ponca-nc__cta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color-yellow-300);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.ponca-news__card:hover .ponca-news__card-link::after,
.ponca-bv__card:hover .ponca-bv__apply::after,
.ponca-rfp__card:hover .ponca-rfp__cta::after,
.ponca-sch__inner:hover .ponca-sch__link::after,
.ponca-nc__card:hover .ponca-nc__cta-row::after,
.ponca-dc__card:hover .ponca-dc__cta::after,
.ponca-nc__card:hover .ponca-nc__cta::after,
.cultural_program .ponca-fd__card-link-row::after {
  transform: scaleX(1);
}

.ponca-er__card,
.ponca-ls__featured,
.ponca-bv__card,
.ponca-sch.wp-block-ponca-scholarship-card,
.ponca-nc__card,
.ponca-dc__card,
.ponca-fd__card {
  transition: transform 200ms ease, border-color 200ms ease;
}

.ponca-er__card:hover,
.ponca-ls__featured:hover,
.ponca-bv__card:hover,
.ponca-sch.wp-block-ponca-scholarship-card:hover,
.ponca-nc__card:hover,
.ponca-dc__card:hover {
  transform: translateY(-2px);
}


.ponca-er__card:hover .ponca-er__card-link-underline,
.ponca-ls__featured:hover .ponca-ls__featured-link-underline,
.ponca-lc__card:hover .ponca-lc__card-link-underline {
  background: var(--color-yellow-300);
}

.ponca-tg__card:hover .ponca-tg__rm-underline {
  background: var(--color-yellow-base);
}

.ponca-fd__card-link-text {
  position: relative;
  display: inline-block;
}

.ponca-tt__card:hover .ponca-tt__card-link-underline {
  background: var(--color-red-shade-200);
}

.ponca-fd__card.has-link:hover .ponca-fd__card-link-underline {
  background: var(--ponca-fd-link-underline-hover, var(--color-yellow-300));
  display: block;
  width: 100%;
  height: 1px;
}

.ponca-rfp__card {
  border-color: var(--color-golden) !important;
}

.ponca-rfp__card:hover {
  border-color: var(--color-yellow-200) !important;
}

.ponca-er__card-link-underline,
.ponca-fd__card-link-underline,
.ponca-ls__featured-link-underline,
.ponca-fd__card-link-underline,
.ponca-lc__card-link-underline {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.hover_c_chng .ponca-fd__card:hover .ponca-fd__card-title {
  color: var(--color-yellow-500);
}

.ponca-er__card:hover .ponca-er__card-link-underline,
.ponca-fd__card:hover .ponca-fd__card-link-underline,
.ponca-ls__featured:hover .ponca-ls__featured-link-underline,
.ponca-fd__card:hover .ponca-fd__card-link-underline,
.ponca-lc__card:hover .ponca-lc__card-link-underline {
  transform: scaleX(1);
}

.ponca-bv__apply,
.ponca-nc__cta,
.ponca-sr__card-link,
.ponca-nl__cta,
.ponca-dc__cta,
.ponca-ec__cta {
  background-image: linear-gradient(var(--color-yellow-300), var(--color-yellow-300));
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: 0% 1px;
  transition: background-size 0.3s ease;
}

.ponca-bv__card:hover .ponca-bv__apply,
.ponca-nc__card:hover .ponca-nc__cta,
.ponca-sr__card:hover .ponca-sr__card-link,
.ponca-nl__row:hover .ponca-nl__cta,
.ponca-dc__card:hover .ponca-dc__cta,
.ponca-ec:hover .ponca-ec__cta {
  background-size: 100% 1px;
}

.sec_padding.alert_box {
  padding: 48px;
}

.tow-line-one-line-heading .ponca-bv__heading {
  display: inline-flex;
  gap: 5px;
  flex-wrap: wrap;
}

.tow-line-one-line-heading .ponca-faq__title {
  display: inline-flex;
  flex-direction: row;
  gap: 5px;
}

.container.ponca-gl__inner {
  padding: 60px 48px;
}

.author_info img {
  width: 20px;
  height: 20px
}

.sec_padding.live_update {
  padding: 80px 0px
}

.leader {
  padding-top: clamp(30px, 4vw, 60px);
}

.content_detail ul,
.content_detail ol {
  margin: 30px 0px 30px 30px;
}

.content_detail ul li {
  list-style: disc !important;
}

.content_detail ol li {
  list-style: decimal !important;
}

.council_meeting .ponca-ma__title {
  max-width: 1232px;
  width: 100%;
}

/* a.ponca-ma__item-sub::after,
.ponca-prcr__card.ponca-prcr__card--locked .ponca-prcr__card-filetype::after,
.ponca-fd__pdf-row.is-locked .ponca-fd__pdf-meta::after,
.ponca-sr__doc-meta--locked.ponca-sr__doc-meta--signin::after,
.ponca-icwa__doc-meta--locked::after,
.ponca-sp__doc-meta--locked::after,
.ponca-is__doc-meta--locked::after,
.ponca-hr__pdf-row.is-locked .ponca-hr__pdf-subtitle--signin::after,
.ponca-ls__pdf-type--signin::after,
.is-locked .ponca-yp__pdf-subtitle--signin::after,
.ponca-rf__row-subtitle a::after 
{
  content: "to view documents";
  position: absolute;
  margin-left: 5px;
  color: var(--color-grey-200)
} */
 .ponca-ma__item-note, .ponca-prcr__card-note{
  color: var(--color-grey-200);
  font-style: normal;
 }

.ponca-pg.sec_padding.princess_program {
  padding: 128px 0px;
}

.mediclation_doc {
  padding-top: clamp(30px, 4vw, 60px);
}

.mediclation_doc .ponca-fd__card-text {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mediclation_doc .ponca-fd__card-desc {
  text-align: center;
}

.ponca-ce__card-desc ul li {
  list-style: disc !important;
  margin-left: 20px;
}

.ponca-ps__description-paragraph a {
  color: var(--color-yellow-300);
}

/*Sitemap */

.ksm-sitemap {
  background: var(--color-cream-100);
}

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

.ksm-sitemap .ksm-container {
  display: flex;
  flex-direction: column;
  gap: clamp(30px, 4vw, 60px);
}

.ksm-sitemap .ksm-card {
  background: var(--color-white);
  border-radius: 1.5rem 1.5rem;
  overflow: hidden;
  border: 1px solid var(--color-golden) !important;
  transition: box-shadow 0.5s ease;
}

.ksm-sitemap .ksm-card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.ksm-sitemap .ksm-card-header {
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  background-color: #ffff;
  gap: 1rem;
}

.ksm-sitemap .ksm-icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cream-100);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  flex-shrink: 0;
  background-color: var(--color-yellow-base);
}

.ksm-sitemap .ksm-icon-box svg {
  width: 1.5rem;
  height: 1.5rem;
}

.ksm-sitemap .ksm-card-heading {
  flex: 1;
}

.ksm-sitemap .ksm-card-heading h2 {
  font-size: 24px;
  line-height: 1.75rem;
  font-weight: 700;
  color: var(--color-night);
  letter-spacing: inherit;
}

.ksm-sitemap .ksm-card-heading p {
  font-size: 0.875rem;
  color: var(--color-yellow-200);
  margin: 0.125rem 0 0;
  line-height: 1.4;
}

.ksm-sitemap .ksm-count {
  margin-left: auto;
  display: none;
  align-items: center;
  gap: 0.5rem;
  color: var(--);
  font-size: 0.875rem;
}

.ksm-card-body {
  border-top: 1px solid var(--color-golden) !important;
}

.ksm-sitemap .ksm-count-num {
  font-weight: 500;
}

.ksm-sitemap .ksm-card-body {
  padding: 1.5rem;
}

.ksm-sitemap .ksm-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px
}

.ksm-sitemap .ksm-link {
  position: relative;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--color-golden) !important;
  background-color: var(--color-cream-100);
  color: inherit;
  text-decoration: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  flex-wrap: wrap;
}

.ksm-sitemap .ksm-link:hover {
  background-color: var(--color-white);
  border-color: var(--color-yellow-200);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(61, 42, 42, 0.05);
}

.ksm-sitemap .ksm-link-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--color-white);
  border: 1px solid var(--color-golden);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ksm-sitemap .ksm-link:hover .ksm-link-icon {
  border-color: var(--color-yellow-200) !important;
  background-color: var(--color-cream-100)
}

.ksm-sitemap .ksm-link-icon svg {
  width: 1rem;
  height: 1rem;
  color: var(--color-yellow-200);
  transition: color 0.3s ease;
}

.ksm-sitemap .ksm-link:hover .ksm-link-icon svg {
  color: var(--color-yellow-200);
}

.ksm-sitemap .ksm-link-text {
  flex: 1;
}

.ksm-sitemap .ksm-link-text h3 {
  font-weight: 600;
  color: var(--color-yellow-200);
  font-size: 20px;
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
  text-transform: uppercase;

}

.ksm-sitemap .ksm-link:hover .ksm-link-text h3 {
  color: var(--color-yellow-200);
}

.ksm-sitemap .ksm-link-text p {
  font-size: 0.75rem;
  color: var(--color-yellow-base);
  margin: 0.25rem 0 0;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ksm-sitemap .ksm-card-header-link {
  text-decoration: none;
  color: inherit;
  transition: opacity 0.3s ease;
  background-color: #ffff;
}

.ksm-sitemap .ksm-card-header-link .ksm-card-heading h2 {
  transition: color 0.3s ease;
}

.ksm-sitemap .ksm-card-header-link:hover .ksm-card-heading h2 {
  color: var(--color-yellow-base);
}

.ksm-sitemap .ksm-card-header-link:hover .ksm-icon-box {
  opacity: 0.9;
}

.ksm-sitemap .ksm-link--parent {
  flex-direction: column;
  cursor: default;
}

.ksm-sitemap .ksm-link-head {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.ksm-sitemap .ksm-sublinks {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 10px;
}

.ksm-sitemap .ksm-sublinks a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 16px;
  line-height: 1.4;
  text-decoration: none;
  padding: 0.3rem 0.5rem;
  border-radius: 0.375rem;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.ksm-sitemap .ksm-sublinks a::before {
  content: "";
  flex-shrink: 0;
  width: 4px;
  height: 4px;
  border-radius: 9999px;
  background: var(--color-yellow-300);
  transition: background-color 0.2s ease;
}

.ksm-sitemap .ksm-sublinks a:hover {
  color: var(--color-yellow-base);
}

#circle-of-elders .ponca-fd__card:hover {
  border-color: var(--color-yellow-base)
}

.hover_c_chng .ponca-fd__card:hover .ponca-fd__card-title {
  color: var(--color-yellow-500)
}

.hover_c_chng .ponca-fd__card:hover .ponca-fd__card-desc {
  color: var(--color-corduroy)
}

.ponca-ec__item-text ul li {
  list-style: disc !important;
  margin-left: 30px;
  overflow: visible !important;
}

.ponca-cb__paragraph a {
  color: var(--color-yellow-base)
}

.ponca-fd__card:hover .ponca-fd__card-eyebrow--badge {
  background-color: var(--color-yellow-200);
}

.ponca-fd__card:hover,
.ponca-fd__card:focus-visible {
  background: var(--ponca-fd-card-bg-hover);
}

.ponca-fd__card-desc a {
  color: var(--color-yellow-200);
}

.saftey_doc .ponca-sp__doc-row {
  margin-bottom: 30px;
  position: relative;
}

.saftey_doc .ponca-sp__doc-row::after {
  content: "";
  position: absolute;
  bottom: -30px;
  left: 0px;
  width: 100%;
  height: 1px;
  background-color: #A7A7A7;
}

#mega-menu-wrap-primary_menu #mega-menu-primary_menu>li.mega-menu-item {
  margin: 0px
}

#mega-menu-primary_menu {
  display: flex;
  gap: 15px;
}

.error_page {
  background: var(--color-night);
  min-height: 80vh;
  display: flex;
  align-items: end;
  margin: auto;
  height: 100%;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  ;
}

.error_block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px
}

.error_block h1 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--color-yellow-500);
  font-size: clamp(36px, 3.5vw, 56px);
}

.error_block .error_number {
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: var(--color-yellow-base);
  font-size: clamp(64px, 9.04vw, 136px);
  line-height: 1.1;
}

.error_block p {
  color: #979590;
  font-size: 18px;
  max-width: 600px;
  text-align: center;
}

.error_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px
}

.back_home .link_label {
  color: var(--color-night);
  font-size: 14px;
  font-family: 'DM Sans', 'Helvetica Neue', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 20px;
}

.back_home:hover .link_label {
  text-decoration: underline;
}

.back_home {
  background-color: var(--color-yellow-base);
  display: inline-flex;
  gap: 10px;
  padding: 18px 32px;
  border-radius: 4px;
  align-items: center;
  justify-content: center;
  margin-top: 20px
}

.back_home .btn-arrow {
  line-height: 20px;
  margin-top: -2px
}

.ponca-is__faq-answer-wrap ul li,
.ponca-sch__inner ul li,
.ponca-prc__left ul li {
  list-style: disc !important;
  margin-left: 25px;
  overflow: visible;
}

.ponca-prc__left ol li {
  list-style: decimal !important;
  margin-left: 25px;
  overflow: visible;
}

.ponca-td__intro-paragraph a,
.ponca-ma__group-subheading a,
.ponca-sch__inner a,
.post_content .content_detail a,
.ponca-fd__description a {
  color: var(--color-yellow-300)
}

.k12_opp .ponca-fd__cards {
  padding-top: 5px;
}

.ponca-fd__card-desc ul li {
  list-style: disc !important;
  margin-left: 20px;
}

.content_detail .ponca-pg__image {
  margin-top: 0px
}

.wp-block-file__button {
  padding: 10px 20px;
}

.ponca-ma__year:last-child .ponca-ma__pag-divider {
  display: none;
}

.ponca-hi__paragraph ul li {
  list-style: disc !important;
}

body #mega-menu-wrap-primary_menu #mega-menu-primary_menu>li.mega-menu-item>a.mega-menu-link {
  font-weight: 500;
  color: #ffffff;
}
#mega-menu-wrap-primary_menu #mega-menu-primary_menu > li.mega-menu-item.mega-toggle-on > a.mega-menu-link,    
#mega-menu-wrap-primary_menu #mega-menu-primary_menu > li.mega-menu-item > a.mega-menu-link:hover,
 #mega-menu-wrap-primary_menu #mega-menu-primary_menu > li.mega-menu-item > a.mega-menu-link:focus,
 #mega-menu-wrap-primary_menu #mega-menu-primary_menu > li.mega-menu-item.mega-current-menu-item > a.mega-menu-link  {
  font-weight: 500!important;
 }
.ponca-fd__card:has(a):hover {
  transform: translateY(-2px);
}
:root { --ponca-sticky-h: 120px; }

[id] { scroll-margin-top: calc(var(--ponca-sticky-h) + 16px); }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.ponca-cc__row--fax .ponca-cc__row-link:hover {
    color: var(--ponca-cc-text-color, #474747)!important
}

body div.ctct-form-embed div.ctct-form-defaults {
	border: 1px solid #E2D7CA;
    border-radius: 16px;
    padding: 31px;
    background: #FFFFFF;
    margin: 0px auto;
}
body div.ctct-form-embed div.ctct-form-defaults h2.ctct-form-header, 
body div.ctct-form-embed div.ctct-form-defaults p.ctct-form-text {
	display: none; 
}
body div.ctct-form-embed form.ctct-form-custom label.ctct-form-label {
  font-size: 14px;
  color: #0D0F0E;
}
body div.ctct-form-embed form.ctct-form-custom input.ctct-form-element {
  border: 1px solid #D4D4D4 !important;
  border-radius: 4px;
}
body div.ctct-form-embed.form_0 form.ctct-form-custom button.ctct-form-button,
body div.ctct-form-embed.form_0 form.ctct-form-custom button.ctct-form-button:hover {
  margin: 0px;
  background: #7E1504;
  border-color: #7E1504;
  border-radius: 4px;
  padding: 14px 26px;
  color: #EEDCD9;
  font-size: 16px;
  text-transform: capitalize;
  width: auto;
}

body .uwy {
  z-index: 9 !important;
}
.nav__links .nav__rule.nav__rule--mid {
  display: none;
}

@media(max-width: 935px) {
  body #mega-menu-wrap-primary_menu .mega-menu-toggle {
    background-color: transparent;
  }
  body.menu-open #mega-menu-wrap-primary_menu .mega-menu-toggle {
    background-color: black;
    padding: 0 32px;
  }
  .search_button, .search_button_img {
    width: 24px;
    height: 24px;
  }
  #mega-menu-wrap-primary_menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated-box {
    width: 24px;
  }
  #mega-menu-wrap-primary_menu .mega-menu-toggle .mega-toggle-blocks-right {
    padding-right: 0;
  }
  #mega-menu-wrap-primary_menu .mega-menu-toggle .mega-toggle-blocks-left,
  #mega-menu-wrap-primary_menu .mega-menu-toggle .mega-toggle-blocks-center {
    display: none;
  }
  #mega-menu-wrap-primary_menu .mega-menu-toggle {
    height: auto;
  }
  .menu-open .nav__links .nav__rule.nav__rule--mid {
    display: block;
  }

  #mega-menu-wrap-primary_menu .mega-menu-toggle .mega-toggle-block-1 .mega-toggle-animated {
    transform: scale(1);
  }
  body #mega-menu-wrap-primary_menu #mega-menu-primary_menu>li.mega-menu-item>a.mega-menu-link {
    padding: 0;
  }
}

body #mega-menu-wrap-primary_menu .mega-menu-toggle .mega-toggle-block-0 .mega-toggle-animated {
  transform: none;
  width: 24px;
  height: 24px;
}
.ponca-menu-icon {
  display: block;
  width: 30px;
  height: 30px;
  overflow: visible;
}
.ponca-menu-icon__line {
  transform-box: view-box;
  transform-origin: 12px 12px;
  transition: transform 0.3s cubic-bezier(0.645, 0.045, 0.355, 1), opacity 0.15s ease;
}
.mega-menu-toggle.mega-menu-open .ponca-menu-icon__line--top {
  transform: rotate(45deg) translateY(5px);
}
.mega-menu-toggle.mega-menu-open .ponca-menu-icon__line--mid {
  opacity: 0;
}
.mega-menu-toggle.mega-menu-open .ponca-menu-icon__line--bot {
  transform: rotate(-45deg) translateY(-5px);
}
@media (prefers-reduced-motion: reduce) {
  .ponca-menu-icon__line {
    transition: none;
  }
}
a {
    overflow-wrap: anywhere;
    word-break: break-word;
}
/* ==========================================================================
   Header account menu
   ========================================================================== */

.nav__account { position: relative; display: inline-block; }

.nav__avatar {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	background: var(--color-yellow-200);
	color: var(--color-night);
	font-family: inherit;
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	cursor: pointer;
	transition: box-shadow 0.18s ease;
}
.nav__cta.profile{
 border-radius: 50%;
}

.nav__account-menu {
	position: absolute;
	top: calc(100% + 12px);
	right: 0;
	z-index: 100;
	width: 310px;
	max-width: calc(100vw - 32px);
	padding: 6px 0;
	color: #000000CC;
	border:#FFFFFF33 1px solid;
	border-radius: 10px;
	box-shadow: 0 18px 44px rgba(0, 0, 0, 0.45);
	text-align: left;
	opacity: 0;
  background:var(--color-charcoal);
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}

.nav__account-menu::before {
	content: '';
	position: absolute;
	left: 0; right: 0; top: -12px;
	height: 12px;
}

.nav__account.is-open .nav__account-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	transition-delay: 0s;
}
@media (hover: hover) and (pointer: fine) {
	.nav__account:hover .nav__account-menu,
	.nav__account:focus-within .nav__account-menu {
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		transition-delay: 0s;
	}
}
.nav__account.is-dismissed .nav__account-menu {
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) { .nav__account-menu { transition: none; } }
.nav__account-id { 
  display: flex; 
  align-items: center; 
  gap: 14px; 
  padding: 20px 18px; 
}
.nav__account-id .nav__avatar {
	width: 48px; height: 
  48px; font-size: 18px;
  font-weight:700px;
	cursor: default; 
  pointer-events: none;
	background: #3a3a3a; 
  color: var(--color-white);
  border-color: #FFFFFF33;
}
.nav__account-name { 
  margin: 0;
  color: var(--color-white); 
  font-size: 18px; 
  font-weight: 600; 
  line-height: 1.2;
  letter-spacing: 0.5px;
 }
.nav__account-email { 
  margin: 2px 0 0;
  color: var(--color-grey-200); 
  font-size: 14px; 
  word-break: break-all; 
}
.nav__account-rule { 
  height: 1px; 
  margin: 5px 0; 
  border: 0; 
  background: #333; }

.nav__account-link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 10px 18px;
	color: #FFFDF6BF;
	font-size: 16px;
	text-decoration: none;
	transition: background-color 0.15s ease;
}
.nav__account-link:hover, .nav__account-link:focus-visible { 
  background: #FFFDF61A;
  color: var(--color-cream-100); 
  outline: none; 
}
.nav__account-link span { 
  flex: 1; 
}
.nav__account-link .nav__account-chevron { 
  width: 6px; 
  height: 12px; 
}


/* Date fields shown as MM/DD/YYYY (js/main.js). */
.ponca-date {
  position: relative;
}
.ponca-date .ponca-date__text {
  width: 100%;
  padding-right: 44px !important;
}
.ponca-date__button {
  position: absolute;
  top: 50%;
  right: 6px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-primary, currentColor);
  cursor: pointer;
}
.ponca-date__button:disabled {
  cursor: default;
  opacity: .5;
}
/* Kept rendered (not display:none) so its native picker can still open. */
.ponca-date .ponca-date__native {
  position: absolute !important;
  right: 6px;
  bottom: 0;
  width: 34px !important;
  height: 1px !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0;
  pointer-events: none;
}

/* Formstack address field: when only one part is shown (e.g. just State, with
   Street/City/ZIP hidden), Formstack still gives it its fixed share of the row
   (flex-basis calc(40% / 33.33% - 10px)), leaving it a third wide. Hidden parts
   aren't rendered, so a lone part is the group's only child — let it fill the
   row. Formstack's generated class names change, so match its stable ones. */
.fsSubFieldGroup > .fsSubField:only-child {
  flex: 1 1 100%;
  max-width: 100%;
}
/* Its error message follows suit: the form's Formstack theme CSS lays address
   errors out on a 3-column grid under Street/City/State/ZIP, which parks a
   lone State's message in the middle third. With one part, stack it full
   width, left aligned. */
.fsFieldCell:has(.fsSubFieldGroup > .fsSubField:only-child) > .fsValidationError {
  display: block;
}
.fsFieldCell:has(.fsSubFieldGroup > .fsSubField:only-child) > .fsValidationError > [data-err] {
  grid-column: auto;
  grid-row: auto;
  width: 100%;
  justify-content: flex-start;
}
