/* ========== custom.css (append in this order; do not replace earlier blocks) ========== */
/* IAC Glen Cove — Fresh and Place custom CSS for the LIVE site
   https://iacglencove.org  Approved for live paste 2026-12-01.
   Append into Website > CSS (back up the box text first). Public pages
   surveyed 2026-12-01 did not include a custom CSS block; the admin box
   may still contain text, so copy it before appending.

   Scope:
   - Page typography and colors apply to public pages (body.publicContentView).
   - Component styles are namespaced under .iac-redesign so they style
     Custom HTML pasted into the page content area.
   - Header/footer rules target public header/footer placeholders only.
   - Admin chrome is left alone (no rules for admin toolbars or editor UI).
*/

@import url("https://fonts.googleapis.com/css2?family=PT+Sans:ital,wght@0,400;0,700;1,400&family=Roboto:wght@400;500;700&display=swap");

:root {
  --purple-deep: #504463;
  --purple: #584B6D;
  --purple-mid: #65567D;
  --purple-soft: #72618D;
  --gold: #FFC700;
  --gold-soft: #FFBD59;
  --ink: #2B2433;
  --bg: #FAF8FC;
  --white: #ffffff;
  --rule: #e4deec;
  --header-h: 4.5rem;
  --max: 70rem;
  --font-head: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-body: "PT Sans", "Segoe UI", Tahoma, sans-serif;
  --shadow: 0 10px 30px rgba(43, 36, 51, 0.08);
  --radius: 0.5rem;
}

/* ----- Public page typography (not admin UI) ----- */
body.publicContentView {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}
body.publicContentView #idPrimaryContentBlock1Content,
body.publicContentView .WaPlaceHolderContent {
  font-family: var(--font-body);
  color: var(--ink);
}
/* :where() keeps this below .iac-redesign component link colors (e.g. white .hero-next). */
body.publicContentView :where(#idPrimaryContentBlock1Content, .WaPlaceHolderContent) a {
  color: var(--purple);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.15em;
}
body.publicContentView :where(#idPrimaryContentBlock1Content, .WaPlaceHolderContent) a:hover {
  color: var(--purple-deep);
  text-decoration-color: var(--gold);
}

/* ----- Public header: lean toward Fresh and Place without replacing WA chrome ----- */
body.publicContentView #idHeaderContentHolder,
body.publicContentView #id_Header1,
body.publicContentView .WaPlaceHolderHeader,
body.publicContentView .WaPlaceHolderHeader1 {
  background: var(--purple-deep);
  color: var(--white);
}
body.publicContentView .WaPlaceHolderHeader a,
body.publicContentView .WaPlaceHolderHeader1 a,
body.publicContentView #idHeaderContentHolder a,
body.publicContentView .WaGadgetMenuHorizontal a,
body.publicContentView .WaGadgetMenu a {
  color: var(--white);
  font-family: var(--font-head);
  text-decoration: none;
}
body.publicContentView .WaGadgetMenuHorizontal a:hover,
body.publicContentView .WaGadgetMenu a:hover,
body.publicContentView .WaGadgetMenuHorizontal a:focus {
  color: var(--gold);
  text-decoration: none;
}
body.publicContentView .WaGadgetLoginButton .loginButton,
body.publicContentView .WaGadgetLoginButton a,
body.publicContentView .WaGadgetLoginButton input.loginButton {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--white) !important;
  background: transparent !important;
  border: 1.5px solid rgba(255,255,255,0.65) !important;
  border-radius: 0.3rem !important;
  box-shadow: none !important;
}
body.publicContentView .WaGadgetLoginButton .loginButton:hover,
body.publicContentView .WaGadgetLoginButton a:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
  border-color: var(--gold) !important;
}

/* ----- Public footer: purple + gold labels, do not change admin ----- */
body.publicContentView #id_Footer1,
body.publicContentView .WaPlaceHolderFooter1,
body.publicContentView .zoneFooter,
body.publicContentView .WaGadgetContent.gadgetStyle002 {
  /* Kaleidoscope footer gadget; paint when it sits in the footer zone */
}
body.publicContentView #id_Footer1,
body.publicContentView .WaPlaceHolderFooter1 {
  background: var(--purple-deep);
  color: var(--white);
  font-family: var(--font-body);
}
body.publicContentView #id_Footer1 a,
body.publicContentView .WaPlaceHolderFooter1 a {
  color: var(--white);
}
body.publicContentView #id_Footer1 a:hover,
body.publicContentView .WaPlaceHolderFooter1 a:hover {
  color: var(--gold);
}
body.publicContentView #id_Footer1 h1,
body.publicContentView #id_Footer1 h2,
body.publicContentView #id_Footer1 h3,
body.publicContentView .WaPlaceHolderFooter1 h3 {
  font-family: var(--font-head);
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ----- Pasted Home / redesign content ----- */
.iac-redesign {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink);
  box-sizing: border-box;
}
.iac-redesign *,
.iac-redesign *::before,
.iac-redesign *::after { box-sizing: border-box; }
.iac-redesign img { max-width: 100%; height: auto; display: block; }
.iac-redesign h1, .iac-redesign h2, .iac-redesign h3, .iac-redesign h4 {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--purple-deep);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}
.iac-redesign h1 { font-size: clamp(2rem, 4vw, 3.25rem); letter-spacing: -0.02em; }
.iac-redesign h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
.iac-redesign h3 { font-size: 1.25rem; }
.iac-redesign p { margin: 0 0 1rem; }

/* Try to let bleed sections use the content column fully */
body.publicContentView #idPrimaryContentBlock1Content .iac-redesign:first-child {
  margin-top: 0;
}

/* ---------- Buttons ---------- */
.iac-redesign .btn {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.2;
  padding: 0.8rem 1.4rem;
  border-radius: 0.3rem;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  background: var(--gold);
  color: var(--ink);
  transition: background 0.15s ease, transform 0.15s ease;
}
.iac-redesign .btn:hover, .iac-redesign .btn:focus-visible {
  background: var(--gold-soft);
  color: var(--ink);
  text-decoration: none;
}
.iac-redesign .btn-ghost {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.iac-redesign .btn-ghost:hover, .iac-redesign .btn-ghost:focus-visible {
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border-color: var(--white);
}
.iac-redesign .btn-ghost-dark {
  background: transparent;
  border-color: var(--purple-deep);
  color: var(--purple-deep);
}
.iac-redesign .btn-ghost-dark:hover, .iac-redesign .btn-ghost-dark:focus-visible {
  background: var(--purple-deep);
  color: var(--white);
}

/* ---------- Layout helpers ---------- */
.iac-redesign .wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}
.iac-redesign .section {
  padding: 3.5rem 0;
}
.iac-redesign .section-head {
  margin-bottom: 1.75rem;
}
.iac-redesign .section-kicker {
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 0.4rem;
}
.iac-redesign .lede { font-size: 1.15rem; max-width: 42rem; }

/* ---------- Shared header (Logo + Menu + Login gadgets) ---------- */
.iac-redesign .site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--purple-deep);
  color: var(--white);
  min-height: var(--header-h);
  box-shadow: 0 2px 10px rgba(43, 36, 51, 0.18);
}
.iac-redesign .site-header a { color: var(--white); text-decoration: none; }
.iac-redesign .site-header a:hover { color: var(--gold); text-decoration: none; }

.iac-redesign .header-inner {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}

.iac-redesign .logo-link {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  color: var(--white) !important;
}
.iac-redesign .logo-mark {
  width: 2.85rem;
  height: 2.85rem;
  background: var(--white);
  border-radius: 50%;
  padding: 0.18rem;
  flex: 0 0 auto;
}
.iac-redesign .logo-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
  max-width: 9.5rem;
}
.iac-redesign .logo-name span { display: block; font-weight: 400; font-size: 0.78rem; opacity: 0.85; }

.iac-redesign .nav-toggle {
  display: none;
  margin-left: auto;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 0.3rem;
  padding: 0.4rem 0.7rem;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}
.iac-redesign .nav-toggle:hover { border-color: var(--gold); color: var(--gold); }

.iac-redesign .site-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.2rem;
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.iac-redesign .site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.iac-redesign .site-nav > ul > li > a, .iac-redesign .site-nav > ul > li > button.has-sub {
  display: block;
  padding: 0.65rem 0.7rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: 0;
  color: var(--white);
  cursor: pointer;
  border-radius: 0.25rem;
}
.iac-redesign .site-nav > ul > li > a:hover, .iac-redesign .site-nav > ul > li > button.has-sub:hover, .iac-redesign .site-nav > ul > li > a:focus-visible, .iac-redesign .site-nav > ul > li > button.has-sub:focus-visible {
  color: var(--gold);
  background: rgba(255,255,255,0.06);
}
.iac-redesign .site-nav a.is-current {
  box-shadow: inset 0 -2px 0 var(--gold);
  color: var(--gold);
}

/* About dropdown */
.iac-redesign .has-dropdown { position: relative; }
.iac-redesign .has-dropdown .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 13rem;
  background: var(--white);
  color: var(--ink);
  border-radius: 0 0 0.4rem 0.4rem;
  box-shadow: var(--shadow);
  padding: 0.4rem 0;
  z-index: 20;
}
.iac-redesign .has-dropdown .dropdown a {
  display: block;
  color: var(--purple-deep);
  padding: 0.55rem 1rem;
  font-family: var(--font-head);
  font-size: 0.95rem;
}
.iac-redesign .has-dropdown .dropdown a:hover {
  background: var(--bg);
  color: var(--purple-deep);
  text-decoration: underline;
  text-decoration-color: var(--gold);
}
.iac-redesign .has-dropdown:hover .dropdown, .iac-redesign .has-dropdown:focus-within .dropdown, .iac-redesign .has-dropdown.is-open .dropdown { display: block; }

.iac-redesign .header-login {
  margin-left: 0.4rem;
  padding: 0.45rem 0.9rem !important;
  border: 1.5px solid rgba(255,255,255,0.65) !important;
  border-radius: 0.3rem;
  font-weight: 700 !important;
  box-shadow: none !important;
  color: var(--white) !important;
}
.iac-redesign .header-login:hover {
  background: var(--gold) !important;
  color: var(--ink) !important;
  border-color: var(--gold) !important;
}

/* ---------- Hero (home only; Image + Content / Headline gadgets) ---------- */
.iac-redesign .hero {
  position: relative;
  min-height: min(36rem, 82vh);
  display: flex;
  align-items: flex-end;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}
.iac-redesign .hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 45%;
  z-index: -2;
}
.iac-redesign .hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* Deep purple #504463, heavier behind the type, lighter over the people */
  background: linear-gradient(
    100deg,
    rgba(80, 68, 99, 0.78) 0%,
    rgba(80, 68, 99, 0.62) 46%,
    rgba(80, 68, 99, 0.50) 100%
  );
}
.iac-redesign .hero-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto;
  padding: 3.5rem 0 3.75rem;
}
.iac-redesign .hero-logo {
  width: 5.5rem;
  height: 5.5rem;
  background: var(--white);
  border-radius: 50%;
  padding: 0.3rem;
  margin-bottom: 1.1rem;
}
.iac-redesign .hero h1 { color: var(--white); margin-bottom: 0.5rem; max-width: 16ch; }
.iac-redesign .hero-tagline {
  font-size: 1.2rem;
  font-style: italic;
  margin: 0 0 1.5rem;
  color: var(--white);
  max-width: 28rem;
}
.iac-redesign .hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
}
.iac-redesign .hero-next {
  color: var(--white);
  font-weight: 700;
  font-family: var(--font-head);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.15rem;
}
.iac-redesign .hero-next:hover { color: var(--gold); }
.iac-redesign .hero-next small {
  display: block;
  font-weight: 400;
  font-family: var(--font-body);
  font-size: 0.9rem;
  opacity: 0.9;
  border: 0;
  margin-top: 0.15rem;
}

/* ---------- Upcoming events shout-out ---------- */
.iac-redesign .events-shout {
  background: var(--white);
  padding: 3.75rem 0 4rem;
  border-bottom: 1px solid var(--rule);
}
.iac-redesign .events-shout h2 { margin-bottom: 0.5rem; }
.iac-redesign .events-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 1.5rem;
  align-items: stretch;
}
.iac-redesign .event-stack { display: flex; flex-direction: column; gap: 1rem; }

.iac-redesign .event-card {
  background: var(--bg);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
  display: grid;
  grid-template-columns: 4.6rem 1fr auto;
  gap: 1rem;
  align-items: start;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.iac-redesign a.event-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--purple-soft);
  text-decoration: none;
  color: inherit;
}
.iac-redesign .event-card.featured {
  grid-template-columns: 15rem 1fr;
  background: var(--white);
  border: 2px solid var(--purple-deep);
  padding: 0;
  overflow: hidden;
  align-items: stretch;
}
.iac-redesign .event-card.featured .event-flyer {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: top center;
  background: #f6f1ea;
  min-height: 18rem;
}
.iac-redesign .event-card.featured .event-body { padding: 1.35rem 1.4rem 1.5rem 1.1rem; align-self: center; }
.iac-redesign .event-date {
  background: var(--purple-deep);
  color: var(--white);
  border-radius: 0.4rem;
  text-align: center;
  padding: 0.55rem 0.3rem 0.6rem;
  font-family: var(--font-head);
  line-height: 1.1;
}
.iac-redesign .event-date .mon {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
}
.iac-redesign .event-date .day {
  display: block;
  font-size: 1.7rem;
  font-weight: 700;
}
.iac-redesign .event-date .yr { display: block; font-size: 0.72rem; opacity: 0.85; margin-top: 0.15rem; }
.iac-redesign .event-card h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.iac-redesign .event-meta { margin: 0; font-size: 0.98rem; color: var(--ink); }
.iac-redesign .event-meta + .event-meta { margin-top: 0.15rem; }
.iac-redesign .event-note { margin: 0.6rem 0 0; font-size: 0.95rem; }
.iac-redesign .event-register {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--purple-deep);
  white-space: nowrap;
  align-self: center;
}

.iac-redesign .member-events-panel {
  background: var(--bg);
  border: 1px dashed var(--purple-soft);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.iac-redesign .member-events-panel h3 { margin-bottom: 0.6rem; }
.iac-redesign .member-events-panel .events-all { margin-top: auto; }
.iac-redesign .events-all {
  margin-top: 1.4rem;
  font-family: var(--font-head);
  font-weight: 700;
}

/* ---------- Movable blocks ---------- */
.iac-redesign .block-movable { position: relative; }

.iac-redesign .callout-pantry {
  background: var(--purple-deep);
  color: var(--white);
  padding: 2.75rem 0;
}
.iac-redesign .callout-pantry h2 { color: var(--white); }
.iac-redesign .callout-pantry p { max-width: 44rem; }
.iac-redesign .callout-pantry a.btn { margin-top: 0.4rem; }

/* ---------- Become a member / video / login ---------- */
.iac-redesign .band-light { background: var(--bg); }
.iac-redesign .band-white { background: var(--white); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.iac-redesign .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.iac-redesign .split-top { align-items: start; }

.iac-redesign .video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #1a1520 url("video-history-thumb.jpg") center / cover no-repeat;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.iac-redesign .video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ---------- Meeting basics bar (under hero) ---------- */
.iac-redesign .meeting-basics {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 1.1rem 0;
}
.iac-redesign .meeting-basics-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}
.iac-redesign .meeting-basics p {
  margin: 0;
  flex: 1 1 22rem;
  max-width: 48rem;
}

/* ---------- Compact Who we are ---------- */
.iac-redesign .who-we-are {
  background: var(--bg);
  padding: 2rem 0;
  border-bottom: 1px solid var(--rule);
}
.iac-redesign .who-we-are .wrap {
  display: grid;
  grid-template-columns: 1fr minmax(16rem, 22rem);
  gap: 1.5rem 2rem;
  align-items: center;
}
.iac-redesign .who-we-are h2 { margin-bottom: 0.5rem; }
.iac-redesign .who-we-are p { margin: 0; }
.iac-redesign .who-we-are .video-frame {
  width: 100%;
  max-width: 22rem;
  margin-left: auto;
  box-shadow: var(--shadow);
}
.iac-redesign .stat-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.55rem;
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
}
.iac-redesign .stat-badges li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.3em;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 0.32rem 0.85rem 0.38rem;
  font-size: 0.92rem;
  color: var(--purple);
  line-height: 1.25;
  box-shadow: 0 1px 0 rgba(80, 68, 99, 0.04);
}
.iac-redesign .stat-badges strong {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--purple-deep);
  font-size: 0.95rem;
}
/* ---------- Member logo band (under header, above hero) ---------- */
.iac-redesign .logo-band {
  background: var(--white);
  border-bottom: 1px solid var(--rule);
  padding: 0.45rem 0 0.5rem;
}
.iac-redesign .logo-band-inner {
  width: min(var(--max), calc(100% - 1.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 0.85rem 1rem;
}
.iac-redesign .logo-band-label {
  flex: 0 0 auto;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--purple);
  line-height: 1.25;
  max-width: 7.2rem;
}
.iac-redesign .logo-strip {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 1.25rem, #000 calc(100% - 1.25rem), transparent);
}
.iac-redesign .logo-track {
  display: flex;
  width: max-content;
  animation: logo-scroll 40s linear infinite;
}
.iac-redesign .logo-track:hover { animation-play-state: paused; }
.iac-redesign .logo-track ul {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.45rem;
  padding-inline: 0.25rem;
  align-items: center;
}
.iac-redesign .logo-track li {
  flex: 0 0 3.35rem;
  width: 3.35rem;
  height: 3.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  padding: 0.2rem;
}
.iac-redesign .logo-track img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@keyframes logo-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .iac-redesign .logo-track { animation: none; }
  .iac-redesign .logo-strip {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .iac-redesign .logo-track ul[aria-hidden="true"] { display: none; }
}

@media (max-width: 720px) {
  .iac-redesign .logo-band-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }
  .iac-redesign .logo-band-label {
    max-width: none;
    padding-left: 0.15rem;
  }
  .iac-redesign .logo-strip { width: 100%; }
  .iac-redesign .logo-track {
    animation-duration: 28s;
  }
  .iac-redesign .logo-track li {
    flex-basis: 3rem;
    width: 3rem;
    height: 3rem;
  }
}

.iac-redesign .member-events-actions { margin-top: 0.9rem; }
.iac-redesign .member-events-actions .btn { margin: 0.4rem 0 0.8rem; }

@media (max-width: 900px) {
  .iac-redesign .who-we-are .wrap { grid-template-columns: 1fr; }
  .iac-redesign .who-we-are .video-frame { margin: 0 auto; }
}
/* ---------- Photo gallery ---------- */
.iac-redesign .gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.55rem;
}
.iac-redesign .gallery-grid figure {
  margin: 0;
  overflow: hidden;
  border-radius: 0.35rem;
  background: #ddd8e6;
  aspect-ratio: 4 / 3;
}
.iac-redesign .gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.iac-redesign .gallery-grid figure:hover img { transform: scale(1.04); }
.iac-redesign .gallery-grid figcaption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

/* ---------- Featured member placeholder ---------- */
.iac-redesign .placeholder-gadget {
  border: 2px dashed var(--purple-soft);
  border-radius: var(--radius);
  background: repeating-linear-gradient(
    -45deg,
    #f4f0f8,
    #f4f0f8 12px,
    #ece7f2 12px,
    #ece7f2 24px
  );
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 28rem;
}
.iac-redesign .placeholder-label {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 0.2rem;
  margin-bottom: 0.8rem;
}
.iac-redesign .placeholder-gadget h3 { margin-bottom: 0.4rem; }
.iac-redesign .placeholder-gadget p { margin: 0 auto; max-width: 26rem; }

/* ---------- Footer (template: Content + Social profile) ---------- */
.iac-redesign .site-footer {
  background: var(--purple-deep);
  color: var(--white);
  padding: 3rem 0 1.5rem;
  font-size: 1.02rem;
}
.iac-redesign .site-footer a { color: var(--white); }
.iac-redesign .site-footer a:hover { color: var(--gold); }
.iac-redesign .site-footer h2, .iac-redesign .site-footer h3 { color: var(--white); }
.iac-redesign .footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 0.75fr;
  gap: 1.75rem 1.5rem;
  margin-bottom: 2rem;
}
.iac-redesign .footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.iac-redesign .footer-links li + li { margin-top: 0.4rem; }
.iac-redesign .footer-links a {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}
.iac-redesign .footer-grid h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--gold);
}
.iac-redesign .footer-address { margin: 0; font-style: normal; line-height: 1.55; }
.iac-redesign .footer-address a { display: inline-block; }
.iac-redesign .social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.6rem;
}
.iac-redesign .social-list a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  color: var(--white);
}
.iac-redesign .social-list a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.iac-redesign .social-list svg { width: 1.1rem; height: 1.1rem; fill: currentColor; }
.iac-redesign .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.18);
  padding-top: 1.1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  font-size: 0.95rem;
}
.iac-redesign .footer-bottom a { font-weight: 700; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .iac-redesign .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .iac-redesign .events-grid, .iac-redesign .split, .iac-redesign .footer-grid { grid-template-columns: 1fr; }
  .iac-redesign .event-card.featured { grid-template-columns: 1fr; }
  .iac-redesign .event-card.featured .event-flyer { max-height: 24rem; object-fit: contain; object-position: top center; background: #f6f1ea; }
  .iac-redesign .event-card.featured .event-body { padding: 1.2rem 1.25rem 1.4rem; }
  .iac-redesign .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .iac-redesign .logo-name { display: none; }
}

@media (max-width: 720px) {
  .iac-redesign .nav-toggle { display: inline-block; margin-left: auto; }
  .iac-redesign .header-login-wrap { margin-left: 0.4rem; }
  .iac-redesign .header-login {
    padding: 0.4rem 0.7rem !important;
    font-size: 0.9rem !important;
    line-height: 1.2;
  }
  .iac-redesign .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--purple-deep);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    margin-left: 0;
  }
  .iac-redesign .site-header.is-open .site-nav { display: flex; }
  .iac-redesign .site-nav ul { flex-direction: column; align-items: stretch; width: 100%; }
  .iac-redesign .site-nav > ul > li > a, .iac-redesign .site-nav > ul > li > button.has-sub {
    padding: 0.8rem 0.4rem;
    width: 100%;
    text-align: left;
  }
  .iac-redesign .has-dropdown .dropdown {
    position: static;
    display: none;
    background: rgba(0,0,0,0.15);
    box-shadow: none;
    border-radius: 0;
    padding: 0.2rem 0 0.5rem 0.8rem;
  }
  .iac-redesign .has-dropdown.is-open .dropdown { display: block; }
  .iac-redesign .has-dropdown .dropdown a { color: var(--white); }
  .iac-redesign .has-dropdown .dropdown a:hover { background: rgba(255,255,255,0.08); color: var(--gold); }
  .iac-redesign .event-card { grid-template-columns: 4.2rem 1fr; }
  .iac-redesign .event-register { grid-column: 2; }
  .iac-redesign .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .iac-redesign .hero { min-height: 28rem; }
  .iac-redesign .hero-logo { width: 4.4rem; height: 4.4rem; }
  .iac-redesign .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .iac-redesign html { scroll-behavior: auto; }
  .iac-redesign .gallery-grid img, .iac-redesign .btn, .iac-redesign .event-card { transition: none; }
}

.iac-redesign .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ========== custom-additions.css (append in this order; do not replace earlier blocks) ========== */
/* IAC Glen Cove — Fresh and Place CSS additions for the LIVE site
   https://iacglencove.org  Approved for live paste 2026-12-01.

   Paste this BELOW custom.css in Website > CSS.
   Do not replace custom.css (Home + shared styles). This file adds
   interior-page component styles: page title band, Join Us, Meetings &
   Events, Directory, Executive Board, Board Profiles, Food Pantry, and
   Contact.

   All component selectors are scoped under .iac-redesign.
*/

.iac-redesign .visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* ---------- Interior page title band (no photo hero) ---------- */
.iac-redesign .page-title-band {
  background: var(--purple-deep);
  color: var(--white);
  padding: 1.55rem 0 1.65rem;
}
.iac-redesign .page-title-band h1 {
  color: var(--white);
  margin: 0;
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
}

/* ---------- Join Us page ---------- */
.iac-redesign .join-intro p, .iac-redesign .join-intro .lede { max-width: none; }
.iac-redesign .join-intro .lede {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple-deep);
}

.iac-redesign .apply-grid {
  display: grid;
  grid-template-columns: minmax(16rem, 20.5rem) 1fr;
  grid-template-areas:
    "card photo"
    "includes includes";
  gap: 1.35rem 2rem;
  align-items: stretch;
}
.iac-redesign .apply-grid .level-card { grid-area: card; }
.iac-redesign .includes-photo { grid-area: photo; }
.iac-redesign .membership-includes { grid-area: includes; }
.iac-redesign .level-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
  max-width: none;
  display: flex;
  flex-direction: column;
}
.iac-redesign .level-card-accent {
  height: 0.4rem;
  background: var(--gold);
}
.iac-redesign .level-card-body {
  padding: 1.6rem 1.6rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.iac-redesign .level-card .level-kicker {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--purple);
  margin: 0 0 0.35rem;
}
.iac-redesign .level-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.45rem;
}
.iac-redesign .level-card .level-price {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.45rem);
  color: var(--purple-deep);
  line-height: 1.1;
  margin: 0 0 0.35rem;
}
.iac-redesign .level-card .level-price span {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--purple);
}
.iac-redesign .level-card .level-meta {
  margin: 0 0 0.2rem;
  color: var(--purple);
}
.iac-redesign .level-card .btn { margin-top: 1.1rem; }

.iac-redesign .includes-photo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: #ddd8e6;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.iac-redesign .includes-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.iac-redesign .membership-includes h3 { margin-bottom: 0.55rem; }
.iac-redesign .membership-includes ul {
  margin: 0;
  padding: 0 0 0 1.2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem 2rem;
}
.iac-redesign .membership-includes li { margin: 0; }
.iac-redesign .membership-includes li:first-child { grid-column: 1 / -1; }


.iac-redesign .how-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
  counter-reset: step;
}
.iac-redesign .how-steps li {
  position: relative;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem 1.15rem 3.55rem;
  counter-increment: step;
  height: 100%;
}
.iac-redesign .how-steps li::before {
  content: counter(step);
  position: absolute;
  left: 1rem;
  top: 1.05rem;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  background: var(--purple-deep);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.iac-redesign .how-steps h3 {
  font-size: 1.05rem;
  margin: 0 0 0.25rem;
}
.iac-redesign .how-steps p { margin: 0; }

.iac-redesign .contact-strip {
  background: var(--white);
  border-top: 1px solid var(--rule);
  padding: 2rem 0;
}
.iac-redesign .contact-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
}
.iac-redesign .contact-strip h2 { margin: 0; }
.iac-redesign .contact-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.5rem;
  margin: 0;
}
.iac-redesign .contact-points a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--purple-deep);
  text-decoration: none;
}
.iac-redesign .contact-points a:hover { color: var(--purple); text-decoration: underline; }

@media (max-width: 900px) {
  .iac-redesign .apply-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "card"
      "photo"
      "includes";
  }
  .iac-redesign .level-card { max-width: 28rem; }
  .iac-redesign .includes-photo { min-height: 12.5rem; }
  .iac-redesign .includes-photo img { aspect-ratio: 16 / 9; height: auto; }
  .iac-redesign .membership-includes ul { grid-template-columns: 1fr; }
  .iac-redesign .how-steps { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .iac-redesign .page-title-band { padding: 1.2rem 0 1.3rem; }
  .iac-redesign .contact-strip-inner { flex-direction: column; }
}

/* ---------- Join Us: member logo grid ---------- */
.iac-redesign .member-logo-grid {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.65rem;
}
.iac-redesign .member-logo-grid li {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 0.4rem;
  padding: 0.55rem;
}
.iac-redesign .member-logo-grid img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
.iac-redesign .directory-link {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
}
.iac-redesign .directory-link a { color: var(--purple-deep); }

@media (max-width: 900px) {
  .iac-redesign .member-logo-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 720px) {
  .iac-redesign .member-logo-grid { grid-template-columns: repeat(3, 1fr); gap: 0.5rem; }
  .iac-redesign .member-logo-grid li { padding: 0.4rem; }
}

/* ---------- Meetings & Events page (new classes only; Home/Join Us rules unchanged) ---------- */
.iac-redesign .member-events-band .member-events-panel {
  max-width: 40rem;
  min-height: 0;
}
/* Full-width list: keep the featured holiday card from stretching empty. */
.iac-redesign .events-page-stack .event-card.featured {
  max-width: 50rem;
}

/* ---------- Directory page (new classes only; Home/Join Us/Meetings rules unchanged) ---------- */
.iac-redesign .directory-intro { padding: 2.25rem 0 0.25rem; }
.iac-redesign .directory-intro h2 { margin-bottom: 0.85rem; }
.iac-redesign .directory-list { padding-top: 1.25rem; }
.iac-redesign .directory-search {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem 1.15rem;
  margin: 0 0 1.5rem;
  padding: 0.9rem 1.1rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.iac-redesign .directory-search label {
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--purple-deep);
}
.iac-redesign .directory-search input[type="search"] {
  flex: 1 1 16rem;
  min-width: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 0.3rem;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}
.iac-redesign .directory-search input[type="search"]:focus {
  outline: 2px solid var(--purple-soft);
  outline-offset: 1px;
}
.iac-redesign .directory-found {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--purple);
}
.iac-redesign .directory-adv {
  font-family: var(--font-head);
  font-weight: 700;
  margin-left: auto;
}
.iac-redesign .directory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.iac-redesign .directory-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}
.iac-redesign .directory-card-head {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  margin-bottom: 0.35rem;
}
.iac-redesign .directory-card-head:hover { text-decoration: none; }
.iac-redesign .directory-card-head img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: contain;
  margin: 0 0 0.65rem;
  background: var(--white);
}
.iac-redesign .directory-card h3 {
  font-size: 1.08rem;
  margin: 0;
  overflow-wrap: anywhere;
}
.iac-redesign .directory-card h3, .iac-redesign .directory-card-head { color: var(--purple-deep); }
.iac-redesign .directory-card-head:hover h3 { text-decoration: underline; text-underline-offset: 0.15em; }
.iac-redesign .directory-card p { margin: 0; font-size: 0.98rem; overflow-wrap: anywhere; }
.iac-redesign .directory-person { font-weight: 700; color: var(--ink); }
.iac-redesign .directory-card[hidden] { display: none !important; }

.iac-redesign .directory-join {
  padding: 2.5rem 0;
  border-top: 1px solid var(--rule);
  background: var(--white);
}
.iac-redesign .directory-join h2 { margin-bottom: 0.75rem; }

@media (max-width: 900px) {
  .iac-redesign .directory-grid { grid-template-columns: 1fr 1fr; }
  .iac-redesign .directory-adv { margin-left: 0; }
}
@media (max-width: 720px) {
  .iac-redesign .directory-grid { grid-template-columns: 1fr; }
}

/* Featured Member on Directory only */
.iac-redesign .directory-featured { margin: 0 0 1.5rem; }
.iac-redesign .directory-featured-label {
  display: inline-block;
  margin: 0 0 0.75rem;
  padding: 0.3rem 0.7rem;
  background: var(--gold);
  color: var(--purple-deep);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 0.25rem;
}
.iac-redesign .directory-featured-card {
  display: flex;
  gap: 1.4rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.iac-redesign .directory-featured-logo {
  flex: 0 0 auto;
  display: block;
}
.iac-redesign .directory-featured-logo img {
  width: 7.5rem;
  height: 7.5rem;
  object-fit: contain;
  background: var(--white);
}
.iac-redesign .directory-featured-body { min-width: 0; }
.iac-redesign .directory-featured-body h2 {
  font-size: 1.28rem;
  margin: 0 0 0.25rem;
}
.iac-redesign .directory-featured-body h2 a { color: var(--purple-deep); text-decoration: none; }
.iac-redesign .directory-featured-body h2 a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.iac-redesign .directory-featured-since {
  margin: 0 0 0.45rem;
  font-weight: 700;
  color: var(--purple);
  font-size: 0.95rem;
}
.iac-redesign .directory-featured-mission {
  margin: 0 0 0.55rem;
  max-width: 42rem;
}
.iac-redesign .directory-featured-body p { margin: 0.15rem 0 0; }
@media (max-width: 720px) {
  .iac-redesign .directory-featured-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

.iac-redesign .directory-title {
  margin: 0 0 0.15rem;
  font-size: 0.95rem;
  color: var(--ink);
}

/* Featured contact line on Directory cards only
   (distinct from .directory-featured, the newest-member box) */
.iac-redesign .directory-card-featured {
  margin: 0 0 0.55rem;
  padding: 0.4rem 0 0.55rem;
  border-bottom: 1px solid var(--rule);
}
.iac-redesign .directory-card-featured-label {
  display: block;
  margin: 0 0 0.15rem;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
}
.iac-redesign .directory-card-featured-name {
  display: block;
  font-weight: 700;
  color: var(--ink);
}
.iac-redesign .directory-card-featured-title {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

/* ---------- Food Pantry Calendar page (new classes only) ---------- */
.iac-redesign .pantry-intro {
  padding: 2.25rem 0 0.5rem;
}
.iac-redesign .pantry-intro .lede { margin-bottom: 0.75rem; }
.iac-redesign .pantry-updated {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  color: var(--purple);
}

.iac-redesign .pantry-week { padding-top: 1.25rem; padding-bottom: 2rem; }
.iac-redesign .pantry-table-wrap {
  overflow-x: auto;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
}
.iac-redesign .pantry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}
.iac-redesign .pantry-table th, .iac-redesign .pantry-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--rule);
}
.iac-redesign .pantry-table th {
  font-family: var(--font-head);
  font-weight: 700;
  background: var(--purple-deep);
  color: var(--white);
  white-space: nowrap;
}
.iac-redesign .pantry-table tbody th {
  background: var(--bg);
  color: var(--purple-deep);
  width: 7.5rem;
  white-space: nowrap;
}
.iac-redesign .pantry-table tr:last-child td, .iac-redesign .pantry-table tr:last-child th { border-bottom: 0; }
.iac-redesign .pantry-table .pantry-closed {
  color: #6b5f7d;
  font-style: italic;
}
.iac-redesign .pantry-appointments {
  margin: 1rem 0 0;
  padding: 1rem 1.15rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
}
.iac-redesign .pantry-appointments p { margin: 0; }

.iac-redesign .pantry-list { padding-top: 0.5rem; }
.iac-redesign .pantry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.iac-redesign .pantry-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem 1.3rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}
.iac-redesign .pantry-card h3 { font-size: 1.15rem; margin: 0 0 0.35rem; }
.iac-redesign .pantry-card p { margin: 0; }
.iac-redesign .pantry-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.1rem;
}
.iac-redesign .pantry-missing {
  color: #6b5f7d;
  font-style: italic;
  font-size: 0.98rem;
}

@media (max-width: 720px) {
  .iac-redesign .pantry-grid { grid-template-columns: 1fr; }
  .iac-redesign .pantry-table tbody th { width: 5.5rem; }
}
.iac-redesign .pantry-table .pantry-day th {
  background: var(--purple-soft);
  color: var(--white);
  font-family: var(--font-head);
  font-weight: 700;
  padding: 0.45rem 1rem;
}
.iac-redesign .pantry-table thead th:first-child { width: 46%; }

@media (max-width: 720px) {
  .iac-redesign .pantry-table thead { display: none; }
  .iac-redesign .pantry-table, .iac-redesign .pantry-table tbody, .iac-redesign .pantry-table tr, .iac-redesign .pantry-table th, .iac-redesign .pantry-table td {
    display: block;
    width: 100%;
  }
  .iac-redesign .pantry-table th, .iac-redesign .pantry-table td {
    padding-left: 1rem;
    padding-right: 1rem;
    border-bottom: 0;
  }
  .iac-redesign .pantry-table .pantry-day th {
    padding: 0.5rem 1rem;
    margin: 0;
  }
  .iac-redesign .pantry-table tr:not(.pantry-day) td:first-child {
    font-weight: 700;
    padding-top: 0.8rem;
    padding-bottom: 0.15rem;
  }
  .iac-redesign .pantry-table tr:not(.pantry-day) td:last-child {
    padding-top: 0;
    padding-bottom: 0.8rem;
    border-bottom: 1px solid var(--rule);
  }
  .iac-redesign .pantry-table tr:not(.pantry-day):last-child td:last-child { border-bottom: 0; }
}
.iac-redesign .pantry-unconfirmed {
  color: #6b5f7d;
  font-style: italic;
  font-size: 0.98rem;
}
.iac-redesign .pantry-card .pantry-unconfirmed, .iac-redesign .pantry-table .pantry-unconfirmed, .iac-redesign .pantry-appointments .pantry-unconfirmed {
  font-style: italic;
}

/* ---------- Contact page (new classes only) ---------- */
.iac-redesign .contact-intro { padding: 2.25rem 0 0.5rem; }
.iac-redesign .contact-intro .lede { margin-bottom: 0; max-width: 42rem; }

.iac-redesign .contact-main { padding-top: 1.25rem; padding-bottom: 3.5rem; }
.iac-redesign .contact-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.95fr) minmax(18rem, 1.15fr);
  gap: 1.5rem 2rem;
  align-items: start;
}
.iac-redesign .contact-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem 1.55rem;
}
.iac-redesign .contact-card h2 { margin-bottom: 1rem; }
.iac-redesign .contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.iac-redesign .contact-list li { margin: 0; }
.iac-redesign .contact-label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 0.15rem;
}
.iac-redesign .contact-list a { font-weight: 700; }
.iac-redesign .contact-address {
  font-style: normal;
  line-height: 1.5;
}
.iac-redesign .contact-follow { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--rule); }
.iac-redesign .contact-follow .social-list a {
  border-color: var(--purple-soft);
  color: var(--purple-deep);
}
.iac-redesign .contact-follow .social-list a:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.iac-redesign .contact-join { margin-top: 1.25rem; }

.iac-redesign .contact-meetings h2 { margin-bottom: 0.35rem; }
.iac-redesign .contact-meetings .section-kicker { margin-bottom: 0.35rem; }
.iac-redesign .contact-meetings .event-card {
  grid-template-columns: 4.6rem 1fr;
  background: var(--white);
}
.iac-redesign .contact-meetings .event-all {
  margin: 0.85rem 0 0;
  font-family: var(--font-head);
  font-weight: 700;
}
.iac-redesign .contact-rhythm {
  margin: 1.15rem 0 0;
  max-width: 36rem;
}

@media (max-width: 800px) {
  .iac-redesign .contact-layout { grid-template-columns: 1fr; }
}

/* ---------- Executive Board page ---------- */
/* New classes only. Do not restyle approved pages. */
.iac-redesign .board-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}
.iac-redesign body.page-executive-board .site-nav .has-dropdown:has(a.is-current) > .has-sub, .iac-redesign body.page-board-profiles .site-nav .has-dropdown:has(a.is-current) > .has-sub {
  box-shadow: inset 0 -2px 0 var(--gold);
  color: var(--gold);
}

.iac-redesign .board-section { padding-top: 2rem; padding-bottom: 1.25rem; }
.iac-redesign .board-section:last-of-type { padding-bottom: 3.5rem; }
.iac-redesign .board-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
}

.iac-redesign .board-officers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.iac-redesign .board-members {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.iac-redesign .board-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.25rem 1.25rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.iac-redesign .board-card-top {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.iac-redesign .board-photo-wrap {
  width: 5.5rem;
  height: 5.5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rule);
}
.iac-redesign .board-officers .board-photo-wrap {
  width: 6.5rem;
  height: 6.5rem;
}
.iac-redesign .board-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.iac-redesign .board-card h3 {
  margin: 0 0 0.2rem;
  font-size: 1.2rem;
}
.iac-redesign .board-officers .board-card h3 { font-size: 1.35rem; }
.iac-redesign .board-office {
  margin: 0;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--purple);
}
.iac-redesign .board-nowrap { white-space: nowrap; }
.iac-redesign .board-org {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.98rem;
}
.iac-redesign .board-org img {
  width: 4.75rem;
  height: 2.6rem;
  object-fit: contain;
  object-position: left center;
  flex-shrink: 0;
  background: transparent;
}
.iac-redesign .board-org a { font-weight: 700; color: var(--purple-deep); text-decoration: none; }
.iac-redesign .board-org a:hover { text-decoration: underline; text-underline-offset: 0.15em; }
.iac-redesign .board-org-name { overflow-wrap: anywhere; }
.iac-redesign .board-contact {
  list-style: none;
  margin: 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.98rem;
  overflow-wrap: anywhere;
}
.iac-redesign .board-contact a { font-weight: 700; }

@media (max-width: 900px) {
  .iac-redesign .board-officers { grid-template-columns: 1fr; }
  .iac-redesign .board-members { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .iac-redesign .board-officers, .iac-redesign .board-members { grid-template-columns: 1fr; }
  .iac-redesign .board-officers .board-photo-wrap, .iac-redesign .board-photo-wrap {
    width: 5.5rem;
    height: 5.5rem;
  }
}

/* ---------- Board Profiles page ---------- */
/* New classes only. Do not restyle approved pages. */
.iac-redesign .profiles-list { padding-top: 2rem; padding-bottom: 3.5rem; }
.iac-redesign .profiles-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.iac-redesign .profiles-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}
.iac-redesign .profiles-card-head {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.iac-redesign .profiles-card.has-bio .profiles-card-head {
  align-items: flex-start;
  padding-bottom: 1.15rem;
  margin-bottom: 0.15rem;
  border-bottom: 1px solid var(--rule);
}
.iac-redesign .profiles-photo-wrap {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--rule);
}
.iac-redesign .profiles-card.has-bio .profiles-photo-wrap {
  width: 9.5rem;
  height: 9.5rem;
}
.iac-redesign .profiles-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.iac-redesign .profiles-card h2 {
  margin: 0 0 0.25rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
}
.iac-redesign .profiles-role {
  margin: 0.35rem 0 0;
  font-size: 0.98rem;
}
.iac-redesign .profiles-card .board-org { margin-top: 0.55rem; }
.iac-redesign .profiles-bio {
  max-width: 48rem;
}
.iac-redesign .profiles-bio p {
  margin: 0 0 0.85rem;
}
.iac-redesign .profiles-bio p:last-child { margin-bottom: 0; }

@media (max-width: 720px) {
  .iac-redesign .profiles-card { padding: 1.15rem; }
  .iac-redesign .profiles-card-head { gap: 0.9rem; }
  .iac-redesign .profiles-photo-wrap, .iac-redesign .profiles-card.has-bio .profiles-photo-wrap {
    width: 6rem;
    height: 6rem;
  }
}


/* ----- Additions for paste HTML when images are omitted (no /resources/ file) ----- */
.iac-redesign .member-logo-grid-text {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.75rem 1rem;
}
.iac-redesign .member-logo-grid-text li {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 4.5rem;
  padding: 0.6rem 0.7rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--white);
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--purple-deep);
  line-height: 1.3;
}
.iac-redesign .directory-featured-logo:empty,
.iac-redesign .directory-featured-logo:not(:has(img)) { display: none; }

/* Jill Nossa’s member picture is full-length; crop from the top so her face shows. */
.iac-redesign .board-photo-wrap img.board-photo-face,
.iac-redesign .profiles-photo-wrap img.board-photo-face {
  object-fit: cover;
  object-position: top;
}


/* Board tagline + native <details> Read more (no JavaScript). */
.iac-redesign .board-tagline {
  margin: 0.7rem 0 0.35rem;
  font-size: 0.98rem;
  line-height: 1.45;
  color: var(--ink);
}
.iac-redesign .board-tagline-pending {
  font-style: italic;
  color: var(--purple);
}
.iac-redesign .board-bio {
  margin: 0.15rem 0 0.85rem;
}
.iac-redesign .board-bio summary {
  cursor: pointer;
  display: inline-block;
  list-style: none;
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--purple-deep);
  border-bottom: 2px solid var(--gold);
  line-height: 1.3;
}
.iac-redesign .board-bio summary::-webkit-details-marker { display: none; }
.iac-redesign .board-bio summary::marker { content: ""; }
.iac-redesign .board-bio summary:hover {
  color: var(--purple);
}
.iac-redesign .board-bio-less { display: none; }
.iac-redesign .board-bio[open] > summary .board-bio-more { display: none; }
.iac-redesign .board-bio[open] > summary .board-bio-less { display: inline; }
.iac-redesign .board-bio .profiles-bio,
.iac-redesign .board-bio .board-bio-full {
  margin-top: 0.8rem;
}

/* ========== header-footer-fix.css (append in this order; do not replace earlier blocks) ========== */
/* IAC Glen Cove — header/footer fix for Kaleidoscope Cornucopia (LIVE site)
   https://iacglencove.org  Approved for live paste 2026-12-01.

   Append this block in Website > CSS after custom.css and
   custom-additions.css, and before header.css. Do not replace earlier CSS.

   Why this is needed:
   The first custom.css rules targeted placeholders (#id_Header1,
   #idHeaderContentHolder, #id_Footer1) but Kaleidoscope paints the
   visible menu on .menuInner / ul.firstLevel (background:white, links
   #333) with higher-specificity selectors, and the menu layout
   container plus #id_Footer1 use inline style="background-color:#414A53".
   Inline colors and those theme rules win over the earlier custom.css.
   This file uses the real theme selectors and !important so it can
   override both.

   Public pages only (body.publicContentView). Admin chrome is left alone.
*/

/* ----- Horizontal menu bar (zoneHeader2) ----- */
/* Inline gray #414A53 sits on .WaLayoutContainerOnly inside #id_Header1.
   The white bar visitors see is .menuInner and ul.firstLevel. */
body.publicContentView .zoneHeader2,
body.publicContentView #id_Header1,
body.publicContentView #id_Header1 .WaLayoutContainerOnly,
body.publicContentView #id_Header1 .WaLayoutTable,
body.publicContentView .WaGadgetMenuHorizontal,
body.publicContentView .WaGadgetMenuHorizontal .menuInner,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel {
  background: #504463 !important;
  background-color: #504463 !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a > span {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item:hover > a > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item:hover > a > span {
  color: #FFC700 !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Dropdown panels (Directory > Executive Board / Board Profiles) */
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul {
  background: #584B6D !important;
  background-color: #584B6D !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a:link {
  background: #584B6D !important;
  background-color: #584B6D !important;
  color: #ffffff !important;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a:hover,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li.sel > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li.sel > .item:hover > a {
  background: #504463 !important;
  background-color: #504463 !important;
  color: #FFC700 !important;
}

/* ----- Footer (inline background-color:#414A53 on #id_Footer1) ----- */
body.publicContentView .zoneFooter2,
body.publicContentView #id_Footer1,
body.publicContentView .WaPlaceHolderFooter1,
body.publicContentView #id_Footer1 .WaLayoutContainerFirst,
body.publicContentView #id_Footer1 .WaLayoutContainerLast {
  background: #504463 !important;
  background-color: #504463 !important;
  color: #ffffff !important;
}

body.publicContentView #id_Footer1,
body.publicContentView #id_Footer1 p,
body.publicContentView #id_Footer1 td,
body.publicContentView #id_Footer1 font,
body.publicContentView #id_Footer1 em,
body.publicContentView #id_Footer1 strong,
body.publicContentView #id_Footer1 .gadgetStyle002,
body.publicContentView #id_Footer1 .gadgetStyle002 p,
body.publicContentView #id_Footer1 .gadgetStyleBody {
  color: #ffffff !important;
  font-family: "PT Sans", "Segoe UI", Tahoma, sans-serif;
}

body.publicContentView #id_Footer1 a,
body.publicContentView #id_Footer1 a:link,
body.publicContentView #id_Footer1 a:visited,
body.publicContentView #id_Footer1 a:active,
body.publicContentView #id_Footer1 .gadgetStyle002 a,
body.publicContentView #id_Footer1 .gadgetStyle002 a:link,
body.publicContentView #id_Footer1 .gadgetStyle002 a:visited {
  color: #ffffff !important;
}

body.publicContentView #id_Footer1 a:hover,
body.publicContentView #id_Footer1 .gadgetStyle002 a:hover {
  color: #FFC700 !important;
}

body.publicContentView #id_Footer1 h1,
body.publicContentView #id_Footer1 h2,
body.publicContentView #id_Footer1 h3,
body.publicContentView #id_Footer1 h4,
body.publicContentView #id_Footer1 h5,
body.publicContentView #id_Footer1 h6,
body.publicContentView #id_Footer1 .gadgetStyle002 h1,
body.publicContentView #id_Footer1 .gadgetStyle002 h2,
body.publicContentView #id_Footer1 .gadgetStyle002 h3,
body.publicContentView #id_Footer1 .gadgetStyle002 h4,
body.publicContentView #id_Footer1 .gadgetStyle002 h5,
body.publicContentView #id_Footer1 .gadgetStyle002 h6 {
  color: #FFC700 !important;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Short label paragraphs in the footer content gadget (e.g. CONTACT INFO,
   FOLLOW THE IAC ONLINE). The “ABOUT …” line is not wrapped in a heading
   or its own paragraph on the live site, so it stays white unless the footer
   copy is later edited to use headings. */
body.publicContentView #id_Footer1 .gadgetStyle002 p:not(:has(br)):not(:has(em)):not(:has(a)) {
  color: #FFC700 !important;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Footer social icons (gadgetThemeStyle2 is gray-on-gray by default) */
body.publicContentView #id_Footer1 .WaGadgetSocialProfile.gadgetThemeStyle2 li a {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
}

body.publicContentView #id_Footer1 .WaGadgetSocialProfile.gadgetThemeStyle2 li a:hover {
  background: #FFC700 !important;
  color: #2B2433 !important;
}

/* ========== header.css (append in this order; do not replace earlier blocks) ========== */
/* IAC Glen Cove — header bar (logo + menu) and Home-only 50-year seal
   Append this file at the END of Website > CSS, after custom.css,
   custom-additions.css, and header-footer-fix.css. Do not replace
   those files. Public pages only (body.publicContentView).

   The site-wide header is only:
   - A thin utility strip (Site Search, Social Profile, Login)
   - A logo + Horizontal Menu bar (round IAC logo left, existing
     menu tabs immediately to its right; white links, gold hover/current)

   There is no site-wide hero row. The 50-year seal sits on the Home
   hero, at the far right of the Join / Next meeting row.

   Hide the existing Slideshow / banner gadget. Do not hard-code menu
   links; the Horizontal Menu gadget supplies those.

   Colors sampled from the live composite banner
   research-tmp/header-banner.png (1200×528), the graphic shown in
   wa-build/header-footer-fix-top.png:

     Purple gradient, left edge x=8, top to bottom:
       #796796  y=0 (top-left)
       #72618D  y=80
       #6B5B84  y=160
       #63547A  y=240
       #5F5176  y=280 (also median of the left 80px column)
       #584B6D  y=360
       #514565  y=440
       #493E5A  y=520 (bottom of the left edge)
     Other banner purple:
       #64557B  median of the top 80px
       #514564  top-right (x=1190, y=8)
       #504463  far-right top (1180, 20)
     Gold:
       #FFC700  INTER AGENCY title (7,473 of 7,866 title-gold pixels;
                median and p25–p75) and the large accent dot
*/

@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap");

:root {
  --iac-banner-top: #796796;
  --iac-banner-upper: #72618D;
  --iac-banner-top-med: #64557B;
  --iac-banner-mid: #5F5176;
  --iac-banner-purple: #584B6D;
  --iac-banner-deep: #504463;
  --iac-banner-deep-right: #514564;
  --iac-banner-dark: #493E5A;
  --iac-banner-gold: #FFC700;
}

/* ---------- Hide the old composite banner / slideshow ---------- */
body.publicContentView .WaGadgetSlideshow,
body.publicContentView .WaGadgetSlideshow .camera_wrap,
body.publicContentView .camera_wrap {
  display: none !important;
  height: 0 !important;
  max-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  visibility: hidden !important;
}

/* ---------- Utility strip (search, social, login) ---------- */
/* Gradient on the outer holders only; inner tables stay transparent
   so the gradient is not restarted on every nested box. */
body.publicContentView .zoneHeader1,
body.publicContentView #idHeaderContentHolder {
  position: relative;
  background: linear-gradient(90deg, #796796 0%, #72618D 45%, #5F5176 100%) !important;
  background-color: #72618D !important;
  min-height: 0;
}

body.publicContentView #idHeaderContentHolder,
body.publicContentView #id_Header1 {
  border: 0 !important;
}

body.publicContentView #idHeaderContentHolder .WaLayoutContainerOnly,
body.publicContentView #idHeaderContentHolder .WaLayoutTable,
body.publicContentView #idHeaderContentHolder .WaLayoutItem {
  background: transparent !important;
  background-color: transparent !important;
}

/* Gold dot cluster on the empty left of the utility strip, as on the banner */
body.publicContentView #idHeaderContentHolder::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 78px;
  height: 22px;
  background-image: radial-gradient(circle, #FFC700 1.15px, transparent 1.35px);
  background-size: 10px 10px;
  background-repeat: repeat;
  opacity: 0.9;
  pointer-events: none;
  z-index: 1;
}

body.publicContentView #idHeaderContentHolder .WaLayoutTable {
  width: 100%;
  border-collapse: collapse;
}

body.publicContentView #idHeaderContentHolder .WaLayoutItem {
  vertical-align: middle;
  padding: 6px 10px 5px;
}

body.publicContentView .WaGadgetSiteSearch .searchBoxOuter,
body.publicContentView .WaGadgetSiteSearch .searchBox {
  text-align: right;
}

body.publicContentView .WaGadgetSiteSearch .searchBoxField,
body.publicContentView .WaGadgetSiteSearch input[type="text"],
body.publicContentView .WaGadgetSiteSearch input[type="search"] {
  height: 28px !important;
  max-width: 220px;
  padding: 2px 8px 2px 28px !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 3px !important;
  background: #ffffff !important;
  color: #2B2433 !important;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  box-sizing: border-box;
}

body.publicContentView .WaGadgetLoginButton,
body.publicContentView .WaGadgetLoginButton a,
body.publicContentView .WaGadgetLoginButton .loginContainer a,
body.publicContentView .WaGadgetLoginButton .unauthorized a {
  color: #ffffff !important;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  text-decoration: none !important;
  white-space: nowrap;
}

body.publicContentView .WaGadgetLoginButton a:hover,
body.publicContentView .WaGadgetLoginButton .loginContainer a:hover {
  color: #FFC700 !important;
}

body.publicContentView #idHeaderContentHolder .WaGadgetSocialProfile ul {
  margin: 0;
  padding: 0;
  text-align: right;
}

body.publicContentView #idHeaderContentHolder .WaGadgetSocialProfile li {
  display: inline-block;
  margin: 0 2px;
  vertical-align: middle;
}

/* ---------- Logo + Horizontal Menu on one bar ---------- */
body.publicContentView .zoneHeader2,
body.publicContentView #id_Header1 {
  background: linear-gradient(90deg, #64557B 0%, #5F5176 48%, #504463 100%) !important;
  background-color: #5F5176 !important;
  /* Divider under the utility strip: dark edge + gold hairline */
  border-top: 1px solid #493E5A !important;
  box-shadow: inset 0 1px 0 rgba(255, 199, 0, 0.4);
}

body.publicContentView #id_Header1 .WaLayoutContainerOnly,
body.publicContentView #id_Header1 .WaLayoutTable,
body.publicContentView #id_Header1 .WaLayoutItem,
body.publicContentView .WaGadgetMenuHorizontal,
body.publicContentView .WaGadgetMenuHorizontal .menuInner,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel,
body.publicContentView .WaGadgetMenuHorizontal .menuBackground {
  background: transparent !important;
  background-color: transparent !important;
}

body.publicContentView #id_Header1 .WaLayoutTable {
  width: 100%;
  border-collapse: collapse;
  table-layout: auto;
}

body.publicContentView #id_Header1 .WaLayoutItem {
  vertical-align: middle;
  padding: 0;
}

body.publicContentView #id_Header1 .WaLayoutItem:has(.iac-hdr-logo) {
  width: 1% !important;
  white-space: nowrap;
  padding: 0 4px 0 16px !important;
}

.iac-hdr-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 4px;
}

.iac-hdr-logo-link {
  display: block;
  line-height: 0;
  text-decoration: none;
}

.iac-hdr-logo-img {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #ffffff;
  border-radius: 50%;
  box-sizing: content-box;
}

body.publicContentView .WaGadgetMenuHorizontal {
  margin: 0 !important;
  padding: 0 !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner {
  text-align: left !important;
  padding: 0 8px 0 4px !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start !important;
  gap: 0;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li {
  float: none !important;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a > span {
  color: #ffffff !important;
  background: transparent !important;
  background-color: transparent !important;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  padding: 18px 12px !important;
  line-height: 1.2 !important;
  display: inline-block;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item:hover > a > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li > .item > a:hover > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item > a > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.sel > .item:hover > a > span {
  color: #FFC700 !important;
  background: transparent !important;
  background-color: transparent !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul {
  background: #584B6D !important;
  background-color: #584B6D !important;
  z-index: 200 !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a:link,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a > span {
  background: #584B6D !important;
  background-color: #584B6D !important;
  color: #ffffff !important;
  font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 16px !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a:hover,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li.sel > .item > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li.sel > .item:hover > a,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item:hover > a > span,
body.publicContentView .WaGadgetMenuHorizontal .menuInner ul ul li > .item > a:hover > span {
  background: #504463 !important;
  background-color: #504463 !important;
  color: #FFC700 !important;
}

body.publicContentView .WaGadgetMenuHorizontal .menuInner ul.firstLevel > li.dir > .item > a > span::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 6px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
  transform: translateY(-1px);
}

/* ---------- Mobile panel: hidden on desktop; logo left / button right ---------- */
body.publicContentView .mobilePanelContainer,
body.publicContentView .WaGadgetMobilePanel,
body.publicContentView .WaGadgetMobilePanel .mobilePanel {
  background: #5F5176 !important;
}

body.publicContentView .mobilePanelContainer {
  display: none;
}

/* ---------- Home hero: 50-year seal at the far right of the Join row ----------
   The seal is inside .hero-actions, on the same row as Join + Next meeting.
   No white box, no band above the hero. Flush to the right edge of .hero.
   !important beats custom.css .hero-inner width/margin (same specificity).
   flex-direction:column keeps the inner from shrinking as a row flex item. */
.iac-redesign .hero {
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: flex-end !important;
}

.iac-redesign .hero-inner {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  box-sizing: border-box;
  padding: 3.5rem 0 3.75rem 0;
  padding-left: max(1.25rem, calc((100% - 70rem) / 2));
  padding-right: 0 !important;
}

.iac-redesign .hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem 1.5rem;
}

.iac-redesign .hero-actions-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.4rem;
  min-width: 0;
}

.iac-home-seal {
  display: block;
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  padding: 0;
  background: transparent;
  line-height: 0;
}

.iac-home-seal img {
  display: block;
  width: 148px;
  height: auto;
  margin: 0;
}

/* ---------- Mobile: logo left, WA menu button right ---------- */
@media (max-width: 767px) {
  body.publicContentView .mobilePanelContainer {
    display: block;
    position: relative;
    z-index: 20;
    height: 0;
    overflow: visible;
    background: transparent !important;
  }

  body.publicContentView .WaGadgetMenuHorizontal {
    display: none !important;
  }

  body.publicContentView .zoneHeader1,
  body.publicContentView #idHeaderContentHolder {
    display: none !important;
  }

  body.publicContentView #id_Header1 .WaLayoutItem:has(.iac-hdr-logo) {
    padding: 4px 8px 4px 12px !important;
  }

  .iac-hdr-logo {
    padding: 6px 4px;
  }

  .iac-hdr-logo-img {
    width: 44px;
    height: 44px;
  }

  body.publicContentView .WaGadgetMobilePanel .mobilePanel {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 0;
    padding: 0;
    background: transparent !important;
  }

  body.publicContentView .mobilePanelButton.buttonMenu {
    position: absolute;
    top: 10px;
    right: 12px;
    color: #ffffff !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 3px;
    font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 12px;
    cursor: pointer;
    z-index: 30;
  }

  body.publicContentView .mobilePanelButton.buttonLogin {
    display: none;
  }

  .iac-redesign .hero-inner {
    padding-left: 1.15rem;
    padding-right: 0;
  }

  .iac-home-seal {
    margin: 0 0 0 auto;
    padding: 0;
    background: transparent;
  }

  .iac-home-seal img {
    width: 88px;
  }
}

