/*
 * Krewe Historian v10.1 public design system — Step 1
 * Shared visual foundation only; page composition remains unchanged.
 */
:root {
  --kh-purple-900: #2b0b4d;
  --kh-purple-800: #3f126d;
  --kh-purple-700: #5a2090;
  --kh-green-800: #075d3b;
  --kh-green-700: #0b7a4d;
  --kh-green-600: #11945f;
  --kh-gold-600: #d89b08;
  --kh-gold-500: #efb51b;
  --kh-gold-300: #f4d36e;
  --kh-ink: #172033;
  --kh-muted: #667085;
  --kh-surface: #ffffff;
  --kh-surface-soft: #f7f8fb;
  --kh-border: #e4e7ec;
  --kh-shadow-sm: 0 2px 8px rgba(16, 24, 40, .08);
  --kh-shadow-md: 0 10px 30px rgba(16, 24, 40, .12);
  --kh-radius-sm: 8px;
  --kh-radius-md: 14px;
  --kh-radius-lg: 20px;
  --kh-space-1: 4px;
  --kh-space-2: 8px;
  --kh-space-3: 12px;
  --kh-space-4: 16px;
  --kh-space-5: 24px;
  --kh-space-6: 32px;
  --kh-space-7: 48px;
  --kh-content-max: 1240px;
  --kh-transition: 180ms ease;
}

/* Public KH surfaces only. */
.kh-public-shell,
.kh-directory,
.kh-krewe-directory,
.kh-group-directory,
.kh-profile-page,
.kh-year-page,
.kh-collection-page,
.kh-year-review,
.carnival-dictionary-public,
.carnival-dictionary-wrap,
.single-carnival_term .site-main,
.post-type-archive-carnival_term .site-main {
  color: var(--kh-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.kh-public-shell *,
.kh-directory *,
.kh-krewe-directory *,
.kh-group-directory *,
.kh-profile-page *,
.kh-year-page *,
.kh-collection-page *,
.kh-year-review *,
.carnival-dictionary-public *,
.carnival-dictionary-wrap * {
  box-sizing: border-box;
}

/* Shared panels/cards. Existing component classes are enhanced, not rearranged. */
.kh-card,
.kh-panel,
.kh-section,
.kh-directory-card,
.kh-profile-card,
.kh-collection-card,
.kh-stat-card,
.kh-year-card,
.carnival-term-card,
.carnival-dictionary-card,
.edi-card,
.edi-section-card {
  background: var(--kh-surface);
  border: 1px solid var(--kh-border);
  border-radius: var(--kh-radius-md);
  box-shadow: var(--kh-shadow-sm);
  transition: transform var(--kh-transition), box-shadow var(--kh-transition), border-color var(--kh-transition);
}

.kh-directory-card:hover,
.kh-profile-card:hover,
.kh-collection-card:hover,
.kh-year-card:hover,
.carnival-term-card:hover,
.carnival-dictionary-card:hover {
  border-color: rgba(90, 32, 144, .28);
  box-shadow: var(--kh-shadow-md);
  transform: translateY(-2px);
}

/* Shared buttons and action links. */
.kh-button,
.kh-btn,
.kh-public-shell .button,
.kh-profile-page .button,
.kh-directory .button,
.kh-krewe-directory .button,
.kh-group-directory .button,
.kh-year-page .button,
.kh-collection-page .button,
.carnival-dictionary-public .button,
.carnival-dictionary-wrap .button,
a.kh-button,
a.kh-btn {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: var(--kh-space-2);
  justify-content: center;
  line-height: 1.2;
  min-height: 40px;
  padding: 10px 18px;
  text-decoration: none;
  transition: transform var(--kh-transition), box-shadow var(--kh-transition), background var(--kh-transition);
}

.kh-button,
.kh-btn,
.kh-public-shell .button-primary,
.kh-profile-page .button-primary,
.kh-directory .button-primary,
.carnival-dictionary-public .button-primary {
  background: linear-gradient(135deg, var(--kh-purple-700), var(--kh-purple-900));
  color: #fff;
  box-shadow: 0 6px 16px rgba(63, 18, 109, .22);
}

.kh-button:hover,
.kh-btn:hover,
a.kh-button:hover,
a.kh-btn:hover {
  color: #fff;
  transform: translateY(-1px);
}

/* Shared form controls. */
.kh-public-shell :is(input[type="text"], input[type="search"], input[type="email"], select, textarea),
.kh-directory :is(input[type="text"], input[type="search"], select),
.kh-krewe-directory :is(input[type="text"], input[type="search"], select),
.kh-group-directory :is(input[type="text"], input[type="search"], select),
.carnival-dictionary-public :is(input[type="text"], input[type="search"], select),
.carnival-dictionary-wrap :is(input[type="text"], input[type="search"], select) {
  background: #fff;
  border: 1px solid #d0d5dd;
  border-radius: var(--kh-radius-sm);
  color: var(--kh-ink);
  min-height: 42px;
  padding: 9px 12px;
  transition: border-color var(--kh-transition), box-shadow var(--kh-transition);
}

.kh-public-shell :is(input, select, textarea):focus,
.kh-directory :is(input, select):focus,
.carnival-dictionary-public :is(input, select):focus,
.carnival-dictionary-wrap :is(input, select):focus {
  border-color: var(--kh-purple-700);
  box-shadow: 0 0 0 3px rgba(90, 32, 144, .14);
  outline: none;
}

/* Type scale foundation. */
.kh-public-shell :is(h1, h2, h3, h4),
.kh-profile-page :is(h1, h2, h3, h4),
.kh-directory :is(h1, h2, h3, h4),
.kh-year-page :is(h1, h2, h3, h4),
.carnival-dictionary-public :is(h1, h2, h3, h4),
.carnival-dictionary-wrap :is(h1, h2, h3, h4) {
  color: var(--kh-ink);
  font-weight: 800;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.kh-public-shell h1,
.kh-profile-page h1,
.kh-directory h1,
.carnival-dictionary-public h1,
.carnival-dictionary-wrap h1 { font-size: clamp(2rem, 4vw, 3.25rem); }
.kh-public-shell h2,
.kh-profile-page h2,
.kh-directory h2,
.carnival-dictionary-public h2,
.carnival-dictionary-wrap h2 { font-size: clamp(1.5rem, 2.8vw, 2.25rem); }
.kh-public-shell h3,
.kh-profile-page h3,
.kh-directory h3,
.carnival-dictionary-public h3,
.carnival-dictionary-wrap h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); }

/* Common muted copy and dividers. */
.kh-muted,
.kh-subtitle,
.kh-card-meta,
.kh-entry-meta,
.carnival-term-meta { color: var(--kh-muted); }

.kh-divider,
.kh-section + .kh-section { border-top: 1px solid var(--kh-border); }

/* Organization-level color hooks; templates may define these custom properties. */
.kh-profile-page,
.kh-year-page {
  --kh-entity-primary: var(--kh-purple-700);
  --kh-entity-secondary: var(--kh-green-700);
  --kh-entity-accent: var(--kh-gold-500);
}

/* Accessibility and responsive foundation. */
.kh-public-shell :focus-visible,
.kh-directory :focus-visible,
.kh-profile-page :focus-visible,
.kh-year-page :focus-visible,
.carnival-dictionary-public :focus-visible,
.carnival-dictionary-wrap :focus-visible {
  outline: 3px solid var(--kh-gold-500);
  outline-offset: 3px;
}

@media (max-width: 900px) {
  :root {
    --kh-space-6: 24px;
    --kh-space-7: 36px;
  }
}

@media (max-width: 640px) {
  :root {
    --kh-radius-md: 12px;
    --kh-radius-lg: 16px;
    --kh-space-5: 18px;
    --kh-space-6: 22px;
    --kh-space-7: 28px;
  }

  .kh-button,
  .kh-btn,
  .kh-public-shell .button,
  .kh-profile-page .button,
  .kh-directory .button,
  .carnival-dictionary-public .button {
    min-height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kh-public-shell *,
  .kh-directory *,
  .kh-profile-page *,
  .kh-year-page *,
  .carnival-dictionary-public *,
  .carnival-dictionary-wrap * {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

/* v10.1.0 Step 4 — Concept 2 organization profile content system. */
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard{
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(330px,.85fr);gap:clamp(18px,2.4vw,30px);align-items:start;
  width:min(100%,1320px);margin:clamp(24px,4vw,44px) auto;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-primary{
  display:grid;gap:clamp(18px,2.2vw,26px);min-width:0;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary{
  min-width:0;position:sticky;top:18px;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard :where(.kh-v910-phase3-panel,.kh-v910-featured,.kh-group-featured,.kh-v910-years,.kh-shared-profile-years){
  margin:0!important;border:1px solid rgba(74,45,92,.12)!important;border-radius:22px!important;background:#fff!important;
  box-shadow:0 14px 38px rgba(49,28,64,.09)!important;overflow:hidden!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard :where(.kh-v910-about,.kh-v910-leadership){padding:clamp(22px,3vw,34px)!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard :where(.kh-v910-featured,.kh-group-featured){
  display:grid!important;grid-template-columns:minmax(0,1.08fr) minmax(210px,.92fr)!important;min-height:330px!important;
  background:linear-gradient(145deg,#fff 0%,color-mix(in srgb,var(--kh-primary,#5f2385) 5%,#fff) 100%)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard :where(.kh-v910-featured-copy,.kh-group-featured-copy){padding:clamp(24px,3vw,38px)!important;align-self:center!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard :where(.kh-v910-featured-media,.kh-group-featured-image){min-height:260px!important;height:100%!important;border-radius:0!important;background:linear-gradient(135deg,#eee7f3,#e8f3ea)!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard :where(.kh-v910-featured-media,.kh-group-featured-image) img{width:100%!important;height:100%!important;object-fit:cover!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary :where(.kh-v910-years,.kh-shared-profile-years){padding:clamp(22px,2.8vw,32px)!important;max-height:min(850px,calc(100vh - 36px));overflow:auto}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary :where(.kh-v910-year-grid,.kh-group-year-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary :where(.kh-v910-year-grid,.kh-group-year-grid) a{
  min-height:44px!important;display:flex!important;align-items:center!important;justify-content:center!important;border-radius:10px!important;
  border:1px solid #e1d7e7!important;background:#faf8fb!important;color:#372144!important;font-weight:800!important;text-decoration:none!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary :where(.kh-v910-year-grid,.kh-group-year-grid) a:hover,
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary :where(.kh-v910-year-grid,.kh-group-year-grid) a:focus-visible{
  background:var(--kh-primary,#5f2385)!important;color:#fff!important;border-color:var(--kh-primary,#5f2385)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-krewe-collections,.kh-group-collections,.kh-shared-profile-collections){
  width:min(100%,1320px)!important;margin:clamp(24px,4vw,42px) auto!important;padding:clamp(20px,3vw,32px)!important;border-radius:22px!important;
  background:linear-gradient(135deg,#fff,#fbf8fc)!important;border:1px solid rgba(74,45,92,.12)!important;box-shadow:0 14px 38px rgba(49,28,64,.08)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-leadership-wrap{
  width:min(100%,1320px);margin:clamp(24px,4vw,42px) auto;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-leadership-wrap .kh-v910-leadership{
  padding:clamp(24px,3vw,36px)!important;border:1px solid rgba(74,45,92,.12)!important;border-radius:22px!important;background:#fff!important;
  box-shadow:0 14px 38px rgba(49,28,64,.08)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-leadership-wrap .kh-v910-leadership-grid{
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;gap:18px!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-leadership-wrap .kh-v910-person{
  padding:16px!important;border:1px solid #eadfed!important;border-radius:16px!important;background:#fcfafc!important;text-align:center!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-leadership-wrap .kh-v910-person img,
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-leadership-wrap .kh-v910-person-placeholder{
  width:92px!important;height:92px!important;margin:0 auto 12px!important;border-radius:50%!important;object-fit:cover!important;
}
@media(max-width:980px){
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard{grid-template-columns:1fr}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary{position:static}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary :where(.kh-v910-years,.kh-shared-profile-years){max-height:none}
}
@media(max-width:680px){
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard :where(.kh-v910-featured,.kh-group-featured){grid-template-columns:1fr!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-dashboard :where(.kh-v910-featured-media,.kh-group-featured-image){min-height:220px!important;order:-1}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v101-step4-secondary :where(.kh-v910-year-grid,.kh-group-year-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* v10.1 Step 7 — Krewe year-detail public facelift. */
.kh-v101-step7-year {
  --kh-year-surface: rgba(255,255,255,.97);
  --kh-year-border: color-mix(in srgb, var(--kh-primary, var(--kh-entity-primary, #5a2090)) 15%, #e6e8ee);
  --kh-year-soft: color-mix(in srgb, var(--kh-primary, var(--kh-entity-primary, #5a2090)) 5%, #fff);
  max-width: 1280px !important;
  padding: 22px 24px 56px !important;
  background: linear-gradient(180deg, #f9fafc 0, #fff 420px) !important;
}
.kh-v101-step7-year .edi-year-top-jump {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
  min-height: 44px;
  margin-bottom: 14px !important;
}
.kh-v101-step7-year .edi-year-top-jump select {
  min-height: 42px !important;
  border: 1px solid var(--kh-year-border) !important;
  border-radius: 999px !important;
  background-color: #fff !important;
  box-shadow: var(--kh-shadow-sm) !important;
}
.kh-v101-step7-year .edi-year-header-display-box,
.kh-v101-step7-year .edi-year-summary { max-width: 1180px !important; }
.kh-v101-step7-year .edi-parade-hero,
.kh-v101-step7-year .edi-parade-hero-v209 {
  grid-template-columns: minmax(210px, .68fr) minmax(0, 1.5fr) !important;
  min-height: 430px !important;
  padding: 50px clamp(26px, 5vw, 64px) !important;
  border: 0 !important;
  border-radius: 30px !important;
  background-image:
    linear-gradient(110deg, rgba(31,10,51,.92), rgba(76,24,111,.78) 54%, rgba(8,91,58,.72)),
    var(--kh-year-hero-image, none) !important;
  background-size: cover !important;
  background-position: center !important;
  box-shadow: 0 26px 70px rgba(34,18,48,.24) !important;
}
.kh-v101-step7-year .edi-parade-hero:after {
  right: -75px !important;
  bottom: -125px !important;
  border-color: rgba(239,181,27,.16) !important;
}
.kh-v101-step7-year .edi-parade-hero-logo {
  min-height: 280px !important;
  padding: 22px !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 24px !important;
  background: rgba(255,255,255,.94) !important;
  box-shadow: 0 20px 44px rgba(0,0,0,.2) !important;
  backdrop-filter: blur(8px);
}
.kh-v101-step7-year .edi-parade-hero-logo img { max-height: 245px !important; filter: none !important; }
.kh-v101-step7-year .edi-parade-hero-text { text-align: left !important; }
.kh-v101-step7-year .edi-parade-hero-text h2 {
  color: #fff !important;
  font-family: Inter, ui-sans-serif, sans-serif !important;
  font-size: clamp(4rem, 8vw, 7rem) !important;
  font-weight: 900 !important;
  letter-spacing: -.07em !important;
  text-align: left !important;
  text-shadow: 0 5px 24px rgba(0,0,0,.35) !important;
}
.kh-v101-step7-year .edi-parade-hero-text .edi-theme-title {
  max-width: none !important;
  margin-left: 0 !important;
  color: #fff !important;
  font-family: Inter, ui-sans-serif, sans-serif !important;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem) !important;
  font-weight: 700 !important;
  text-align: left !important;
  text-shadow: 0 3px 16px rgba(0,0,0,.3) !important;
}
.kh-v101-step7-year .edi-theme-title span { color: var(--kh-gold-300) !important; }
.kh-v101-step7-year .edi-header-date-list { justify-content: flex-start !important; }
.kh-v101-step7-year .edi-header-date-list p {
  color: #fff !important;
  border-color: rgba(255,255,255,.28) !important;
  background: rgba(255,255,255,.13) !important;
  box-shadow: none !important;
  backdrop-filter: blur(8px);
}
.kh-v101-step7-year .edi-header-date-list strong { color: var(--kh-gold-300) !important; }
.kh-v101-step7-year .kh-year-glance {
  position: relative;
  z-index: 2;
  max-width: 1110px;
  margin-top: -38px;
  padding: 28px;
  border-color: var(--kh-year-border);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(35,20,48,.13);
}
.kh-v101-step7-year .kh-year-glance-grid { grid-template-columns: repeat(auto-fit, minmax(145px, 1fr)); }
.kh-v101-step7-year .kh-year-glance-card {
  min-height: 116px;
  border: 0;
  border-radius: 16px;
  background: var(--kh-year-soft);
  box-shadow: none;
}
.kh-v101-step7-year .kh-year-chapter-nav {
  top: 12px;
  max-width: 1110px;
  padding: 10px;
  border-color: var(--kh-year-border);
  border-radius: 16px;
}
.kh-v101-step7-year .kh-year-chapter-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.kh-v101-step7-year .kh-year-chapter-links { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; }
.kh-v101-step7-year .kh-year-chapter-links a {
  flex: 0 0 auto;
  background: transparent;
  color: var(--kh-ink) !important;
  border-color: transparent;
}
.kh-v101-step7-year .kh-year-chapter-links a:hover,
.kh-v101-step7-year .kh-year-chapter-links a.is-active {
  background: var(--kh-primary, var(--kh-entity-primary, #5a2090));
  color: #fff !important;
}
.kh-v101-step7-year .edi-year-display-section,
.kh-v101-step7-year .edi-display-section {
  max-width: 1110px !important;
  margin: 24px auto !important;
  border-color: var(--kh-year-border) !important;
  border-radius: 22px !important;
  box-shadow: 0 10px 32px rgba(25,31,45,.08) !important;
}
.kh-v101-step7-year .edi-year-display-section > summary,
.kh-v101-step7-year .edi-display-section > summary {
  min-height: 68px !important;
  padding: 20px 26px !important;
  background: #fff !important;
  color: var(--kh-ink) !important;
  font-family: Inter, ui-sans-serif, sans-serif !important;
  font-size: clamp(1.2rem, 2vw, 1.55rem) !important;
  font-weight: 850 !important;
}
.kh-v101-step7-year .edi-year-display-section > summary:hover,
.kh-v101-step7-year .edi-display-section > summary:hover { background: var(--kh-year-soft) !important; }
.kh-v101-step7-year .edi-year-section-body { padding: 26px !important; }
.kh-v101-step7-year :is(.edi-royal-person-card,.edi-header-person-card,.edi-court-officers-card,.edi-throw-display-card,.edi-pin-display-card,.edi-video-card,.edi-structured-person) {
  border-color: var(--kh-year-border) !important;
  border-radius: 18px !important;
  box-shadow: 0 7px 22px rgba(25,31,45,.07) !important;
}
.kh-v101-step7-year .edi-year-bottom-action-box {
  max-width: 1110px !important;
  border-color: var(--kh-year-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 10px 30px rgba(25,31,45,.08) !important;
}
@media (max-width: 820px) {
  .kh-v101-step7-year { padding: 10px 12px 42px !important; }
  .kh-v101-step7-year .edi-parade-hero,
  .kh-v101-step7-year .edi-parade-hero-v209 { grid-template-columns: 1fr !important; min-height: 0 !important; padding: 28px 20px !important; }
  .kh-v101-step7-year .edi-parade-hero-logo { min-height: 0 !important; width: min(240px, 78vw); margin: 0 auto; }
  .kh-v101-step7-year .edi-parade-hero-logo img { max-height: 190px !important; }
  .kh-v101-step7-year .edi-parade-hero-text,
  .kh-v101-step7-year .edi-parade-hero-text h2,
  .kh-v101-step7-year .edi-parade-hero-text .edi-theme-title { text-align: center !important; }
  .kh-v101-step7-year .edi-header-date-list { justify-content: center !important; }
  .kh-v101-step7-year .kh-year-glance { margin-top: 16px; }
  .kh-v101-step7-year .kh-year-chapter-nav { position: sticky; top: 6px; }
}
@media (max-width: 520px) {
  .kh-v101-step7-year .edi-parade-hero-text h2 { font-size: clamp(3.2rem, 19vw, 5rem) !important; }
  .kh-v101-step7-year .kh-year-glance { padding: 18px 12px; }
  .kh-v101-step7-year .kh-year-glance-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .kh-v101-step7-year .edi-year-display-section > summary,
  .kh-v101-step7-year .edi-display-section > summary { padding: 17px 18px !important; }
  .kh-v101-step7-year .edi-year-section-body { padding: 18px 14px !important; }
}

/* v10.1 Step 8 — Auxiliary Group year-detail public facelift. */
.kh-v101-step8-group-year {
  --kh-gy-primary: var(--kh-primary, var(--kh-entity-primary, #5a2090));
  --kh-gy-secondary: var(--kh-secondary, var(--kh-entity-secondary, #168c45));
  --kh-gy-gold: var(--kh-accent, #d5a928);
  max-width: 1280px;
  margin: 0 auto;
  padding: 22px 24px 56px;
  background: linear-gradient(180deg,#f8fafc 0,#fff 430px);
  border-radius: 28px;
}
.kh-v101-step8-group-year .kh-group-year-hero {
  grid-template-columns: minmax(190px,.55fr) minmax(0,1.25fr) minmax(180px,.52fr);
  min-height: 430px;
  padding: 46px clamp(24px,4.5vw,58px);
  border: 0;
  border-radius: 30px;
  background:
    radial-gradient(circle at 88% 18%,rgba(213,169,40,.24),transparent 30%),
    linear-gradient(112deg,rgba(34,12,55,.97),rgba(88,31,127,.9) 53%,rgba(12,102,63,.84));
  box-shadow: 0 26px 70px rgba(34,18,48,.24);
  color:#fff;
}
.kh-v101-step8-group-year .kh-group-year-organization-logo,
.kh-v101-step8-group-year .kh-group-year-hero-image {
  display:flex;align-items:center;justify-content:center;min-height:260px;padding:20px;
  border:1px solid rgba(255,255,255,.27);border-radius:24px;background:rgba(255,255,255,.95);
  box-shadow:0 20px 44px rgba(0,0,0,.2);backdrop-filter:blur(8px);
}
.kh-v101-step8-group-year .kh-group-year-organization-logo img,
.kh-v101-step8-group-year .kh-group-year-hero-image img {max-width:100%;max-height:225px;object-fit:contain;border-radius:16px;filter:none;}
.kh-v101-step8-group-year .kh-group-year-hero-copy{text-align:left;align-self:center;}
.kh-v101-step8-group-year .kh-group-year-kicker{color:#f2d57d!important;}
.kh-v101-step8-group-year .kh-group-year-hero h1{margin:12px 0;color:#fff!important;font-family:Inter,ui-sans-serif,sans-serif;font-size:clamp(4rem,8vw,7rem);font-weight:900;letter-spacing:-.07em;text-shadow:0 5px 24px rgba(0,0,0,.35);}
.kh-v101-step8-group-year .kh-group-year-theme{margin:8px 0 0;max-width:660px;text-align:left;color:#fff!important;font-family:Inter,ui-sans-serif,sans-serif;font-weight:700;text-shadow:0 3px 16px rgba(0,0,0,.3);}
.kh-v101-step8-group-year .kh-group-year-glance{position:relative;z-index:2;max-width:1110px;margin:-38px auto 22px;padding:24px;border:1px solid color-mix(in srgb,var(--kh-gy-primary) 15%,#e6e8ee);border-radius:24px;background:#fff;box-shadow:0 18px 44px rgba(35,20,48,.13);}
.kh-v101-step8-group-year .kh-group-year-stat{min-height:112px;border:0;border-radius:16px;background:color-mix(in srgb,var(--kh-gy-primary) 5%,#fff);box-shadow:none;}
.kh-v101-step8-group-year .kh-group-year-stat strong{color:var(--kh-gy-primary);}
.kh-v101-step8-group-year .kh-group-year-nav{top:12px;max-width:1110px;margin:22px auto 30px;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;border-radius:16px;scrollbar-width:thin;}
.kh-v101-step8-group-year .kh-group-year-nav a{flex:0 0 auto;color:var(--kh-gy-primary)!important;}
.kh-v101-step8-group-year .kh-group-year-nav a:hover,
.kh-v101-step8-group-year .kh-group-year-nav a:focus-visible,
.kh-v101-step8-group-year .kh-group-year-nav a.is-active{background:var(--kh-gy-primary)!important;color:#fff!important;}
.kh-v101-step8-group-year .kh-group-year-chapter{max-width:1110px;margin:24px auto;padding:28px;border-color:color-mix(in srgb,var(--kh-gy-primary) 15%,#e6e8ee);border-radius:22px;box-shadow:0 10px 32px rgba(25,31,45,.08);}
.kh-v101-step8-group-year .kh-group-year-chapter>h2{font-family:Inter,ui-sans-serif,sans-serif;font-weight:850;color:var(--kh-ink)!important;}
.kh-v101-step8-group-year .kh-group-year-card-grid{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px;}
.kh-v101-step8-group-year :is(.edi-mg-public-item,.kh-group-year-parade-card){border-color:color-mix(in srgb,var(--kh-gy-primary) 15%,#e6e8ee)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 22px rgba(25,31,45,.07)!important;}
.kh-v101-step8-group-year .kh-museum-year-footer-nav{max-width:1110px;margin:30px auto 0;}
@media(max-width:980px){
  .kh-v101-step8-group-year .kh-group-year-hero{grid-template-columns:minmax(180px,.55fr) minmax(0,1fr);}
  .kh-v101-step8-group-year .kh-group-year-hero-image{grid-column:1/-1;min-height:170px;}
  .kh-v101-step8-group-year .kh-group-year-hero-image img{max-height:150px;}
}
@media(max-width:760px){
  .kh-v101-step8-group-year{padding:10px 12px 42px;}
  .kh-v101-step8-group-year .kh-group-year-hero{grid-template-columns:1fr;min-height:0;padding:28px 20px;}
  .kh-v101-step8-group-year .kh-group-year-organization-logo{width:min(235px,78vw);min-height:0;margin:0 auto;}
  .kh-v101-step8-group-year .kh-group-year-organization-logo img{max-height:185px;}
  .kh-v101-step8-group-year .kh-group-year-hero-copy,.kh-v101-step8-group-year .kh-group-year-theme{text-align:center;}
  .kh-v101-step8-group-year .kh-group-year-glance{margin-top:16px;}
  .kh-v101-step8-group-year .kh-group-year-nav{position:sticky;top:6px;}
}
@media(max-width:520px){
  .kh-v101-step8-group-year .kh-group-year-hero h1{font-size:clamp(3.2rem,19vw,5rem);}
  .kh-v101-step8-group-year .kh-group-year-glance{padding:18px 12px;grid-template-columns:repeat(2,minmax(0,1fr));}
  .kh-v101-step8-group-year .kh-group-year-chapter{padding:20px 15px;}
}

/* v10.1 Step 9 — Collections, Year in Review, timelines, and supporting archive pages. */
:root{
  --kh-step9-surface:#ffffff;
  --kh-step9-soft:color-mix(in srgb,var(--kh-primary,#5f2385) 5%,#fff);
  --kh-step9-line:color-mix(in srgb,var(--kh-primary,#5f2385) 16%,#e8e1eb);
  --kh-step9-shadow:0 12px 34px rgba(45,23,55,.10);
  --kh-step9-shadow-hover:0 18px 44px rgba(45,23,55,.16);
}

/* Krewe-wide collection archive */
.kh-collection-archive{
  width:min(100%,1180px)!important;
  max-width:1180px!important;
  padding:clamp(1rem,3vw,2.25rem)!important;
  color:var(--kh-text,#2d2631)!important;
}
.kh-collection-archive>h1{
  margin:.5rem 0 .65rem!important;
  color:var(--kh-heading,var(--kh-primary,#5f2385))!important;
  font-family:var(--kh-ds-heading-font,Georgia,"Times New Roman",serif)!important;
  font-size:clamp(2rem,4vw,3.2rem)!important;
  line-height:1.08!important;
}
.kh-collection-intro{
  max-width:760px!important;
  margin:0 auto clamp(1.5rem,3vw,2.2rem)!important;
  color:var(--kh-muted,#6f6574)!important;
  font-size:clamp(1rem,1.4vw,1.12rem)!important;
  line-height:1.65!important;
}
.kh-collection-back a{
  border-color:var(--kh-step9-line)!important;
  background:#fff!important;
  box-shadow:0 5px 14px rgba(45,23,55,.07)!important;
}
.kh-collection-back a:hover,
.kh-collection-back a:focus-visible{
  border-color:var(--kh-primary,#5f2385)!important;
  background:var(--kh-step9-soft)!important;
}
.kh-collection-year-filter,
.kh-collection-search-wrap{
  max-width:760px!important;
}
.kh-collection-year-filter{
  display:grid!important;
  grid-template-columns:auto minmax(190px,280px)!important;
  margin:0 auto 1.25rem!important;
  padding:1rem 1.15rem!important;
  border:1px solid var(--kh-step9-line)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(45,23,55,.07)!important;
}
.kh-collection-year-filter select,
.kh-collection-search-wrap input{
  min-height:48px!important;
  border:1px solid var(--kh-step9-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  box-shadow:inset 0 1px 2px rgba(30,15,38,.03)!important;
}
.kh-collection-year-filter select:focus,
.kh-collection-search-wrap input:focus{
  border-color:var(--kh-primary,#5f2385)!important;
  box-shadow:0 0 0 3px color-mix(in srgb,var(--kh-primary,#5f2385) 18%,transparent)!important;
  outline:0!important;
}
.kh-collection-search-wrap{
  margin:0 auto clamp(1.5rem,3vw,2.3rem)!important;
  padding:1rem 1.15rem!important;
  border:1px solid var(--kh-step9-line)!important;
  border-radius:16px!important;
  background:var(--kh-step9-soft)!important;
}
.kh-collection-year{
  margin:0 0 clamp(1.25rem,3vw,2rem)!important;
  padding:clamp(1rem,2.5vw,1.75rem)!important;
  border:1px solid var(--kh-step9-line)!important;
  border-radius:22px!important;
  background:var(--kh-step9-surface)!important;
  box-shadow:var(--kh-step9-shadow)!important;
}
.kh-collection-year>h2{
  display:flex!important;
  align-items:center!important;
  gap:.7rem!important;
  margin:0 0 1.2rem!important;
  padding:0 0 .8rem!important;
  border-bottom:1px solid var(--kh-step9-line)!important;
  color:var(--kh-heading,var(--kh-primary,#5f2385))!important;
  font-family:var(--kh-ds-heading-font,Georgia,"Times New Roman",serif)!important;
  font-size:clamp(1.55rem,3vw,2.1rem)!important;
}
.kh-collection-year>h2:before{
  content:"";
  display:block;
  width:7px;
  height:1.2em;
  border-radius:999px;
  background:linear-gradient(180deg,var(--kh-primary,#5f2385),var(--kh-secondary,#d4af37));
}
.kh-collection-row-grid{
  grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr))!important;
  gap:clamp(.85rem,2vw,1.25rem)!important;
}
.kh-collection-item,
.kh-collection-archive .edi-public-card,
.kh-collection-archive .edi-doubloon-card,
.kh-collection-archive .edi-gallery-item{
  min-width:0!important;
  overflow:hidden!important;
  padding:1rem!important;
  border:1px solid var(--kh-step9-line)!important;
  border-radius:17px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(45,23,55,.07)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.kh-collection-item:hover,
.kh-collection-archive .edi-public-card:hover,
.kh-collection-archive .edi-doubloon-card:hover,
.kh-collection-archive .edi-gallery-item:hover{
  transform:translateY(-3px)!important;
  border-color:color-mix(in srgb,var(--kh-primary,#5f2385) 35%,var(--kh-step9-line))!important;
  box-shadow:var(--kh-step9-shadow-hover)!important;
}
.kh-collection-item h3{
  color:var(--kh-heading,var(--kh-primary,#5f2385))!important;
  font-family:var(--kh-ds-heading-font,Georgia,"Times New Roman",serif)!important;
  line-height:1.25!important;
}
.kh-collection-item img,
.kh-collection-archive .edi-public-images img{
  border-radius:12px!important;
  background:#f8f6f9!important;
}
.kh-collection-item-meta{
  display:flex!important;
  flex-wrap:wrap!important;
  gap:.35rem .65rem!important;
  margin-top:.7rem!important;
  color:var(--kh-muted,#6f6574)!important;
  font-size:.82rem!important;
}
.kh-collection-empty{
  border-color:var(--kh-step9-line)!important;
  background:var(--kh-step9-soft)!important;
  color:var(--kh-muted,#6f6574)!important;
}

/* Collection strips on organization and year pages */
:where(.kh-krewe-collections,.kh-group-collections,.kh-shared-profile-collections,.kh-categorized-collections){
  border-radius:22px!important;
}
:where(.kh-krewe-collection-grid,.kh-group-collection-grid,.kh-profile-collection-grid){
  gap:clamp(.75rem,1.8vw,1.1rem)!important;
  scrollbar-width:thin;
  scrollbar-color:color-mix(in srgb,var(--kh-primary,#5f2385) 35%,#d8d0dc) transparent;
}
:where(.kh-krewe-collection-grid,.kh-group-collection-grid,.kh-profile-collection-grid)::-webkit-scrollbar{height:8px}
:where(.kh-krewe-collection-grid,.kh-group-collection-grid,.kh-profile-collection-grid)::-webkit-scrollbar-thumb{border-radius:999px;background:color-mix(in srgb,var(--kh-primary,#5f2385) 35%,#d8d0dc)}
.kh-v910-phase2-collections .kh-v911-collection-card{
  border:1px solid var(--kh-step9-line)!important;
  border-radius:15px!important;
  box-shadow:0 7px 20px rgba(45,23,55,.08)!important;
}
.kh-v910-phase2-collections .kh-v911-collection-card:hover,
.kh-v910-phase2-collections .kh-v911-collection-card:focus-visible{
  transform:translateY(-3px)!important;
  box-shadow:var(--kh-step9-shadow-hover)!important;
}
.kh-v911-collection-media{height:68px!important}
.kh-v911-collection-footer{height:58px!important;padding:8px 27px 7px 10px!important}
.kh-v910-phase2-collections .kh-v911-collection-card{height:126px!important}

/* Year in Review */
.kh-year-review{
  width:min(100%,1280px)!important;
  max-width:1280px!important;
  padding:clamp(.75rem,2.5vw,1.75rem)!important;
  color:var(--kh-text,#2d2631)!important;
}
.kh-year-review .kh-yr-hero{
  border:1px solid rgba(255,255,255,.16)!important;
  border-radius:28px!important;
  box-shadow:0 22px 54px rgba(45,23,55,.20)!important;
}
.kh-year-review .kh-yr-topnav{
  padding:.75rem 1rem!important;
  border:1px solid var(--kh-step9-line)!important;
  border-radius:15px!important;
  background:#fff!important;
  box-shadow:0 6px 18px rgba(45,23,55,.06)!important;
}
.kh-year-review .kh-yr-back,
.kh-year-review .kh-yr-navlink{
  border-radius:999px!important;
  border-color:var(--kh-step9-line)!important;
}
.kh-year-review .kh-yr-section{
  margin:clamp(2rem,4vw,3.25rem) 0!important;
}
.kh-year-review .kh-yr-section-head{
  align-items:center!important;
  border-bottom:1px solid var(--kh-step9-line)!important;
}
.kh-year-review .kh-yr-card{
  min-height:136px!important;
  border-color:var(--kh-step9-line)!important;
  border-radius:18px!important;
  box-shadow:0 7px 22px rgba(45,23,55,.08)!important;
}
.kh-year-review .kh-yr-card:hover,
.kh-year-review .kh-yr-card:focus-visible{
  border-color:color-mix(in srgb,var(--kh-primary,#5f2385) 35%,var(--kh-step9-line))!important;
  box-shadow:var(--kh-step9-shadow-hover)!important;
}
.kh-year-review .kh-yr-logo{
  border-color:var(--kh-step9-line)!important;
  border-radius:15px!important;
  background:var(--kh-step9-soft)!important;
}
.kh-year-review .kh-yr-empty{
  border-color:var(--kh-step9-line)!important;
  background:var(--kh-step9-soft)!important;
}

/* Krewe and Group timelines */
.edi-krewe-timeline-wrap,
.kh-directory-year-timeline{
  width:min(100%,1120px)!important;
  margin-inline:auto!important;
  padding:clamp(1rem,3vw,2rem)!important;
}
.edi-krewe-timeline{
  position:relative!important;
  padding:1rem 0!important;
}
.edi-krewe-timeline:before{
  background:linear-gradient(180deg,var(--kh-primary,#5f2385),color-mix(in srgb,var(--kh-secondary,#d4af37) 75%,#fff),var(--kh-success,#176b3a))!important;
  opacity:.35!important;
}
.edi-krewe-timeline-item{
  margin-bottom:1.15rem!important;
}
.edi-krewe-timeline-card{
  border:1px solid var(--kh-step9-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 24px rgba(45,23,55,.08)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.edi-krewe-timeline-card:hover{
  transform:translateY(-2px)!important;
  border-color:color-mix(in srgb,var(--kh-primary,#5f2385) 32%,var(--kh-step9-line))!important;
  box-shadow:var(--kh-step9-shadow-hover)!important;
}
.edi-krewe-timeline-year{
  border-radius:999px!important;
  box-shadow:0 4px 12px rgba(45,23,55,.12)!important;
}
.edi-krewe-timeline-dot{
  box-shadow:0 0 0 5px color-mix(in srgb,var(--kh-primary,#5f2385) 12%,#fff)!important;
}
.edi-krewe-timeline-button{
  border-radius:999px!important;
}

/* Shared archive navigation and media/lightbox affordances */
.kh-museum-year-ribbon{
  border:1px solid var(--kh-step9-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 7px 22px rgba(45,23,55,.07)!important;
}
.kh-museum-year-nav-button,
.kh-group-year-object-link,
.edi-year-top-button,
.edi-year-pdf-button{
  border-radius:999px!important;
}
.edi-lightbox-link,
.kh-collection-lightbox-link{
  cursor:zoom-in!important;
}
.edi-lightbox-link:focus-visible,
.kh-collection-lightbox-link:focus-visible{
  outline:3px solid color-mix(in srgb,var(--kh-secondary,#d4af37) 78%,#fff)!important;
  outline-offset:4px!important;
}

@media(max-width:700px){
  .kh-collection-year-filter{grid-template-columns:1fr!important;align-items:stretch!important}
  .kh-collection-year-filter label{margin-bottom:-.2rem!important}
  .kh-collection-row-grid{grid-template-columns:1fr!important}
  .kh-year-review .kh-yr-topnav{align-items:flex-start!important;flex-direction:column!important}
  .kh-year-review .kh-yr-card{grid-template-columns:70px 1fr!important}
}
@media(prefers-reduced-motion:reduce){
  .kh-collection-item,
  .kh-collection-archive .edi-public-card,
  .kh-collection-archive .edi-doubloon-card,
  .kh-collection-archive .edi-gallery-item,
  .kh-year-review .kh-yr-card,
  .edi-krewe-timeline-card,
  .kh-v910-phase2-collections .kh-v911-collection-card{transition:none!important;transform:none!important}
}

/* =========================================================
   v10.1 public facelift — Step 10 final responsive polish
   ========================================================= */
:root{
  --kh-step10-focus:#7a32a3;
  --kh-step10-empty:#f8f5fa;
}

/* Long names and unbroken archival text must never force overflow. */
.kh-public-shell,
.kh-public-shell *,
.edi-public-wrap,
.edi-public-wrap *,
.kh-directory-page,
.kh-directory-page *,
.kh-encyclopedia-page,
.kh-encyclopedia-page *{
  min-width:0;
}
.kh-public-shell h1,
.kh-public-shell h2,
.kh-public-shell h3,
.edi-public-wrap h1,
.edi-public-wrap h2,
.edi-public-wrap h3,
.kh-directory-card-title,
.kh-encyclopedia-card-title,
.kh-profile-hero-title,
.kh-year-hero-title{
  overflow-wrap:anywhere;
  text-wrap:balance;
}
.kh-public-shell p,
.edi-public-wrap p,
.kh-encyclopedia-entry-content,
.kh-year-section-content{
  overflow-wrap:break-word;
}

/* Consistent, accessible focus treatment across every public control. */
.kh-public-shell a:focus-visible,
.kh-public-shell button:focus-visible,
.kh-public-shell input:focus-visible,
.kh-public-shell select:focus-visible,
.edi-public-wrap a:focus-visible,
.edi-public-wrap button:focus-visible,
.edi-public-wrap input:focus-visible,
.edi-public-wrap select:focus-visible,
.kh-shared-public-nav a:focus-visible,
.kh-shared-public-nav button:focus-visible{
  outline:3px solid color-mix(in srgb,var(--kh-step10-focus) 72%,#fff)!important;
  outline-offset:3px!important;
}

/* Missing media and empty sections retain the same visual rhythm. */
.kh-media-placeholder,
.kh-card-image-placeholder,
.kh-directory-card-logo-placeholder,
.kh-collection-empty,
.kh-section-empty,
.edi-public-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:150px;
  padding:1.25rem;
  border:1px dashed color-mix(in srgb,var(--kh-primary,#5f2385) 24%,#d9d1df);
  border-radius:16px;
  background:var(--kh-step10-empty);
  color:#675d6c;
  text-align:center;
}
.kh-directory-card img,
.kh-profile-hero-logo img,
.kh-year-hero-logo img,
.kh-collection-item img,
.edi-public-card img{
  max-width:100%;
  height:auto;
}

/* Single cards do not stretch unnaturally across an entire archive row. */
.kh-collection-grid > :only-child,
.kh-directory-grid > :only-child,
.kh-leadership-grid > :only-child,
.kh-year-media-grid > :only-child{
  width:min(100%,360px);
  justify-self:center;
}

/* Shared top navigation: stable sizing, scrolling and touch targets. */
.kh-shared-public-nav,
.kh-directory-public-nav,
.kh-profile-public-nav{
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  overscroll-behavior-inline:contain;
  scrollbar-width:thin;
  -webkit-overflow-scrolling:touch;
}
.kh-shared-public-nav a,
.kh-directory-public-nav a,
.kh-profile-public-nav a{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
}

/* Prevent sticky page tools from hiding anchored section headings. */
.kh-year-section,
.kh-profile-section,
.kh-encyclopedia-section,
[id^="kh-year-"]{
  scroll-margin-top:110px;
}

/* Hover previews remain inside the viewport on narrow screens. */
.kh-crossref-preview,
.kh-link-preview,
.kh-hover-preview{
  max-width:min(360px,calc(100vw - 24px))!important;
  max-height:min(420px,calc(100vh - 24px))!important;
  overflow:auto!important;
  overscroll-behavior:contain!important;
}
.kh-crossref-preview iframe,
.kh-link-preview iframe,
.kh-hover-preview iframe{
  width:100%!important;
  max-width:100%!important;
}

/* External embeds stay self-contained and never inherit page-width overflow. */
.kh-external-embed,
.kh-embed-shell,
body.kh-embedded .kh-public-shell{
  width:100%!important;
  max-width:100%!important;
  margin:0!important;
  overflow-x:clip!important;
}
body.kh-embedded .kh-shared-public-nav,
body.kh-embedded .kh-internal-only,
.kh-external-embed .kh-shared-public-nav{
  display:none!important;
}

/* Tables remain usable on phones without collapsing columns into unreadable text. */
.kh-public-table-wrap,
.edi-public-table-wrap,
.kh-year-table-wrap{
  width:100%;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  -webkit-overflow-scrolling:touch;
}
.kh-public-table,
.edi-public-table,
.kh-year-table{
  min-width:620px;
}

@media(max-width:900px){
  .kh-profile-dashboard,
  .kh-year-dashboard,
  .kh-encyclopedia-entry-layout{
    grid-template-columns:1fr!important;
  }
  .kh-profile-sidebar,
  .kh-year-sidebar{
    position:static!important;
    top:auto!important;
  }
  .kh-profile-hero,
  .kh-year-hero{
    min-height:auto!important;
  }
}

@media(max-width:700px){
  .kh-public-shell,
  .edi-public-wrap,
  .kh-directory-page,
  .kh-encyclopedia-page{
    padding-inline:max(.85rem,env(safe-area-inset-left))!important;
  }
  .kh-profile-hero-inner,
  .kh-year-hero-inner{
    padding:1.1rem!important;
  }
  .kh-profile-hero-logo,
  .kh-year-hero-logo{
    width:112px!important;
    height:112px!important;
    margin-inline:auto!important;
  }
  .kh-profile-hero-title,
  .kh-year-hero-title{
    font-size:clamp(1.75rem,9vw,2.6rem)!important;
    line-height:1.05!important;
  }
  .kh-stats-grid,
  .kh-year-stats-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .kh-directory-grid,
  .kh-collection-grid,
  .kh-leadership-grid,
  .kh-year-media-grid{
    grid-template-columns:1fr!important;
  }
  .kh-directory-toolbar,
  .kh-encyclopedia-searchbar,
  .kh-collection-filterbar{
    grid-template-columns:1fr!important;
  }
  .kh-year-section-nav{
    position:sticky!important;
    top:0!important;
    z-index:30!important;
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
  }
  .kh-year-section-nav a{white-space:nowrap!important}
  .kh-crossref-preview,
  .kh-link-preview,
  .kh-hover-preview{
    position:fixed!important;
    left:12px!important;
    right:12px!important;
    bottom:12px!important;
    top:auto!important;
    width:auto!important;
  }
}

@media(max-width:420px){
  .kh-stats-grid,
  .kh-year-stats-grid{grid-template-columns:1fr!important}
  .kh-profile-actions,
  .kh-year-actions,
  .kh-directory-pagination{flex-direction:column!important;align-items:stretch!important}
  .kh-profile-actions a,
  .kh-year-actions a,
  .kh-directory-pagination button{justify-content:center!important;width:100%!important}
}

@media(prefers-reduced-motion:reduce){
  html:focus-within{scroll-behavior:auto!important}
  .kh-public-shell *,
  .edi-public-wrap *{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
}

@media print{
  .kh-shared-public-nav,
  .kh-year-section-nav,
  .kh-profile-actions,
  .kh-year-actions,
  .kh-directory-toolbar,
  .kh-directory-pagination,
  .kh-hover-preview,
  .kh-crossref-preview,
  .kh-link-preview{display:none!important}
  .kh-public-shell,
  .edi-public-wrap{
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    color:#000!important;
    background:#fff!important;
  }
  .kh-card,
  .edi-public-card,
  .kh-profile-section,
  .kh-year-section{
    break-inside:avoid;
    box-shadow:none!important;
    border-color:#bbb!important;
  }
  a[href]:after{content:none!important}
}

/* ================================================================
 * v10.1 refinement round 2 — Step 1: Krewe profile visual lock
 * One authoritative presentation layer for focused Krewe pages only.
 * ================================================================ */
.kh-krewe-profile-page.edi-krewe-directory-focused{
  --kh-krewe-max:1240px;
  --kh-krewe-radius:22px;
  --kh-krewe-line:color-mix(in srgb,var(--kh-primary,#5f2385) 16%,#e8e1eb);
  --kh-krewe-soft:color-mix(in srgb,var(--kh-primary,#5f2385) 4%,#fff);
  --kh-krewe-shadow:0 18px 48px rgba(38,18,50,.10);
  width:min(100%,var(--kh-krewe-max))!important;
  max-width:var(--kh-krewe-max)!important;
  margin:0 auto!important;
  padding:clamp(10px,2vw,24px)!important;
  color:#2f2733;
}

/* Hero: logo is permanently anchored at left on desktop. */
.kh-krewe-profile-page :is(.kh-krewe-hero,.kh-krewe-profile-hero,.kh-profile-hero){
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(180px,240px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:clamp(28px,5vw,70px)!important;
  min-height:410px!important;
  padding:clamp(38px,6vw,76px)!important;
  border:0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 24px 64px rgba(28,10,40,.23)!important;
  text-align:left!important;
  isolation:isolate;
}
.kh-krewe-profile-page :is(.kh-krewe-hero,.kh-krewe-profile-hero,.kh-profile-hero):before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  background:linear-gradient(92deg,rgba(18,7,27,.82) 0%,rgba(18,7,27,.64) 48%,rgba(18,7,27,.25) 100%)!important;
}
.kh-krewe-profile-page :is(.kh-krewe-hero,.kh-krewe-profile-hero,.kh-profile-hero):after{
  content:""!important;
  position:absolute!important;
  inset:auto -100px -170px auto!important;
  width:430px!important;
  height:430px!important;
  z-index:-1!important;
  border-radius:50%!important;
  background:radial-gradient(circle,color-mix(in srgb,var(--kh-secondary,#d4af37) 30%,transparent),transparent 68%)!important;
}
.kh-krewe-profile-page :is(.kh-krewe-profile-logo,.kh-profile-logo){
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  margin:0!important;
}
.kh-krewe-profile-page :is(.kh-krewe-profile-logo,.kh-profile-logo) img{
  width:clamp(175px,18vw,230px)!important;
  height:clamp(175px,18vw,230px)!important;
  max-width:230px!important;
  max-height:230px!important;
  padding:13px!important;
  object-fit:contain!important;
  border:5px solid rgba(255,255,255,.92)!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 18px 44px rgba(0,0,0,.32)!important;
}
.kh-krewe-profile-page :is(.kh-krewe-hero-copy,.kh-profile-hero-copy){
  position:relative!important;
  z-index:2!important;
  min-width:0!important;
  text-align:left!important;
}
.kh-krewe-profile-page :is(.kh-krewe-hero h1,.kh-krewe-profile-hero h1,.kh-profile-hero h1){
  max-width:850px!important;
  margin:0 0 14px!important;
  color:#fff!important;
  font-size:clamp(2.6rem,6vw,5.25rem)!important;
  line-height:.96!important;
  letter-spacing:-.045em!important;
  text-wrap:balance;
}
.kh-krewe-profile-page :is(.kh-krewe-founded,.kh-profile-founded){
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  margin:0 0 14px!important;
  padding:6px 12px!important;
  border:1px solid rgba(255,255,255,.34)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.12)!important;
  color:#fff!important;
  backdrop-filter:blur(8px);
}
.kh-krewe-profile-page :is(.kh-krewe-hero-description,.kh-profile-hero-description){
  max-width:720px!important;
  margin:0 0 18px!important;
  color:rgba(255,255,255,.92)!important;
  font-size:clamp(1rem,1.6vw,1.18rem)!important;
  line-height:1.65!important;
}

/* Stats sit close to hero as a deliberate bridge into page content. */
.kh-krewe-profile-page :is(.kh-shared-profile-stat-strip,.kh-krewe-profile-stats,.kh-krewe-stat-strip,.kh-profile-stat-grid){
  position:relative!important;
  z-index:4!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  width:calc(100% - clamp(28px,5vw,72px))!important;
  margin:-38px auto 34px!important;
}
.kh-krewe-profile-page :is(.kh-group-stat,.kh-krewe-profile-stat,.kh-profile-stat-card,.kh-krewe-stat-strip>div){
  min-height:112px!important;
  padding:20px!important;
  border:1px solid var(--kh-krewe-line)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 14px 34px rgba(42,20,55,.12)!important;
}

/* Main content cards: clean white surfaces and consistent rhythm. */
.kh-krewe-profile-page :is(.kh-v910-phase3-panel,.kh-v910-featured,.kh-v910-years,.kh-v910-phase2-collections,.kh-shared-profile-about,.kh-shared-profile-years,.kh-shared-profile-collections,.kh-krewe-profile-about,.kh-krewe-years,.kh-krewe-collections){
  border:1px solid var(--kh-krewe-line)!important;
  border-radius:var(--kh-krewe-radius)!important;
  background:#fff!important;
  box-shadow:var(--kh-krewe-shadow)!important;
}
.kh-krewe-profile-page .kh-v910-phase3-grid{
  grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)!important;
  gap:24px!important;
  margin:32px 0!important;
}
.kh-krewe-profile-page .kh-v910-phase3-panel{padding:clamp(24px,3vw,36px)!important}
.kh-krewe-profile-page .kh-v910-phase1-row{
  grid-template-columns:minmax(0,1.2fr) minmax(330px,.8fr)!important;
  gap:24px!important;
  margin:32px 0!important;
}
.kh-krewe-profile-page .kh-v910-featured{
  min-height:330px!important;
  grid-template-columns:minmax(0,1.15fr) minmax(220px,.85fr)!important;
  background:linear-gradient(120deg,#111827 0%,color-mix(in srgb,var(--kh-primary,#5f2385) 72%,#111827) 100%)!important;
}
.kh-krewe-profile-page .kh-v910-featured-copy{padding:clamp(28px,4vw,46px)!important}
.kh-krewe-profile-page .kh-v910-featured-media{min-height:330px!important}
.kh-krewe-profile-page .kh-v910-featured-media img{max-height:285px!important}
.kh-krewe-profile-page .kh-v910-years{padding:clamp(24px,3vw,34px)!important}
.kh-krewe-profile-page .kh-v910-year-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.kh-krewe-profile-page .kh-v910-year-grid a{
  min-height:42px!important;
  border-radius:10px!important;
  border-color:var(--kh-krewe-line)!important;
  background:var(--kh-krewe-soft)!important;
}
.kh-krewe-profile-page .kh-v910-phase2-collections{padding:clamp(24px,3vw,36px)!important}
.kh-krewe-profile-page .kh-v910-phase2-collections .kh-krewe-collection-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:16px!important;
}
.kh-krewe-profile-page .kh-v910-phase2-collections .kh-museum-collection-card{
  min-height:200px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.kh-krewe-profile-page :is(.kh-v910-phase3-kicker,.kh-v910-years-kicker,.kh-v910-collections-heading p){color:var(--kh-muted,#746b79)!important}
.kh-krewe-profile-page :is(.kh-v910-phase3-panel h2,.kh-v910-years h2,.kh-v910-collections-heading h2){letter-spacing:-.025em!important}

/* Compact, intentional leadership cards. */
.kh-krewe-profile-page .kh-v910-leadership-grid{gap:14px!important}
.kh-krewe-profile-page .kh-v910-person{
  padding:12px!important;
  border-color:var(--kh-krewe-line)!important;
  border-radius:16px!important;
  background:var(--kh-krewe-soft)!important;
  box-shadow:none!important;
}
.kh-krewe-profile-page .kh-v910-person img{height:190px!important;border-radius:12px!important}

@media(max-width:980px){
  .kh-krewe-profile-page :is(.kh-shared-profile-stat-strip,.kh-krewe-profile-stats,.kh-krewe-stat-strip,.kh-profile-stat-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kh-krewe-profile-page .kh-v910-phase3-grid,
  .kh-krewe-profile-page .kh-v910-phase1-row{grid-template-columns:1fr!important}
  .kh-krewe-profile-page .kh-v910-phase2-collections .kh-krewe-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .kh-krewe-profile-page.edi-krewe-directory-focused{padding-inline:10px!important}
  .kh-krewe-profile-page :is(.kh-krewe-hero,.kh-krewe-profile-hero,.kh-profile-hero){
    grid-template-columns:1fr!important;
    gap:20px!important;
    min-height:0!important;
    padding:34px 20px 52px!important;
    text-align:center!important;
  }
  .kh-krewe-profile-page :is(.kh-krewe-hero-copy,.kh-profile-hero-copy){text-align:center!important}
  .kh-krewe-profile-page :is(.kh-krewe-profile-logo,.kh-profile-logo) img{width:165px!important;height:165px!important}
  .kh-krewe-profile-page :is(.kh-krewe-hero h1,.kh-krewe-profile-hero h1,.kh-profile-hero h1){font-size:clamp(2.2rem,12vw,3.5rem)!important}
  .kh-krewe-profile-page :is(.kh-krewe-hero-description,.kh-profile-hero-description){margin-inline:auto!important}
  .kh-krewe-profile-page :is(.kh-krewe-color-swatches,.kh-profile-colors,.kh-social-profile-links){justify-content:center!important}
  .kh-krewe-profile-page :is(.kh-shared-profile-stat-strip,.kh-krewe-profile-stats,.kh-krewe-stat-strip,.kh-profile-stat-grid){width:calc(100% - 24px)!important;margin-top:-26px!important}
  .kh-krewe-profile-page .kh-v910-featured{grid-template-columns:1fr!important}
  .kh-krewe-profile-page .kh-v910-featured-media{min-height:220px!important;order:-1}
}
@media(max-width:500px){
  .kh-krewe-profile-page :is(.kh-shared-profile-stat-strip,.kh-krewe-profile-stats,.kh-krewe-stat-strip,.kh-profile-stat-grid){grid-template-columns:1fr!important}
  .kh-krewe-profile-page .kh-v910-phase2-collections .kh-krewe-collection-grid{grid-template-columns:1fr!important}
  .kh-krewe-profile-page .kh-v910-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .kh-krewe-profile-page .kh-v910-leadership-grid{grid-template-columns:1fr 1fr!important}
}

/* ================================================================
 * v10.1 refinement round 2 — Step 2: Group profile visual lock
 * Mirrors the approved Krewe profile system while preserving
 * Group-specific content, labels, colors, and archive behavior.
 * ================================================================ */
.kh-group-profile-page.edi-marching-groups-directory.kh-single-group-page{
  --kh-group-max:1240px;
  --kh-group-radius:22px;
  --kh-group-line-final:color-mix(in srgb,var(--kh-primary,var(--kh-group-accent,#5f2385)) 16%,#e8e1eb);
  --kh-group-soft-final:color-mix(in srgb,var(--kh-primary,var(--kh-group-accent,#5f2385)) 4%,#fff);
  --kh-group-shadow-final:0 18px 48px rgba(38,18,50,.10);
  width:min(100%,var(--kh-group-max))!important;
  max-width:var(--kh-group-max)!important;
  margin:0 auto!important;
  padding:clamp(10px,2vw,24px)!important;
  color:#2f2733!important;
}

/* Hero: organization logo remains permanently anchored at left. */
.kh-group-profile-page .kh-group-hero{
  position:relative!important;
  display:grid!important;
  grid-template-columns:minmax(180px,240px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:clamp(28px,5vw,70px)!important;
  min-height:410px!important;
  padding:clamp(38px,6vw,76px)!important;
  border:0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 24px 64px rgba(28,10,40,.23)!important;
  text-align:left!important;
  isolation:isolate!important;
}
.kh-group-profile-page .kh-group-hero:before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-2!important;
  background:linear-gradient(92deg,rgba(18,7,27,.82) 0%,rgba(18,7,27,.64) 48%,rgba(18,7,27,.25) 100%)!important;
}
.kh-group-profile-page .kh-group-hero:after{
  content:""!important;
  position:absolute!important;
  inset:auto -100px -170px auto!important;
  width:430px!important;
  height:430px!important;
  z-index:-1!important;
  border-radius:50%!important;
  background:radial-gradient(circle,color-mix(in srgb,var(--kh-secondary,#d4af37) 30%,transparent),transparent 68%)!important;
}
.kh-group-profile-page .kh-group-hero-logo{
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:0!important;
  margin:0!important;
}
.kh-group-profile-page .kh-group-hero-logo :is(img,.edi-mg-logo){
  display:block!important;
  width:clamp(175px,18vw,230px)!important;
  height:clamp(175px,18vw,230px)!important;
  max-width:230px!important;
  max-height:230px!important;
  padding:13px!important;
  object-fit:contain!important;
  border:5px solid rgba(255,255,255,.92)!important;
  border-radius:50%!important;
  background:#fff!important;
  box-shadow:0 18px 44px rgba(0,0,0,.32)!important;
  filter:none!important;
}
.kh-group-profile-page .kh-group-hero-copy{
  position:relative!important;
  z-index:2!important;
  min-width:0!important;
  text-align:left!important;
}
.kh-group-profile-page .kh-group-hero h1{
  max-width:850px!important;
  margin:0 0 14px!important;
  color:#fff!important;
  font-family:inherit!important;
  font-size:clamp(2.6rem,6vw,5.25rem)!important;
  line-height:.96!important;
  letter-spacing:-.045em!important;
  text-wrap:balance!important;
}
.kh-group-profile-page :is(.kh-group-hero-kicker,.kh-group-founded){color:#fff!important}
.kh-group-profile-page .kh-group-founded{
  display:inline-flex!important;
  align-items:center!important;
  min-height:32px!important;
  margin:0 0 14px!important;
  padding:6px 12px!important;
  border:1px solid rgba(255,255,255,.34)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.12)!important;
  backdrop-filter:blur(8px)!important;
}
.kh-group-profile-page .kh-group-hero-description{
  max-width:720px!important;
  margin:0 0 18px!important;
  color:rgba(255,255,255,.92)!important;
  font-size:clamp(1rem,1.6vw,1.18rem)!important;
  line-height:1.65!important;
}
.kh-group-profile-page .kh-group-hero :is(.edi-mg-color-swatches,.kh-social-profile-links){justify-content:flex-start!important}

/* At-a-glance strip bridges the hero and main content. */
.kh-group-profile-page .kh-profile-section-heading.kh-group-glance-heading{margin:26px 0 0!important;text-align:left!important}
.kh-group-profile-page .kh-group-stat-strip{
  position:relative!important;
  z-index:4!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:14px!important;
  width:calc(100% - clamp(28px,5vw,72px))!important;
  margin:-20px auto 34px!important;
}
.kh-group-profile-page .kh-group-stat{
  min-height:112px!important;
  padding:20px!important;
  border:1px solid var(--kh-group-line-final)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 14px 34px rgba(42,20,55,.12)!important;
}
.kh-group-profile-page .kh-group-stat strong{font-family:inherit!important;color:var(--kh-primary,var(--kh-group-accent,#5f2385))!important}

/* Featured year and archive form the principal dashboard row. */
.kh-group-profile-page .kh-group-krewe-layout-row{
  display:grid!important;
  grid-template-columns:minmax(0,1.18fr) minmax(330px,.82fr)!important;
  align-items:stretch!important;
  gap:24px!important;
  margin:32px 0!important;
}
.kh-group-profile-page :is(.kh-group-featured,.kh-group-year-archive,.kh-group-collections,.kh-shared-profile-about,.kh-v910-phase3-panel){
  border:1px solid var(--kh-group-line-final)!important;
  border-radius:var(--kh-group-radius)!important;
  background:#fff!important;
  box-shadow:var(--kh-group-shadow-final)!important;
}
.kh-group-profile-page .kh-group-featured{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  min-height:330px!important;
  padding:clamp(28px,4vw,46px)!important;
  overflow:hidden!important;
  background:linear-gradient(120deg,#111827 0%,color-mix(in srgb,var(--kh-primary,var(--kh-group-accent,#5f2385)) 72%,#111827) 100%)!important;
}
.kh-group-profile-page .kh-group-featured :is(.kh-group-featured-kicker,.kh-group-featured-year-number,h2,p){color:#fff!important}
.kh-group-profile-page .kh-group-featured-year-card{display:flex!important;align-items:flex-end!important;justify-content:space-between!important;gap:24px!important;background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}
.kh-group-profile-page .kh-group-featured-year-number{font-size:clamp(3.2rem,7vw,6rem)!important;line-height:.9!important;font-weight:900!important}
.kh-group-profile-page .kh-group-featured-button{flex:0 0 auto!important;background:#fff!important;color:var(--kh-primary,var(--kh-group-accent,#5f2385))!important;border-color:#fff!important}
.kh-group-profile-page .kh-group-year-archive{padding:clamp(24px,3vw,34px)!important;margin:0!important}
.kh-group-profile-page .kh-group-year-archive-head{text-align:left!important}
.kh-group-profile-page .kh-group-year-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:10px!important}
.kh-group-profile-page .kh-group-year-link{
  width:100%!important;
  height:auto!important;
  min-height:42px!important;
  border:1px solid var(--kh-group-line-final)!important;
  border-radius:10px!important;
  background:var(--kh-group-soft-final)!important;
  color:var(--kh-primary,var(--kh-group-accent,#5f2385))!important;
  box-shadow:none!important;
}
.kh-group-profile-page .kh-group-year-link:hover,.kh-group-profile-page .kh-group-year-link:focus{
  background:var(--kh-primary,var(--kh-group-accent,#5f2385))!important;
  color:#fff!important;
}

/* Collections and organization narrative. */
.kh-group-profile-page .kh-group-collections{padding:clamp(24px,3vw,36px)!important;margin:32px 0!important}
.kh-group-profile-page .kh-group-collections .kh-group-year-archive-head{text-align:left!important}
.kh-group-profile-page .kh-group-collection-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important}
.kh-group-profile-page .kh-group-collection-card{
  min-height:200px!important;
  padding:0!important;
  border:1px solid var(--kh-group-line-final)!important;
  border-radius:18px!important;
  overflow:hidden!important;
  background:#fff!important;
  box-shadow:none!important;
}
.kh-group-profile-page .kh-v911-collection-media{min-height:132px!important}
.kh-group-profile-page :is(.kh-v910-phase3-grid,.kh-v910-phase1-row){grid-template-columns:minmax(0,1.25fr) minmax(320px,.75fr)!important;gap:24px!important;margin:32px 0!important}
.kh-group-profile-page .kh-v910-phase3-panel{padding:clamp(24px,3vw,36px)!important}
.kh-group-profile-page .kh-v910-leadership-grid{gap:14px!important}
.kh-group-profile-page .kh-v910-person{
  padding:12px!important;
  border:1px solid var(--kh-group-line-final)!important;
  border-radius:16px!important;
  background:var(--kh-group-soft-final)!important;
  box-shadow:none!important;
}
.kh-group-profile-page .kh-v910-person img{height:190px!important;border-radius:12px!important}

@media(max-width:980px){
  .kh-group-profile-page .kh-group-stat-strip{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kh-group-profile-page .kh-group-krewe-layout-row,
  .kh-group-profile-page :is(.kh-v910-phase3-grid,.kh-v910-phase1-row){grid-template-columns:1fr!important}
  .kh-group-profile-page .kh-group-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:720px){
  .kh-group-profile-page.edi-marching-groups-directory.kh-single-group-page{padding-inline:10px!important}
  .kh-group-profile-page .kh-group-hero{
    grid-template-columns:1fr!important;
    gap:20px!important;
    min-height:0!important;
    padding:34px 20px 52px!important;
    text-align:center!important;
  }
  .kh-group-profile-page .kh-group-hero-copy{text-align:center!important}
  .kh-group-profile-page .kh-group-hero-logo :is(img,.edi-mg-logo){width:165px!important;height:165px!important}
  .kh-group-profile-page .kh-group-hero h1{font-size:clamp(2.2rem,12vw,3.5rem)!important}
  .kh-group-profile-page .kh-group-hero-description{margin-inline:auto!important}
  .kh-group-profile-page .kh-group-hero :is(.edi-mg-color-swatches,.kh-social-profile-links){justify-content:center!important}
  .kh-group-profile-page .kh-group-stat-strip{width:calc(100% - 24px)!important;margin-top:-26px!important}
  .kh-group-profile-page .kh-group-featured-year-card{align-items:stretch!important;flex-direction:column!important;text-align:center!important}
  .kh-group-profile-page .kh-group-featured-button{width:100%!important}
}
@media(max-width:500px){
  .kh-group-profile-page .kh-group-stat-strip{grid-template-columns:1fr!important}
  .kh-group-profile-page .kh-group-collection-grid{grid-template-columns:1fr!important}
  .kh-group-profile-page .kh-group-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .kh-group-profile-page .kh-v910-leadership-grid{grid-template-columns:1fr 1fr!important}
}

/* =========================================================
   v10.1 refinement round — Step 3: public directory
   ========================================================= */
.kh-directory-page{
  --kh-dir-ink:#24182b;
  --kh-dir-muted:#6f6474;
  --kh-dir-line:#e5dce9;
  --kh-dir-soft:#faf7fb;
  --kh-dir-purple:var(--kh-primary,#5f2385);
  --kh-dir-green:var(--kh-tertiary,#176b3a);
  --kh-dir-gold:var(--kh-secondary,#c69224);
  width:min(100%,1240px)!important;
  margin:0 auto!important;
  padding:clamp(10px,2vw,24px)!important;
  color:var(--kh-dir-ink)!important;
}
.kh-directory-page .kh-directory-hero{
  position:relative!important;
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr)!important;
  grid-template-areas:"logo title" "logo search"!important;
  align-items:center!important;
  gap:10px clamp(18px,3vw,34px)!important;
  min-height:270px!important;
  margin:0 0 24px!important;
  padding:clamp(30px,5vw,58px)!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:28px!important;
  background:
    radial-gradient(circle at 86% 18%,rgba(255,255,255,.18),transparent 30%),
    linear-gradient(128deg,#351142 0%,var(--kh-dir-purple) 54%,var(--kh-dir-green) 100%)!important;
  box-shadow:0 24px 55px rgba(45,19,54,.2)!important;
  color:#fff!important;
  text-align:left!important;
}
.kh-directory-page .kh-directory-hero:after{
  content:"";
  position:absolute;
  right:-70px;
  bottom:-95px;
  width:310px;
  height:310px;
  border:58px solid rgba(255,255,255,.07);
  border-radius:50%;
  pointer-events:none;
}
.kh-directory-page .kh-directory-brand-logo{
  grid-area:logo!important;
  position:relative!important;
  z-index:1!important;
  width:clamp(92px,11vw,142px)!important;
  height:clamp(92px,11vw,142px)!important;
  padding:10px!important;
  object-fit:contain!important;
  border:1px solid rgba(255,255,255,.38)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 14px 30px rgba(22,8,30,.24)!important;
}
.kh-directory-page .kh-directory-hero h1{
  grid-area:title!important;
  position:relative!important;
  z-index:1!important;
  align-self:end!important;
  margin:0!important;
  color:#fff!important;
  font-size:clamp(2.35rem,5vw,4.7rem)!important;
  line-height:.98!important;
  letter-spacing:-.035em!important;
  text-wrap:balance!important;
}
.kh-directory-page .kh-directory-search-wrap{
  grid-area:search!important;
  position:relative!important;
  z-index:1!important;
  align-self:start!important;
  width:min(100%,680px)!important;
}
.kh-directory-page .kh-directory-search{
  width:100%!important;
  min-height:54px!important;
  padding:13px 48px 13px 18px!important;
  border:1px solid rgba(255,255,255,.58)!important;
  border-radius:14px!important;
  background:rgba(255,255,255,.96)!important;
  color:var(--kh-dir-ink)!important;
  font-size:1rem!important;
  box-shadow:0 12px 26px rgba(22,8,30,.18)!important;
}
.kh-directory-page .kh-directory-search-icon{
  position:absolute!important;
  right:17px!important;
  top:50%!important;
  transform:translateY(-50%)!important;
  color:var(--kh-dir-purple)!important;
  font-size:1.35rem!important;
  pointer-events:none!important;
}
.kh-directory-page .kh-directory-toolbar{
  display:grid!important;
  grid-template-columns:minmax(210px,1fr) repeat(3,minmax(155px,auto))!important;
  gap:14px!important;
  align-items:end!important;
  margin:0 0 28px!important;
  padding:18px!important;
  border:1px solid var(--kh-dir-line)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 12px 30px rgba(43,23,52,.09)!important;
}
.kh-directory-page .kh-directory-results-summary{
  align-self:center!important;
  color:var(--kh-dir-ink)!important;
  font-weight:800!important;
  font-size:1rem!important;
}
.kh-directory-page .kh-directory-control label{
  display:block!important;
  margin:0 0 6px!important;
  color:var(--kh-dir-muted)!important;
  font-size:.72rem!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
.kh-directory-page .kh-directory-control select{
  width:100%!important;
  min-height:44px!important;
  border-radius:11px!important;
  border-color:var(--kh-dir-line)!important;
  background-color:#fff!important;
  font-weight:700!important;
}
.kh-directory-page .kh-directory-section{
  margin:clamp(30px,5vw,54px) 0!important;
}
.kh-directory-page .kh-directory-section-heading{
  display:flex!important;
  align-items:end!important;
  justify-content:space-between!important;
  gap:22px!important;
  margin:0 0 18px!important;
  padding:0 2px 12px!important;
  border-bottom:1px solid var(--kh-dir-line)!important;
}
.kh-directory-page .kh-directory-section-heading h2{
  margin:0!important;
  color:var(--kh-dir-purple)!important;
  font-size:clamp(1.65rem,3vw,2.25rem)!important;
}
.kh-directory-page .kh-directory-section-heading p{
  max-width:620px!important;
  margin:0!important;
  color:var(--kh-dir-muted)!important;
  line-height:1.55!important;
  text-align:right!important;
}
.kh-directory-page .kh-directory-year-timeline{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:10px!important;
  padding:16px!important;
  border:1px solid var(--kh-dir-line)!important;
  border-radius:18px!important;
  background:linear-gradient(180deg,#fff,var(--kh-dir-soft))!important;
  box-shadow:0 8px 22px rgba(43,23,52,.07)!important;
}
.kh-directory-page .kh-directory-year-grid{
  display:flex!important;
  gap:9px!important;
  overflow-x:auto!important;
  padding:3px!important;
  scrollbar-width:thin!important;
  scroll-snap-type:x proximity!important;
}
.kh-directory-page .kh-directory-year-grid a{
  flex:0 0 auto!important;
  min-width:76px!important;
  min-height:43px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:8px 12px!important;
  border:1px solid #dfd3e4!important;
  border-radius:10px!important;
  background:#fff!important;
  color:var(--kh-dir-purple)!important;
  font-weight:900!important;
  text-decoration:none!important;
  scroll-snap-align:start!important;
}
.kh-directory-page .kh-directory-year-grid a:hover,
.kh-directory-page .kh-directory-year-grid a:focus-visible{
  border-color:var(--kh-dir-purple)!important;
  background:var(--kh-dir-purple)!important;
  color:#fff!important;
}
.kh-directory-page .kh-year-scroll-button{
  width:42px!important;
  height:42px!important;
  border:1px solid var(--kh-dir-line)!important;
  border-radius:50%!important;
  background:#fff!important;
  color:var(--kh-dir-purple)!important;
  font-size:1.45rem!important;
  font-weight:900!important;
  box-shadow:0 5px 13px rgba(43,23,52,.1)!important;
  cursor:pointer!important;
}
.kh-directory-page :is(.edi-krewe-directory-grid,.edi-mg-grid,.kh-directory-grid){
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:20px!important;
  align-items:stretch!important;
}
.kh-directory-page .edi-krewe-directory-card{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  min-height:292px!important;
  padding:24px 20px 20px!important;
  overflow:hidden!important;
  border:1px solid var(--kh-dir-line)!important;
  border-radius:20px!important;
  background:#fff!important;
  color:var(--kh-dir-ink)!important;
  text-align:center!important;
  text-decoration:none!important;
  box-shadow:0 10px 26px rgba(43,23,52,.08)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.kh-directory-page .edi-krewe-directory-card:before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background:linear-gradient(90deg,var(--kh-dir-purple),var(--kh-dir-gold),var(--kh-dir-green));
}
.kh-directory-page .edi-krewe-directory-card:hover,
.kh-directory-page .edi-krewe-directory-card:focus-visible{
  transform:translateY(-4px)!important;
  border-color:color-mix(in srgb,var(--kh-dir-purple) 45%,var(--kh-dir-line))!important;
  box-shadow:0 18px 38px rgba(43,23,52,.15)!important;
}
.kh-directory-page .edi-krewe-directory-logo,
.kh-directory-page .kh-directory-card-logo-placeholder{
  flex:0 0 auto!important;
  width:116px!important;
  height:116px!important;
  margin:0 auto 16px!important;
  padding:8px!important;
  overflow:hidden!important;
  border:1px solid #e7deea!important;
  border-radius:18px!important;
  background:var(--kh-dir-soft)!important;
  box-shadow:none!important;
}
.kh-directory-page .edi-krewe-directory-logo img,
.kh-directory-page .edi-krewe-directory-card img{
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
}
.kh-directory-page .kh-directory-card-copy{
  display:flex!important;
  flex:1!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  text-align:center!important;
}
.kh-directory-page .edi-krewe-directory-name{
  display:block!important;
  margin:0 0 7px!important;
  color:var(--kh-dir-purple)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(1.15rem,1.7vw,1.38rem)!important;
  font-weight:800!important;
  line-height:1.18!important;
  overflow-wrap:anywhere!important;
}
.kh-directory-page .edi-krewe-directory-subtitle{
  display:block!important;
  color:var(--kh-dir-muted)!important;
  font-size:.9rem!important;
  line-height:1.45!important;
}
.kh-directory-page .kh-directory-pagination{
  display:flex!important;
  justify-content:center!important;
  gap:8px!important;
  margin:34px 0 10px!important;
  flex-wrap:wrap!important;
}
.kh-directory-page .kh-directory-page-button{
  min-width:42px!important;
  min-height:42px!important;
  border-radius:10px!important;
  border:1px solid var(--kh-dir-line)!important;
  background:#fff!important;
  color:var(--kh-dir-purple)!important;
  font-weight:900!important;
}
.kh-directory-page .kh-directory-page-button.is-current{
  border-color:var(--kh-dir-purple)!important;
  background:var(--kh-dir-purple)!important;
  color:#fff!important;
}
.kh-directory-page .kh-no-results{
  margin:28px 0!important;
  padding:28px!important;
  border:1px dashed #d5c8da!important;
  border-radius:18px!important;
  background:var(--kh-dir-soft)!important;
  color:var(--kh-dir-muted)!important;
  text-align:center!important;
  font-weight:700!important;
}
@media(max-width:960px){
  .kh-directory-page .kh-directory-toolbar{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kh-directory-page :is(.edi-krewe-directory-grid,.edi-mg-grid,.kh-directory-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  .kh-directory-page{padding:8px!important}
  .kh-directory-page .kh-directory-hero{
    grid-template-columns:1fr!important;
    grid-template-areas:"logo" "title" "search"!important;
    justify-items:center!important;
    min-height:0!important;
    padding:30px 20px!important;
    text-align:center!important;
  }
  .kh-directory-page .kh-directory-hero h1{text-align:center!important;font-size:clamp(2.1rem,12vw,3.35rem)!important}
  .kh-directory-page .kh-directory-search-wrap{width:100%!important}
  .kh-directory-page .kh-directory-toolbar{grid-template-columns:1fr!important;padding:15px!important}
  .kh-directory-page .kh-directory-results-summary{text-align:center!important}
  .kh-directory-page .kh-directory-section-heading{display:block!important}
  .kh-directory-page .kh-directory-section-heading p{margin-top:6px!important;text-align:left!important}
  .kh-directory-page :is(.edi-krewe-directory-grid,.edi-mg-grid,.kh-directory-grid){grid-template-columns:1fr!important;gap:14px!important}
  .kh-directory-page .edi-krewe-directory-card{min-height:0!important;display:grid!important;grid-template-columns:88px minmax(0,1fr)!important;gap:16px!important;align-items:center!important;padding:18px!important;text-align:left!important}
  .kh-directory-page .edi-krewe-directory-logo,
  .kh-directory-page .kh-directory-card-logo-placeholder{width:88px!important;height:88px!important;margin:0!important;border-radius:15px!important}
  .kh-directory-page .kh-directory-card-copy{align-items:flex-start!important;text-align:left!important}
  .kh-directory-page .kh-directory-year-timeline{grid-template-columns:1fr!important}
  .kh-directory-page .kh-year-scroll-button{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .kh-directory-page .edi-krewe-directory-card{transition:none!important}
  .kh-directory-page .edi-krewe-directory-card:hover{transform:none!important}
}


/* v10.1 refinement round — Step 5: authoritative Krewe Year Details presentation. */
.kh-v101-refine-step5-krewe-year{
  --kh-yr-purple:var(--kh-entity-primary,#59238a);
  --kh-yr-secondary:var(--kh-entity-secondary,#8c50b0);
  --kh-yr-gold:var(--kh-entity-accent,#d4a72c);
  --kh-yr-green:var(--kh-entity-tertiary,#18804b);
  --kh-yr-ink:#26172f;
  --kh-yr-muted:#6f6475;
  --kh-yr-line:#eadff0;
  --kh-yr-soft:#f8f3fa;
  max-width:1280px!important;
  margin:0 auto!important;
  padding:12px 22px 56px!important;
  background:linear-gradient(180deg,#fbf9fc 0,#fff 22%,#fff 100%)!important;
}
.kh-v101-refine-step5-krewe-year .edi-year-top-jump{
  max-width:1180px!important;
  margin:0 auto 10px!important;
  padding:0 4px!important;
}
.kh-v101-refine-step5-krewe-year .edi-year-top-jump select{
  width:auto!important;
  min-width:116px!important;
  max-width:none!important;
  height:40px!important;
  min-height:40px!important;
  padding:5px 34px 5px 12px!important;
  border:1px solid var(--kh-yr-line)!important;
  border-radius:12px!important;
  background-color:#fff!important;
  color:var(--kh-yr-ink)!important;
  font-size:.88rem!important;
  font-weight:800!important;
  box-shadow:0 6px 18px rgba(55,25,81,.07)!important;
}
.kh-v101-refine-step5-krewe-year .edi-year-header-display-box{
  max-width:1180px!important;
  margin:0 auto 18px!important;
  border:0!important;
  border-radius:28px!important;
  overflow:hidden!important;
  background:#311241!important;
  box-shadow:0 26px 64px rgba(44,18,57,.22)!important;
}
.kh-v101-refine-step5-krewe-year :is(.edi-parade-hero,.edi-parade-hero-v209){
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  grid-template-columns:minmax(210px,300px) minmax(0,1fr)!important;
  align-items:center!important;
  gap:clamp(28px,5vw,68px)!important;
  min-height:390px!important;
  margin:0!important;
  padding:clamp(38px,6vw,76px)!important;
  border:0!important;
  border-radius:0!important;
  background:
    linear-gradient(105deg,rgba(35,9,53,.95) 0%,rgba(72,25,100,.87) 48%,rgba(20,72,51,.70) 100%),
    var(--kh-year-hero-image,none)!important;
  background-position:center!important;
  background-size:cover!important;
  box-shadow:none!important;
}
.kh-v101-refine-step5-krewe-year :is(.edi-parade-hero,.edi-parade-hero-v209):before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:-1!important;
  background:radial-gradient(circle at 80% 15%,rgba(244,201,79,.20),transparent 36%)!important;
  pointer-events:none!important;
}
.kh-v101-refine-step5-krewe-year .edi-parade-hero-logo{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:250px!important;
  margin:0!important;
  padding:24px!important;
  border:1px solid rgba(255,255,255,.28)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 18px 44px rgba(13,5,19,.28)!important;
  backdrop-filter:blur(8px)!important;
}
.kh-v101-refine-step5-krewe-year .edi-parade-hero-logo img{
  width:auto!important;
  max-width:100%!important;
  max-height:235px!important;
  object-fit:contain!important;
  filter:none!important;
}
.kh-v101-refine-step5-krewe-year .edi-parade-hero-text{
  position:relative!important;
  z-index:2!important;
  text-align:left!important;
  color:#fff!important;
}
.kh-v101-refine-step5-krewe-year .edi-parade-hero-text h2{
  margin:0 0 8px!important;
  color:#fff!important;
  font-family:Inter,ui-sans-serif,sans-serif!important;
  font-size:clamp(4rem,8vw,7.4rem)!important;
  font-weight:950!important;
  line-height:.88!important;
  letter-spacing:-.065em!important;
  text-shadow:0 7px 26px rgba(0,0,0,.35)!important;
}
.kh-v101-refine-step5-krewe-year .edi-parade-hero-text .edi-theme-title{
  width:auto!important;
  margin:14px 0 20px!important;
  color:#fff!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(1.45rem,2.7vw,2.35rem)!important;
  line-height:1.2!important;
  text-align:left!important;
  text-shadow:0 4px 18px rgba(0,0,0,.3)!important;
}
.kh-v101-refine-step5-krewe-year .edi-theme-title span{
  color:#f5cf68!important;
}
.kh-v101-refine-step5-krewe-year .edi-header-date-list{
  display:flex!important;
  justify-content:flex-start!important;
  gap:10px!important;
  flex-wrap:wrap!important;
  margin:0!important;
}
.kh-v101-refine-step5-krewe-year .edi-header-date-list p{
  margin:0!important;
  padding:9px 13px!important;
  border:1px solid rgba(255,255,255,.25)!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.13)!important;
  color:#fff!important;
  font-size:.9rem!important;
  line-height:1.2!important;
  backdrop-filter:blur(8px)!important;
}
.kh-v101-refine-step5-krewe-year .edi-header-date-list strong{color:#f5cf68!important}
.kh-v101-refine-step5-krewe-year .kh-year-glance{
  position:relative!important;
  z-index:5!important;
  max-width:1080px!important;
  margin:-34px auto 26px!important;
  padding:16px!important;
  border:1px solid var(--kh-yr-line)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 18px 44px rgba(55,25,81,.14)!important;
}
.kh-v101-refine-step5-krewe-year .kh-year-glance-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(145px,1fr))!important;
  gap:10px!important;
}
.kh-v101-refine-step5-krewe-year .kh-year-glance-card{
  min-height:94px!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:15px 12px!important;
  border:1px solid #eee4f2!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#fff,var(--kh-yr-soft))!important;
  text-align:center!important;
}
.kh-v101-refine-step5-krewe-year .kh-year-glance-value{
  color:var(--kh-yr-purple)!important;
  font-size:clamp(1.35rem,2vw,1.8rem)!important;
  font-weight:900!important;
  line-height:1!important;
}
.kh-v101-refine-step5-krewe-year .kh-year-glance-label{
  margin-top:8px!important;
  color:var(--kh-yr-muted)!important;
  font-size:.7rem!important;
  font-weight:850!important;
  letter-spacing:.075em!important;
  text-transform:uppercase!important;
}
.kh-v101-refine-step5-krewe-year .kh-year-chapter-nav{
  position:sticky!important;
  top:10px!important;
  z-index:40!important;
  max-width:1080px!important;
  margin:0 auto 28px!important;
  padding:11px 14px!important;
  border:1px solid rgba(90,32,144,.18)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.95)!important;
  box-shadow:0 12px 32px rgba(55,25,81,.12)!important;
  backdrop-filter:blur(14px)!important;
}
.kh-v101-refine-step5-krewe-year .kh-year-chapter-links{
  display:flex!important;
  justify-content:center!important;
  gap:7px!important;
  flex-wrap:wrap!important;
}
.kh-v101-refine-step5-krewe-year .kh-year-chapter-links a{
  min-height:35px!important;
  padding:7px 13px!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  background:#f5edf9!important;
  color:var(--kh-yr-purple)!important;
  font-size:.79rem!important;
  font-weight:850!important;
  text-decoration:none!important;
}
.kh-v101-refine-step5-krewe-year .kh-year-chapter-links a:hover,
.kh-v101-refine-step5-krewe-year .kh-year-chapter-links a.is-active{
  border-color:var(--kh-yr-purple)!important;
  background:var(--kh-yr-purple)!important;
  color:#fff!important;
}
.kh-v101-refine-step5-krewe-year :is(.edi-year-display-section,.edi-display-section){
  max-width:1080px!important;
  margin:20px auto!important;
  scroll-margin-top:94px!important;
  overflow:hidden!important;
  border:1px solid var(--kh-yr-line)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 12px 32px rgba(55,25,81,.075)!important;
}
.kh-v101-refine-step5-krewe-year :is(.edi-year-display-section,.edi-display-section)>summary{
  min-height:62px!important;
  display:flex!important;
  align-items:center!important;
  padding:18px 24px!important;
  background:linear-gradient(90deg,#fbf8fd,#f3eaf7)!important;
  color:var(--kh-yr-ink)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(1.2rem,2vw,1.48rem)!important;
  font-weight:750!important;
  letter-spacing:0!important;
}
.kh-v101-refine-step5-krewe-year :is(.edi-year-display-section,.edi-display-section)>summary:hover{
  background:linear-gradient(90deg,#f7f0fa,#eee0f4)!important;
}
.kh-v101-refine-step5-krewe-year .edi-year-section-body{
  padding:26px!important;
}
.kh-v101-refine-step5-krewe-year :is(.edi-royal-person-card,.edi-header-person-card,.edi-court-officers-card,.edi-throw-display-card,.edi-pin-display-card,.edi-video-card,.edi-structured-person){
  border:1px solid #ebdfef!important;
  border-radius:17px!important;
  background:linear-gradient(180deg,#fff,#fdfafd)!important;
  box-shadow:0 8px 22px rgba(55,25,81,.065)!important;
}
.kh-v101-refine-step5-krewe-year :is(.edi-royal-person-card,.edi-throw-display-card,.edi-pin-display-card,.edi-video-card){
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.kh-v101-refine-step5-krewe-year :is(.edi-royal-person-card,.edi-throw-display-card,.edi-pin-display-card,.edi-video-card):hover{
  transform:translateY(-3px)!important;
  box-shadow:0 15px 30px rgba(55,25,81,.12)!important;
}
.kh-v101-refine-step5-krewe-year .edi-court-officers-layout{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
.kh-v101-refine-step5-krewe-year .edi-year-bottom-action-box{
  max-width:1080px!important;
  margin:30px auto 12px!important;
  padding:20px!important;
  border:1px solid var(--kh-yr-line)!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#fff,#f8f2fa)!important;
  box-shadow:0 13px 32px rgba(55,25,81,.09)!important;
}
.kh-v101-refine-step5-krewe-year .edi-year-bottom-action-buttons{
  gap:10px!important;
}
.kh-v101-refine-step5-krewe-year .edi-year-bottom-action-buttons .button{
  min-width:190px!important;
  min-height:44px!important;
  border-radius:999px!important;
  font-size:.88rem!important;
  font-weight:850!important;
}
@media(max-width:860px){
  .kh-v101-refine-step5-krewe-year{padding:8px 12px 44px!important}
  .kh-v101-refine-step5-krewe-year :is(.edi-parade-hero,.edi-parade-hero-v209){
    grid-template-columns:1fr!important;
    gap:24px!important;
    min-height:0!important;
    padding:34px 24px 54px!important;
    text-align:center!important;
  }
  .kh-v101-refine-step5-krewe-year .edi-parade-hero-logo{
    width:min(250px,78vw)!important;
    min-height:200px!important;
    margin:0 auto!important;
  }
  .kh-v101-refine-step5-krewe-year .edi-parade-hero-logo img{max-height:185px!important}
  .kh-v101-refine-step5-krewe-year .edi-parade-hero-text,
  .kh-v101-refine-step5-krewe-year .edi-parade-hero-text .edi-theme-title{text-align:center!important}
  .kh-v101-refine-step5-krewe-year .edi-header-date-list{justify-content:center!important}
  .kh-v101-refine-step5-krewe-year .kh-year-glance{margin:-30px 12px 22px!important}
  .kh-v101-refine-step5-krewe-year .kh-year-chapter-links{justify-content:flex-start!important;flex-wrap:nowrap!important;overflow-x:auto!important;padding-bottom:3px!important}
  .kh-v101-refine-step5-krewe-year .kh-year-chapter-links a{flex:0 0 auto!important}
  .kh-v101-refine-step5-krewe-year .edi-court-officers-layout{grid-template-columns:1fr!important}
}
@media(max-width:560px){
  .kh-v101-refine-step5-krewe-year .edi-parade-hero-text h2{font-size:clamp(3.15rem,19vw,5.1rem)!important}
  .kh-v101-refine-step5-krewe-year .kh-year-glance{padding:12px!important}
  .kh-v101-refine-step5-krewe-year .kh-year-glance-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kh-v101-refine-step5-krewe-year .edi-year-section-body{padding:18px 14px!important}
  .kh-v101-refine-step5-krewe-year :is(.edi-year-display-section,.edi-display-section)>summary{padding:16px 17px!important}
  .kh-v101-refine-step5-krewe-year .edi-year-bottom-action-buttons .button{width:100%!important;min-width:0!important}
}
@media(prefers-reduced-motion:reduce){
  .kh-v101-refine-step5-krewe-year *{scroll-behavior:auto!important;transition:none!important}
  .kh-v101-refine-step5-krewe-year :is(.edi-royal-person-card,.edi-throw-display-card,.edi-pin-display-card,.edi-video-card):hover{transform:none!important}
}
@media print{
  .kh-v101-refine-step5-krewe-year{max-width:none!important;padding:0!important;background:#fff!important}
  .kh-v101-refine-step5-krewe-year .kh-year-chapter-nav,
  .kh-v101-refine-step5-krewe-year .edi-year-top-jump,
  .kh-v101-refine-step5-krewe-year .edi-year-bottom-action-box{display:none!important}
  .kh-v101-refine-step5-krewe-year :is(.edi-parade-hero,.edi-parade-hero-v209){min-height:0!important;background:#fff!important;color:#000!important;box-shadow:none!important}
  .kh-v101-refine-step5-krewe-year .edi-parade-hero-text h2,
  .kh-v101-refine-step5-krewe-year .edi-parade-hero-text .edi-theme-title{color:#000!important;text-shadow:none!important}
}


/* v10.1 refinement round — Step 6: authoritative Group year-detail presentation */
.kh-v101-refine-step6-group-year{
  --kh-gyr-primary:var(--kh-primary,#5f2385);
  --kh-gyr-secondary:var(--kh-secondary,#d4af37);
  --kh-gyr-accent:var(--kh-accent,#168c45);
  --kh-gyr-ink:#27192f;
  --kh-gyr-muted:#736679;
  --kh-gyr-line:#eadff0;
  --kh-gyr-soft:#f8f3fa;
  width:min(100%,1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:14px clamp(12px,3vw,32px) 64px!important;
  box-sizing:border-box!important;
  background:linear-gradient(180deg,#f5eff8 0,#fff 720px)!important;
  color:var(--kh-gyr-ink)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-hero{
  position:relative!important;
  isolation:isolate!important;
  display:grid!important;
  grid-template-columns:minmax(190px,.52fr) minmax(0,1.15fr) minmax(220px,.62fr)!important;
  align-items:center!important;
  gap:clamp(24px,4vw,48px)!important;
  min-height:470px!important;
  padding:clamp(34px,5vw,66px)!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:30px!important;
  background:
    linear-gradient(118deg,color-mix(in srgb,var(--kh-gyr-primary) 92%,#13051c),color-mix(in srgb,var(--kh-gyr-accent) 70%,#10251a))!important;
  box-shadow:0 24px 64px rgba(55,25,81,.22)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-hero:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  background:
    radial-gradient(circle at 86% 18%,rgba(255,255,255,.17),transparent 28%),
    radial-gradient(circle at 10% 88%,color-mix(in srgb,var(--kh-gyr-secondary) 28%,transparent),transparent 32%);
}
.kh-v101-refine-step6-group-year .kh-group-year-organization-logo,
.kh-v101-refine-step6-group-year .kh-group-year-hero-image{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:230px!important;
  padding:22px!important;
  border:1px solid rgba(255,255,255,.25)!important;
  border-radius:24px!important;
  background:rgba(255,255,255,.95)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.22)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-organization-logo img,
.kh-v101-refine-step6-group-year .kh-group-year-hero-image img{
  width:auto!important;
  max-width:100%!important;
  max-height:205px!important;
  object-fit:contain!important;
  border-radius:14px!important;
  filter:none!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-hero-copy{
  text-align:left!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-kicker{
  color:#f5d77d!important;
  font-size:.72rem!important;
  font-weight:900!important;
  letter-spacing:.18em!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-hero h1{
  margin:12px 0 14px!important;
  color:#fff!important;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
  font-size:clamp(4.8rem,9vw,8.2rem)!important;
  font-weight:950!important;
  line-height:.88!important;
  letter-spacing:-.075em!important;
  text-shadow:0 6px 25px rgba(0,0,0,.38)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-theme{
  margin:0!important;
  max-width:680px!important;
  color:rgba(255,255,255,.96)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(1.35rem,2.5vw,2.15rem)!important;
  font-weight:700!important;
  line-height:1.25!important;
  text-align:left!important;
  text-shadow:0 3px 15px rgba(0,0,0,.3)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-glance{
  position:relative!important;
  z-index:5!important;
  max-width:1080px!important;
  margin:-38px auto 26px!important;
  padding:16px!important;
  gap:10px!important;
  border:1px solid var(--kh-gyr-line)!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.98)!important;
  box-shadow:0 18px 44px rgba(55,25,81,.14)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-stat{
  min-height:94px!important;
  padding:15px 12px!important;
  border:1px solid #eee4f2!important;
  border-radius:15px!important;
  background:linear-gradient(180deg,#fff,var(--kh-gyr-soft))!important;
  box-shadow:none!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-stat strong{
  color:var(--kh-gyr-primary)!important;
  font-size:clamp(1.35rem,2vw,1.8rem)!important;
  font-weight:900!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-stat span{
  color:var(--kh-gyr-muted)!important;
  font-size:.7rem!important;
  letter-spacing:.075em!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-nav{
  position:sticky!important;
  top:10px!important;
  z-index:40!important;
  max-width:1080px!important;
  margin:0 auto 28px!important;
  padding:11px 14px!important;
  justify-content:center!important;
  gap:7px!important;
  border:1px solid rgba(90,32,144,.18)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.95)!important;
  box-shadow:0 12px 32px rgba(55,25,81,.12)!important;
  backdrop-filter:blur(14px)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-nav a{
  min-height:35px!important;
  display:inline-flex!important;
  align-items:center!important;
  padding:7px 13px!important;
  border:1px solid transparent!important;
  border-radius:999px!important;
  background:#f5edf9!important;
  color:var(--kh-gyr-primary)!important;
  font-size:.79rem!important;
  font-weight:850!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-nav a:hover,
.kh-v101-refine-step6-group-year .kh-group-year-nav a:focus-visible,
.kh-v101-refine-step6-group-year .kh-group-year-nav a.is-active{
  border-color:var(--kh-gyr-primary)!important;
  background:var(--kh-gyr-primary)!important;
  color:#fff!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-chapter{
  max-width:1080px!important;
  margin:22px auto!important;
  padding:clamp(25px,4vw,44px)!important;
  scroll-margin-top:94px!important;
  overflow:hidden!important;
  border:1px solid var(--kh-gyr-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 13px 34px rgba(55,25,81,.08)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-chapter-label{
  color:var(--kh-gyr-primary)!important;
  font-size:.7rem!important;
  font-weight:900!important;
  letter-spacing:.16em!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-chapter>h2{
  margin:7px 0 22px!important;
  padding-bottom:14px!important;
  border-bottom:4px solid var(--kh-gyr-secondary)!important;
  color:var(--kh-gyr-ink)!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(1.85rem,3.4vw,2.75rem)!important;
  line-height:1.12!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-card-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:20px!important;
}
.kh-v101-refine-step6-group-year :is(.edi-mg-public-item,.kh-group-year-person-card,.kh-group-year-parade-card){
  border:1px solid #ebdfef!important;
  border-radius:17px!important;
  background:linear-gradient(180deg,#fff,#fdfafd)!important;
  box-shadow:0 8px 22px rgba(55,25,81,.065)!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.kh-v101-refine-step6-group-year :is(.edi-mg-public-item,.kh-group-year-person-card,.kh-group-year-parade-card):hover{
  transform:translateY(-3px)!important;
  box-shadow:0 15px 30px rgba(55,25,81,.12)!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-plaque{
  max-width:none!important;
  color:#3d3042!important;
  font-family:Inter,ui-sans-serif,system-ui,sans-serif!important;
  font-size:1.04rem!important;
  line-height:1.75!important;
}
.kh-v101-refine-step6-group-year .kh-group-year-subsection+ .kh-group-year-subsection{
  margin-top:30px!important;
  padding-top:28px!important;
  border-top:1px solid var(--kh-gyr-line)!important;
}
.kh-v101-refine-step6-group-year .kh-museum-year-footer-nav{
  max-width:1080px!important;
  margin:32px auto 0!important;
  padding:18px!important;
  border:1px solid var(--kh-gyr-line)!important;
  border-radius:20px!important;
  background:linear-gradient(135deg,#fff,#f8f2fa)!important;
  box-shadow:0 13px 32px rgba(55,25,81,.09)!important;
}
@media(max-width:980px){
  .kh-v101-refine-step6-group-year .kh-group-year-hero{
    grid-template-columns:minmax(180px,.58fr) minmax(0,1fr)!important;
  }
  .kh-v101-refine-step6-group-year .kh-group-year-hero-image{
    grid-column:1/-1!important;
    min-height:170px!important;
  }
  .kh-v101-refine-step6-group-year .kh-group-year-hero-image img{max-height:150px!important}
}
@media(max-width:760px){
  .kh-v101-refine-step6-group-year{padding:8px 12px 44px!important}
  .kh-v101-refine-step6-group-year .kh-group-year-hero{
    grid-template-columns:1fr!important;
    gap:24px!important;
    min-height:0!important;
    padding:34px 24px 54px!important;
    text-align:center!important;
  }
  .kh-v101-refine-step6-group-year .kh-group-year-organization-logo{
    width:min(250px,78vw)!important;
    min-height:200px!important;
    margin:0 auto!important;
  }
  .kh-v101-refine-step6-group-year .kh-group-year-organization-logo img{max-height:185px!important}
  .kh-v101-refine-step6-group-year .kh-group-year-hero-copy,
  .kh-v101-refine-step6-group-year .kh-group-year-theme{text-align:center!important}
  .kh-v101-refine-step6-group-year .kh-group-year-hero-image{width:min(310px,90vw)!important;margin:0 auto!important}
  .kh-v101-refine-step6-group-year .kh-group-year-glance{margin:-30px 12px 22px!important}
  .kh-v101-refine-step6-group-year .kh-group-year-nav{
    justify-content:flex-start!important;
    flex-wrap:nowrap!important;
    overflow-x:auto!important;
  }
  .kh-v101-refine-step6-group-year .kh-group-year-nav a{flex:0 0 auto!important}
}
@media(max-width:560px){
  .kh-v101-refine-step6-group-year .kh-group-year-hero h1{font-size:clamp(3.15rem,19vw,5.1rem)!important}
  .kh-v101-refine-step6-group-year .kh-group-year-glance{padding:12px!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kh-v101-refine-step6-group-year .kh-group-year-chapter{padding:20px 15px!important}
}
@media(prefers-reduced-motion:reduce){
  .kh-v101-refine-step6-group-year *{scroll-behavior:auto!important;transition:none!important}
  .kh-v101-refine-step6-group-year :is(.edi-mg-public-item,.kh-group-year-person-card,.kh-group-year-parade-card):hover{transform:none!important}
}
@media print{
  .kh-v101-refine-step6-group-year{max-width:none!important;padding:0!important;background:#fff!important}
  .kh-v101-refine-step6-group-year .kh-group-year-nav{display:none!important}
  .kh-v101-refine-step6-group-year .kh-group-year-hero{min-height:0!important;background:#fff!important;box-shadow:none!important}
  .kh-v101-refine-step6-group-year .kh-group-year-hero h1,
  .kh-v101-refine-step6-group-year .kh-group-year-theme{color:#000!important;text-shadow:none!important}
  .kh-v101-refine-step6-group-year .kh-group-year-chapter{box-shadow:none!important;break-inside:avoid!important}
}

/* ========================================================================
 * v10.1 refinement round — Step 7: collections and supporting archives
 * Final public presentation layer for collection archives, Year in Review,
 * public timelines, year ribbons and archival media affordances.
 * ===================================================================== */
:where(.kh-collection-archive,.kh-year-review,.edi-krewe-timeline-wrap,.kh-directory-year-timeline,.kh-year-paged-archive){
  --kh-archive-surface:#fff;
  --kh-archive-soft:color-mix(in srgb,var(--kh-primary,#5f2385) 6%,#fff);
  --kh-archive-border:color-mix(in srgb,var(--kh-primary,#5f2385) 16%,#d9d2df);
  --kh-archive-shadow:0 18px 48px rgba(31,20,38,.10);
}

/* Collection archive shell and heading hierarchy. */
.kh-collection-archive{
  max-width:1240px!important;
  margin:clamp(24px,4vw,52px) auto!important;
  padding:0 clamp(16px,3vw,34px) 52px!important;
}
.kh-collection-archive>h1{
  margin:0 0 10px!important;
  font-size:clamp(2rem,4vw,3.5rem)!important;
  line-height:1.02!important;
  letter-spacing:-.045em!important;
}
.kh-collection-intro{
  max-width:780px!important;
  color:var(--kh-muted,#6d6572)!important;
  font-size:clamp(1rem,1.4vw,1.15rem)!important;
  line-height:1.7!important;
  margin-bottom:24px!important;
}
.kh-collection-back{margin-bottom:18px!important}
.kh-collection-back a{
  display:inline-flex!important;
  align-items:center!important;
  min-height:42px!important;
  padding:9px 15px!important;
  border:1px solid var(--kh-archive-border)!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:0 5px 16px rgba(31,20,38,.06)!important;
  text-decoration:none!important;
  font-weight:750!important;
}

/* Unified filter/search command bar. */
.kh-collection-year-filter,
.kh-collection-search-wrap{
  border:1px solid var(--kh-archive-border)!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 12px 32px rgba(31,20,38,.08)!important;
}
.kh-collection-year-filter{
  display:grid!important;
  grid-template-columns:auto minmax(180px,260px) minmax(220px,1fr)!important;
  gap:12px!important;
  align-items:end!important;
  padding:16px!important;
  border-radius:20px!important;
  margin:22px 0 28px!important;
}
.kh-collection-year-filter label{
  font-size:.75rem!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
  font-weight:800!important;
  color:var(--kh-muted,#6d6572)!important;
}
.kh-collection-year-filter select,
.kh-collection-search-wrap input{
  min-height:46px!important;
  border-radius:13px!important;
  border:1px solid color-mix(in srgb,var(--kh-primary,#5f2385) 20%,#d8d0dc)!important;
  background:#fff!important;
}
.kh-collection-search-wrap{border-radius:13px!important;padding:0!important}
.kh-collection-search-wrap input{width:100%!important}
.kh-collection-search-status{font-size:.88rem!important;color:var(--kh-muted,#6d6572)!important;margin-top:8px!important}

/* Year groups and artifact cards. */
.kh-collection-year{
  margin:0 0 30px!important;
  padding:clamp(20px,3vw,32px)!important;
  border:1px solid var(--kh-archive-border)!important;
  border-radius:26px!important;
  background:linear-gradient(145deg,#fff,var(--kh-archive-soft))!important;
  box-shadow:var(--kh-archive-shadow)!important;
}
.kh-collection-year>h2{
  display:flex!important;
  align-items:center!important;
  gap:11px!important;
  margin:0 0 20px!important;
  font-size:clamp(1.45rem,2.5vw,2rem)!important;
  letter-spacing:-.03em!important;
}
.kh-collection-year>h2:before{
  content:""!important;
  width:10px!important;
  height:34px!important;
  border-radius:999px!important;
  background:linear-gradient(180deg,var(--kh-primary,#5f2385),var(--kh-secondary,#16834b))!important;
}
.kh-collection-row-grid,
.kh-collection-year-content{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
}
.kh-collection-item,
.kh-collection-archive .edi-public-card,
.kh-collection-archive .edi-doubloon-card,
.kh-collection-archive .edi-gallery-item{
  min-width:0!important;
  height:100%!important;
  overflow:hidden!important;
  border:1px solid var(--kh-archive-border)!important;
  border-radius:19px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(31,20,38,.07)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
.kh-collection-item:hover,
.kh-collection-archive .edi-public-card:hover,
.kh-collection-archive .edi-doubloon-card:hover,
.kh-collection-archive .edi-gallery-item:hover{
  transform:translateY(-4px)!important;
  box-shadow:0 18px 38px rgba(31,20,38,.13)!important;
  border-color:color-mix(in srgb,var(--kh-primary,#5f2385) 35%,#d8d0dc)!important;
}
.kh-collection-item img,
.kh-collection-archive .edi-public-images img,
.kh-collection-video-thumb{
  width:100%!important;
  aspect-ratio:4/3!important;
  object-fit:cover!important;
  background:#eeeaf0!important;
}
.kh-collection-item h3{font-size:1.02rem!important;line-height:1.25!important;margin:13px 14px 5px!important}
.kh-collection-item-meta{padding:0 14px 15px!important;color:var(--kh-muted,#6d6572)!important;font-size:.9rem!important;line-height:1.5!important}
.kh-collection-empty{
  border:1px dashed color-mix(in srgb,var(--kh-primary,#5f2385) 28%,#d8d0dc)!important;
  border-radius:18px!important;
  padding:28px!important;
  background:var(--kh-archive-soft)!important;
  color:var(--kh-muted,#6d6572)!important;
  text-align:center!important;
}

/* Compact collection strips embedded in public profiles and year pages. */
:where(.kh-krewe-collections,.kh-group-collections,.kh-shared-profile-collections,.kh-categorized-collections) .kh-collection-category{
  margin-top:22px!important;
}
:where(.kh-krewe-collections,.kh-group-collections,.kh-shared-profile-collections,.kh-categorized-collections) .kh-collection-category-title{
  margin:0 0 12px!important;
  font-size:1rem!important;
  letter-spacing:.03em!important;
  text-transform:uppercase!important;
}
:where(.kh-krewe-collection-grid,.kh-group-collection-grid,.kh-profile-collection-grid){
  gap:14px!important;
  scroll-padding-inline:4px!important;
  padding:4px 3px 12px!important;
}
:where(.kh-krewe-collection-grid,.kh-group-collection-grid,.kh-profile-collection-grid) .kh-v911-collection-card{
  border-radius:17px!important;
  border:1px solid var(--kh-archive-border)!important;
  box-shadow:0 8px 20px rgba(31,20,38,.07)!important;
}

/* Year in Review. */
.kh-year-review{
  max-width:1240px!important;
  margin:clamp(24px,4vw,52px) auto!important;
  padding:clamp(22px,4vw,44px)!important;
  border-radius:30px!important;
  border:1px solid var(--kh-archive-border)!important;
  background:linear-gradient(145deg,#fff,var(--kh-archive-soft))!important;
  box-shadow:var(--kh-archive-shadow)!important;
}
.kh-year-review h1,
.kh-year-review h2{letter-spacing:-.035em!important}
.kh-year-review :is(.kh-year-review-grid,.kh-year-review-items,.kh-cy-grid){
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;
  gap:18px!important;
}
.kh-year-review :is(.kh-year-review-card,.kh-year-review-item,.kh-cy-card){
  border:1px solid var(--kh-archive-border)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(31,20,38,.07)!important;
  overflow:hidden!important;
}

/* Public timelines. */
.edi-krewe-timeline-wrap,
.kh-directory-year-timeline{
  max-width:1180px!important;
  margin:30px auto!important;
  padding:clamp(22px,4vw,40px)!important;
  border:1px solid var(--kh-archive-border)!important;
  border-radius:28px!important;
  background:linear-gradient(145deg,#fff,var(--kh-archive-soft))!important;
  box-shadow:var(--kh-archive-shadow)!important;
}
.edi-krewe-timeline-title{font-size:clamp(1.7rem,3vw,2.5rem)!important;letter-spacing:-.04em!important;margin-bottom:24px!important}
.edi-krewe-timeline{gap:18px!important}
.edi-krewe-timeline-card{
  border:1px solid var(--kh-archive-border)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 22px rgba(31,20,38,.07)!important;
  padding:18px!important;
}
.edi-krewe-timeline-card:hover{transform:translateY(-3px)!important;box-shadow:0 16px 34px rgba(31,20,38,.12)!important}
.edi-krewe-timeline-year{font-size:1.3rem!important;font-weight:850!important;color:var(--kh-primary,#5f2385)!important}
.edi-krewe-timeline-button{border-radius:999px!important;font-weight:800!important}

/* Year ribbons and paged archive controls. */
.kh-museum-year-ribbon,
.kh-year-paged-archive{
  border:1px solid var(--kh-archive-border)!important;
  border-radius:20px!important;
  background:#fff!important;
  box-shadow:0 10px 28px rgba(31,20,38,.08)!important;
}
.kh-museum-year-ribbon{padding:14px 16px!important}
.kh-museum-year-ribbon-track{gap:8px!important;scrollbar-width:thin!important}
.kh-museum-year-ribbon a,
.kh-museum-year-ribbon button{
  min-height:38px!important;
  padding:8px 13px!important;
  border-radius:999px!important;
  font-weight:750!important;
}

/* Accessible archive media and lightbox affordances. */
.edi-lightbox-link,
.kh-collection-lightbox-link{
  position:relative!important;
  outline-offset:4px!important;
}
.edi-lightbox-link:after,
.kh-collection-lightbox-link:after{
  content:"View larger"!important;
  position:absolute!important;
  right:8px!important;
  bottom:8px!important;
  padding:5px 8px!important;
  border-radius:999px!important;
  background:rgba(25,17,30,.78)!important;
  color:#fff!important;
  font-size:.68rem!important;
  line-height:1!important;
  opacity:0!important;
  transform:translateY(3px)!important;
  transition:opacity .16s ease,transform .16s ease!important;
  pointer-events:none!important;
}
.edi-lightbox-link:hover:after,
.edi-lightbox-link:focus-visible:after,
.kh-collection-lightbox-link:hover:after,
.kh-collection-lightbox-link:focus-visible:after{opacity:1!important;transform:none!important}

@media (max-width:800px){
  .kh-collection-year-filter{grid-template-columns:1fr!important;align-items:stretch!important}
  .kh-collection-row-grid,.kh-collection-year-content{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kh-year-review{border-radius:22px!important;padding:22px!important}
}
@media (max-width:540px){
  .kh-collection-archive{padding-inline:12px!important}
  .kh-collection-year{padding:17px!important;border-radius:21px!important}
  .kh-collection-row-grid,.kh-collection-year-content{grid-template-columns:1fr!important}
  .edi-krewe-timeline-wrap,.kh-directory-year-timeline{padding:18px!important;border-radius:21px!important}
  .edi-lightbox-link:after,.kh-collection-lightbox-link:after{display:none!important}
}
@media (prefers-reduced-motion:reduce){
  .kh-collection-item,
  .kh-collection-archive .edi-public-card,
  .kh-collection-archive .edi-doubloon-card,
  .kh-collection-archive .edi-gallery-item,
  .edi-krewe-timeline-card,
  .edi-lightbox-link:after,
  .kh-collection-lightbox-link:after{transition:none!important;transform:none!important}
}
@media print{
  .kh-collection-year-filter,.kh-collection-search-wrap,.kh-collection-back,.kh-museum-year-ribbon{display:none!important}
  .kh-collection-archive,.kh-year-review,.edi-krewe-timeline-wrap,.kh-directory-year-timeline{box-shadow:none!important;border-color:#bbb!important;background:#fff!important}
  .kh-collection-year{break-inside:avoid!important;box-shadow:none!important}
}

/* ========================================================================
   v10.1 Refinement Round — Step 8: Site-wide consistency and responsive QA
   ======================================================================== */
:root{
  --kh-refine-content-width:1240px;
  --kh-refine-reading-width:820px;
  --kh-refine-page-gutter:clamp(14px,3vw,32px);
  --kh-refine-touch:44px;
}

/* Keep every refined public surface aligned to the same page grid. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review,
  .edi-krewe-timeline-wrap,
  .kh-directory-year-timeline
){
  width:min(100%,var(--kh-refine-content-width))!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
}

/* Prevent long names, aliases and URLs from breaking cards or heroes. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(h1,h2,h3,h4,p,a,li,dd,dt,span,strong){
  overflow-wrap:anywhere;
  word-break:normal;
}

/* Consistent readable body copy without changing intentional hero scales. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(p,li,dd){
  line-height:1.65;
}

/* Shared interactive sizing and keyboard treatment. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(button,.button,.kh-button,input[type="submit"],input[type="button"],select){
  min-height:var(--kh-refine-touch);
}
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid color-mix(in srgb,var(--kh-primary,#5f2385) 45%,#fff)!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 2px #fff!important;
}

/* Images and embeds can never exceed their cards. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(img,video,iframe,svg){
  max-width:100%;
}

/* Tables remain usable on narrow screens without widening the page. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-year-review
) :is(.kh-table-wrap,.edi-table-wrap,.widefat,table){
  max-width:100%;
}
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-year-review
) :is(.kh-table-wrap,.edi-table-wrap){
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}

/* Empty and missing-media states share one calm visual language. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(.kh-empty,.edi-empty,.kh-no-results,.kh-missing-image,.edi-placeholder){
  min-height:120px;
  display:grid;
  place-items:center;
  padding:22px;
  border:1px dashed color-mix(in srgb,var(--kh-primary,#5f2385) 24%,#d8d2dc);
  border-radius:18px;
  background:linear-gradient(145deg,#fff,#faf8fc);
  color:#625a68;
  text-align:center;
}

/* One-item grids should remain card-sized rather than filling an entire row. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(.kh-card-grid,.edi-card-grid,.kh-collection-row-grid,.kh-collection-year-content) > :only-child{
  width:min(100%,360px)!important;
  justify-self:center!important;
}

/* Shared public navigation: stable size, scrolling and no clipped active item. */
.kh-public-navigation,
.kh-public-nav,
.edi-public-nav{
  max-width:100%;
  isolation:isolate;
}
.kh-public-navigation :is(ul,.kh-public-nav-links),
.kh-public-nav :is(ul,.kh-public-nav-links),
.edi-public-nav :is(ul,.kh-public-nav-links){
  scrollbar-width:thin;
  scroll-snap-type:x proximity;
}
.kh-public-navigation li,
.kh-public-nav li,
.edi-public-nav li{scroll-snap-align:start}
.kh-public-navigation a,
.kh-public-nav a,
.edi-public-nav a{
  min-height:40px;
  display:inline-flex;
  align-items:center;
  white-space:nowrap;
}

/* Sticky section navigation must not cover anchored headings. */
:is(.kh-krewe-year-refined,.kh-group-year-refined) :is(section,[id]){
  scroll-margin-top:110px;
}

/* Hover previews stay usable above cards and sticky navigation. */
.kh-hover-preview,
.kh-reference-preview,
.kh-link-preview{
  z-index:999999!important;
  max-width:min(380px,calc(100vw - 24px))!important;
  max-height:min(440px,calc(100vh - 24px))!important;
  overflow:auto!important;
  overscroll-behavior:contain;
}

@media (max-width:900px){
  :is(
    .kh-krewe-profile-refined,
    .kh-group-profile-refined,
    .kh-directory-refined,
    .kh-encyclopedia-index-refined,
    .kh-encyclopedia-entry-refined,
    .kh-krewe-year-refined,
    .kh-group-year-refined,
    .kh-collection-archive,
    .kh-year-review,
    .edi-krewe-timeline-wrap,
    .kh-directory-year-timeline
  ){
    width:calc(100% - (var(--kh-refine-page-gutter) * 2))!important;
  }

  .kh-public-navigation :is(ul,.kh-public-nav-links),
  .kh-public-nav :is(ul,.kh-public-nav-links),
  .edi-public-nav :is(ul,.kh-public-nav-links){
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    justify-content:flex-start!important;
    padding-bottom:5px!important;
    -webkit-overflow-scrolling:touch;
  }
}

@media (max-width:600px){
  :root{--kh-refine-page-gutter:10px}

  :is(
    .kh-krewe-profile-refined,
    .kh-group-profile-refined,
    .kh-directory-refined,
    .kh-encyclopedia-index-refined,
    .kh-encyclopedia-entry-refined,
    .kh-krewe-year-refined,
    .kh-group-year-refined,
    .kh-collection-archive,
    .kh-year-review,
    .edi-krewe-timeline-wrap,
    .kh-directory-year-timeline
  ){
    border-radius:20px!important;
  }

  :is(
    .kh-krewe-profile-refined,
    .kh-group-profile-refined,
    .kh-directory-refined,
    .kh-encyclopedia-index-refined,
    .kh-encyclopedia-entry-refined,
    .kh-krewe-year-refined,
    .kh-group-year-refined,
    .kh-collection-archive,
    .kh-year-review
  ) :is(h1){
    font-size:clamp(1.85rem,10vw,2.7rem)!important;
    line-height:1.02!important;
  }

  :is(
    .kh-krewe-profile-refined,
    .kh-group-profile-refined,
    .kh-directory-refined,
    .kh-encyclopedia-index-refined,
    .kh-encyclopedia-entry-refined,
    .kh-krewe-year-refined,
    .kh-group-year-refined,
    .kh-collection-archive,
    .kh-year-review
  ) :is(button,.button,.kh-button,input[type="submit"],input[type="button"]){
    width:auto;
    max-width:100%;
  }

  /* Hover-only visual previews are inappropriate on touch-sized displays. */
  .kh-hover-preview,
  .kh-reference-preview,
  .kh-link-preview{display:none!important}
}

@media (hover:none){
  .kh-hover-preview,
  .kh-reference-preview,
  .kh-link-preview{display:none!important}
}

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

@media print{
  .kh-public-navigation,.kh-public-nav,.edi-public-nav,
  .kh-hover-preview,.kh-reference-preview,.kh-link-preview,
  .kh-section-nav,.kh-year-section-nav{display:none!important}
  :is(
    .kh-krewe-profile-refined,
    .kh-group-profile-refined,
    .kh-directory-refined,
    .kh-encyclopedia-index-refined,
    .kh-encyclopedia-entry-refined,
    .kh-krewe-year-refined,
    .kh-group-year-refined,
    .kh-collection-archive,
    .kh-year-review,
    .edi-krewe-timeline-wrap,
    .kh-directory-year-timeline
  ){
    width:100%!important;
    max-width:none!important;
    margin:0!important;
    padding:0!important;
    border:0!important;
    border-radius:0!important;
    box-shadow:none!important;
    background:#fff!important;
  }
  a[href]::after{content:none!important}
}

/* ========================================================================
   v10.1 refinement round — Step 9: visual regression and theme isolation
   ======================================================================== */

/* Keep host themes from changing the refined public interface unexpectedly. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review,
  .edi-krewe-timeline-wrap,
  .kh-directory-year-timeline
){
  box-sizing:border-box;
  isolation:isolate;
  text-align:left;
  font-style:normal;
}

:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review,
  .edi-krewe-timeline-wrap,
  .kh-directory-year-timeline
),
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review,
  .edi-krewe-timeline-wrap,
  .kh-directory-year-timeline
) *,
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review,
  .edi-krewe-timeline-wrap,
  .kh-directory-year-timeline
) *::before,
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review,
  .edi-krewe-timeline-wrap,
  .kh-directory-year-timeline
) *::after{box-sizing:border-box}

/* Normalize controls without affecting WordPress administration screens. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(button,input,select,textarea){
  font:inherit;
  letter-spacing:normal;
  text-transform:none;
}

:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(a,button,input,select,textarea){
  -webkit-tap-highlight-color:transparent;
}

/* Prevent external theme rules from distorting logos and archive media. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) img{
  max-width:100%;
  height:auto;
  border:0;
  box-shadow:none;
}

:is(.kh-krewe-profile-refined,.kh-group-profile-refined,.kh-krewe-year-refined,.kh-group-year-refined)
:is(.kh-hero-logo,.edi-hero-logo,.kh-organization-logo,.edi-org-logo,img[class*="logo"]){
  object-fit:contain!important;
  object-position:center!important;
}

:is(.kh-directory-refined,.kh-collection-archive,.kh-year-review)
:is(.kh-card,.edi-directory-card,.kh-directory-card,.kh-collection-card,.kh-year-card){
  min-width:0;
  overflow:hidden;
  contain:layout paint;
}

:is(.kh-directory-refined,.kh-collection-archive,.kh-year-review)
:is(.kh-card,.edi-directory-card,.kh-directory-card,.kh-collection-card,.kh-year-card)
:is(h2,h3,h4,p,a,span){
  min-width:0;
  overflow-wrap:anywhere;
}

/* Stabilize sticky navigation in Safari and inside theme wrappers. */
:is(.kh-section-nav,.kh-year-section-nav,.kh-directory-filter-bar){
  position:-webkit-sticky;
  position:sticky;
  transform:translateZ(0);
  backface-visibility:hidden;
}

/* Ensure hidden content and modals never leak into the normal page flow. */
[hidden],
.kh-lightbox[aria-hidden="true"],
.kh-modal[aria-hidden="true"]{display:none!important}

/* Avoid layout jumps while archive images load. */
:is(.kh-directory-refined,.kh-collection-archive,.kh-year-review,.kh-encyclopedia-index-refined)
:is(.kh-card-media,.kh-card-image,.edi-card-image,.kh-collection-image){
  background:linear-gradient(135deg,#f4f0fa,#f5f8f3);
  overflow:hidden;
}

:is(.kh-directory-refined,.kh-collection-archive,.kh-year-review,.kh-encyclopedia-index-refined)
:is(.kh-card-media,.kh-card-image,.edi-card-image,.kh-collection-image) img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Intermediate-width regression fixes between tablet and desktop layouts. */
@media (min-width:701px) and (max-width:1100px){
  :is(.kh-krewe-profile-refined,.kh-group-profile-refined)
  :is(.kh-profile-grid,.edi-profile-grid,.kh-main-grid){
    grid-template-columns:minmax(0,1.35fr) minmax(250px,.65fr)!important;
    gap:22px!important;
  }

  :is(.kh-directory-refined,.kh-collection-archive)
  :is(.kh-directory-grid,.edi-directory-grid,.kh-collection-grid){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  :is(.kh-krewe-year-refined,.kh-group-year-refined)
  :is(.kh-year-stats,.edi-year-stats,.kh-stats-grid){
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media (max-width:700px){
  :is(.kh-section-nav,.kh-year-section-nav){
    top:0;
    overflow-x:auto;
    overflow-y:hidden;
    white-space:nowrap;
    scrollbar-width:thin;
    overscroll-behavior-inline:contain;
  }

  :is(.kh-directory-refined,.kh-collection-archive,.kh-year-review)
  :is(.kh-directory-grid,.edi-directory-grid,.kh-collection-grid,.kh-year-grid){
    grid-template-columns:minmax(0,1fr)!important;
  }

  :is(.kh-krewe-profile-refined,.kh-group-profile-refined,.kh-krewe-year-refined,.kh-group-year-refined)
  :is(.kh-hero,.edi-profile-hero,.edi-year-hero){
    min-height:0!important;
  }
}

@supports not (overflow-wrap:anywhere){
  :is(
    .kh-krewe-profile-refined,
    .kh-group-profile-refined,
    .kh-directory-refined,
    .kh-encyclopedia-index-refined,
    .kh-encyclopedia-entry-refined,
    .kh-krewe-year-refined,
    .kh-group-year-refined,
    .kh-collection-archive,
    .kh-year-review
  ) :is(h1,h2,h3,h4,p,a,span){word-break:break-word}
}

/* ================================================================
   v10.1 refinement round — Step 10 final validation and release pass
   ================================================================ */

/* Keep every refined public surface inside the viewport, including themes
   that apply unexpected widths or negative margins to shortcode output. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
){
  width:min(100%,100vw);
  max-width:100%;
  margin-inline:auto;
  box-sizing:border-box;
  isolation:isolate;
}

/* Final interactive-state normalization. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(a,button,input,select,textarea):focus-visible{
  outline:3px solid #6f2dbd!important;
  outline-offset:3px!important;
  box-shadow:0 0 0 2px #fff!important;
}

/* Avoid invisible links when host themes force inherited colors. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(.kh-button,.edi-button,.button){
  text-decoration:none!important;
  line-height:1.2;
}

/* Final fallback for missing or failed media. */
:is(.kh-card-media,.kh-card-image,.edi-card-image,.kh-collection-image):empty,
:is(.kh-card-media,.kh-card-image,.edi-card-image,.kh-collection-image).is-missing{
  min-height:140px;
  background:linear-gradient(135deg,#f3eef9 0%,#f7f4eb 52%,#eef7ef 100%);
  border:1px dashed rgba(62,36,86,.22);
}

/* Prevent long archive labels and URLs from widening cards. */
:is(
  .kh-krewe-profile-refined,
  .kh-group-profile-refined,
  .kh-directory-refined,
  .kh-encyclopedia-index-refined,
  .kh-encyclopedia-entry-refined,
  .kh-krewe-year-refined,
  .kh-group-year-refined,
  .kh-collection-archive,
  .kh-year-review
) :is(.kh-card,.edi-card,.kh-panel,.edi-panel,td,th){
  min-width:0;
  overflow-wrap:anywhere;
}

/* Mobile safe-area support for modern phones and installed web apps. */
@media (max-width:700px){
  :is(
    .kh-krewe-profile-refined,
    .kh-group-profile-refined,
    .kh-directory-refined,
    .kh-encyclopedia-index-refined,
    .kh-encyclopedia-entry-refined,
    .kh-krewe-year-refined,
    .kh-group-year-refined,
    .kh-collection-archive,
    .kh-year-review
  ){
    padding-left:max(12px,env(safe-area-inset-left));
    padding-right:max(12px,env(safe-area-inset-right));
  }

  :is(.kh-section-nav,.kh-year-section-nav,.kh-public-nav){
    scroll-padding-inline:16px;
    -webkit-overflow-scrolling:touch;
  }
}

/* Print only meaningful archival content, not controls or transient UI. */
@media print{
  :is(.kh-public-nav,.kh-section-nav,.kh-year-section-nav,.kh-filter-bar,
      .kh-directory-filter-bar,.kh-pagination,.kh-lightbox,.kh-hover-preview,
      .kh-back-actions,.kh-screen-only){display:none!important}

  :is(
    .kh-krewe-profile-refined,
    .kh-group-profile-refined,
    .kh-directory-refined,
    .kh-encyclopedia-entry-refined,
    .kh-krewe-year-refined,
    .kh-group-year-refined,
    .kh-collection-archive,
    .kh-year-review
  ){
    width:100%!important;
    max-width:none!important;
    padding:0!important;
    background:#fff!important;
    color:#111!important;
  }

  :is(.kh-card,.edi-card,.kh-panel,.edi-panel){
    box-shadow:none!important;
    break-inside:avoid;
  }
}

/* ========================================================================
   v10.1 production layout consolidation — live screenshot correction pass
   Applies one authoritative visual system to Krewe/Group profiles and years.
   ======================================================================== */

:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page,.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page){
  --kh-prod-width:1180px;
  --kh-prod-surface:#ffffff;
  --kh-prod-page:#f6f7fb;
  --kh-prod-line:color-mix(in srgb,var(--kh-primary,#5f2385) 16%,#e8e8ee);
  --kh-prod-shadow:0 18px 48px rgba(35,20,45,.09);
  width:min(100%,var(--kh-prod-width))!important;
  max-width:var(--kh-prod-width)!important;
  margin-inline:auto!important;
  padding:24px clamp(14px,2.6vw,32px) 70px!important;
  background:linear-gradient(180deg,var(--kh-prod-page),#fff 720px)!important;
  color:#2d2632!important;
}

/* Remove duplicated quick-stat strip: the hero contains the authoritative set. */
.edi-krewe-directory-focused .kh-krewe-stat-strip,
.edi-marching-groups-directory.kh-single-group-page .kh-group-stat-strip{display:none!important}

/* Shared profile hero: logo, identity and one integrated statistics block. */
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-profile-hero{
  margin:0 auto 34px!important;
  border-radius:28px!important;
  overflow:hidden!important;
  box-shadow:0 24px 60px rgba(28,12,38,.22)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-hero-body{
  display:grid!important;
  grid-template-columns:190px minmax(0,1fr) minmax(270px,330px)!important;
  align-items:center!important;
  gap:clamp(22px,3.3vw,48px)!important;
  min-height:330px!important;
  padding:44px clamp(28px,5vw,64px)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-organization-logo{
  width:190px!important;height:190px!important;min-width:190px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-organization-logo img{
  width:190px!important;height:190px!important;max-width:190px!important;max-height:190px!important;
  object-fit:contain!important;border-radius:50%!important;background:#fff!important;padding:10px!important;
  box-shadow:0 16px 38px rgba(0,0,0,.28)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-hero-copy{min-width:0!important;text-align:left!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-hero-copy h1{
  margin:0 0 12px!important;font-size:clamp(2.2rem,5vw,4rem)!important;line-height:1.02!important;color:#fff!important;
  overflow-wrap:normal!important;word-break:normal!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-stat-card{
  position:static!important;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  width:100%!important;max-width:none!important;margin:0!important;padding:0!important;
  border-radius:18px!important;overflow:hidden!important;background:rgba(255,255,255,.96)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.20)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-stat{
  min-width:0!important;min-height:108px!important;padding:13px 8px!important;border:1px solid rgba(58,38,68,.10)!important;
  display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;text-align:center!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-stat-label{
  font-size:.68rem!important;line-height:1.15!important;white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;
}

/* Profile page narrative flow: featured year + archive, then collections, then profile + leadership. */
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-phase1-row,.kh-v820-dashboard-row,.kh-shared-profile-dashboard){
  display:grid!important;grid-template-columns:minmax(0,1.35fr) minmax(330px,.65fr)!important;
  gap:26px!important;align-items:stretch!important;margin:28px auto!important;max-width:1120px!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-featured,.kh-group-featured,.kh-shared-profile-featured,.kh-v910-years,.kh-shared-profile-years,.kh-group-years){
  min-width:0!important;width:100%!important;height:auto!important;min-height:430px!important;
  border-radius:22px!important;border:1px solid var(--kh-prod-line)!important;background:#fff!important;box-shadow:var(--kh-prod-shadow)!important;
  overflow:hidden!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-featured,.kh-group-featured,.kh-shared-profile-featured){
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(250px,.85fr)!important;align-items:stretch!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v910-featured-media,
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-group-featured-media{
  min-height:330px!important;height:100%!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-featured-media,.kh-group-featured-media) img{
  width:100%!important;height:100%!important;object-fit:cover!important;border-radius:0!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-years,.kh-shared-profile-years,.kh-group-years){
  padding:26px!important;position:static!important;max-height:none!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-year-grid,.kh-profile-year-grid,.kh-group-year-grid){
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-year-grid a,.kh-profile-year-grid a,.kh-group-year-grid a){
  min-width:0!important;min-height:42px!important;padding:8px 5px!important;white-space:normal!important;word-break:normal!important;
}

:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v910-phase3-grid{
  display:grid!important;grid-template-columns:minmax(0,1.1fr) minmax(360px,.9fr)!important;gap:26px!important;
  max-width:1120px!important;margin:28px auto!important;align-items:start!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v910-phase3-panel{
  min-width:0!important;width:100%!important;min-height:0!important;padding:30px!important;border-radius:22px!important;
  border:1px solid var(--kh-prod-line)!important;background:#fff!important;box-shadow:var(--kh-prod-shadow)!important;
}
/* The hero already supplies the logo; avoid a cramped duplicate-logo profile card. */
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v915-about-layout{
  display:block!important;grid-template-columns:1fr!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v915-about-logo{display:none!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v915-about-details{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important;min-width:0!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v910-about-copy{
  grid-column:1/-1!important;max-width:72ch!important;font-size:1rem!important;line-height:1.72!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v910-leadership-grid{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v910-person{
  min-width:0!important;height:100%!important;padding:14px!important;border-radius:16px!important;background:#f8f6fb!important;
}

/* Collections form a balanced museum grid rather than a thin disconnected strip. */
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v910-phase2-collections{
  max-width:1120px!important;margin:28px auto!important;padding:30px!important;border:1px solid var(--kh-prod-line)!important;
  border-radius:22px!important;background:#fff!important;box-shadow:var(--kh-prod-shadow)!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-krewe-collection-grid,
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-group-collection-grid{
  display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v911-collection-card{
  height:190px!important;min-height:190px!important;border-radius:16px!important;
}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v911-collection-media{height:126px!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v911-collection-footer{height:64px!important;padding:10px 30px 8px 12px!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v911-collection-footer strong{font-size:.88rem!important}
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v911-collection-footer .kh-museum-collection-count{font-size:.70rem!important}

/* Year pages: white museum surface, readable chapters and equal-person cards. */
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page){background:linear-gradient(180deg,#f6f7fb,#fff 780px)!important}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-parade-hero,.edi-parade-hero-v209,.kh-group-year-hero){
  grid-template-columns:190px minmax(0,1fr) minmax(260px,.75fr)!important;min-height:360px!important;padding:38px clamp(26px,5vw,58px)!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-parade-hero-logo,.kh-group-year-hero-image){min-height:0!important;order:0!important}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-parade-hero-logo img,.kh-group-year-hero-image img){
  width:180px!important;height:180px!important;max-width:180px!important;max-height:180px!important;border-radius:50%!important;object-fit:contain!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-parade-hero-text h2,.kh-group-year-hero h1){font-size:clamp(3.1rem,8vw,6rem)!important;line-height:.92!important}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) .kh-museum-year-ribbon{
  margin:22px auto 30px!important;padding:18px!important;max-width:1120px!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) .kh-museum-year-ribbon-track{
  display:flex!important;gap:10px!important;overflow-x:auto!important;padding:5px 3px 10px!important;scroll-snap-type:x proximity!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) .kh-museum-year-ribbon-link{
  flex:0 0 auto!important;min-width:70px!important;min-height:42px!important;font-size:1rem!important;border-radius:12px!important;scroll-snap-align:start!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-year-display-section,.edi-display-section,.kh-group-year-chapter){
  max-width:1120px!important;margin:24px auto!important;padding:30px!important;border-radius:22px!important;
  border:1px solid var(--kh-prod-line)!important;background:#fff!important;box-shadow:var(--kh-prod-shadow)!important;
  min-width:0!important;overflow:hidden!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-year-notes,.edi-historical-notes,.kh-group-year-plaque,.kh-year-history,.kh-group-year-history){
  width:100%!important;max-width:78ch!important;margin-inline:auto!important;writing-mode:horizontal-tb!important;text-orientation:mixed!important;
  overflow-wrap:normal!important;word-break:normal!important;white-space:normal!important;font-size:1rem!important;line-height:1.75!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-captain-royalty-grid,.edi-structured-grid,.edi-mg-public-grid,.kh-group-year-card-grid){
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:18px!important;align-items:stretch!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-royal-person-card,.edi-structured-person,.edi-mg-public-item,.kh-group-year-person-card){
  min-width:0!important;width:100%!important;height:100%!important;min-height:0!important;margin:0!important;padding:18px!important;
  text-align:center!important;border-radius:16px!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-royal-person-card img,.edi-structured-person img,.edi-mg-public-item img,.kh-group-year-person-card img){
  width:100%!important;max-width:210px!important;height:250px!important;object-fit:contain!important;margin:0 auto 12px!important;background:#f6f4f8!important;border-radius:12px!important;
}
:where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-court-officers-grid,.edi-court-officers-card){
  min-width:0!important;max-width:100%!important;
}

/* Never permit the narrow-column/vertical-letter failure seen in live pages. */
:where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page,.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(h1,h2,h3,h4,p,li,span,strong,a,div){
  writing-mode:horizontal-tb!important;text-orientation:mixed!important;word-break:normal!important;overflow-wrap:break-word!important;
}

@media (max-width:980px){
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-hero-body{grid-template-columns:150px minmax(0,1fr)!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-stat-card{grid-column:1/-1!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-organization-logo,
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-organization-logo img{width:150px!important;height:150px!important;min-width:150px!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-phase1-row,.kh-v910-phase3-grid,.kh-v820-dashboard-row,.kh-shared-profile-dashboard){grid-template-columns:1fr!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-featured,.kh-group-featured,.kh-shared-profile-featured){grid-template-columns:1fr!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-krewe-collection-grid,
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-group-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  :where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-parade-hero,.edi-parade-hero-v209,.kh-group-year-hero){grid-template-columns:150px minmax(0,1fr)!important}
}

@media (max-width:650px){
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page,.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page){padding:12px 10px 48px!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-hero-body,
  :where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-parade-hero,.edi-parade-hero-v209,.kh-group-year-hero){grid-template-columns:1fr!important;text-align:center!important;padding:28px 18px!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-organization-logo,
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-organization-logo img,
  :where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-parade-hero-logo img,.kh-group-year-hero-image img){width:132px!important;height:132px!important;min-width:132px!important;margin-inline:auto!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-hero-copy{text-align:center!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v904-stat-card{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v915-about-details,
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-v910-leadership-grid,
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-krewe-collection-grid,
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) .kh-group-collection-grid{grid-template-columns:1fr!important}
  :where(.edi-krewe-directory-focused,.edi-marching-groups-directory.kh-single-group-page) :where(.kh-v910-year-grid,.kh-profile-year-grid,.kh-group-year-grid){grid-template-columns:repeat(3,minmax(0,1fr))!important}
  :where(.edi-year-page-output,.kh-group-year-exhibit.kh-museum-year-page) :where(.edi-year-display-section,.edi-display-section,.kh-group-year-chapter){padding:20px 16px!important}
}

/* ========================================================================== 
   v10.1 production rebuild — Krewe main page structural master
   This is the authoritative layout for focused Krewe profiles. It deliberately
   bypasses the older directory-card proportions rather than layering another
   cosmetic skin over the legacy narrow-column layout.
   ========================================================================== */
.kh-krewe-structure-v101{
  --kh-krewe-page-max:1180px;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 0 56px!important;
  background:linear-gradient(180deg,#f6f7fb 0,#fff 760px)!important;
}
.kh-krewe-structure-v101>.edi-krewe-directory-grid{
  display:block!important;
  width:100%!important;
  max-width:none!important;
}
.kh-krewe-structure-v101 .edi-krewe-directory-card{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  background:transparent!important;
  overflow:visible!important;
}
.kh-krewe-structure-v101 .edi-krewe-directory-toggle,
.kh-krewe-structure-v101 .edi-krewe-directory-colors,
.kh-krewe-structure-v101 .edi-krewe-directory-title,
.kh-krewe-structure-v101 .kh-krewe-stat-strip{
  display:none!important;
}
.kh-krewe-structure-v101 .kh-krewe-master-layout{
  display:flex!important;
  flex-direction:column!important;
  gap:28px!important;
  width:100%!important;
  max-width:none!important;
  padding:0 18px 48px!important;
  text-align:left!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.kh-krewe-structure-v101 .kh-v904-profile-hero{
  order:1;
  width:min(var(--kh-krewe-page-max),calc(100% - 0px))!important;
  max-width:var(--kh-krewe-page-max)!important;
  margin:0 auto!important;
  border-radius:0 0 28px 28px!important;
  overflow:hidden!important;
  box-shadow:0 26px 60px rgba(24,10,36,.16)!important;
}
.kh-krewe-structure-v101 .kh-v904-hero-body{
  min-height:360px!important;
  grid-template-columns:190px minmax(280px,1fr) minmax(330px,.82fr)!important;
  gap:32px!important;
  padding:42px clamp(28px,5vw,62px)!important;
}
.kh-krewe-structure-v101 .kh-v904-organization-logo,
.kh-krewe-structure-v101 .kh-v904-organization-logo img{
  width:176px!important;
  height:176px!important;
  min-width:176px!important;
  max-width:176px!important;
}
.kh-krewe-structure-v101 .kh-v904-hero-copy h1{
  font-size:clamp(2.35rem,4.7vw,4.25rem)!important;
  line-height:1.02!important;
  max-width:14ch!important;
}
.kh-krewe-structure-v101 .kh-v904-stat-card{
  align-self:center!important;
  width:100%!important;
  margin:0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 18px 44px rgba(0,0,0,.2)!important;
}
.kh-krewe-structure-v101 .kh-production-about,
.kh-krewe-structure-v101 .kh-v910-phase1-row,
.kh-krewe-structure-v101 .kh-v910-phase2-collections,
.kh-krewe-structure-v101 .kh-production-leadership{
  width:min(var(--kh-krewe-page-max),100%)!important;
  max-width:var(--kh-krewe-page-max)!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}
.kh-krewe-structure-v101 .kh-production-about{
  order:2;
  display:block!important;
  padding:34px clamp(24px,4vw,46px)!important;
  border:1px solid #e4dce9!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(52,24,82,.08)!important;
}
.kh-krewe-structure-v101 .kh-production-about .kh-v915-about-layout,
.kh-krewe-structure-v101 .kh-production-about .kh-v915-about-details{
  display:grid!important;
  grid-template-columns:1fr!important;
  width:100%!important;
  min-width:0!important;
  gap:18px!important;
}
.kh-krewe-structure-v101 .kh-production-about .kh-v915-about-logo{display:none!important}
.kh-krewe-structure-v101 .kh-production-about .kh-v915-about-details{
  grid-template-columns:repeat(2,minmax(150px,220px)) minmax(0,1fr)!important;
  align-items:start!important;
}
.kh-krewe-structure-v101 .kh-production-about .kh-v910-about-copy{
  grid-column:1/-1!important;
  max-width:82ch!important;
  font-size:1.06rem!important;
  line-height:1.75!important;
}
.kh-krewe-structure-v101 .kh-production-about .kh-v915-about-fact{
  min-width:0!important;
  padding:16px 18px!important;
  border:1px solid #e5ddea!important;
  border-radius:14px!important;
  background:#faf8fc!important;
}
.kh-krewe-structure-v101 .kh-v910-phase1-row{
  order:3;
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr)!important;
  gap:24px!important;
  align-items:stretch!important;
}
.kh-krewe-structure-v101 .kh-v910-featured,
.kh-krewe-structure-v101 .kh-v910-years{
  min-height:420px!important;
  height:auto!important;
  max-height:none!important;
  border-radius:22px!important;
  overflow:hidden!important;
  box-shadow:0 18px 48px rgba(52,24,82,.1)!important;
}
.kh-krewe-structure-v101 .kh-v910-featured{
  grid-template-columns:minmax(0,1fr) minmax(235px,.82fr)!important;
}
.kh-krewe-structure-v101 .kh-v910-featured-copy{padding:38px!important}
.kh-krewe-structure-v101 .kh-v910-featured-year{font-size:clamp(3.4rem,6vw,5.4rem)!important}
.kh-krewe-structure-v101 .kh-v910-featured-media{min-height:420px!important;padding:26px!important}
.kh-krewe-structure-v101 .kh-v910-featured-media img{max-height:350px!important;width:100%!important;object-fit:contain!important}
.kh-krewe-structure-v101 .kh-v910-years{
  display:flex!important;
  flex-direction:column!important;
  padding:32px!important;
  background:#fff!important;
}
.kh-krewe-structure-v101 .kh-year-paged-archive{display:flex!important;flex:1!important;flex-direction:column!important;min-height:0!important}
.kh-krewe-structure-v101 .kh-v910-year-grid{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
  align-content:start!important;
}
.kh-krewe-structure-v101 .kh-v910-year-grid a{
  min-height:42px!important;
  border-radius:10px!important;
  font-size:.88rem!important;
}
.kh-krewe-structure-v101 .kh-v910-phase2-collections{
  order:4;
  padding:34px!important;
  border-radius:22px!important;
}
.kh-krewe-structure-v101 .kh-krewe-collection-grid{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.kh-krewe-structure-v101 .kh-v911-collection-card{
  min-width:0!important;
  height:230px!important;
  min-height:230px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.kh-krewe-structure-v101 .kh-v911-collection-media{height:158px!important}
.kh-krewe-structure-v101 .kh-v911-collection-footer{height:72px!important}
.kh-krewe-structure-v101 .kh-production-leadership{
  order:5;
  padding:34px!important;
  border:1px solid #e4dce9!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(52,24,82,.08)!important;
}
.kh-krewe-structure-v101 .kh-production-leadership .kh-v910-leadership-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:18px!important;
}
.kh-krewe-structure-v101 .kh-production-leadership .kh-v910-person{
  min-width:0!important;
  min-height:270px!important;
  padding:16px!important;
  border:1px solid #e5ddea!important;
  border-radius:16px!important;
  background:#faf8fc!important;
  text-align:center!important;
}
.kh-krewe-structure-v101 .kh-production-leadership .kh-v910-person img,
.kh-krewe-structure-v101 .kh-production-leadership .kh-v910-person-placeholder{
  width:100%!important;
  max-width:190px!important;
  height:190px!important;
  margin:0 auto 13px!important;
  object-fit:cover!important;
  border-radius:13px!important;
}
.kh-krewe-structure-v101 .kh-krewe-focused-footer{
  width:min(var(--kh-krewe-page-max),calc(100% - 36px))!important;
  margin:0 auto!important;
}
@media(max-width:1040px){
  .kh-krewe-structure-v101 .kh-v904-hero-body{grid-template-columns:160px minmax(0,1fr)!important}
  .kh-krewe-structure-v101 .kh-v904-stat-card{grid-column:1/-1!important;max-width:760px!important;margin:0 auto!important}
  .kh-krewe-structure-v101 .kh-v904-organization-logo,
  .kh-krewe-structure-v101 .kh-v904-organization-logo img{width:150px!important;height:150px!important;min-width:150px!important;max-width:150px!important}
  .kh-krewe-structure-v101 .kh-v910-phase1-row{grid-template-columns:1fr!important}
  .kh-krewe-structure-v101 .kh-v910-featured,.kh-krewe-structure-v101 .kh-v910-years{min-height:0!important}
  .kh-krewe-structure-v101 .kh-krewe-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .kh-krewe-structure-v101 .kh-krewe-master-layout{padding:0 10px 36px!important;gap:18px!important}
  .kh-krewe-structure-v101 .kh-v904-profile-hero{border-radius:0 0 20px 20px!important}
  .kh-krewe-structure-v101 .kh-v904-hero-body{grid-template-columns:1fr!important;text-align:center!important;padding:30px 18px!important}
  .kh-krewe-structure-v101 .kh-v904-organization-logo,
  .kh-krewe-structure-v101 .kh-v904-organization-logo img{width:132px!important;height:132px!important;min-width:132px!important;max-width:132px!important;margin-inline:auto!important}
  .kh-krewe-structure-v101 .kh-v904-hero-copy{text-align:center!important}
  .kh-krewe-structure-v101 .kh-v904-hero-copy h1{max-width:none!important;margin-inline:auto!important}
  .kh-krewe-structure-v101 .kh-production-about,
  .kh-krewe-structure-v101 .kh-v910-phase2-collections,
  .kh-krewe-structure-v101 .kh-production-leadership{padding:22px 16px!important;border-radius:18px!important}
  .kh-krewe-structure-v101 .kh-production-about .kh-v915-about-details{grid-template-columns:1fr!important}
  .kh-krewe-structure-v101 .kh-v910-featured{grid-template-columns:1fr!important}
  .kh-krewe-structure-v101 .kh-v910-featured-copy{padding:27px 20px!important}
  .kh-krewe-structure-v101 .kh-v910-featured-media{min-height:250px!important}
  .kh-krewe-structure-v101 .kh-v910-years{padding:22px 16px!important}
  .kh-krewe-structure-v101 .kh-v910-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .kh-krewe-structure-v101 .kh-krewe-collection-grid{grid-template-columns:1fr!important}
  .kh-krewe-structure-v101 .kh-v911-collection-card{height:220px!important;min-height:220px!important}
}

/* ========================================================================== 
   v10.1 structural rebuild step 2 — Group main page master
   Reuses the approved Krewe profile hierarchy while preserving Group data,
   colors, labels, royalty, collections, and year links.
   ========================================================================== */
.edi-marching-groups-directory.kh-group-structure-v101{
  --kh-group-page-max:1180px;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 0 56px!important;
  background:linear-gradient(180deg,#f6f7fb 0,#fff 760px)!important;
}
.kh-group-structure-v101 .kh-group-master-layout{
  display:flex!important;
  flex-direction:column!important;
  gap:28px!important;
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0 18px 48px!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  text-align:left!important;
  overflow:visible!important;
  box-sizing:border-box!important;
}
.kh-group-structure-v101 .kh-group-master-layout>div[style="display:none"]{display:none!important}
.kh-group-structure-v101 .kh-shared-profile-hero,
.kh-group-structure-v101 .kh-group-hero{
  order:1;
  width:min(var(--kh-group-page-max),100%)!important;
  max-width:var(--kh-group-page-max)!important;
  margin:0 auto!important;
  border-radius:0 0 28px 28px!important;
  overflow:hidden!important;
  box-shadow:0 26px 60px rgba(24,10,36,.16)!important;
}
.kh-group-structure-v101 .kh-shared-profile-hero-body,
.kh-group-structure-v101 .kh-group-hero{
  min-height:360px!important;
}
.kh-group-structure-v101 .kh-group-hero{
  grid-template-columns:190px minmax(280px,1fr) minmax(330px,.82fr)!important;
  gap:32px!important;
  padding:42px clamp(28px,5vw,62px)!important;
}
.kh-group-structure-v101 .kh-group-hero-logo,
.kh-group-structure-v101 .kh-group-hero-logo img,
.kh-group-structure-v101 .kh-group-hero-logo .edi-mg-logo{
  width:176px!important;
  height:176px!important;
  min-width:176px!important;
  max-width:176px!important;
  min-height:176px!important;
  max-height:176px!important;
  margin:0!important;
  padding:10px!important;
}
.kh-group-structure-v101 .kh-group-hero-copy{text-align:left!important}
.kh-group-structure-v101 .kh-group-hero h1{
  max-width:14ch!important;
  margin:8px 0 14px!important;
  font-size:clamp(2.35rem,4.7vw,4.25rem)!important;
  line-height:1.02!important;
}
.kh-group-structure-v101 .kh-group-hero-description{
  max-width:60ch!important;
  margin:0 0 18px!important;
  font-size:1.06rem!important;
  line-height:1.65!important;
}
.kh-group-structure-v101 .kh-group-hero :where(.edi-mg-color-swatches,.kh-social-profile-links){justify-content:flex-start!important}
.kh-group-structure-v101 .kh-group-hero .kh-shared-profile-stats,
.kh-group-structure-v101 .kh-group-hero .kh-profile-hero-stats,
.kh-group-structure-v101 .kh-group-hero .kh-group-hero-stats{
  align-self:center!important;
  width:100%!important;
  margin:0!important;
  border-radius:20px!important;
  overflow:hidden!important;
  box-shadow:0 18px 44px rgba(0,0,0,.2)!important;
}
.kh-group-structure-v101 .kh-production-about,
.kh-group-structure-v101 .kh-group-krewe-layout-row,
.kh-group-structure-v101 .kh-group-collections,
.kh-group-structure-v101 .kh-production-leadership{
  width:min(var(--kh-group-page-max),100%)!important;
  max-width:var(--kh-group-page-max)!important;
  margin:0 auto!important;
  box-sizing:border-box!important;
}
.kh-group-structure-v101 .kh-production-about{
  order:2;
  display:block!important;
  padding:34px clamp(24px,4vw,46px)!important;
  border:1px solid #e4dce9!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(52,24,82,.08)!important;
}
.kh-group-structure-v101 .kh-production-about .kh-v915-about-layout,
.kh-group-structure-v101 .kh-production-about .kh-v915-about-details{
  display:grid!important;
  grid-template-columns:1fr!important;
  width:100%!important;
  min-width:0!important;
  gap:18px!important;
}
.kh-group-structure-v101 .kh-production-about .kh-v915-about-logo{display:none!important}
.kh-group-structure-v101 .kh-production-about .kh-v915-about-details{
  grid-template-columns:repeat(2,minmax(150px,220px)) minmax(0,1fr)!important;
  align-items:start!important;
}
.kh-group-structure-v101 .kh-production-about .kh-v910-about-copy{
  grid-column:1/-1!important;
  max-width:82ch!important;
  font-size:1.06rem!important;
  line-height:1.75!important;
}
.kh-group-structure-v101 .kh-production-about .kh-v915-about-fact{
  min-width:0!important;
  padding:16px 18px!important;
  border:1px solid #e5ddea!important;
  border-radius:14px!important;
  background:#faf8fc!important;
}
.kh-group-structure-v101 .kh-group-krewe-layout-row{
  order:3;
  display:grid!important;
  grid-template-columns:minmax(0,1.12fr) minmax(360px,.88fr)!important;
  gap:24px!important;
  align-items:stretch!important;
}
.kh-group-structure-v101 .kh-group-featured,
.kh-group-structure-v101 .kh-group-year-archive{
  min-height:420px!important;
  height:auto!important;
  max-height:none!important;
  margin:0!important;
  border:1px solid #e4dce9!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(52,24,82,.1)!important;
  overflow:hidden!important;
}
.kh-group-structure-v101 .kh-group-featured{
  display:flex!important;
  flex-direction:column!important;
  justify-content:center!important;
  padding:38px!important;
  background:linear-gradient(135deg,#151027,#43215b 60%,var(--kh-primary,#5f2385))!important;
  color:#fff!important;
}
.kh-group-structure-v101 .kh-group-featured :where(h2,p,.kh-group-featured-year-number){color:#fff!important}
.kh-group-structure-v101 .kh-group-featured-year-number{font-size:clamp(3.4rem,6vw,5.4rem)!important;line-height:1!important}
.kh-group-structure-v101 .kh-group-featured-year-card{display:flex!important;flex:1!important;flex-direction:column!important;justify-content:space-between!important;gap:24px!important}
.kh-group-structure-v101 .kh-group-featured-button{align-self:flex-start!important}
.kh-group-structure-v101 .kh-group-year-archive{
  display:flex!important;
  flex-direction:column!important;
  padding:32px!important;
}
.kh-group-structure-v101 .kh-group-year-grid{
  display:grid!important;
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:10px!important;
  align-content:start!important;
}
.kh-group-structure-v101 .kh-group-year-link{
  width:auto!important;
  height:auto!important;
  min-width:0!important;
  min-height:42px!important;
  border-width:1px!important;
  border-radius:10px!important;
  font-size:.88rem!important;
}
.kh-group-structure-v101 .kh-group-collections{
  order:4;
  padding:34px!important;
  border:1px solid #e4dce9!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(52,24,82,.08)!important;
}
.kh-group-structure-v101 .kh-group-collection-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:18px!important;
}
.kh-group-structure-v101 .kh-v911-collection-card{
  min-width:0!important;
  height:230px!important;
  min-height:230px!important;
  border-radius:18px!important;
  overflow:hidden!important;
}
.kh-group-structure-v101 .kh-v911-collection-media{height:158px!important}
.kh-group-structure-v101 .kh-v911-collection-footer{height:72px!important}
.kh-group-structure-v101 .kh-production-leadership{
  order:5;
  padding:34px!important;
  border:1px solid #e4dce9!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 18px 48px rgba(52,24,82,.08)!important;
}
.kh-group-structure-v101 .kh-production-leadership .kh-v910-leadership-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:18px!important;
}
.kh-group-structure-v101 .kh-production-leadership .kh-v910-person{
  min-width:0!important;
  min-height:270px!important;
  padding:16px!important;
  border:1px solid #e5ddea!important;
  border-radius:16px!important;
  background:#faf8fc!important;
  text-align:center!important;
}
.kh-group-structure-v101 .kh-production-leadership .kh-v910-person img,
.kh-group-structure-v101 .kh-production-leadership .kh-v910-person-placeholder{
  width:100%!important;
  max-width:190px!important;
  height:190px!important;
  margin:0 auto 13px!important;
  object-fit:cover!important;
  border-radius:13px!important;
}
.kh-group-structure-v101+.kh-group-internal-footer,
.kh-group-structure-v101~.kh-group-internal-footer{
  width:min(var(--kh-group-page-max),calc(100% - 36px))!important;
  margin:0 auto!important;
}
@media(max-width:1040px){
  .kh-group-structure-v101 .kh-group-hero{grid-template-columns:160px minmax(0,1fr)!important}
  .kh-group-structure-v101 .kh-group-hero :where(.kh-shared-profile-stats,.kh-profile-hero-stats,.kh-group-hero-stats){grid-column:1/-1!important;max-width:760px!important;margin:0 auto!important}
  .kh-group-structure-v101 .kh-group-hero-logo,
  .kh-group-structure-v101 .kh-group-hero-logo img,
  .kh-group-structure-v101 .kh-group-hero-logo .edi-mg-logo{width:150px!important;height:150px!important;min-width:150px!important;max-width:150px!important;min-height:150px!important;max-height:150px!important}
  .kh-group-structure-v101 .kh-group-krewe-layout-row{grid-template-columns:1fr!important}
  .kh-group-structure-v101 .kh-group-featured,.kh-group-structure-v101 .kh-group-year-archive{min-height:0!important}
  .kh-group-structure-v101 .kh-group-collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:700px){
  .kh-group-structure-v101 .kh-group-master-layout{padding:0 10px 36px!important;gap:18px!important}
  .kh-group-structure-v101 .kh-group-hero{grid-template-columns:1fr!important;text-align:center!important;padding:30px 18px!important;border-radius:0 0 20px 20px!important}
  .kh-group-structure-v101 .kh-group-hero-logo,
  .kh-group-structure-v101 .kh-group-hero-logo img,
  .kh-group-structure-v101 .kh-group-hero-logo .edi-mg-logo{width:132px!important;height:132px!important;min-width:132px!important;max-width:132px!important;min-height:132px!important;max-height:132px!important;margin-inline:auto!important}
  .kh-group-structure-v101 .kh-group-hero-copy{text-align:center!important}
  .kh-group-structure-v101 .kh-group-hero h1{max-width:none!important;margin-inline:auto!important}
  .kh-group-structure-v101 .kh-group-hero-description{margin-inline:auto!important}
  .kh-group-structure-v101 .kh-group-hero :where(.edi-mg-color-swatches,.kh-social-profile-links){justify-content:center!important}
  .kh-group-structure-v101 .kh-production-about,
  .kh-group-structure-v101 .kh-group-collections,
  .kh-group-structure-v101 .kh-production-leadership{padding:22px 16px!important;border-radius:18px!important}
  .kh-group-structure-v101 .kh-production-about .kh-v915-about-details{grid-template-columns:1fr!important}
  .kh-group-structure-v101 .kh-group-featured{padding:27px 20px!important;text-align:center!important}
  .kh-group-structure-v101 .kh-group-featured-button{align-self:stretch!important}
  .kh-group-structure-v101 .kh-group-year-archive{padding:22px 16px!important}
  .kh-group-structure-v101 .kh-group-year-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .kh-group-structure-v101 .kh-group-collection-grid{grid-template-columns:1fr!important}
  .kh-group-structure-v101 .kh-v911-collection-card{height:220px!important;min-height:220px!important}
}

/* v10.1 structural rebuild step 3: shared Krewe + Group year exhibit */
.kh-v101-structural-year-master{
  --kh-y-accent:var(--kh-primary,var(--kh-entity-primary,#5f2385));
  --kh-y-accent-2:var(--kh-secondary,var(--kh-entity-secondary,#188648));
  --kh-y-gold:var(--kh-tertiary,var(--kh-entity-tertiary,#d4a925));
  --kh-y-ink:#22172a;
  --kh-y-muted:#675d6c;
  --kh-y-line:#e5ddec;
  --kh-y-wash:#f8f5fa;
  width:min(100%,1240px)!important;
  max-width:1240px!important;
  margin:0 auto!important;
  padding:20px clamp(14px,2.4vw,30px) 48px!important;
  box-sizing:border-box!important;
  background:#f7f5f8!important;
  color:var(--kh-y-ink)!important;
  overflow:visible!important;
}
.kh-v101-structural-year-master :where(h1,h2,h3,h4){color:var(--kh-y-ink)!important;overflow-wrap:anywhere}
.kh-v101-structural-year-master :where(p,li,dd){line-height:1.72!important;overflow-wrap:anywhere;word-break:normal!important;writing-mode:horizontal-tb!important}
.kh-v101-structural-year-master :where(img,video,iframe){max-width:100%!important}

/* Shared museum hero */
.kh-v101-structural-year-master :is(.edi-parade-hero,.edi-parade-hero-v209,.kh-group-year-hero){
  display:grid!important;
  grid-template-columns:minmax(150px,210px) minmax(0,1fr) minmax(170px,260px)!important;
  align-items:center!important;
  gap:clamp(20px,3vw,44px)!important;
  min-height:310px!important;
  margin:0 0 24px!important;
  padding:clamp(28px,4vw,52px)!important;
  border:0!important;
  border-radius:30px!important;
  overflow:hidden!important;
  position:relative!important;
  isolation:isolate!important;
  color:#fff!important;
  background:
    linear-gradient(110deg,rgba(35,12,54,.94),rgba(78,24,105,.84) 48%,rgba(22,103,60,.70)),
    var(--kh-year-hero-image,none),
    linear-gradient(135deg,#4f1874,#176b3a)!important;
  background-position:center!important;
  background-size:cover!important;
  box-shadow:0 24px 64px rgba(41,20,55,.22)!important;
}
.kh-v101-structural-year-master :is(.edi-parade-hero,.edi-parade-hero-v209,.kh-group-year-hero):after{
  content:"";position:absolute;inset:auto -90px -150px auto;width:360px;height:360px;border:60px solid rgba(255,255,255,.07);border-radius:50%;z-index:-1
}
.kh-v101-structural-year-master :is(.edi-year-hero-logo,.kh-year-hero-logo,.kh-group-year-organization-logo){
  grid-column:1!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important
}
.kh-v101-structural-year-master :is(.edi-year-hero-logo,.kh-year-hero-logo,.kh-group-year-organization-logo) img{
  display:block!important;width:clamp(135px,16vw,190px)!important;height:clamp(135px,16vw,190px)!important;max-width:190px!important;max-height:190px!important;object-fit:contain!important;border-radius:50%!important;padding:12px!important;box-sizing:border-box!important;background:#fff!important;border:1px solid rgba(255,255,255,.72)!important;box-shadow:0 18px 45px rgba(0,0,0,.25)!important
}
.kh-v101-structural-year-master :is(.edi-parade-hero-text,.kh-year-hero-copy,.kh-group-year-hero-copy){grid-column:2!important;text-align:left!important;position:relative!important;z-index:2!important}
.kh-v101-structural-year-master :is(.edi-parade-hero-text,.kh-year-hero-copy,.kh-group-year-hero-copy) :where(h1,.edi-theme-year){font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(3.6rem,8vw,7.4rem)!important;line-height:.88!important;letter-spacing:-.06em!important;color:#fff!important;text-align:left!important;margin:0 0 14px!important;text-shadow:0 4px 20px rgba(0,0,0,.26)!important}
.kh-v101-structural-year-master :is(.edi-theme-title,.kh-group-year-theme){font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(1.35rem,2.5vw,2.25rem)!important;line-height:1.2!important;color:#fff!important;text-align:left!important;margin:0 0 14px!important;max-width:760px!important}
.kh-v101-structural-year-master :is(.kh-group-year-kicker,.edi-year-kicker,.kh-year-kicker){color:#f5d86a!important;text-transform:uppercase!important;letter-spacing:.18em!important;font-weight:900!important;font-size:.72rem!important;margin:0 0 10px!important}
.kh-v101-structural-year-master :is(.kh-group-year-hero-image,.edi-parade-hero-image,.kh-year-hero-art){grid-column:3!important;display:flex!important;align-items:center!important;justify-content:center!important;min-width:0!important}
.kh-v101-structural-year-master :is(.kh-group-year-hero-image,.edi-parade-hero-image,.kh-year-hero-art) img{width:100%!important;max-width:240px!important;max-height:230px!important;object-fit:contain!important;border-radius:18px!important;background:rgba(255,255,255,.94)!important;padding:10px!important;box-shadow:0 16px 40px rgba(0,0,0,.22)!important}

/* Archive ribbon immediately follows hero */
.kh-v101-structural-year-master .kh-museum-year-ribbon{
  max-width:none!important;margin:-6px 0 24px!important;padding:15px 18px!important;border:1px solid var(--kh-y-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 34px rgba(50,27,64,.08)!important
}
.kh-v101-structural-year-master .kh-museum-year-ribbon-label{font-size:.72rem!important;color:var(--kh-y-muted)!important}
.kh-v101-structural-year-master .kh-museum-year-ribbon-link{min-width:70px!important;min-height:42px!important;border-radius:12px!important;border-color:var(--kh-y-line)!important;color:var(--kh-y-accent)!important;background:#fff!important}
.kh-v101-structural-year-master .kh-museum-year-ribbon-link.is-current{background:var(--kh-y-accent)!important;border-color:var(--kh-y-accent)!important;color:#fff!important}

/* One integrated statistics bridge */
.kh-v101-structural-year-master :is(.kh-year-glance,.kh-group-year-glance,.kh-year-exhibit-glance){
  display:grid!important;grid-template-columns:repeat(auto-fit,minmax(125px,1fr))!important;gap:10px!important;max-width:none!important;margin:0 0 20px!important;padding:12px!important;border:1px solid var(--kh-y-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 34px rgba(50,27,64,.08)!important
}
.kh-v101-structural-year-master :is(.kh-year-glance-card,.kh-group-year-stat){min-height:92px!important;padding:14px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:15px!important;background:linear-gradient(180deg,#fff,var(--kh-y-wash))!important;text-align:center!important;box-shadow:none!important}
.kh-v101-structural-year-master :is(.kh-year-glance-value,.kh-group-year-stat strong){font-family:Georgia,"Times New Roman",serif!important;font-size:1.75rem!important;color:var(--kh-y-accent)!important;line-height:1!important}
.kh-v101-structural-year-master :is(.kh-year-glance-label,.kh-group-year-stat span){margin-top:7px!important;font-size:.69rem!important;letter-spacing:.09em!important;text-transform:uppercase!important;font-weight:900!important;color:var(--kh-y-muted)!important}

/* Shared sticky chapter nav */
.kh-v101-structural-year-master :is(.kh-year-chapter-nav,.kh-group-year-nav){position:sticky!important;top:8px!important;z-index:30!important;display:flex!important;align-items:center!important;gap:8px!important;max-width:none!important;margin:0 0 24px!important;padding:10px!important;border:1px solid var(--kh-y-line)!important;border-radius:16px!important;background:rgba(255,255,255,.94)!important;backdrop-filter:blur(14px)!important;box-shadow:0 10px 28px rgba(50,27,64,.09)!important;overflow-x:auto!important;scrollbar-width:thin!important}
.kh-v101-structural-year-master :is(.kh-year-chapter-links,.kh-group-year-nav){flex-wrap:nowrap!important;justify-content:flex-start!important}
.kh-v101-structural-year-master :is(.kh-year-chapter-links a,.kh-group-year-nav a){flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;padding:9px 15px!important;border-radius:999px!important;background:var(--kh-y-wash)!important;color:var(--kh-y-accent)!important;text-decoration:none!important;font-size:.78rem!important;font-weight:900!important;white-space:nowrap!important}
.kh-v101-structural-year-master :is(.kh-year-chapter-links a:hover,.kh-year-chapter-links a.is-active,.kh-group-year-nav a:hover,.kh-group-year-nav a:focus){background:var(--kh-y-accent)!important;color:#fff!important}

/* Annual exhibit chapters */
.kh-v101-structural-year-master :is(.edi-year-display-section,.edi-display-section,.edi-court-officers-card,.kh-group-year-chapter){
  width:100%!important;max-width:none!important;margin:0 0 22px!important;border:1px solid var(--kh-y-line)!important;border-radius:22px!important;background:#fff!important;box-shadow:0 14px 38px rgba(50,27,64,.08)!important;overflow:hidden!important;box-sizing:border-box!important
}
.kh-v101-structural-year-master :is(.edi-year-display-section>summary,.edi-display-section>summary){min-height:66px!important;padding:18px 22px!important;background:linear-gradient(90deg,#fff,var(--kh-y-wash))!important;color:var(--kh-y-ink)!important;font-family:Georgia,"Times New Roman",serif!important;font-size:1.35rem!important;font-weight:800!important;letter-spacing:-.02em!important}
.kh-v101-structural-year-master :is(.edi-year-section-body,.edi-display-section-body,.kh-group-year-chapter){padding:clamp(20px,3vw,34px)!important}
.kh-v101-structural-year-master .kh-group-year-chapter>h2{font-family:Georgia,"Times New Roman",serif!important;font-size:clamp(1.65rem,3vw,2.35rem)!important;margin:0 0 18px!important}
.kh-v101-structural-year-master .kh-group-year-chapter-label{display:block!important;margin:0 0 6px!important;color:var(--kh-y-accent)!important;text-transform:uppercase!important;letter-spacing:.16em!important;font-size:.68rem!important;font-weight:900!important}
.kh-v101-structural-year-master :is(.kh-group-year-plaque,.edi-year-notes,.edi-year-history-copy){max-width:900px!important;margin:0 auto!important;font-size:1.05rem!important;line-height:1.8!important;color:#44394a!important;white-space:normal!important}

/* Shared people and artifact grids */
.kh-v101-structural-year-master :is(.edi-mg-public-grid,.kh-group-year-card-grid,.edi-court-grid,.edi-officer-grid,.edi-royalty-grid,.edi-throw-display-grid,.edi-year-media-grid,.kh-year-media-grid){display:grid!important;grid-template-columns:repeat(auto-fit,minmax(190px,1fr))!important;gap:16px!important;align-items:stretch!important}
.kh-v101-structural-year-master :is(.edi-mg-public-item,.kh-group-year-person-card,.edi-court-card,.edi-officer-card,.edi-royalty-card,.edi-throw-display-card,.edi-year-media-card){height:100%!important;min-width:0!important;padding:18px!important;border:1px solid var(--kh-y-line)!important;border-radius:17px!important;background:#fff!important;box-shadow:0 8px 24px rgba(50,27,64,.07)!important;box-sizing:border-box!important;text-align:center!important}
.kh-v101-structural-year-master :is(.edi-mg-public-item,.kh-group-year-person-card,.edi-court-card,.edi-officer-card,.edi-royalty-card) img{width:auto!important;max-width:100%!important;height:220px!important;max-height:220px!important;object-fit:contain!important;border-radius:14px!important;margin:10px auto 0!important;background:#f6f3f8!important}
.kh-v101-structural-year-master :is(.edi-throw-display-card,.edi-year-media-card) img{width:100%!important;height:210px!important;object-fit:contain!important;border-radius:13px!important;background:#f6f3f8!important}

/* Bottom actions */
.kh-v101-structural-year-master :is(.edi-year-bottom-action-box,.kh-group-year-footer-actions){margin:28px 0 0!important;padding:18px!important;border:1px solid var(--kh-y-line)!important;border-radius:20px!important;background:#fff!important;box-shadow:0 12px 34px rgba(50,27,64,.08)!important}
.kh-v101-structural-year-master :is(.edi-year-bottom-action-buttons,.kh-group-year-footer-actions){display:flex!important;justify-content:center!important;gap:10px!important;flex-wrap:wrap!important}
.kh-v101-structural-year-master :is(.edi-year-bottom-action-buttons a,.kh-group-year-footer-actions a){min-width:0!important;min-height:44px!important;padding:11px 18px!important;border-radius:999px!important}

@media(max-width:900px){
  .kh-v101-structural-year-master :is(.edi-parade-hero,.edi-parade-hero-v209,.kh-group-year-hero){grid-template-columns:150px minmax(0,1fr)!important;min-height:260px!important}
  .kh-v101-structural-year-master :is(.kh-group-year-hero-image,.edi-parade-hero-image,.kh-year-hero-art){display:none!important}
}
@media(max-width:640px){
  .kh-v101-structural-year-master{padding:10px 10px 34px!important}
  .kh-v101-structural-year-master :is(.edi-parade-hero,.edi-parade-hero-v209,.kh-group-year-hero){display:flex!important;flex-direction:column!important;text-align:center!important;padding:26px 18px!important;border-radius:22px!important}
  .kh-v101-structural-year-master :is(.edi-parade-hero-text,.kh-year-hero-copy,.kh-group-year-hero-copy){text-align:center!important}
  .kh-v101-structural-year-master :is(.edi-parade-hero-text,.kh-year-hero-copy,.kh-group-year-hero-copy) :where(h1,.edi-theme-year,.edi-theme-title,.kh-group-year-theme){text-align:center!important}
  .kh-v101-structural-year-master :is(.edi-year-hero-logo,.kh-year-hero-logo,.kh-group-year-organization-logo) img{width:132px!important;height:132px!important}
  .kh-v101-structural-year-master :is(.kh-year-glance,.kh-group-year-glance,.kh-year-exhibit-glance){grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .kh-v101-structural-year-master :is(.edi-mg-public-grid,.kh-group-year-card-grid,.edi-court-grid,.edi-officer-grid,.edi-royalty-grid,.edi-throw-display-grid,.edi-year-media-grid,.kh-year-media-grid){grid-template-columns:1fr!important}
  .kh-v101-structural-year-master :is(.edi-year-bottom-action-buttons,.kh-group-year-footer-actions){flex-direction:column!important}
  .kh-v101-structural-year-master :is(.edi-year-bottom-action-buttons a,.kh-group-year-footer-actions a){width:100%!important;box-sizing:border-box!important}
}
@media print{
  .kh-v101-structural-year-master{max-width:none!important;padding:0!important;background:#fff!important}
  .kh-v101-structural-year-master :is(.kh-year-chapter-nav,.kh-group-year-nav,.kh-museum-year-ribbon,.edi-year-bottom-action-box,.kh-group-year-footer-actions){display:none!important}
  .kh-v101-structural-year-master :is(.edi-parade-hero,.edi-parade-hero-v209,.kh-group-year-hero,.edi-year-display-section,.edi-display-section,.kh-group-year-chapter){box-shadow:none!important;border-color:#bbb!important;break-inside:avoid!important}
}

/* ========================================================================
   v10.1.0 Structural Rebuild — Step 6
   Collections, responsive validation, and final public visual audit
   ======================================================================== */

/* Shared public containment and predictable sizing */
:where(.kh-krewe-profile-page,.kh-group-profile-page,.kh-v101-structural-year-master,
.kh-directory-page,.kh-encyclopedia-index,.kh-encyclopedia-entry,
.kh-krewe-collection-page,.kh-krewe-collection-archive,.kh-collection-archive,
.kh-year-review,.kh-krewe-timelines){
  width:min(100%,1440px)!important;
  max-width:1440px!important;
  margin-inline:auto!important;
  box-sizing:border-box!important;
  overflow-wrap:anywhere;
}
:where(.kh-krewe-profile-page,.kh-group-profile-page,.kh-v101-structural-year-master,
.kh-directory-page,.kh-encyclopedia-index,.kh-encyclopedia-entry,
.kh-krewe-collection-page,.kh-krewe-collection-archive,.kh-collection-archive,
.kh-year-review,.kh-krewe-timelines) *,
:where(.kh-krewe-profile-page,.kh-group-profile-page,.kh-v101-structural-year-master,
.kh-directory-page,.kh-encyclopedia-index,.kh-encyclopedia-entry,
.kh-krewe-collection-page,.kh-krewe-collection-archive,.kh-collection-archive,
.kh-year-review,.kh-krewe-timelines) *::before,
:where(.kh-krewe-profile-page,.kh-group-profile-page,.kh-v101-structural-year-master,
.kh-directory-page,.kh-encyclopedia-index,.kh-encyclopedia-entry,
.kh-krewe-collection-page,.kh-krewe-collection-archive,.kh-collection-archive,
.kh-year-review,.kh-krewe-timelines) *::after{box-sizing:border-box}

/* Collection archive becomes a dedicated museum page */
:where(.kh-krewe-collection-page,.kh-krewe-collection-archive,.kh-collection-archive,
.kh-museum-collection-archive){
  --kh-col-ink:#281f2d;
  --kh-col-muted:#6d6372;
  --kh-col-line:#e8e0eb;
  --kh-col-soft:#faf7fb;
  --kh-col-accent:var(--kh-primary,#55206f);
  padding:clamp(14px,2.4vw,34px)!important;
  color:var(--kh-col-ink)!important;
  background:linear-gradient(180deg,#fbf9fc 0,#fff 220px)!important;
}
:where(.kh-krewe-collection-page,.kh-krewe-collection-archive,.kh-collection-archive,
.kh-museum-collection-archive) :where(h1,.kh-collection-category-title){
  font-family:Georgia,"Times New Roman",serif!important;
  color:var(--kh-col-ink)!important;
  letter-spacing:-.035em!important;
}
:where(.kh-collection-intro,.kh-collection-back){
  max-width:920px!important;
  margin-inline:auto!important;
  color:var(--kh-col-muted)!important;
  line-height:1.72!important;
}

/* One consolidated filter/search toolbar */
:where(.kh-collection-year-filter,.kh-collection-search-wrap){
  display:flex!important;
  align-items:end!important;
  gap:12px!important;
  flex-wrap:wrap!important;
  width:100%!important;
  margin:18px 0 24px!important;
  padding:14px!important;
  border:1px solid var(--kh-col-line)!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.96)!important;
  box-shadow:0 12px 32px rgba(50,27,64,.07)!important;
}
:where(.kh-collection-year-filter,.kh-collection-search-wrap) :where(label,span){
  color:var(--kh-col-muted)!important;
  font-size:.72rem!important;
  font-weight:900!important;
  letter-spacing:.08em!important;
  text-transform:uppercase!important;
}
:where(.kh-collection-year-filter,.kh-collection-search-wrap) :where(select,input[type="search"],input[type="text"]){
  min-height:44px!important;
  max-width:100%!important;
  border:1px solid var(--kh-col-line)!important;
  border-radius:12px!important;
  background:#fff!important;
  color:var(--kh-col-ink)!important;
  padding:9px 12px!important;
}
.kh-collection-search-status{color:var(--kh-col-muted)!important;font-size:.88rem!important}

/* Year chapters */
:where(.kh-collection-year-section,.kh-krewe-collection-year,.kh-museum-collection-year){
  margin:0 0 26px!important;
  padding:clamp(18px,2.7vw,30px)!important;
  border:1px solid var(--kh-col-line)!important;
  border-radius:22px!important;
  background:#fff!important;
  box-shadow:0 14px 40px rgba(50,27,64,.075)!important;
}
:where(.kh-collection-year,.kh-collection-year-section h2,.kh-krewe-collection-year h2,
.kh-museum-collection-year h2){
  font-family:Georgia,"Times New Roman",serif!important;
  color:var(--kh-col-ink)!important;
  letter-spacing:-.025em!important;
}

/* One authoritative artifact grid */
:where(.kh-collection-grid,.kh-collection-row-grid,.kh-artifact-grid,
.kh-gallery-grid,.kh-museum-collection-grid){
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(220px,100%),1fr))!important;
  gap:18px!important;
  align-items:stretch!important;
  justify-content:center!important;
}
:where(.kh-collection-grid,.kh-collection-row-grid,.kh-artifact-grid,
.kh-gallery-grid,.kh-museum-collection-grid)>:only-child{
  width:min(100%,330px)!important;
  justify-self:center!important;
}

/* Equal-height artifact/media cards */
:where(.kh-collection-item,.kh-artifact-card,.kh-gallery-card,.kh-museum-artifact,
.kh-museum-collection-card,.kh-collection-video,.kh-document-preview){
  display:flex!important;
  flex-direction:column!important;
  height:100%!important;
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid var(--kh-col-line)!important;
  border-radius:18px!important;
  background:#fff!important;
  box-shadow:0 8px 25px rgba(50,27,64,.075)!important;
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;
}
@media(hover:hover){
  :where(.kh-collection-item,.kh-artifact-card,.kh-gallery-card,.kh-museum-artifact,
  .kh-museum-collection-card,.kh-collection-video,.kh-document-preview):hover{
    transform:translateY(-3px)!important;
    border-color:color-mix(in srgb,var(--kh-col-accent) 28%,var(--kh-col-line))!important;
    box-shadow:0 16px 38px rgba(50,27,64,.13)!important;
  }
}
:where(.kh-artifact-frame,.kh-artifact-media,.kh-collection-item>a:first-child,
.kh-collection-video-preview,.kh-gallery-card>a:first-child){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:220px!important;
  aspect-ratio:4/3!important;
  overflow:hidden!important;
  background:linear-gradient(145deg,#f7f3f8,#eee8f1)!important;
}
:where(.kh-artifact-frame,.kh-artifact-media,.kh-collection-item>a:first-child,
.kh-collection-video-preview,.kh-gallery-card>a:first-child) img,
:where(.kh-collection-item,.kh-artifact-card,.kh-gallery-card,.kh-museum-artifact,
.kh-museum-collection-card,.kh-document-preview)>img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-height:280px!important;
  object-fit:contain!important;
  margin:0!important;
  padding:10px!important;
  background:transparent!important;
}
:where(.kh-artifact-caption,.kh-collection-item-meta,.kh-museum-collection-description){
  padding:14px 16px!important;
  margin-top:auto!important;
  color:var(--kh-col-muted)!important;
  line-height:1.55!important;
}
:where(.kh-artifact-caption,.kh-collection-item-meta) strong{
  display:block!important;
  color:var(--kh-col-ink)!important;
  font-size:1rem!important;
  line-height:1.3!important;
}

/* Collection strips on profile/year pages */
:where(.kh-shared-profile-collections,.kh-krewe-profile-collections,
.kh-group-profile-collections,.kh-krewe-collections,.kh-group-collections){
  min-width:0!important;
}
:where(.kh-profile-collection-grid,.kh-krewe-collection-grid,
.kh-group-collection-grid,.kh-museum-collection-grid){
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;
  gap:14px!important;
}
:where(.kh-profile-collection-card,.kh-krewe-profile-collection-card,
.kh-group-profile-collection-card,.kh-krewe-collection-card,
.kh-group-collection-card,.kh-museum-collection-card){
  min-height:180px!important;
  border-radius:17px!important;
}
:where(.kh-krewe-collection-icon,.kh-group-collection-icon){
  width:72px!important;height:72px!important;object-fit:contain!important
}

/* Clear empty states */
:where(.kh-collection-empty,.kh-collection-video-placeholder,.kh-v1000-collection-fallback){
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:180px!important;
  width:100%!important;
  padding:24px!important;
  border:1px dashed #d7cbdc!important;
  border-radius:16px!important;
  background:#faf8fb!important;
  color:#74697a!important;
  text-align:center!important;
}

/* Lightbox visual and keyboard audit */
:where(.kh-v914-lightbox,.kh-group-royalty-lightbox){
  position:fixed!important;
  inset:0!important;
  z-index:999999!important;
  align-items:center!important;
  justify-content:center!important;
  padding:max(18px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right))
          max(18px,env(safe-area-inset-bottom)) max(18px,env(safe-area-inset-left))!important;
  background:rgba(17,12,20,.88)!important;
  backdrop-filter:blur(8px)!important;
}
:where(.kh-v914-lightbox-inner,.kh-group-royalty-lightbox>div){
  max-width:min(1100px,96vw)!important;
  max-height:92vh!important;
  overflow:auto!important;
  border-radius:18px!important;
  background:#151017!important;
  box-shadow:0 28px 80px rgba(0,0,0,.48)!important;
}
:where(.kh-v914-lightbox-inner,.kh-group-royalty-lightbox>div) img{
  display:block!important;
  width:auto!important;
  max-width:100%!important;
  height:auto!important;
  max-height:78vh!important;
  object-fit:contain!important;
  margin:auto!important;
}
:where(.kh-v914-lightbox-close,.kh-group-royalty-lightbox button){
  min-width:44px!important;min-height:44px!important;border-radius:999px!important
}
:where(.kh-collection-lightbox-link,.kh-collection-video-link,.kh-gallery-card a):focus-visible,
:where(.kh-v914-lightbox-close,.kh-group-royalty-lightbox button):focus-visible{
  outline:3px solid #f1c84b!important;
  outline-offset:4px!important;
}

/* Supporting archive pages */
:where(.kh-year-review,.kh-krewe-timelines){
  padding:clamp(16px,2.8vw,38px)!important;
  background:linear-gradient(180deg,#faf7fb,#fff 260px)!important;
}
:where(.kh-year-review,.kh-krewe-timelines) :where(h1,h2){
  font-family:Georgia,"Times New Roman",serif!important;
  color:#281f2d!important;
  letter-spacing:-.03em!important;
}
.kh-directory-year-timeline,
.kh-museum-year-ribbon-track{
  scrollbar-width:thin!important;
  overscroll-behavior-inline:contain!important;
  scroll-snap-type:x proximity!important;
}
.kh-directory-year-timeline>a,
.kh-museum-year-ribbon-link{scroll-snap-align:start!important}

/* Final responsive audit */
@media(max-width:1024px){
  :where(.kh-collection-grid,.kh-collection-row-grid,.kh-artifact-grid,
  .kh-gallery-grid,.kh-museum-collection-grid){
    grid-template-columns:repeat(auto-fit,minmax(min(200px,100%),1fr))!important;
  }
}
@media(max-width:680px){
  :where(.kh-krewe-collection-page,.kh-krewe-collection-archive,
  .kh-collection-archive,.kh-museum-collection-archive){padding:12px!important}
  :where(.kh-collection-year-filter,.kh-collection-search-wrap){align-items:stretch!important}
  :where(.kh-collection-year-filter,.kh-collection-search-wrap)>*{width:100%!important;max-width:none!important}
  :where(.kh-collection-grid,.kh-collection-row-grid,.kh-artifact-grid,
  .kh-gallery-grid,.kh-museum-collection-grid){grid-template-columns:1fr!important}
  :where(.kh-collection-grid,.kh-collection-row-grid,.kh-artifact-grid,
  .kh-gallery-grid,.kh-museum-collection-grid)>:only-child{width:100%!important}
  :where(.kh-artifact-frame,.kh-artifact-media,.kh-collection-item>a:first-child,
  .kh-collection-video-preview,.kh-gallery-card>a:first-child){min-height:190px!important}
}
@media(prefers-reduced-motion:reduce){
  :where(.kh-collection-item,.kh-artifact-card,.kh-gallery-card,.kh-museum-artifact,
  .kh-museum-collection-card,.kh-collection-video,.kh-document-preview){
    transition:none!important;transform:none!important
  }
}
@media print{
  :where(.kh-collection-year-filter,.kh-collection-search-wrap,.kh-collection-back,
  .kh-v914-lightbox,.kh-group-royalty-lightbox){display:none!important}
  :where(.kh-krewe-collection-page,.kh-krewe-collection-archive,
  .kh-collection-archive,.kh-museum-collection-archive,.kh-year-review,.kh-krewe-timelines){
    max-width:none!important;padding:0!important;background:#fff!important
  }
  :where(.kh-collection-item,.kh-artifact-card,.kh-gallery-card,.kh-museum-artifact,
  .kh-museum-collection-card,.kh-collection-video,.kh-document-preview,
  .kh-collection-year-section,.kh-krewe-collection-year,.kh-museum-collection-year){
    box-shadow:none!important;break-inside:avoid!important
  }
}

/* ========================================================================== 
   v10.1 focused Krewe full-width containment fix
   Prevents profile sections from shrink-wrapping into the left half of the
   page when a featured year, About panel, or collection category has sparse
   content. This is intentionally scoped to focused Krewe profiles only.
   ========================================================================== */
.edi-krewe-directory-focused.kh-krewe-structure-v101{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 > .edi-krewe-directory-grid,
.edi-krewe-directory-focused.kh-krewe-structure-v101 .edi-krewe-directory-grid,
.edi-krewe-directory-focused.kh-krewe-structure-v101 .edi-krewe-directory-card,
.edi-krewe-directory-focused.kh-krewe-structure-v101 .edi-krewe-directory-body.kh-krewe-master-layout{
  display:block!important;
  width:100%!important;
  min-width:0!important;
  max-width:100%!important;
  box-sizing:border-box!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 .edi-krewe-directory-body.kh-krewe-master-layout{
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-krewe-master-layout > :not(script):not(style){
  flex:0 0 auto!important;
  align-self:stretch!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 :is(
  .kh-v904-profile-hero,
  .kh-production-about,
  .kh-v910-phase1-row,
  .kh-v910-phase2-collections,
  .kh-production-leadership
){
  width:100%!important;
  min-width:0!important;
  max-width:1180px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  justify-self:stretch!important;
  box-sizing:border-box!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-phase1-row{
  display:grid!important;
  grid-template-columns:minmax(0,1.55fr) minmax(340px,.75fr)!important;
  gap:24px!important;
  align-items:stretch!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-phase1-row > *{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  align-self:stretch!important;
  box-sizing:border-box!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-featured{
  display:grid!important;
  grid-template-columns:minmax(280px,1fr) minmax(220px,.72fr)!important;
  width:100%!important;
  min-width:0!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-featured-copy,
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-featured-media,
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-years{
  min-width:0!important;
  width:100%!important;
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
}
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-featured-copy :where(h2,h3,p,span,strong,a),
.edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-production-about :where(h2,h3,p,span,strong,a,div){
  writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;
  word-break:normal!important;
  overflow-wrap:break-word!important;
}
@media(max-width:1040px){
  .edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-phase1-row{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:700px){
  .edi-krewe-directory-focused.kh-krewe-structure-v101 .kh-v910-featured{
    grid-template-columns:1fr!important;
  }
}
