html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: #FF850D #333333; /* thumb clay / track charcoal */
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
#work {
  scroll-margin-top: 6rem;
}

/* Compact header on scroll — shorter bar, smaller logo / links / CTA */
#mainNav {
  transition:
    height 400ms ease,
    background-color 400ms ease,
    border-color 400ms ease,
    box-shadow 400ms ease,
    backdrop-filter 400ms ease;
}

/* Keep fixed nav below the WP admin toolbar when “Show Toolbar” is on */
.admin-bar #mainNav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar #mainNav {
    top: 46px;
  }
  .admin-bar.wp-admin-bar-is-mobile-open #mainNav {
    top: 46px;
  }
}
/* Logo left · menu + actions grouped on the right — gutters match .iawf-eds__inner */
#mainNav .iaw-nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
  gap: 1.25rem;
  padding-top: 0;
  padding-bottom: 0;
  padding-left: max(1.25rem, env(safe-area-inset-left, 0px));
  padding-right: max(1.25rem, env(safe-area-inset-right, 0px));
}
@media (min-width: 640px) {
  #mainNav .iaw-nav-bar {
    padding-left: 35px;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  #mainNav .iaw-nav-bar {
    padding-left: 35px;
    padding-right: 2rem;
    gap: 1.75rem;
  }
}
#mainNav .iaw-nav-brand {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
#mainNav .nav-logo {
  display: block;
  width: 140px;
  max-height: 52px;
  height: auto;
  object-fit: contain;
  transition: width 400ms ease, max-height 400ms ease;
}
@media (max-width: 1023px) {
  #mainNav .iaw-nav-bar {
    box-sizing: border-box;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
  }
  #mainNav .nav-logo {
    width: 112px;
    max-height: 40px;
  }
  #mainNav .iaw-nav-end,
  #mainNav.is-compact .iaw-nav-end {
    padding-top: 0;
  }
  #mainNav .iaw-nav-actions {
    gap: 0.35rem;
  }
  #mainNav .nav-search,
  #mainNav .nav-toggle {
    width: 2rem;
    height: 2rem;
  }
  #mainNav .nav-search svg,
  #mainNav .nav-toggle svg {
    width: 16px;
    height: 16px;
  }
}
#mainNav .iaw-nav-end {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.35rem;
  min-width: 0;
  padding-top: 0;
}
@media (min-width: 1024px) {
  #mainNav .iaw-nav-end {
    /* Optical align with logo wordmark (icon sits slightly lower) */
    padding-top: 10px;
  }
}
#mainNav .iaw-primary-menu {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
  gap: 1.35rem;
}
@media (min-width: 1024px) {
  #mainNav .iaw-primary-menu {
    display: flex;
  }
}
@media (min-width: 1280px) {
  #mainNav .iaw-nav-end {
    gap: 1.75rem;
  }
  #mainNav .iaw-primary-menu {
    gap: 1.6rem;
  }
}
#mainNav .iaw-nav-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  flex: 0 0 auto;
}
@media (min-width: 640px) {
  #mainNav .iaw-nav-actions {
    gap: 0.55rem;
  }
}

/* Logged-in account menu — compact avatar chip + dropdown */
#mainNav .iaw-account-menu {
  position: relative;
  flex: 0 0 auto;
}
#mainNav .iaw-account-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  max-width: 13.5rem;
  margin: 0;
  padding: 0.2rem 0.55rem 0.2rem 0.2rem;
  border: 1px solid var(--btn-bg, #ff4800);
  border-radius: 999px;
  background: var(--btn-bg, #ff4800);
  color: var(--btn-fg, #fff);
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(255, 72, 0, 0.22);
  transition:
    background-color 200ms ease,
    border-color 200ms ease,
    color 200ms ease,
    box-shadow 200ms ease;
}
#mainNav .iaw-account-menu__trigger:hover,
#mainNav .iaw-account-menu__trigger:focus,
#mainNav .iaw-account-menu.is-open .iaw-account-menu__trigger {
  background: var(--btn-bg-hover, #ff850d);
  border-color: var(--btn-bg-hover, #ff850d);
  color: var(--btn-fg, #fff);
  outline: none;
  box-shadow: 0 6px 18px rgba(255, 133, 13, 0.35);
}
#mainNav .iaw-account-menu__avatar {
  display: block;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.35);
}
#mainNav .iaw-account-menu__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#mainNav .iaw-account-menu__avatar--lg {
  width: 2.75rem;
  height: 2.75rem;
}
#mainNav .iaw-account-menu__meta {
  display: none;
  min-width: 0;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.05rem;
  text-align: left;
  line-height: 1.15;
}
@media (min-width: 640px) {
  #mainNav .iaw-account-menu__meta {
    display: flex;
  }
}
#mainNav .iaw-account-menu__name {
  display: block;
  max-width: 7.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
}
#mainNav .iaw-account-menu__type {
  display: block;
  max-width: 8.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.82;
}
#mainNav .iaw-account-menu__chevron {
  display: none;
  flex: 0 0 auto;
  margin-left: 0.05rem;
  transition: transform 180ms ease;
}
@media (min-width: 640px) {
  #mainNav .iaw-account-menu__chevron {
    display: inline-flex;
  }
}
#mainNav .iaw-account-menu.is-open .iaw-account-menu__chevron {
  transform: rotate(180deg);
}
#mainNav .iaw-account-menu__panel {
  position: absolute;
  top: calc(100% + 0.65rem);
  right: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: 20rem;
  max-height: calc(100vh - 7rem);
  max-height: calc(100dvh - 7rem);
  overflow: hidden;
  border-radius: 1.25rem;
  background: #fff;
  color: #1f1a17;
  text-align: left;
  box-shadow:
    0 24px 60px rgba(31, 26, 23, 0.22),
    0 0 0 1px rgba(31, 26, 23, 0.06);
  transform-origin: top right;
  animation: iawAccMenuIn 180ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
#mainNav .iaw-account-menu__panel:focus {
  outline: none;
}
#mainNav .iaw-account-menu__panel[hidden],
#mainNav .iaw-account-menu__backdrop[hidden] {
  display: none !important;
}
#mainNav .iaw-account-menu__backdrop,
#mainNav .iaw-account-menu__grip,
#mainNav .iaw-account-menu__close {
  display: none;
}
#mainNav .iaw-account-menu__head {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 1rem 0.95rem;
  background: linear-gradient(135deg, #fff4ec 0%, #ffe8d9 100%);
  border-bottom: 1px solid rgba(255, 72, 0, 0.1);
}
#mainNav .iaw-account-menu__head .iaw-account-menu__avatar--lg {
  width: 3.25rem;
  height: 3.25rem;
  background: #fff;
  box-shadow:
    0 0 0 3px #fff,
    0 4px 12px rgba(255, 72, 0, 0.25);
}
#mainNav .iaw-account-menu__head-text {
  flex: 1 1 auto;
  min-width: 0;
}
#mainNav .iaw-account-menu__head-name {
  margin: 0;
  overflow: hidden;
  color: #1f1a17;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#mainNav .iaw-account-menu__head-type {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  max-width: 100%;
  margin: 0.35rem 0 0;
  padding: 0.2rem 0.6rem 0.2rem 0.5rem;
  overflow: hidden;
  border-radius: 999px;
  background: #fff;
  color: #c73800;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(31, 26, 23, 0.08);
}
#mainNav .iaw-account-menu__dot {
  flex: 0 0 auto;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: #22a06b;
}
#mainNav .iaw-account-menu__head-type.is-none .iaw-account-menu__dot { background: #a39a93; }
#mainNav .iaw-account-menu__head-type.is-expired .iaw-account-menu__dot { background: #d93a1e; }
#mainNav .iaw-account-menu__head-type.is-expiring .iaw-account-menu__dot { background: #f59e0b; }
#mainNav .iaw-account-menu__head-type.is-lifetime .iaw-account-menu__dot { background: #7c3aed; }

#mainNav .iaw-account-menu__body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.5rem 0.5rem 0.35rem;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
#mainNav .iaw-account-menu__promo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0.2rem 0.1rem 0.5rem;
  padding: 0.75rem 0.8rem;
  border-radius: 1rem;
  background: linear-gradient(135deg, #ff4800 0%, #ff850d 100%);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(255, 72, 0, 0.25);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
#mainNav .iaw-account-menu__promo:hover,
#mainNav .iaw-account-menu__promo:focus-visible {
  color: #fff;
  outline: none;
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(255, 72, 0, 0.32);
}
#mainNav .iaw-account-menu__promo--renew {
  background: linear-gradient(135deg, #fff8ea 0%, #ffedd0 100%);
  color: #7a3b00;
  box-shadow: inset 0 0 0 1px rgba(245, 158, 11, 0.4);
}
#mainNav .iaw-account-menu__promo--renew:hover,
#mainNav .iaw-account-menu__promo--renew:focus-visible {
  color: #7a3b00;
  box-shadow:
    inset 0 0 0 1px rgba(245, 158, 11, 0.6),
    0 8px 18px rgba(245, 158, 11, 0.2);
}
#mainNav .iaw-account-menu__promo-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.22);
}
#mainNav .iaw-account-menu__promo--renew .iaw-account-menu__promo-icon {
  background: #fff;
  color: #d97706;
}
#mainNav .iaw-account-menu__promo-text {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}
#mainNav .iaw-account-menu__promo-text strong {
  font-size: 0.88rem;
  font-weight: 700;
}
#mainNav .iaw-account-menu__promo-text small {
  margin-top: 0.1rem;
  font-size: 0.74rem;
  opacity: 0.9;
}
#mainNav .iaw-account-menu__promo-arrow {
  display: inline-flex;
  flex: 0 0 auto;
  opacity: 0.85;
}
#mainNav .iaw-account-menu__group {
  padding: 0.2rem 0;
}
#mainNav .iaw-account-menu__group + .iaw-account-menu__group {
  margin-top: 0.25rem;
  padding-top: 0.45rem;
  border-top: 1px solid rgba(31, 26, 23, 0.07);
}
#mainNav .iaw-account-menu__group-label {
  margin: 0;
  padding: 0.3rem 0.65rem 0.35rem;
  color: #9a8f87;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
#mainNav .iaw-account-menu__item,
#mainNav .iaw-account-menu__signout {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  min-height: 2.6rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.8rem;
  color: #1f1a17;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 150ms ease, color 150ms ease;
}
#mainNav .iaw-account-menu__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.65rem;
  background: #f6f1ec;
  color: #5c524b;
  transition: background-color 150ms ease, color 150ms ease;
}
#mainNav .iaw-account-menu__item:hover,
#mainNav .iaw-account-menu__item:focus-visible,
#mainNav .iaw-account-menu__item.is-current {
  background: #fff4ec;
  color: #c73800;
  outline: none;
}
#mainNav .iaw-account-menu__item:hover .iaw-account-menu__icon,
#mainNav .iaw-account-menu__item:focus-visible .iaw-account-menu__icon,
#mainNav .iaw-account-menu__item.is-current .iaw-account-menu__icon {
  background: #ff4800;
  color: #fff;
}
#mainNav .iaw-account-menu__item--accent {
  color: #c73800;
}
#mainNav .iaw-account-menu__item--accent .iaw-account-menu__icon {
  background: #ffe8d9;
  color: #ff4800;
}
#mainNav .iaw-account-menu__label {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
#mainNav .iaw-account-menu__label-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#mainNav .iaw-account-menu__label-desc {
  display: none;
  overflow: hidden;
  color: #8a7f77;
  font-size: 0.75rem;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}
#mainNav .iaw-account-menu__meta-tag {
  flex: 0 0 auto;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #e8f7ef;
  color: #157a4f;
  font-size: 0.66rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
#mainNav .iaw-account-menu__meta-tag.is-none { background: #f1ede9; color: #6b625b; }
#mainNav .iaw-account-menu__meta-tag.is-expired { background: #fde8e4; color: #b42318; }
#mainNav .iaw-account-menu__meta-tag.is-expiring { background: #fff4e0; color: #a15c00; }
#mainNav .iaw-account-menu__meta-tag.is-lifetime { background: #f1eafe; color: #6d28d9; }
#mainNav .iaw-account-menu__go {
  display: none;
  flex: 0 0 auto;
  color: #c2b8b0;
}
#mainNav .iaw-account-menu__foot {
  flex: 0 0 auto;
  padding: 0.5rem;
  border-top: 1px solid rgba(31, 26, 23, 0.07);
  background: #fcfaf8;
}
#mainNav .iaw-account-menu__signout {
  color: #b42318;
}
#mainNav .iaw-account-menu__signout .iaw-account-menu__icon {
  background: #fdecea;
  color: #b42318;
}
#mainNav .iaw-account-menu__signout:hover,
#mainNav .iaw-account-menu__signout:focus-visible {
  background: #fdecea;
  color: #912018;
  outline: none;
}
#mainNav .iaw-account-menu__signout:hover .iaw-account-menu__icon,
#mainNav .iaw-account-menu__signout:focus-visible .iaw-account-menu__icon {
  background: #b42318;
  color: #fff;
}

/* Phones: account menu becomes a bottom sheet above the tab bar. */
@media (max-width: 639px) {
  body.iaw-account-open {
    overflow: hidden;
  }
  body.iaw-account-open #mainNav {
    z-index: 60;
  }
  body.iaw-account-open #wp-chatbot-chat-container {
    visibility: hidden;
  }
  #mainNav .iaw-account-menu__backdrop {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 79;
    background: rgba(24, 16, 12, 0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    animation: iawAccMenuFade 220ms ease;
  }
  #mainNav .iaw-account-menu__panel {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: auto;
    max-height: calc(100vh - 3rem);
    max-height: calc(100dvh - 3rem);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-radius: 1.5rem 1.5rem 0 0;
    box-shadow: 0 -12px 40px rgba(31, 26, 23, 0.25);
    transform-origin: bottom center;
    animation: iawAccMenuUp 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  #mainNav .iaw-account-menu.is-closing .iaw-account-menu__panel {
    animation: iawAccMenuDown 200ms ease forwards;
  }
  #mainNav .iaw-account-menu.is-closing .iaw-account-menu__backdrop {
    animation: iawAccMenuFadeOut 200ms ease forwards;
  }
  #mainNav .iaw-account-menu__grip {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    padding: 0.6rem 0 0.2rem;
    background: #fff4ec;
    touch-action: none;
  }
  #mainNav .iaw-account-menu__grip span {
    width: 2.5rem;
    height: 0.3rem;
    border-radius: 999px;
    background: rgba(31, 26, 23, 0.18);
  }
  #mainNav .iaw-account-menu__head {
    padding: 0.55rem 1.1rem 1.05rem;
    background: linear-gradient(180deg, #fff4ec 0%, #ffe8d9 100%);
    touch-action: none;
  }
  #mainNav .iaw-account-menu__head .iaw-account-menu__avatar--lg {
    width: 3.5rem;
    height: 3.5rem;
  }
  #mainNav .iaw-account-menu__head-name {
    font-size: 1.08rem;
  }
  #mainNav .iaw-account-menu__close {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fff;
    color: #5c524b;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(31, 26, 23, 0.12);
  }
  #mainNav .iaw-account-menu__close:focus-visible {
    outline: 2px solid #ff4800;
    outline-offset: 2px;
  }
  #mainNav .iaw-account-menu__body {
    padding: 0.6rem 0.75rem 0.4rem;
  }
  #mainNav .iaw-account-menu__promo {
    margin: 0.15rem 0 0.6rem;
    padding: 0.85rem 0.9rem;
  }
  #mainNav .iaw-account-menu__item {
    gap: 0.85rem;
    min-height: 3.35rem;
    padding: 0.45rem 0.55rem;
    font-size: 0.95rem;
  }
  #mainNav .iaw-account-menu__icon {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.85rem;
  }
  #mainNav .iaw-account-menu__label-desc {
    display: block;
  }
  #mainNav .iaw-account-menu__go {
    display: inline-flex;
  }
  #mainNav .iaw-account-menu__foot {
    padding: 0.65rem 0.75rem 0.75rem;
  }
  #mainNav .iaw-account-menu__signout {
    justify-content: center;
    min-height: 3rem;
    background: #fdecea;
    font-size: 0.95rem;
  }
  #mainNav .iaw-account-menu__signout .iaw-account-menu__icon {
    width: 1.75rem;
    height: 1.75rem;
    background: transparent;
  }
}
@keyframes iawAccMenuIn {
  from { opacity: 0; transform: translateY(-6px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes iawAccMenuUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@keyframes iawAccMenuDown {
  to { transform: translateY(100%); }
}
@keyframes iawAccMenuFade {
  from { opacity: 0; }
}
@keyframes iawAccMenuFadeOut {
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  #mainNav .iaw-account-menu__panel,
  #mainNav .iaw-account-menu__backdrop,
  #mainNav .iaw-account-menu.is-closing .iaw-account-menu__panel,
  #mainNav .iaw-account-menu.is-closing .iaw-account-menu__backdrop {
    animation: none;
  }
}
#mainNav.is-compact .iaw-account-menu__trigger {
  background: var(--btn-bg, #ff4800);
  border-color: var(--btn-bg, #ff4800);
  color: var(--btn-fg, #fff);
}
#mainNav.is-compact .iaw-account-menu__trigger:hover,
#mainNav.is-compact .iaw-account-menu__trigger:focus,
#mainNav.is-compact .iaw-account-menu.is-open .iaw-account-menu__trigger {
  background: var(--btn-bg-hover, #ff850d);
  border-color: var(--btn-bg-hover, #ff850d);
  color: var(--btn-fg, #fff);
}
/* Search: white disc + flame icon (matches bottom-nav active chip) · CTAs: desktop only */
#mainNav .nav-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: none;
  border-radius: 999px;
  background: #fff;
  color: #ff4800;
  box-shadow: 0 3px 10px rgba(255, 72, 0, 0.16);
  transition:
    color 200ms ease,
    background-color 200ms ease,
    box-shadow 200ms ease,
    transform 160ms ease;
}
#mainNav .nav-search:hover,
#mainNav .nav-search:focus {
  background: #ff850d;
  color: #fff;
  outline: none;
  box-shadow: 0 6px 18px rgba(255, 133, 13, 0.35);
}
#mainNav .nav-search:active {
  transform: scale(0.96);
}
#mainNav .nav-search svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.25;
}
#mainNav .nav-cta {
  display: none;
}
@media (min-width: 1024px) {
  #mainNav .nav-search {
    width: 2.65rem;
    height: 2.65rem;
    background: transparent;
    color: #fff;
    box-shadow: none;
  }
  #mainNav .nav-search:hover,
  #mainNav .nav-search:focus {
    background: #fff;
    color: #ff4800;
    box-shadow: 0 4px 14px rgba(255, 72, 0, 0.18);
  }
  #mainNav .nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition:
      padding 400ms ease,
      font-size 400ms ease,
      background-color 400ms ease,
      color 400ms ease,
      border-color 400ms ease;
  }
}
#mainNav .nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  background: #fff;
  color: #ff4800;
  box-shadow: 0 3px 10px rgba(26, 26, 26, 0.16);
  cursor: pointer;
  transition:
    background-color 200ms ease,
    color 200ms ease,
    border-color 200ms ease,
    box-shadow 200ms ease,
    transform 160ms ease;
}
#mainNav .nav-toggle:hover,
#mainNav .nav-toggle:focus {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
  outline: none;
  box-shadow: 0 6px 18px rgba(26, 26, 26, 0.22);
}
#mainNav .nav-toggle:active {
  transform: scale(0.96);
}
#mainNav .nav-toggle svg {
  width: 18px;
  height: 18px;
  stroke-width: 2;
}
#mainNav .nav-toggle[aria-expanded="true"] {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
  box-shadow: none;
}
@media (min-width: 1024px) {
  #mainNav .nav-toggle {
    display: none;
  }
}
#mainNav .nav-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  white-space: nowrap;
  transition: color 400ms ease, font-size 400ms ease;
}

/* Primary nav dropdowns — clean white panels, no scrollbars */
#mainNav .iaw-primary-menu > .menu-item {
  position: relative;
  display: flex;
  align-items: center;
}
#mainNav .iaw-primary-menu > .menu-item.has-dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 12px;
  display: none;
}
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:hover::after,
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:focus-within::after {
  display: block;
}
#mainNav .iaw-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  transform: translateY(8px);
  min-width: 248px;
  width: max-content;
  max-width: 280px;
  overflow: visible;
  padding: 0.6rem 0;
  margin: 0;
  list-style: none;
  background: #ffffff;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-radius: 4px;
  box-shadow:
    0 1px 2px rgba(26, 26, 26, 0.04),
    0 12px 32px rgba(26, 26, 26, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 180ms ease,
    visibility 180ms ease,
    transform 180ms cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 60;
}
#mainNav .iaw-primary-menu > .menu-item > .sub-menu::before {
  content: "";
  position: absolute;
  top: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: #ff850d;
  border-radius: 1px;
}
#mainNav .iaw-primary-menu > .menu-item:hover > .sub-menu,
#mainNav .iaw-primary-menu > .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}
#mainNav .iaw-primary-menu .sub-menu .menu-item {
  position: relative;
  display: block;
}
#mainNav .iaw-primary-menu .sub-menu .menu-item.has-dropdown::after {
  content: "";
  position: absolute;
  top: 0;
  right: -10px;
  width: 12px;
  height: 100%;
  display: none;
}
#mainNav .iaw-primary-menu .sub-menu .menu-item.has-dropdown:hover::after,
#mainNav .iaw-primary-menu .sub-menu .menu-item.has-dropdown:focus-within::after {
  display: block;
}
#mainNav .iaw-primary-menu .nav-sublink {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.25rem;
  color: #333333;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  border-left: 2px solid transparent;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}
#mainNav .iaw-primary-menu .nav-sublink:hover,
#mainNav .iaw-primary-menu .nav-sublink:focus {
  color: #ff4800;
  background-color: rgba(255, 133, 13, 0.07);
  border-left-color: #ff850d;
}
#mainNav .iaw-primary-menu .sub-menu .current-menu-item > .nav-sublink,
#mainNav .iaw-primary-menu .sub-menu .menu-item.has-dropdown:hover > .nav-sublink,
#mainNav .iaw-primary-menu .sub-menu .menu-item.has-dropdown:focus-within > .nav-sublink {
  color: #ff4800;
  background-color: rgba(255, 133, 13, 0.07);
  border-left-color: #ff850d;
}
/* Clear “has children” chevron */
#mainNav .iaw-primary-menu .sub-menu .menu-item-has-children > .nav-sublink::after {
  content: "";
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #999;
  border-top: 1.5px solid #999;
  transform: rotate(45deg);
  transition: border-color 160ms ease;
}
#mainNav .iaw-primary-menu .sub-menu .menu-item-has-children:hover > .nav-sublink::after,
#mainNav .iaw-primary-menu .sub-menu .menu-item-has-children:focus-within > .nav-sublink::after {
  border-color: #ff4800;
}
/* Nested flyouts — no scrollbar; long lists use columns */
#mainNav .iaw-primary-menu .sub-menu .sub-menu {
  top: -0.6rem;
  left: calc(100% + 4px);
  right: auto;
  transform: translateX(6px) translateY(0);
  min-width: 220px;
  max-width: none;
  overflow: visible;
  z-index: 70;
}
#mainNav .iaw-primary-menu .sub-menu .sub-menu::before {
  display: none;
}
#mainNav .iaw-primary-menu .sub-menu .menu-item:hover > .sub-menu,
#mainNav .iaw-primary-menu .sub-menu .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) translateY(0);
}
/* Mega nested lists are in-flow — never treat as side flyouts */
#mainNav .iaw-primary-menu > .mega-menu .mega-col--featured:hover > .mega-panel__list,
#mainNav .iaw-primary-menu > .mega-menu .mega-col--featured:focus-within > .mega-panel__list,
#mainNav .iaw-primary-menu > .has-mega .mega-col--featured:hover > .mega-panel__list,
#mainNav .iaw-primary-menu > .has-mega .mega-col--featured:focus-within > .mega-panel__list {
  transform: none !important;
}
#mainNav .iaw-primary-menu .sub-menu .menu-item:hover,
#mainNav .iaw-primary-menu .sub-menu .menu-item:focus-within {
  z-index: 2;
}
#mainNav .iaw-primary-menu .sub-menu .sub-menu .sub-menu {
  z-index: 80;
  display: block;
  grid-template-columns: none;
  max-width: 260px;
}
@media (min-width: 1100px) {
  #mainNav .iaw-primary-menu > .menu-item:nth-last-child(-n + 3) .sub-menu .sub-menu {
    left: auto;
    right: calc(100% + 4px);
    transform: translateX(-6px) translateY(0);
  }
  #mainNav .iaw-primary-menu > .menu-item:nth-last-child(-n + 3) .sub-menu .menu-item:hover > .sub-menu,
  #mainNav .iaw-primary-menu > .menu-item:nth-last-child(-n + 3) .sub-menu .menu-item:focus-within > .sub-menu {
    transform: translateX(0) translateY(0);
  }
  #mainNav .iaw-primary-menu > .menu-item:nth-last-child(-n + 3) .sub-menu .menu-item-has-children > .nav-sublink::after {
    transform: rotate(-135deg);
  }
  #mainNav .iaw-primary-menu > .menu-item:nth-last-child(-n + 3) .sub-menu .menu-item.has-dropdown::after {
    right: auto;
    left: -10px;
  }
}

/*
 * Regular dropdowns open flush with the bottom of the nav bar and share the mega panel's edge.
 * The item goes static so `top` resolves against #mainNav (works in the tall and compact header);
 * with no left/right set, the panel keeps its static position, i.e. under its own label.
 */
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:not(.has-mega):not(.mega-menu) {
  position: static;
}
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:not(.has-mega):not(.mega-menu)::after {
  display: none;
}
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:not(.has-mega):not(.mega-menu) > .nav-link {
  position: relative;
}
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:not(.has-mega):not(.mega-menu) > .nav-link::after {
  content: "";
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: 100%;
  height: 56px;
  background: transparent;
  pointer-events: none;
}
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:not(.has-mega):not(.mega-menu):hover > .nav-link::after,
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:not(.has-mega):not(.mega-menu):focus-within > .nav-link::after {
  pointer-events: auto;
}
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:not(.has-mega):not(.mega-menu) > .sub-menu {
  top: 100%;
  left: auto;
  border: 1px solid rgba(26, 26, 26, 0.06);
  border-bottom-color: rgba(26, 26, 26, 0.08);
  border-radius: 0;
  box-shadow:
    0 1px 2px rgba(26, 26, 26, 0.04),
    0 40px 80px -40px rgba(26, 26, 26, 0.35);
}
#mainNav .iaw-primary-menu > .menu-item.has-dropdown:not(.has-mega):not(.mega-menu) > .sub-menu::before {
  content: none;
}

/* —— Mega menu (Events, or any item with class `mega-menu`) —— */
/*
 * Panel is positioned against #mainNav (fixed) so it can be full-width centered.
 * Trigger stays relative so its hover-bridge is only as wide as "Events" —
 * a full-width bridge was covering About Us / other links and kept Events open.
 */
#mainNav .iaw-primary-menu > .mega-menu,
#mainNav .iaw-primary-menu > .has-mega {
  position: static;
}
#mainNav .iaw-primary-menu > .mega-menu > .nav-link,
#mainNav .iaw-primary-menu > .has-mega > .nav-link {
  position: relative;
}
/* Narrow bridge: only under the Events label, down to the panel */
#mainNav .iaw-primary-menu > .mega-menu.has-dropdown::after,
#mainNav .iaw-primary-menu > .has-mega.has-dropdown::after {
  display: none;
}
#mainNav .iaw-primary-menu > .mega-menu > .nav-link::after,
#mainNav .iaw-primary-menu > .has-mega > .nav-link::after {
  content: "";
  position: absolute;
  left: -0.35rem;
  right: -0.35rem;
  top: 100%;
  height: 56px;
  background: transparent;
  pointer-events: none;
}
#mainNav .iaw-primary-menu > .mega-menu:hover > .nav-link::after,
#mainNav .iaw-primary-menu > .mega-menu:focus-within > .nav-link::after,
#mainNav .iaw-primary-menu > .has-mega:hover > .nav-link::after,
#mainNav .iaw-primary-menu > .has-mega:focus-within > .nav-link::after {
  pointer-events: auto;
}
#mainNav .iaw-primary-menu > .mega-menu > .sub-menu.mega-panel,
#mainNav .iaw-primary-menu > .has-mega > .sub-menu.mega-panel {
  top: 100%;
  left: 50%;
  right: auto;
  width: min(1080px, calc(100vw - 48px));
  max-width: none;
  min-width: 0;
  max-height: calc(100vh - 110px);
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  align-items: start;
  column-gap: 0;
  row-gap: 0.15rem;
  padding: 1.25rem 1.35rem 1.35rem;
  transform: translateX(-50%) translateY(10px);
  border-radius: 6px;
  box-shadow:
    0 2px 4px rgba(26, 26, 26, 0.04),
    0 20px 48px rgba(26, 26, 26, 0.16);
}
#mainNav .iaw-primary-menu > .mega-menu > .sub-menu.mega-panel::before,
#mainNav .iaw-primary-menu > .has-mega > .sub-menu.mega-panel::before {
  left: 1.5rem;
  right: 1.5rem;
}
/* No full-width hover bridge on the panel (that trapped hover on sibling items). */
#mainNav .iaw-primary-menu > .mega-menu > .sub-menu.mega-panel::after,
#mainNav .iaw-primary-menu > .has-mega > .sub-menu.mega-panel::after {
  content: none;
  display: none;
}
#mainNav .iaw-primary-menu > .mega-menu:hover > .sub-menu.mega-panel,
#mainNav .iaw-primary-menu > .mega-menu:focus-within > .sub-menu.mega-panel,
#mainNav .iaw-primary-menu > .has-mega:hover > .sub-menu.mega-panel,
#mainNav .iaw-primary-menu > .has-mega:focus-within > .sub-menu.mega-panel {
  transform: translateX(-50%) translateY(0);
}
/* If another top-level item is hovered, force-close any open mega panel. */
#mainNav .iaw-primary-menu:has(> .menu-item:not(.mega-menu):not(.has-mega):hover) > .mega-menu > .sub-menu.mega-panel,
#mainNav .iaw-primary-menu:has(> .menu-item:not(.mega-menu):not(.has-mega):focus-within) > .mega-menu > .sub-menu.mega-panel,
#mainNav .iaw-primary-menu:has(> .menu-item:not(.mega-menu):not(.has-mega):hover) > .has-mega > .sub-menu.mega-panel,
#mainNav .iaw-primary-menu:has(> .menu-item:not(.mega-menu):not(.has-mega):focus-within) > .has-mega > .sub-menu.mega-panel {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateX(-50%) translateY(10px) !important;
}
/* Left rail: leaf links (Upcoming / Virtual / Past Conferences) */
#mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--link,
#mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--link {
  grid-column: 1;
  border-right: 1px solid rgba(26, 26, 26, 0.08);
  padding-right: 1rem;
  margin-right: 1.25rem;
}
#mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--link > .nav-sublink,
#mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--link > .nav-sublink {
  white-space: normal;
  font-size: 14px;
  font-weight: 600;
  padding: 0.65rem 0.85rem;
  border-left-width: 0;
  border-radius: 3px;
}
#mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--link > .nav-sublink:hover,
#mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--link > .nav-sublink:hover {
  padding-left: 0.85rem;
}
/* Featured column (Past Events + nested list) spans the right side */
#mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--featured,
#mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--featured {
  grid-column: 2;
  grid-row: 1 / span 20;
  display: flex;
  flex-direction: column;
  padding: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}
#mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--featured > .mega-col__title,
#mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--featured > .mega-col__title {
  display: block;
  flex: 0 0 auto;
  padding: 0 0 0.65rem;
  margin: 0 0 0.25rem;
  border-left: none;
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  color: #1a1a1a;
  font-family: "Lora", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  white-space: normal;
  background: transparent;
}
#mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--featured > .mega-col__title:hover,
#mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--featured > .mega-col__title:hover {
  color: #ff4800;
  background: transparent;
  padding-left: 0;
}
#mainNav .iaw-primary-menu > .mega-menu .mega-col--featured > .nav-sublink::after,
#mainNav .iaw-primary-menu > .has-mega .mega-col--featured > .nav-sublink::after {
  display: none;
}
/* Nested event links — scroll when the list grows past the viewport */
#mainNav .iaw-primary-menu > .mega-menu .mega-panel__list,
#mainNav .iaw-primary-menu > .has-mega .mega-panel__list {
  position: static !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.1rem 1rem;
  width: 100%;
  min-width: 0;
  min-height: 0;
  max-width: none;
  max-height: min(380px, calc(100vh - 220px));
  flex: 1 1 auto;
  padding: 0.4rem 0.35rem 0.15rem 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: none !important;
  border: none;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #ff850d #ececec;
}
#mainNav .iaw-primary-menu > .mega-menu .mega-panel__list::-webkit-scrollbar,
#mainNav .iaw-primary-menu > .has-mega .mega-panel__list::-webkit-scrollbar {
  width: 6px;
}
#mainNav .iaw-primary-menu > .mega-menu .mega-panel__list::-webkit-scrollbar-track,
#mainNav .iaw-primary-menu > .has-mega .mega-panel__list::-webkit-scrollbar-track {
  background: #ececec;
  border-radius: 3px;
}
#mainNav .iaw-primary-menu > .mega-menu .mega-panel__list::-webkit-scrollbar-thumb,
#mainNav .iaw-primary-menu > .has-mega .mega-panel__list::-webkit-scrollbar-thumb {
  background: #ff850d;
  border-radius: 3px;
}
#mainNav .iaw-primary-menu > .mega-menu:hover .mega-panel__list,
#mainNav .iaw-primary-menu > .mega-menu:focus-within .mega-panel__list,
#mainNav .iaw-primary-menu > .has-mega:hover .mega-panel__list,
#mainNav .iaw-primary-menu > .has-mega:focus-within .mega-panel__list {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
#mainNav .iaw-primary-menu > .mega-menu .mega-panel__list .mega-col__item,
#mainNav .iaw-primary-menu > .has-mega .mega-panel__list .mega-col__item {
  white-space: normal;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  padding: 0.45rem 0.5rem;
  border-left: none;
  border-radius: 3px;
  color: #444;
}
#mainNav .iaw-primary-menu > .mega-menu .mega-panel__list .mega-col__item:hover,
#mainNav .iaw-primary-menu > .has-mega .mega-panel__list .mega-col__item:hover {
  color: #ff4800;
  background-color: rgba(255, 133, 13, 0.08);
  padding-left: 0.5rem;
}
#mainNav .iaw-primary-menu > .mega-menu .mega-col--featured::after,
#mainNav .iaw-primary-menu > .has-mega .mega-col--featured::after {
  display: none;
}
/* Laptops / narrower desktops — 2 event columns, tighter panel */
@media (max-width: 1280px) {
  #mainNav .iaw-primary-menu > .mega-menu > .sub-menu.mega-panel,
  #mainNav .iaw-primary-menu > .has-mega > .sub-menu.mega-panel {
    width: min(960px, calc(100vw - 40px));
    grid-template-columns: 180px minmax(0, 1fr);
    padding: 1.1rem 1.15rem 1.15rem;
  }
  #mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--link,
  #mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--link {
    padding-right: 0.75rem;
    margin-right: 1rem;
  }
  #mainNav .iaw-primary-menu > .mega-menu .mega-panel__list,
  #mainNav .iaw-primary-menu > .has-mega .mega-panel__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.1rem 0.85rem;
    max-height: min(340px, calc(100vh - 200px));
  }
  #mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--featured > .mega-col__title,
  #mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--featured > .mega-col__title {
    font-size: 16px;
  }
}
/* Short viewports (laptop height) — keep panel on screen */
@media (max-height: 820px) {
  #mainNav .iaw-primary-menu > .mega-menu > .sub-menu.mega-panel,
  #mainNav .iaw-primary-menu > .has-mega > .sub-menu.mega-panel {
    max-height: calc(100vh - 96px);
    padding: 0.95rem 1.1rem 1.05rem;
  }
  #mainNav .iaw-primary-menu > .mega-menu .mega-panel__list,
  #mainNav .iaw-primary-menu > .has-mega .mega-panel__list {
    max-height: min(280px, calc(100vh - 180px));
  }
}
@media (max-height: 700px) {
  #mainNav .iaw-primary-menu > .mega-menu .mega-panel__list,
  #mainNav .iaw-primary-menu > .has-mega .mega-panel__list {
    max-height: min(220px, calc(100vh - 160px));
  }
  #mainNav .iaw-primary-menu > .mega-menu .mega-panel__list .mega-col__item,
  #mainNav .iaw-primary-menu > .has-mega .mega-panel__list .mega-col__item {
    font-size: 12px;
    padding: 0.35rem 0.4rem;
  }
}
@media (max-width: 1100px) {
  #mainNav .iaw-primary-menu > .mega-menu > .sub-menu.mega-panel,
  #mainNav .iaw-primary-menu > .has-mega > .sub-menu.mega-panel {
    grid-template-columns: 1fr;
    grid-template-rows: auto minmax(0, 1fr);
    width: min(920px, calc(100vw - 40px));
  }
  #mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--link,
  #mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--link {
    grid-column: 1;
    border-right: none;
    margin-right: 0;
    padding-right: 0;
  }
  #mainNav .iaw-primary-menu > .mega-menu > .mega-panel > .mega-col--featured,
  #mainNav .iaw-primary-menu > .has-mega > .mega-panel > .mega-col--featured {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0.65rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(26, 26, 26, 0.08);
    max-height: min(360px, calc(100vh - 240px));
  }
  #mainNav .iaw-primary-menu > .mega-menu .mega-panel__list,
  #mainNav .iaw-primary-menu > .has-mega .mega-panel__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(260px, calc(100vh - 280px));
  }
}
@media (max-width: 900px) {
  #mainNav .iaw-primary-menu > .mega-menu .mega-panel__list,
  #mainNav .iaw-primary-menu > .has-mega .mega-panel__list {
    grid-template-columns: 1fr;
  }
}

/* —— Events mega panel (live + upcoming from the Events system) —— */
#mainNav .iaw-primary-menu > .has-mega-events > .sub-menu.mega-events {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  max-height: calc(100vh - 110px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0;
  background: #ffffff;
  border: 0;
  border-top: 1px solid rgba(26, 26, 26, 0.06);
  border-bottom: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 0;
  box-shadow: 0 40px 80px -40px rgba(26, 26, 26, 0.35);
}
#mainNav .iaw-primary-menu > .has-mega-events > .sub-menu.mega-events::before {
  content: none;
}
#mainNav .mega-events .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#mainNav .mega-events__inner {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2.5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  box-sizing: border-box;
}
#mainNav .mega-events__intro {
  grid-column: span 4;
  padding-right: 2.5rem;
  border-right: 1px solid rgba(26, 26, 26, 0.08);
}
#mainNav .mega-events__body {
  grid-column: span 5;
  min-width: 0;
}
#mainNav .mega-events__kicker {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0;
  color: #ff4800;
  font-family: "Dosis", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
#mainNav .mega-events__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #fff1e8;
}
#mainNav .mega-events__icon svg {
  width: 18px;
  height: 18px;
}
#mainNav .mega-events__desc {
  margin: 1.25rem 0 0;
  color: #666666;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}
#mainNav .mega-events__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 0;
}
#mainNav .mega-events__stat {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: #f5f3f0;
  color: #333333;
  font-family: "Montserrat", sans-serif;
  font-size: 12px;
  font-weight: 600;
}
#mainNav .mega-events__stat.is-live {
  background: #fef2f2;
  color: #b91c1c;
}
#mainNav .mega-events__stat.is-live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #dc2626;
  animation: iawf-mega-live 1.6s ease-out infinite;
}
@keyframes iawf-mega-live {
  0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.55); }
  100% { box-shadow: 0 0 0 6px rgba(220, 38, 38, 0); }
}
/* Matches the site's primary CTA (Donate Now). */
#mainNav .mega-events__explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  margin-top: 1.75rem;
  padding: 0.75rem 1.75rem;
  border: 1px solid #ff4800;
  border-radius: 30px;
  background: #ff4800;
  color: #ffffff;
  font-family: "Dosis", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease;
}
#mainNav .mega-events__explore:hover,
#mainNav .mega-events__explore:focus-visible {
  border-color: #ff850d;
  background: #ff850d;
  color: #ffffff;
}
#mainNav .mega-events__explore:focus-visible {
  outline: 3px solid rgba(255, 133, 13, 0.4);
  outline-offset: 2px;
}
#mainNav .mega-events__note {
  margin: 1.1rem 0 0;
  padding: 0.7rem 0.9rem;
  border-left: 3px solid #ff850d;
  border-radius: 10px;
  background: #faf7f4;
  color: #666666;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  line-height: 1.55;
}
#mainNav .mega-events__arrow {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  transition: transform 200ms ease, color 200ms ease;
}
#mainNav .mega-events__explore:hover .mega-events__arrow,
#mainNav .mega-events__explore:focus-visible .mega-events__arrow {
  transform: translateX(4px);
}
#mainNav .mega-events__label {
  margin: 0 0 0.5rem;
  padding: 0 0.75rem;
  color: #999999;
  font-family: "Dosis", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
#mainNav .mega-events__list,
#mainNav .mega-events__links {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
#mainNav .mega-events__event > a {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.9rem;
  padding: 0.6rem 0.75rem;
  border-radius: 12px;
  color: #1a1a1a;
  text-decoration: none;
  transition: background-color 200ms ease;
}
#mainNav .mega-events__event > a:hover,
#mainNav .mega-events__event > a:focus-visible {
  background: #f7f5f2;
}
#mainNav .mega-events__date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(26, 26, 26, 0.08);
  border-radius: 10px;
  background: #ffffff;
  line-height: 1;
}
#mainNav .mega-events__date span {
  color: #ff4800;
  font-family: "Dosis", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
#mainNav .mega-events__date b {
  margin-top: 3px;
  color: #1a1a1a;
  font-family: "Lora", serif;
  font-size: 20px;
  font-weight: 700;
}
#mainNav .mega-events__event.is-live .mega-events__date {
  border-color: #fecaca;
  background: #fef2f2;
}
#mainNav .mega-events__list.is-past .mega-events__date {
  border-color: rgba(26, 26, 26, 0.08);
  background: #f7f5f2;
}
#mainNav .mega-events__list.is-past .mega-events__date span {
  color: #888888;
}
#mainNav .mega-events__text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
#mainNav .mega-events__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: "Montserrat", sans-serif;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  transition: color 200ms ease;
}
#mainNav .mega-events__event > a:hover .mega-events__title,
#mainNav .mega-events__event > a:focus-visible .mega-events__title {
  color: #ff4800;
}
#mainNav .mega-events__live {
  display: inline-block;
  margin-right: 0.4rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #dc2626;
  color: #ffffff;
  font-family: "Dosis", sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  vertical-align: 2px;
}
#mainNav .mega-events__meta {
  overflow: hidden;
  color: #777777;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
#mainNav .mega-events__event .mega-events__arrow,
#mainNav .mega-events__link .mega-events__arrow {
  color: #b3b3b3;
}
#mainNav .mega-events__event > a:hover .mega-events__arrow,
#mainNav .mega-events__link:hover .mega-events__arrow,
#mainNav .mega-events__link:focus-visible .mega-events__arrow {
  color: #ff4800;
}
#mainNav .mega-events__empty {
  margin: 0;
  padding: 1rem;
  border-radius: 12px;
  background: #faf7f4;
  color: #666666;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
#mainNav .mega-events__links {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 26, 26, 0.08);
}
#mainNav .mega-events__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 12px;
  color: #333333;
  font-family: "Montserrat", sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
  transition: background-color 200ms ease, color 200ms ease;
}
#mainNav .mega-events__link:hover,
#mainNav .mega-events__link:focus-visible {
  background: #f7f5f2;
  color: #ff4800;
}
#mainNav .mega-events__card {
  position: relative;
  grid-column: span 3;
  display: block;
  min-height: 250px;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(150deg, #ff850d, #ff4800 60%, #1a1a1a);
  color: #ffffff;
  text-decoration: none;
}
#mainNav .mega-events__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.16, 1, 0.3, 1);
}
#mainNav .mega-events__card:hover img {
  transform: scale(1.05);
}
#mainNav .mega-events__card-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.88), rgba(26, 26, 26, 0.15) 55%, transparent);
}
#mainNav .mega-events__card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #1a1a1a;
  font-family: "Dosis", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
#mainNav .mega-events__card.is-live .mega-events__card-badge {
  background: #dc2626;
  color: #ffffff;
}
#mainNav .mega-events__card-body {
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  left: 1.25rem;
}
#mainNav .mega-events__card-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  font-family: "Lora", serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.25;
}
#mainNav .mega-events__card-meta {
  display: block;
  margin-top: 0.35rem;
  font-family: "Montserrat", sans-serif;
  font-size: 12.5px;
  opacity: 0.85;
}
@media (max-width: 1280px) {
  #mainNav .mega-events__inner {
    gap: 2rem;
    padding: 2rem 1.5rem;
  }
  #mainNav .mega-events__intro {
    padding-right: 2rem;
  }
}
@media (max-width: 1180px) {
  #mainNav .mega-events__intro {
    grid-column: span 5;
  }
  #mainNav .mega-events__body {
    grid-column: span 7;
  }
  #mainNav .mega-events__card {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  #mainNav .mega-events__stat.is-live i {
    animation: none;
  }
  #mainNav .mega-events__card img,
  #mainNav .mega-events__arrow {
    transition: none;
  }
}

/* Mobile nav — next events at the top of the Events submenu */
.iaw-mobile-nav .mobile-nav-event {
  gap: 0.65rem;
}
.iaw-mobile-nav .mobile-nav-event__date {
  flex: 0 0 auto;
  min-width: 3.4rem;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-family: "Dosis", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}
.iaw-mobile-nav .mobile-nav-item--event.is-live .mobile-nav-event__date {
  background: #dc2626;
}
.iaw-mobile-nav .mobile-nav-event__title {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* —— Mobile full-screen nav (slides in from left) —— */
.iaw-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  visibility: hidden;
  pointer-events: none;
}
.iaw-mobile-nav.is-open {
  visibility: visible;
  pointer-events: auto;
}
.iaw-mobile-nav__panel {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(165deg, #ff9a2e 0%, #ff850d 42%, #ff4800 100%);
  color: #fff;
  transform: translateX(-100%);
  transition: transform 360ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}
.iaw-mobile-nav.is-open .iaw-mobile-nav__panel {
  transform: translateX(0);
}
.iaw-mobile-nav__top {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
  padding: 1rem 1.15rem 1rem 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
}
.iaw-mobile-nav__brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}
.iaw-mobile-nav__brand img {
  display: block;
  width: 118px;
  height: auto;
}
.iaw-mobile-nav__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.iaw-mobile-nav__close:hover,
.iaw-mobile-nav__close:focus {
  background: #fff;
  border-color: #fff;
  color: #ff4800;
  outline: none;
}
.iaw-mobile-nav__close:active {
  transform: scale(0.96);
}
.iaw-mobile-nav__scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 0.35rem 1.15rem 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.55) transparent;
}
.iaw-primary-menu-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.iaw-mobile-nav .mobile-nav-item {
  list-style: none;
  margin: 0;
  padding: 0;
}
.iaw-mobile-nav .mobile-nav-item--depth-0 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}
.iaw-mobile-nav .mobile-nav-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 52px;
}
.iaw-mobile-nav .mobile-nav-link {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  min-height: 52px;
  padding: 0.75rem 0.25rem;
  color: #fff;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: 0.01em;
  border-radius: 0;
  transition: opacity 160ms ease, background-color 160ms ease;
}
.iaw-mobile-nav .mobile-nav-link--top {
  font-size: 1.08rem;
}
.iaw-mobile-nav .mobile-nav-link--sub {
  font-size: 0.95rem;
  font-weight: 500;
  min-height: 2.35rem;
  padding-top: 0.4rem;
  padding-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.94);
}
.iaw-mobile-nav .mobile-nav-link:hover,
.iaw-mobile-nav .mobile-nav-link:focus {
  opacity: 0.85;
  outline: none;
}
.iaw-mobile-nav .mobile-nav-toggle {
  box-sizing: border-box;
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  min-width: 2.5rem;
  min-height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}
.iaw-mobile-nav .mobile-nav-toggle:hover,
.iaw-mobile-nav .mobile-nav-toggle:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
  outline: none;
}
.iaw-mobile-nav .mobile-nav-toggle svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}
/* Open state: same outline button, only rotate the chevron */
.iaw-mobile-nav .mobile-nav-item.is-open > .mobile-nav-row > .mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.16);
  border-color: #fff;
  color: #fff;
}
.iaw-mobile-nav .mobile-nav-item.is-open > .mobile-nav-row > .mobile-nav-toggle svg {
  transform: rotate(180deg);
}
.iaw-mobile-nav .mobile-nav-item.is-open > .mobile-nav-row > .mobile-nav-link {
  color: #fff;
  opacity: 1;
}
/* Nested levels — indented rail, no dark card.
   Collapsed menus must zero margin/padding so closed child panels
   (e.g. Boards, Annual Report) do not leave empty gaps in the list. */
.iaw-mobile-nav .mobile-sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  background: transparent;
  border: none;
  border-left: 0 solid transparent;
  border-radius: 0;
  transition:
    max-height 340ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms ease,
    margin 220ms ease,
    padding 220ms ease,
    border-color 220ms ease;
}
.iaw-mobile-nav .mobile-nav-item.is-open > .mobile-sub-menu {
  margin: 0 0 0.15rem 0.2rem;
  padding: 0.05rem 0 0.15rem 0.75rem;
  max-height: 2400px;
  opacity: 1;
  border-left: 2px solid rgba(255, 255, 255, 0.28);
}
.iaw-mobile-nav .mobile-sub-menu .mobile-sub-menu {
  border-left-color: rgba(255, 255, 255, 0.22);
}
.iaw-mobile-nav .mobile-nav-item.is-open > .mobile-sub-menu .mobile-sub-menu {
  margin-left: 0.15rem;
}
.iaw-mobile-nav .mobile-nav-item.is-open > .mobile-sub-menu .mobile-nav-item.is-open > .mobile-sub-menu {
  padding-left: 0.65rem;
}
.iaw-mobile-nav .mobile-nav-item--depth-1 > .mobile-nav-row {
  min-height: 2.35rem;
  gap: 0.35rem;
}
.iaw-mobile-nav .mobile-nav-item--depth-1 > .mobile-nav-row .mobile-nav-link,
.iaw-mobile-nav .mobile-nav-item--depth-1 > .mobile-nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  min-height: 2.35rem;
}
.iaw-mobile-nav .mobile-nav-item--depth-1 > .mobile-nav-row .mobile-nav-toggle {
  flex-basis: 2.15rem;
  width: 2.15rem;
  height: 2.15rem;
  min-width: 2.15rem;
  min-height: 2.15rem;
}
.iaw-mobile-nav .mobile-nav-item--depth-2 .mobile-nav-link,
.iaw-mobile-nav .mobile-nav-item--depth-3 .mobile-nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 2.15rem;
  padding-top: 0.35rem;
  padding-bottom: 0.35rem;
  color: rgba(255, 255, 255, 0.9);
}
.iaw-mobile-nav .mobile-nav-item--depth-2 > .mobile-nav-row,
.iaw-mobile-nav .mobile-nav-item--depth-3 > .mobile-nav-row {
  min-height: 2.15rem;
}
.iaw-mobile-nav__footer {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  padding: 1rem 1.15rem calc(1.15rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.12);
}
.iaw-mobile-nav__footer:has(.iaw-mobile-nav__cta--ghost) {
  grid-template-columns: 1fr 1fr;
}
.iaw-mobile-nav__footer--account {
  grid-template-columns: 1fr;
  padding: 0.65rem 1.15rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
}
.iaw-mobile-account {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.iaw-mobile-account__card {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  min-height: 3.25rem;
  padding: 0.4rem 0.75rem 0.4rem 0.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.iaw-mobile-account__card:hover,
.iaw-mobile-account__card:focus-visible {
  background: #fff;
  color: #ff4800;
  outline: none;
}
.iaw-mobile-account__avatar {
  flex: 0 0 auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.22);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45);
}
.iaw-mobile-account__avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.iaw-mobile-account__meta {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  line-height: 1.25;
}
.iaw-mobile-account__name,
.iaw-mobile-account__type {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.iaw-mobile-account__name {
  font-size: 0.92rem;
  font-weight: 700;
}
.iaw-mobile-account__type {
  font-size: 0.74rem;
  font-weight: 500;
  opacity: 0.85;
}
.iaw-mobile-account__go {
  flex: 0 0 auto;
  opacity: 0.8;
}
.iaw-mobile-account__signout {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.14);
  color: #fff;
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}
.iaw-mobile-account__signout:hover,
.iaw-mobile-account__signout:focus-visible {
  background: #fff;
  color: #b42318;
  outline: none;
}
body.iaw-nav-open #wp-chatbot-chat-container {
  visibility: hidden;
}
.admin-bar .iaw-mobile-nav {
  top: 32px;
}
@media screen and (max-width: 782px) {
  .admin-bar .iaw-mobile-nav {
    top: 46px;
  }
}
.admin-bar .iaw-mobile-nav__panel {
  height: 100%;
}
.iaw-mobile-nav__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
  text-align: center;
  text-decoration: none;
}
.iaw-mobile-nav__footer .btn-join {
  background: #fff !important;
  color: #ff4800 !important;
}
.iaw-mobile-nav__footer .btn-join:hover,
.iaw-mobile-nav__footer .btn-join:focus {
  background: #1a1a1a !important;
  color: #fff !important;
}
.iaw-mobile-nav__cta--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.65);
  border-radius: 999px;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}
.iaw-mobile-nav__cta--ghost:hover,
.iaw-mobile-nav__cta--ghost:focus {
  background: #fff;
  border-color: #fff;
  color: #ff4800;
  outline: none;
}
body.iaw-nav-open {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  .iaw-mobile-nav__panel,
  .iaw-mobile-nav .mobile-sub-menu,
  .iaw-mobile-nav .mobile-nav-toggle svg {
    transition: none;
  }
}

#mainNav.is-compact {
  height: 3.5rem; /* 56px */
}
/* Transparent header → solid clay on scroll (same look as non-transparent). */
#mainNav.is-transparent.is-compact {
  background-color: #ff850d; /* clay */
  border-color: rgba(255, 72, 0, 0.2); /* flame/20 */
  box-shadow: 0 2px 12px rgba(255, 72, 0, 0.18);
}
/*
 * Over hero (transparent, not yet solid): keep top-level link hover light.
 * Default .nav-link:hover uses softblack for the clay bar — unreadable on dark imagery.
 */
#mainNav.is-transparent:not(.is-compact) .iaw-primary-menu > .menu-item > .nav-link:hover,
#mainNav.is-transparent:not(.is-compact) .iaw-primary-menu > .menu-item > .nav-link:focus,
#mainNav.is-transparent:not(.is-compact) .iaw-primary-menu > .menu-item:hover > .nav-link,
#mainNav.is-transparent:not(.is-compact) .iaw-primary-menu > .menu-item:focus-within > .nav-link {
  color: #ffffff;
}
#mainNav.is-compact .nav-logo {
  width: 118px;
  max-height: 42px;
}
@media (max-width: 1023px) {
  #mainNav.is-compact .nav-logo {
    width: 96px;
    max-height: 34px;
  }
}
#mainNav.is-compact .nav-link {
  font-size: 15px;
}
#mainNav.is-compact .nav-cta {
  padding: 0.5rem 1.25rem;
  font-size: 0.875rem;
  /* IAW .is-sticky .login-btn */
  background-color: #ffffff !important;
  color: #ff3b00 !important;
  border-color: #ffffff !important;
}
#mainNav.is-compact .nav-cta:hover,
#mainNav.is-compact .nav-cta:focus {
  background-color: #ff4800 !important;
  color: #ffffff !important;
  border-color: #ff4800 !important;
}
#mainNav.is-compact .iaw-primary-menu {
  gap: 1.15rem;
}
#mainNav.is-compact .iaw-nav-end {
  gap: 1.15rem;
}
@media (min-width: 1024px) {
  #mainNav.is-compact .iaw-nav-end {
    padding-top: 6px;
  }
}
body {
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: #FF850D #333333;
}

/* Brand scrollbar — thin clay thumb on charcoal track */
html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track {
  background: #333333; /* charcoal */
}
html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb {
  background-color: #FF850D; /* clay */
  border-radius: 4px;
}
html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover {
  background-color: #FF4800; /* stoneolive */
}

/* Typography — match live IAW (Lora headings, Montserrat body, Dosis buttons) */
body {
  font-family: "Montserrat", sans-serif !important;
  font-style: normal;
}
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: "Lora", serif;
  font-style: normal;
}

/* —— Inner page hero breadcrumbs (match IAW .page-title-content ul li) —— */
.page-title-content .page-hero-desc p {
  margin: 0;
}

.page-title-content .page-hero-desc p + p {
  margin-top: 0.5rem;
}

.page-title-content ul.breadcrumb-element,
.page-title-content .page-hero-crumbs ul {
  padding-left: 0;
  list-style-type: none;
  font-family: "Dosis", sans-serif;
  margin-top: 10px;
  margin-bottom: 0;
}

.page-title-content ul.breadcrumb-element li,
.page-title-content .page-hero-crumbs ul li {
  display: inline-block;
  color: #ffffff;
  margin-right: 10px;
  margin-left: 10px;
  position: relative;
  font-weight: 600;
  font-size: 16px;
}

.page-title-content ul.breadcrumb-element li:first-child,
.page-title-content .page-hero-crumbs ul li:first-child {
  margin-left: 0;
}

.page-title-content ul.breadcrumb-element li:last-child,
.page-title-content .page-hero-crumbs ul li:last-child {
  margin-right: 0;
}

.page-title-content ul.breadcrumb-element li a,
.page-title-content .page-hero-crumbs ul li a {
  color: #ff4800;
}

.page-title-content ul.breadcrumb-element li a:hover,
.page-title-content .page-hero-crumbs ul li a:hover {
  color: #ff4800;
}

/* Font Awesome chevron-right — same as IAW `\f054` */
.page-title-content ul.breadcrumb-element li::before,
.page-title-content .page-hero-crumbs ul li::before {
  content: "\f054";
  position: absolute;
  right: -15px;
  top: 6px;
  font-weight: 900;
  font-family: "Font Awesome 5 Free";
  font-size: 10px;
  color: #ffffff;
  line-height: 1;
  pointer-events: none;
}

.page-title-content ul.breadcrumb-element li:last-child::before,
.page-title-content .page-hero-crumbs ul li:last-child::before {
  display: none;
}

.page-title-lines .page-title-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}
.page-title-lines .page-title-line:nth-child(1) {
  margin-left: -25%;
}
.page-title-lines .page-title-line:nth-child(3) {
  margin-left: 25%;
}
.page-title-lines .page-title-line::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: -50%;
  width: 100%;
  height: 15vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  animation: page-title-line-run 7s 0s infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}
.page-title-lines .page-title-line:nth-child(1)::after {
  animation-delay: 2s;
}
.page-title-lines .page-title-line:nth-child(3)::after {
  animation-delay: 2.5s;
}
@keyframes page-title-line-run {
  0% { top: -50%; }
  100% { top: 110%; }
}
@media (prefers-reduced-motion: reduce) {
  .page-title-lines .page-title-line::after {
    animation: none;
  }
}

/* Lora can look italic via WONK/soft axes — keep display type upright. */
.font-display {
  font-family: "Lora", serif;
  font-style: normal;
  font-synthesis: none;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
.font-display em,
.font-display .italic,
h1 .text-clay,
h2 .text-clay,
h3 .text-clay {
  font-style: normal !important;
  font-synthesis: none;
  font-variation-settings: "SOFT" 0, "WONK" 0;
}
/* Gap between stacked heading lines when clay accent starts on its own line. */
h1 > br + .text-clay,
h2 > br + .text-clay,
h3 > br + .text-clay {
  display: inline-block;
  margin-top: 0.2em;
}
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.02'/%3E%3C/svg%3E");
}

.hero-grid-bg {
  background-image: linear-gradient(rgba(255, 133, 13,.05) 1px,transparent 1px), linear-gradient(90deg,rgba(255, 133, 13,.05) 1px,transparent 1px);
  background-size: 60px 60px;
}
.hero-glow { background: radial-gradient(circle, rgba(255, 133, 13,.10) 0%, transparent 65%); }

/* Home hero — exact one-viewport height (nav offset inside 100dvh, not added on top) */
.iawf-home-hero {
  --home-hero-overlay: rgba(11, 11, 11, 0.48);
  --home-hero-lead: #ffffff;
  --home-hero-accent: #ffffff;
  --home-hero-lede: #ffffff;
  --home-hero-stat: #ffffff;
  --home-hero-stat-label: rgba(255, 255, 255, 0.72);
  --home-hero-rule: #ff850d;
  --home-hero-divider: rgba(255, 255, 255, 0.28);
  --home-hero-nav: 6rem; /* matches #mainNav h-[91px] / pt-24 */

  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  padding-top: var(--home-hero-nav);
  background: #0b0b0b;
}
.iawf-home-hero__content {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
}
.iawf-home-hero__media {
  position: absolute;
  inset: 0;
}
.iawf-home-hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 2s ease;
  will-change: opacity, transform;
  z-index: 0;
}
.iawf-home-hero__slide.is-active {
  opacity: 1;
  z-index: 1;
}
.iawf-home-hero__slide img {
  display: block;
  width: 100%;
  height: 115%;
  margin-top: -7.5%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  transform-origin: 50% 50%;
  will-change: transform;
}
.iawf-home-hero__slide.is-active img {
  animation-duration: 8s;
  animation-timing-function: ease-in-out;
  animation-fill-mode: forwards;
}
.iawf-home-hero__slide.kb-zoom-in.is-active img { animation-name: iawf-kb-zoom-in; }
.iawf-home-hero__slide.kb-zoom-out.is-active img { animation-name: iawf-kb-zoom-out; }
.iawf-home-hero__slide.kb-pan-left.is-active img { animation-name: iawf-kb-pan-left; }
.iawf-home-hero__slide.kb-pan-right.is-active img { animation-name: iawf-kb-pan-right; }
.iawf-home-hero__slide.kb-pan-up.is-active img { animation-name: iawf-kb-pan-up; }

@keyframes iawf-kb-zoom-in {
  from { transform: scale(1); }
  to { transform: scale(1.18); }
}
@keyframes iawf-kb-zoom-out {
  from { transform: scale(1.18); }
  to { transform: scale(1); }
}
@keyframes iawf-kb-pan-left {
  from { transform: scale(1.14) translateX(3%); }
  to { transform: scale(1.14) translateX(-3%); }
}
@keyframes iawf-kb-pan-right {
  from { transform: scale(1.14) translateX(-3%); }
  to { transform: scale(1.14) translateX(3%); }
}
@keyframes iawf-kb-pan-up {
  from { transform: scale(1.14) translateY(2%); }
  to { transform: scale(1.14) translateY(-2%); }
}

.iawf-home-hero__overlay {
  z-index: 1;
  background:
    linear-gradient(to right, var(--home-hero-overlay) 0%, transparent 72%),
    var(--home-hero-overlay);
}
.iawf-home-hero .hero-title {
  color: var(--home-hero-accent);
}
.iawf-home-hero .hero-lead {
  color: var(--home-hero-lead);
}
.iawf-home-hero .hero-accent {
  color: var(--home-hero-accent);
}
.iawf-home-hero .hero-rule {
  background-color: var(--home-hero-rule);
}
.iawf-home-hero .hero-lede {
  color: var(--home-hero-lede);
  opacity: 0.9;
}
.iawf-home-hero__stats {
  border-color: var(--home-hero-divider);
}
.iawf-home-hero__stats .border-r {
  border-color: var(--home-hero-divider);
}
.iawf-home-hero__stat-num {
  color: var(--home-hero-stat);
}
.iawf-home-hero__stat-label {
  color: var(--home-hero-stat-label);
}

@media (prefers-reduced-motion: reduce) {
  .iawf-home-hero__slide {
    transition: none;
  }
  .iawf-home-hero__slide.is-active img {
    animation: none !important;
  }
}

/* Home hero copy — load intro + micro-interactions */
.hero-title {
  font-size: clamp(3.15rem, 6vw, 5rem);
  line-height: 0.96;
  letter-spacing: -0.035em;
}
.hero-couplet + .hero-couplet {
  margin-top: 0.5em;
}
.hero-lead {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 0.58em;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 0.12em;
  text-transform: none;
  color: #FF850D; /* clay — used on non-slideshow heroes */
}
.hero-accent {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.94;
  color: #333333;
}
.hero-accent-dot {
  color: inherit;
}
.hero-reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  will-change: opacity, transform;
}
.hero-rule {
  transform: scaleX(0);
  transform-origin: left center;
  will-change: transform;
}
.hero-cta .hero-cta-icon {
  transition: transform 400ms ease;
}
.hero-cta:hover .hero-cta-icon {
  transform: translateX(4px);
}

/* Featured project cards — clear CTA + hover motion */
.project-card-cta-icon {
  transition: transform 400ms ease;
}
.project-card:hover .project-card-cta-icon {
  transform: translateX(4px);
}
.hero-stat {
  transition: transform 400ms ease, opacity 400ms ease;
}
.hero-stat:hover {
  transform: translateY(-2px);
}
@keyframes hero-play-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(2.1); opacity: 0; }
  100% { transform: scale(2.1); opacity: 0; }
}
.hero-play-pulse {
  animation: hero-play-pulse 2.4s ease infinite;
}
@media (prefers-reduced-motion: reduce) {
  .hero-reveal,
  .hero-rule {
    opacity: 1;
    transform: none;
  }
  .hero-play-pulse {
    animation: none;
  }
}
.srv-glow { background: radial-gradient(circle, rgba(255, 133, 13,.07) 0%, transparent 60%); }

/* Mission / Vision / Membership — watercolor bg + 3 feature cards (IAW homepage) */
.iawf-mission {
  --iawf-mission-bg: none;
  --iawf-mission-ink: #1f1a17;
  --iawf-mission-muted: rgba(31, 26, 23, 0.78);
  --iawf-mission-accent: #ff4800;
}
.iawf-mission__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #ff850d;
  background-image: var(--iawf-mission-bg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}
/* Soft wash keeps watercolor visible while lifting contrast under copy */
.iawf-mission__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(255, 252, 248, 0.72) 0%,
      rgba(255, 248, 240, 0.38) 32%,
      rgba(255, 133, 13, 0.12) 62%,
      rgba(255, 72, 0, 0.18) 100%
    );
  pointer-events: none;
}
.iawf-mission__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 768px) {
  .iawf-mission__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
  }
}
.iawf-mission__card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 1.5rem 1.5rem 1.65rem;
  color: var(--iawf-mission-ink);
  background: rgba(255, 255, 255, 0.58);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 28px rgba(60, 24, 8, 0.08);
  isolation: isolate;
  overflow: hidden;
  transition:
    color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}
@media (min-width: 768px) {
  .iawf-mission__card {
    padding: 1.5rem 1.85rem 1.85rem;
    background: rgba(255, 255, 255, 0.42);
    box-shadow: none;
    border-radius: 0;
  }
}
/* Accent fill — gradient shade sweeps in from the left */
.iawf-mission__card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background:
    linear-gradient(
      155deg,
      #ff7a2e 0%,
      #ff4800 42%,
      #e03a00 78%,
      #c43200 100%
    );
  z-index: -1;
  transition:
    width 0.65s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.55s ease;
}
@media (min-width: 768px) {
  .iawf-mission__card::before {
    width: 2px;
    background:
      linear-gradient(
        180deg,
        rgba(255, 122, 46, 0.85) 0%,
        rgba(255, 72, 0, 0.55) 100%
      );
  }
}
/* Soft light sheen across the active panel */
.iawf-mission__card::after {
  content: '';
  position: absolute;
  inset: -20% -40%;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      transparent 35%,
      rgba(255, 255, 255, 0.28) 48%,
      rgba(255, 255, 255, 0.06) 54%,
      transparent 65%
    );
  opacity: 0;
  transform: translateX(-35%) rotate(8deg);
  transition: opacity 0.4s ease;
}
.iawf-mission__card > * {
  position: relative;
  z-index: 1;
}
.iawf-mission__card:hover,
.iawf-mission__card.is-active {
  z-index: 3;
  color: #ffffff;
  background: transparent;
  transform: translateY(-6px);
  box-shadow:
    0 22px 48px rgba(255, 72, 0, 0.38),
    0 8px 18px rgba(60, 24, 8, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}
.iawf-mission__card:hover::before,
.iawf-mission__card.is-active::before {
  width: 100%;
  background:
    linear-gradient(
      155deg,
      #ff7a2e 0%,
      #ff4800 42%,
      #e03a00 78%,
      #c43200 100%
    );
  box-shadow:
    inset 0 0 40px rgba(255, 255, 255, 0.12),
    inset 0 -30px 50px rgba(0, 0, 0, 0.12);
}
.iawf-mission__card:hover::after,
.iawf-mission__card.is-active::after {
  opacity: 1;
  animation: iawf-mission-sheen 3.2s ease-in-out infinite;
}
.iawf-mission__card.is-active {
  animation: iawf-mission-glow 3.6s ease-in-out infinite;
}
@keyframes iawf-mission-sheen {
  0%,
  18% {
    transform: translateX(-40%) rotate(8deg);
  }
  55%,
  100% {
    transform: translateX(40%) rotate(8deg);
  }
}
@keyframes iawf-mission-glow {
  0%,
  100% {
    box-shadow:
      0 22px 48px rgba(255, 72, 0, 0.34),
      0 8px 18px rgba(60, 24, 8, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 26px 56px rgba(255, 72, 0, 0.48),
      0 10px 22px rgba(60, 24, 8, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.28);
  }
}
@keyframes iawf-mission-icon-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}
@font-face {
  font-family: 'et-line';
  src: url('../fonts/et-line.woff') format('woff'),
       url('../fonts/et-line.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'simple-line-icons';
  src: url('../fonts/Simple-Line-Icons.woff') format('woff'),
       url('../fonts/Simple-Line-Icons.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.iawf-mission__icon {
  margin-bottom: 0.5rem;
  color: var(--iawf-mission-accent);
  transition: color 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  line-height: 1;
}
.iawf-mission__icon i {
  display: inline-block;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 45px;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.iawf-mission__icon .et-target {
  font-family: 'et-line';
}
.iawf-mission__icon .et-target:before {
  content: '\e04e';
}
.iawf-mission__icon .sl-eye,
.iawf-mission__icon .sl-user-female {
  font-family: 'simple-line-icons';
}
.iawf-mission__icon .sl-eye:before {
  content: '\e087';
}
.iawf-mission__icon .sl-user-female:before {
  content: '\e000';
}
.iawf-mission__card:hover .iawf-mission__icon,
.iawf-mission__card.is-active .iawf-mission__icon {
  color: #ffffff;
}
.iawf-mission__card:hover .iawf-mission__icon i,
.iawf-mission__card.is-active .iawf-mission__icon i {
  animation: iawf-mission-icon-float 2.4s ease-in-out infinite;
}
.iawf-mission__title {
  margin: 0;
  font-family: Lora, Georgia, serif;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.3;
  color: inherit;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.iawf-mission__card:hover .iawf-mission__title,
.iawf-mission__card.is-active .iawf-mission__title {
  transform: translateY(-2px);
}
.iawf-mission__title a {
  color: inherit;
  text-decoration: none;
}
.iawf-mission__title a:hover {
  color: inherit;
}
.iawf-mission__text {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--iawf-mission-muted);
  transition: color 0.45s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.iawf-mission__card:hover .iawf-mission__text,
.iawf-mission__card.is-active .iawf-mission__text {
  color: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}
.iawf-mission__btn.btn {
  margin-top: 1.25rem;
  align-self: flex-start;
  background: var(--iawf-mission-accent) !important;
  color: #ffffff !important;
  border-color: var(--iawf-mission-accent) !important;
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease !important;
}
.iawf-mission__card:hover .iawf-mission__btn.btn,
.iawf-mission__card.is-active .iawf-mission__btn.btn {
  background: #ffffff !important;
  color: var(--iawf-mission-accent) !important;
  border-color: #ffffff !important;
  box-shadow: 0 8px 18px rgba(31, 26, 23, 0.16);
}
.iawf-mission__btn.btn:hover,
.iawf-mission__btn.btn:focus {
  background: #1f1a17 !important;
  color: #ffffff !important;
  border-color: #1f1a17 !important;
  transform: translateY(-2px);
}
.iawf-mission__card:hover .iawf-mission__btn.btn:hover,
.iawf-mission__card:hover .iawf-mission__btn.btn:focus,
.iawf-mission__card.is-active .iawf-mission__btn.btn:hover,
.iawf-mission__card.is-active .iawf-mission__btn.btn:focus {
  background: #1f1a17 !important;
  color: #ffffff !important;
  border-color: #1f1a17 !important;
}
@media (prefers-reduced-motion: reduce) {
  .iawf-mission__card,
  .iawf-mission__card::before,
  .iawf-mission__card::after,
  .iawf-mission__icon,
  .iawf-mission__icon i,
  .iawf-mission__title,
  .iawf-mission__text,
  .iawf-mission__btn.btn {
    animation: none !important;
    transition: none !important;
  }
  .iawf-mission__card:hover,
  .iawf-mission__card.is-active {
    transform: none;
  }
}

/* About / Founder's Welcome — overlapping media + copy (IAW homepage) */
.iawf-about__media {
  position: relative;
  padding-bottom: 4.5rem;
}
.iawf-about__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}
.iawf-about__media img:first-child {
  position: relative;
  z-index: 1;
  width: 72%;
  max-width: 360px;
  box-shadow: 0 12px 36px rgba(31, 26, 23, 0.14);
}
.iawf-about__media img:nth-child(2) {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: 78%;
  max-width: 480px;
  border-radius: 0 10px 0 0;
  filter: grayscale(1);
  box-shadow: 0 14px 40px rgba(31, 26, 23, 0.16);
}
.iawf-about__content {
  position: relative;
  z-index: 1;
}
.iawf-about__title {
  margin: 0 0 0.65rem;
  font-family: Lora, Georgia, serif;
  font-size: clamp(2.125rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.2;
  color: #1f1a17;
}
.iawf-about__tagline {
  margin: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: clamp(1.15rem, 2vw, 1.7rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ff4800;
}
.iawf-about__divider {
  position: relative;
  display: block;
  width: 100%;
  height: 1px;
  margin: 1rem 0 1.35rem;
}
.iawf-about__divider-line {
  display: block;
  width: 100%;
  height: 1px;
  background: #ff4800;
}
.iawf-about__badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  border-radius: 100%;
  background: #ff4800;
  color: #ffffff;
  box-shadow: 0 0 0 6px #f7f4f0;
  line-height: 1;
}
.iawf-about__badge .sl-heart {
  display: inline-block;
  font-family: 'simple-line-icons';
  font-style: normal;
  font-weight: normal;
  font-size: 12px;
  line-height: 1;
  speak: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
.iawf-about__badge .sl-heart:before {
  content: '\e08a';
}
.iawf-about__text {
  margin: 0 0 1.25rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: #4a4a4a;
}
.iawf-about__signature {
  margin: 0 0 1.5rem;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ff4800;
}
.iawf-about__signature a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.iawf-about__signature a:hover,
.iawf-about__signature a:focus {
  color: #ff850d;
}
@media (max-width: 1023px) {
  .iawf-about__media {
    max-width: 520px;
    margin-inline: auto;
    padding-bottom: 3.5rem;
  }
  .iawf-about__media img:first-child {
    width: 68%;
  }
  .iawf-about__media img:nth-child(2) {
    width: 82%;
  }
}

/* About section — IAW-style floating shape decorations */
.iawf-about-shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.iawf-about-shapes__item {
  position: absolute;
  z-index: 0;
  line-height: 0;
}
.iawf-about-shapes__item img {
  display: block;
  max-width: none;
  height: auto;
}
.iawf-about-shapes__2 {
  left: 5%;
  top: 5%;
  animation: iawf-rotate-me 20s linear infinite;
}
.iawf-about-shapes__3 {
  right: 0;
  top: 0;
  opacity: 0.12;
  animation: iawf-rotate-3d 4s linear infinite;
}
.iawf-about-shapes__3 img {
  width: 90px;
}
.iawf-about-shapes__4 {
  right: 40%;
  bottom: 8%;
  animation: iawf-frames-one 20s linear infinite;
}
.iawf-about-shapes__5 {
  right: 5%;
  top: 50%;
  opacity: 0.7;
  animation: iawf-rotate-me 20s linear infinite;
}
.iawf-about-shapes__6 {
  left: 2%;
  bottom: 0;
  opacity: 0.4;
  animation: iawf-move-left-bounce 5s linear infinite;
}
.iawf-about-shapes__6 img {
  width: 110px;
}
.iawf-about-shapes__dot1 {
  top: 5%;
  left: 50%;
  opacity: 0.5;
  animation: iawf-frames-two 40s linear infinite;
}
.iawf-about-shapes__dot2 {
  left: 5%;
  top: 45%;
  opacity: 0.5;
  animation: iawf-frames-two 30s linear infinite;
}

@keyframes iawf-rotate-me {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
@keyframes iawf-rotate-3d {
  0% { transform: rotateY(0deg); }
  100% { transform: rotateY(360deg); }
}
@keyframes iawf-move-left-bounce {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(20px); }
}
@keyframes iawf-frames-one {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(-73px, 1px) rotate(-36deg); }
  40% { transform: translate(-141px, -72px) rotate(-72deg); }
  60% { transform: translate(-83px, -122px) rotate(-108deg); }
  80% { transform: translate(40px, -72px) rotate(-144deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}
@keyframes iawf-frames-two {
  0% { transform: translate(0, 0) rotate(0deg); }
  20% { transform: translate(73px, -1px) rotate(36deg); }
  40% { transform: translate(141px, 72px) rotate(72deg); }
  60% { transform: translate(83px, 122px) rotate(108deg); }
  80% { transform: translate(-40px, 72px) rotate(144deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@media (max-width: 767px) {
  .iawf-about-shapes__3,
  .iawf-about-shapes__4,
  .iawf-about-shapes__dot1 {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .iawf-about-shapes__item {
    animation: none !important;
  }
}

@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.ticker-track { animation: ticker 32s linear infinite; }

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: .6; }
  70% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}
.pulse-ring::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 133, 13,.35);
  animation: pulse-ring 2.4s ease infinite;
}
.pulse-ring::after {
  content: '';
  position: absolute;
  inset: -22px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 133, 13,.15);
  animation: pulse-ring 2.4s ease .6s infinite;
}

#vModal { display: none; }
#vModal.open { display: flex; }

#vModal #vLabel,
#vModal .iawf-vmodal-label {
	display: inline-block;
	width: auto;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding: 0.45rem 0.9rem;
	font-size: 13px !important;
	letter-spacing: 0.14em !important;
	line-height: 1.45 !important;
	color: #1a1a1a !important;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(255, 133, 13, 0.35);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
	opacity: 1 !important;
}

#vModal > .w-\[90vw\] {
	display: flex;
	flex-direction: column;
	align-items: center;
}

@media (min-width: 640px) {
	#vModal #vLabel,
	#vModal .iawf-vmodal-label {
		font-size: 14px !important;
		letter-spacing: 0.16em !important;
		padding: 0.5rem 1.1rem;
	}
}

#vModal .iawf-vmodal-hint {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.4rem 0.85rem;
	font-size: 13px !important;
	letter-spacing: 0.03em;
	line-height: 1.45;
	color: #1a1a1a !important;
	background: rgba(255, 255, 255, 0.92);
	border: 1px solid rgba(0, 0, 0, 0.08);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16);
}

#vModal .iawf-vmodal-hint__desktop {
	display: none;
}

#vModal .iawf-vmodal-hint__mobile {
	display: inline;
}

@media (min-width: 768px) {
	#vModal .iawf-vmodal-hint__desktop {
		display: inline;
	}

	#vModal .iawf-vmodal-hint__mobile {
		display: none;
	}
}

/* Core Gallery photo grid (page content) — tiles open the shared #imgModal. */
.wp-block-gallery.has-nested-images.iawf-photo-grid {
  --wp--style--unstable-gallery-gap: 12px;
  gap: 12px;
}
.wp-block-gallery.iawf-photo-grid .photo-tile {
  overflow: hidden;
  border-radius: 6px;
  cursor: zoom-in;
  box-shadow: 0 6px 18px rgba(42, 36, 32, 0.08);
}
.wp-block-gallery.iawf-photo-grid .photo-tile img {
  transition: transform 450ms ease, filter 450ms ease;
}
.wp-block-gallery.iawf-photo-grid .photo-tile:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}
@media (prefers-reduced-motion: reduce) {
  .wp-block-gallery.iawf-photo-grid .photo-tile img {
    transition: none;
  }
  .wp-block-gallery.iawf-photo-grid .photo-tile:hover img {
    transform: none;
  }
}

#imgModal {
  display: none;
  opacity: 0;
}
#imgModal.open {
  display: flex;
  opacity: 1;
  animation: imgModalIn 220ms ease;
}
@keyframes imgModalIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  #imgModal.open {
    animation: none;
  }
}

#imgModalImg {
  margin-inline: 2.75rem;
  max-width: min(92vw, calc(100vw - 5.5rem));
}
@media (min-width: 640px) {
  #imgModalImg {
    margin-inline: 3.5rem;
    max-width: min(92vw, calc(100vw - 7rem));
  }
}
@media (min-width: 1024px) {
  #imgModalImg {
    margin-inline: 4.5rem;
    max-width: min(92vw, calc(100vw - 9rem));
  }
}

/* Image lightbox — close + thin chevron nav */
.img-modal-close {
  position: absolute;
  top: max(1.25rem, env(safe-area-inset-top, 0px));
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(246, 244, 240, 0.45); /* porcelain */
  border-radius: 2px;
  background: rgba(26, 26, 26, 0.55);
  color: #FFFFFF; /* porcelain */
  cursor: pointer;
  transition: color 400ms ease, border-color 400ms ease, background-color 400ms ease;
}
.img-modal-close:hover,
.img-modal-close:focus-visible {
  color: #FF850D; /* clay */
  border-color: rgba(255, 133, 13, 0.7);
  background: rgba(255, 133, 13, 0.12);
  outline: none;
}

.img-modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 5.5rem;
  padding: 0;
  border: none;
  background: transparent;
  color: rgba(246, 244, 240, 0.55);
  cursor: pointer;
  transition: color 400ms ease, opacity 400ms ease;
}
.img-modal-nav--prev {
  left: max(0.35rem, env(safe-area-inset-left, 0px));
}
.img-modal-nav--next {
  right: max(0.35rem, env(safe-area-inset-right, 0px));
}
.img-modal-nav:hover,
.img-modal-nav:focus-visible {
  color: #FF850D; /* clay */
  outline: none;
}
.img-modal-nav[hidden] {
  display: none;
}
@media (min-width: 640px) {
  .img-modal-close {
    top: 1.5rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
  }
  .img-modal-nav {
    width: 3.5rem;
    height: 6.5rem;
  }
  .img-modal-nav--prev {
    left: max(0.75rem, env(safe-area-inset-left, 0px));
  }
  .img-modal-nav--next {
    right: max(0.75rem, env(safe-area-inset-right, 0px));
  }
  .img-modal-nav svg {
    width: 32px;
    height: 64px;
  }
}
@media (min-width: 1024px) {
  .img-modal-nav--prev {
    left: max(1.5rem, env(safe-area-inset-left, 0px));
  }
  .img-modal-nav--next {
    right: max(1.5rem, env(safe-area-inset-right, 0px));
  }
}

/* —— Mobile bottom quick nav (app-style) —— */
.iaw-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 55;
  padding: 0 0 env(safe-area-inset-bottom, 0px);
  pointer-events: none;
}
.iaw-bottom-nav__bar {
  pointer-events: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 0.15rem;
  min-height: 4.25rem;
  padding: 0.35rem 0.4rem 0.45rem;
  background: linear-gradient(180deg, #ff9a2e 0%, #ff850d 45%, #ff4800 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 -8px 28px rgba(255, 72, 0, 0.28);
}
.iaw-bottom-nav__item {
  position: relative;
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  min-width: 0;
  min-height: 3.6rem;
  padding: 0.2rem 0.1rem 0.15rem;
  margin: 0;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.92);
  text-align: center;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.iaw-bottom-nav__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 2.65rem;
  width: 2.65rem;
  height: 2.65rem;
  margin: 0 auto;
  border-radius: 999px;
  color: #fff;
  background: transparent;
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 200ms ease,
    color 200ms ease,
    box-shadow 240ms ease;
}
.iaw-bottom-nav__icon svg {
  display: block;
  margin: 0 auto;
}
.iaw-bottom-nav__label {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  font-size: 0.68rem;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 200ms ease, opacity 200ms ease;
}
.iaw-bottom-nav__item.is-active {
  color: #fff;
}
.iaw-bottom-nav__item.is-active .iaw-bottom-nav__icon {
  transform: translateY(-1.05rem);
  background: #fff;
  color: #ff4800;
  box-shadow:
    0 0 0 0.35rem #ff850d,
    0 10px 22px rgba(26, 26, 26, 0.22);
}
.iaw-bottom-nav__item.is-active .iaw-bottom-nav__label {
  font-weight: 700;
}
.iaw-bottom-nav__item:hover .iaw-bottom-nav__icon,
.iaw-bottom-nav__item:focus-visible .iaw-bottom-nav__icon {
  background: rgba(255, 255, 255, 0.16);
  outline: none;
}
.iaw-bottom-nav__item.is-active:hover .iaw-bottom-nav__icon,
.iaw-bottom-nav__item.is-active:focus-visible .iaw-bottom-nav__icon {
  background: #fff;
  color: #ff4800;
}
body.iaw-nav-open .iaw-bottom-nav {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
@media (max-width: 1023px) {
  body {
    padding-bottom: calc(4.75rem + env(safe-area-inset-bottom, 0px));
  }
  /* Menu lives in the top mobile header; Sign in is in the bottom bar */
  #mainNav .nav-toggle {
    display: inline-flex;
  }
}
@media (prefers-reduced-motion: reduce) {
  .iaw-bottom-nav__icon {
    transition: none;
  }
}

/* Back to top — circular brand control (matches pill CTAs / scroll cue) */
.back-to-top {
  position: fixed;
  right: max(1.25rem, env(safe-area-inset-right, 0px));
  bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 1px solid #ff4800; /* flame */
  border-radius: 999px;
  background-color: #ff4800; /* flame — same as .btn */
  color: #ffffff;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0, 10px, 0);
  box-shadow: 0 10px 28px rgba(255, 72, 0, 0.28);
  transition:
    opacity 350ms ease,
    transform 350ms ease,
    visibility 350ms ease,
    background-color 0.5s ease,
    border-color 0.5s ease,
    color 0.5s ease,
    box-shadow 0.5s ease;
}
.back-to-top svg {
  width: 1.125rem;
  height: 1.125rem;
  display: block;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate3d(0, 0, 0);
}
.back-to-top:hover {
  background-color: #ff850d; /* clay — same as .btn:hover */
  border-color: #ff850d;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(255, 133, 13, 0.35);
  transform: translate3d(0, -3px, 0);
}
.back-to-top:focus-visible {
  outline: 2px solid #ff850d;
  outline-offset: 3px;
}
.back-to-top.is-visible:focus-visible {
  transform: translate3d(0, 0, 0);
}
.back-to-top.is-visible:hover:focus-visible {
  transform: translate3d(0, -3px, 0);
}
@media (min-width: 768px) {
  .back-to-top {
    right: max(1.75rem, env(safe-area-inset-right, 0px));
    width: 3.25rem;
    height: 3.25rem;
  }
}
/* Sit above the mobile bottom nav bar */
@media (max-width: 1023px) {
  .back-to-top {
    right: max(1rem, env(safe-area-inset-right, 0px));
    bottom: calc(4.75rem + 0.75rem + env(safe-area-inset-bottom, 0px));
    z-index: 56;
  }
}
@media (min-width: 1024px) {
  .back-to-top {
    bottom: max(1.75rem, env(safe-area-inset-bottom, 0px));
  }
}
@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition:
      opacity 200ms ease,
      visibility 200ms ease,
      background-color 200ms ease,
      border-color 200ms ease,
      box-shadow 200ms ease;
    transform: none;
  }
  .back-to-top.is-visible,
  .back-to-top:hover,
  .back-to-top.is-visible:focus-visible,
  .back-to-top.is-visible:hover:focus-visible {
    transform: none;
  }
}

/*
 * WPBot + Back to top layout (theme CSS only — never edit plugin files):
 *
 *   [ notification bubble ]  [ ↑ back-to-top ]
 *                            [ ● chat ball   ]
 *
 * Match chat ball size (60px) and right inset (plugin position_x = 20px).
 */
body.iawf-has-wpbot .back-to-top {
  right: 20px;
  bottom: calc(20px + 60px + 12px);
  width: 60px;
  height: 60px;
  margin: 0;
  z-index: 100050;
}
/*
 * Open state is primarily #wp-chatbot-board-container.active-chat-board
 * (ball click). wp-chatbot-is-expanded / body.wp-chatbot-expanded-active
 * are only the desktop enlarge toggle — do not treat those as “open”.
 * Keep Back to top under the panel — and hide it while open so it cannot
 * paint over the chatbot footer.
 */
body.iawf-has-wpbot:has(#wp-chatbot-board-container.active-chat-board) #wp-chatbot-chat-container,
body.iawf-has-wpbot:has(#wp-chatbot-board-container.active-chat-board) #wp-chatbot-ball-container,
body.iawf-has-wpbot #wp-chatbot-ball-container[aria-expanded="true"] {
  z-index: 100060 !important;
}
body.iawf-has-wpbot:has(#wp-chatbot-board-container.active-chat-board) .back-to-top,
body.iawf-has-wpbot:has(#wp-chatbot-ball-container[aria-expanded="true"]) .back-to-top {
  z-index: 99950 !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
@media (min-width: 768px) {
  body.iawf-has-wpbot .back-to-top {
    right: 20px;
    bottom: calc(20px + 60px + 12px);
    width: 60px;
    height: 60px;
  }
}
@media (max-width: 1023px) {
  body.iawf-has-wpbot .back-to-top {
    right: 12px;
    /* Above chat ball, which itself sits above mobile bottom nav */
    bottom: calc(4.75rem + 0.75rem + 60px + 12px + env(safe-area-inset-bottom, 0px));
    width: 60px;
    height: 60px;
  }
}

/*
 * Floating ball: pin bottom-right when CLOSED only.
 * Open = #wp-chatbot-board-container.active-chat-board (not wp-chatbot-is-expanded).
 * Collapsing ball-container while open clips the panel to 0×0.
 */
body.iawf-has-wpbot #wp-chatbot-chat-container:not(:has(#wp-chatbot-board-container.active-chat-board)) {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  left: auto !important;
  top: auto !important;
  width: 60px !important;
  height: 60px !important;
  z-index: 100055 !important;
  overflow: visible !important;
}
body.iawf-has-wpbot #wp-chatbot-chat-container:has(#wp-chatbot-board-container.active-chat-board) {
  position: fixed !important;
  right: 20px !important;
  bottom: 20px !important;
  left: auto !important;
  top: auto !important;
  width: auto !important;
  height: auto !important;
  max-width: none !important;
  max-height: none !important;
  z-index: 100060 !important;
  overflow: visible !important;
}
/* Phones: plugin opens the panel full-screen (100vh) — a 20px inset pushes its header off-screen */
@media (max-width: 480px) {
  body.iawf-has-wpbot #wp-chatbot-chat-container:has(#wp-chatbot-board-container.active-chat-board) {
    top: auto !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100% !important;
  }
}
/* Closed: ball is a sibling of ball-container — pin it; collapse empty board shell */
body.iawf-has-wpbot #wp-chatbot-chat-container:not(:has(#wp-chatbot-board-container.active-chat-board)) #wp-chatbot-ball-container {
  position: absolute !important;
  width: 0 !important;
  height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}
/* Open: release the board shell so active-chat-board can paint */
body.iawf-has-wpbot #wp-chatbot-chat-container:has(#wp-chatbot-board-container.active-chat-board) #wp-chatbot-ball-container {
  position: relative !important;
  width: auto !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
  pointer-events: auto !important;
}
body.iawf-has-wpbot #wp-chatbot-chat-container:not(:has(#wp-chatbot-board-container.active-chat-board)) #wp-chatbot-ball,
body.iawf-has-wpbot #wp-chatbot-chat-container:not(:has(#wp-chatbot-board-container.active-chat-board)) button.wp-chatbot-ball {
  position: absolute !important;
  right: 0 !important;
  bottom: 0 !important;
  left: auto !important;
  top: auto !important;
  width: 60px !important;
  height: 60px !important;
  min-height: 60px !important;
  margin: 0 !important;
}
/* Mobile: lift the closed ball above the bottom quick nav (incl. raised active chip) */
@media (max-width: 1023px) {
  body.iawf-has-wpbot #wp-chatbot-chat-container:not(:has(#wp-chatbot-board-container.active-chat-board)) {
    right: 12px !important;
    bottom: calc(4.75rem + 0.75rem + env(safe-area-inset-bottom, 0px)) !important;
  }
}
/* Floating ball: porcelain face + flame ring so it reads on orange pages */
body.iawf-has-wpbot #wp-chatbot-ball.wp-chatbot-ball,
body.iawf-has-wpbot button.wp-chatbot-ball {
  overflow: hidden !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 2px solid #ff4800 !important;
  box-shadow:
    0 8px 24px rgba(51, 51, 51, 0.18),
    0 0 0 1px rgba(255, 255, 255, 0.9) !important;
}
body.iawf-has-wpbot #wp-chatbot-ball img,
body.iawf-has-wpbot button.wp-chatbot-ball img {
  width: 92% !important;
  height: 92% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
}

/* Clicks pass through empty container chrome to Back to top */
body.iawf-has-wpbot #wp-chatbot-chat-container {
  pointer-events: none !important;
}
body.iawf-has-wpbot #wp-chatbot-chat-container > *,
body.iawf-has-wpbot #wp-chatbot-chat-container button,
body.iawf-has-wpbot #wp-chatbot-chat-container a,
body.iawf-has-wpbot #wp-chatbot-chat-container input,
body.iawf-has-wpbot #wp-chatbot-chat-container textarea,
body.iawf-has-wpbot #wp-chatbot-chat-container .wp-chatbot-notification-close {
  pointer-events: auto !important;
}

/*
 * Notification: porcelain card (site cards) + clay accents — not dark glass.
 * Sits beside the chat ball at bottom-right.
 */
body.iawf-has-wpbot #wp-chatbot-notification-container,
body.iawf-has-wpbot #wp-chatbot-notification-container::before,
body.iawf-has-wpbot #wp-chatbot-notification-container::after {
  background-image: none !important;
}
body.iawf-has-wpbot #wp-chatbot-notification-container {
  position: fixed !important;
  left: auto !important;
  top: auto !important;
  /* Leave room for the 60px ball column (right: 20px) */
  right: calc(20px + 60px + 12px) !important;
  bottom: 20px !important;
  max-width: min(240px, calc(100vw - 7.5rem)) !important;
  width: min(240px, calc(100vw - 7.5rem)) !important;
  z-index: 100045 !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 0.45rem !important;
  padding: 0.75rem 0.85rem 0.75rem !important;
  margin: 0 !important;
  background: #ffffff !important;
  border: 1px solid rgba(255, 72, 0, 0.28) !important;
  border-radius: 12px !important;
  box-shadow: 0 10px 28px rgba(51, 51, 51, 0.16) !important;
  color: #333333 !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  transform: none !important;
}
/* Plugin hides via .wp-chatbot-notification-container-disable { display:none }.
 * Our display:flex !important must not override that. */
body.iawf-has-wpbot #wp-chatbot-notification-container.wp-chatbot-notification-container-disable {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
@media (min-width: 768px) {
  body.iawf-has-wpbot #wp-chatbot-notification-container {
    right: calc(20px + 60px + 12px) !important;
    bottom: 20px !important;
  }
}
/* Mobile: welcome bubble covers page content and the bottom nav — ball only */
@media (max-width: 1023px) {
  body.iawf-has-wpbot #wp-chatbot-notification-container {
    display: none !important;
  }
}
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-agent-profile {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  width: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding-right: 1.85rem !important;
  pointer-events: none !important;
}
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-widget-avatar {
  width: 2rem !important;
  height: 2rem !important;
  min-width: 2rem !important;
  border-radius: 999px !important;
  overflow: hidden !important;
  background: #f6f4f0 !important;
  border: 1.5px solid #ff850d !important;
  box-shadow: none !important;
  flex-shrink: 0 !important;
}
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-widget-avatar img {
  width: 82% !important;
  height: 82% !important;
  object-fit: contain !important;
  margin: 9% auto !important;
  display: block !important;
}
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-welcome {
  background: #ff850d !important;
  color: #ffffff !important;
  border-radius: 6px !important;
  padding: 0.28rem 0.5rem !important;
  font-size: 0.6875rem !important;
  font-weight: 600 !important;
  line-height: 1.25 !important;
  max-width: none;
  flex: 1 1 auto;
  text-transform: none !important;
}
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-welcome strong {
  color: #ffffff !important;
}
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-message {
  font-size: 0.8125rem !important;
  line-height: 1.4 !important;
  word-break: break-word;
  color: #333333 !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  background-image: none !important;
}
/* Close (X): always top-right inside the card */
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-controller {
  position: absolute !important;
  inset: 0 !important;
  width: auto !important;
  height: auto !important;
  pointer-events: none !important;
  background: transparent !important;
}
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-close {
  position: absolute !important;
  top: 0.45rem !important;
  right: 0.45rem !important;
  left: auto !important;
  bottom: auto !important;
  z-index: 3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 1.625rem !important;
  height: 1.625rem !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: #f6f4f0 !important;
  color: #333333 !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  pointer-events: auto !important;
  box-shadow: none !important;
  text-indent: 0 !important;
  opacity: 1 !important;
  visibility: visible !important;
}
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-close:hover,
body.iawf-has-wpbot #wp-chatbot-notification-container .wp-chatbot-notification-close:focus-visible {
  background: #ff4800 !important;
  color: #ffffff !important;
  outline: none !important;
}

/*
 * Open chat panel — kill template-01 blue; IAWF clay / flame / charcoal.
 * Theme CSS only (do not edit plugin files).
 */
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-header {
  background: #ff850d !important;
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-header,
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-header a,
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-header i,
body.iawf-has-wpbot #wp-chatbot-desktop-close,
body.iawf-has-wpbot #wp-chatbot-desktop-reload,
body.iawf-has-wpbot #wp-chatbot-desktop-expand,
body.iawf-has-wpbot #wp-chatbot-email-transcript {
  color: #ffffff !important;
}
body.iawf-has-wpbot #wp-chatbot-desktop-close,
body.iawf-has-wpbot #wp-chatbot-desktop-reload,
body.iawf-has-wpbot #wp-chatbot-desktop-expand,
body.iawf-has-wpbot #wp-chatbot-email-transcript {
  opacity: 0.95;
}
body.iawf-has-wpbot #wp-chatbot-desktop-close:hover,
body.iawf-has-wpbot #wp-chatbot-desktop-reload:hover,
body.iawf-has-wpbot #wp-chatbot-desktop-expand:hover,
body.iawf-has-wpbot #wp-chatbot-email-transcript:hover {
  opacity: 1;
  color: #ffffff !important;
}

/* Menu chips / FAQ links — no blue */
body.iawf-has-wpbot .wp-chatbot-template-01 li.wp-chatbot-msg.wp-chatbot-msg-flat span,
body.iawf-has-wpbot .qcchatbot-template-01 li.wp-chatbot-msg.wp-chatbot-msg-flat span,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-wildcard,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-buttonlink,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-support-items,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-suggest-email,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-suggest-phone,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-reset-btn,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-site-search,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chat-common,
body.iawf-has-wpbot #wp-chatbot-messages-container .qcld_back_to_start {
  color: #ff4800 !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1.5px solid #ff4800 !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
}
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-wildcard:hover,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-buttonlink:hover,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-support-items:hover,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-suggest-email:hover,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-suggest-phone:hover,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-reset-btn:hover,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chatbot-site-search:hover,
body.iawf-has-wpbot #wp-chatbot-messages-container span.qcld-chat-common:hover,
body.iawf-has-wpbot #wp-chatbot-messages-container .qcld_back_to_start:hover,
body.iawf-has-wpbot .wp-chatbot-template-01 li.wp-chatbot-msg.wp-chatbot-msg-flat span:hover {
  color: #ffffff !important;
  background: #ff850d !important;
  border-color: #ff850d !important;
}

/* User bubbles: flame + white text (kill template #06f + dark text) */
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chat-user-msg > .wp-chatbot-paragraph,
body.iawf-has-wpbot ul.wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph {
  background: #ff4800 !important;
  background-color: #ff4800 !important;
  color: #ffffff !important;
  border: none !important;
  border-radius: 14px 14px 4px 14px !important;
  box-shadow: 0 1px 2px rgba(255, 72, 0, 0.22) !important;
  padding: 10px 14px !important;
}
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph,
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chat-user-msg .wp-chatbot-paragraph * {
  color: #ffffff !important;
}

/*
 * Bot replies: one porcelain bubble — no orange box-in-a-box.
 * .chat-container is the bubble; inner .wp-chatbot-paragraph is transparent.
 */
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .chat-container {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 14px 14px 14px 4px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
  padding: 12px 14px !important;
  color: #1a1a1f !important;
}
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .chat-container > .wp-chatbot-paragraph,
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .chat-container .wp-chatbot-paragraph {
  background: transparent !important;
  background-color: transparent !important;
  color: #1a1a1f !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: block !important;
  line-height: 1.45 !important;
}
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .chat-container .wp-chatbot-paragraph p,
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .chat-container .wp-chatbot-paragraph *:not(a) {
  color: #1a1a1f !important;
  margin: 0 !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}
/* Bot messages that use a bare paragraph (e.g. “joined”) */
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .wp-chatbot-paragraph {
  background: #ffffff !important;
  background-color: #ffffff !important;
  color: #1a1a1f !important;
  border: 1px solid #e8e8ed !important;
  border-radius: 14px 14px 14px 4px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06) !important;
  padding: 10px 14px !important;
}
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .wp-chatbot-paragraph,
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .wp-chatbot-paragraph * {
  color: #1a1a1f !important;
}
/* Links in bot replies stay flame (readable on white) */
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .chat-container .wp-chatbot-paragraph a,
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .chat-container a,
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg > .wp-chatbot-paragraph a,
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg a {
  color: #ff4800 !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
  word-break: break-word;
  overflow-wrap: anywhere;
}
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chatbot-msg a:hover {
  color: #ff850d !important;
}
/* User bubble links stay white on flame */
body.iawf-has-wpbot #wp-chatbot-messages-container > li.wp-chat-user-msg a {
  color: #ffffff !important;
  text-decoration: underline !important;
}

/* Links inside chat panel (fallback; user bubbles overridden above) */
body.iawf-has-wpbot #wp-chatbot-chat-container a {
  color: #ff4800 !important;
}
body.iawf-has-wpbot #wp-chatbot-chat-container a:hover {
  color: #ff850d !important;
}

/* Footer bar + tab icons: match Donate Now (#ff4800), kill template-01 #0066ff on li */
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-footer {
  background: #ff850d !important;
  padding: 0 0 4px !important;
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav {
  background: #ff850d !important;
  padding: 6px 8px !important;
  min-height: 0 !important;
  height: auto !important;
  box-sizing: border-box !important;
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul {
  margin: 0 !important;
  padding: 0 !important;
  min-height: 0 !important;
  align-items: center !important;
}
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-footer .wp-chatbot-editor-container,
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-footer .wp-chatbot-editor-container {
  margin: 8px 14px 4px !important;
}
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li,
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li,
body.iawf-has-wpbot #wp-chatbot-ball-container .wp-chatbot-tab-nav ul li {
  background: #ff4800 !important;
  background-color: #ff4800 !important;
  border-radius: 50% !important;
}
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li:hover,
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li.wp-chatbot-operation-active,
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li:hover,
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li.wp-chatbot-operation-active {
  background: #e03f00 !important;
  background-color: #e03f00 !important;
}
/* Drop blue sprite; draw white FA icons on flame circles */
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li a.wp-chatbot-operation-option,
body.iawf-has-wpbot #wp-chatbot-ball-container .wp-chatbot-tab-nav ul li a.wp-chatbot-operation-option,
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li a {
  background-image: none !important;
  background-color: transparent !important;
  filter: none !important;
  -webkit-filter: none !important;
  opacity: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #ffffff !important;
  font-size: 0 !important;
  text-decoration: none !important;
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li a.wp-chatbot-operation-option::after,
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li a::after {
  font-family: FontAwesome !important;
  font-weight: normal !important;
  font-style: normal !important;
  font-size: 14px !important;
  line-height: 1 !important;
  color: #ffffff !important;
  speak: never;
  display: block;
  -webkit-font-smoothing: antialiased;
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li a[data-option="help"]::after,
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li a[data-option="help"]::after {
  content: "\f129" !important; /* info */
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li a[data-option="support"]::after,
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li a[data-option="support"]::after {
  content: "\f10c" !important; /* circle-o */
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li a[data-option="chat"]::after,
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li a[data-option="chat"]::after {
  content: "\f0c9" !important; /* bars */
  font-size: 16px !important;
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li a[data-option="live-chat"]::after,
body.iawf-has-wpbot .wp-chatbot-template-01 .wp-chatbot-tab-nav ul li a[data-option="live-chat"]::after {
  content: "\f086" !important; /* comments */
}
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li a[data-option="chat"]:after,
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li.wp-chatbot-operation-active a:before,
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li:hover a:before {
  border-color: #ffffff !important;
}
/* Keep white ring on active chat; don't let plugin chat:after wipe our icon */
body.iawf-has-wpbot #wp-chatbot-board-container .wp-chatbot-tab-nav ul li a[data-option="chat"]::after {
  /* icon content set above; plugin used empty content for ring — ring stays on :before */
  position: static !important;
  border: none !important;
  left: auto !important;
  right: auto !important;
  top: auto !important;
  bottom: auto !important;
}

/* Send button: Donate Now flame (beat template-01 #f4f5f7 / #06f) */
body.iawf-has-wpbot #wp-chatbot-ball-container.wp-chatbot-template-01 .wp-chatbot-editor-container #wp-chatbot-send-message,
body.iawf-has-wpbot .qcchatbot-template-01 .wp-chatbot-editor-container #wp-chatbot-send-message,
body.iawf-has-wpbot #wp-chatbot-ball-container .wp-chatbot-editor-container #wp-chatbot-send-message,
body.iawf-has-wpbot #wp-chatbot-board-container button#wp-chatbot-send-message,
body.iawf-has-wpbot #wp-chatbot-board-container #wp-chatbot-submit {
  background: #ff4800 !important;
  background-color: #ff4800 !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
}
body.iawf-has-wpbot #wp-chatbot-ball-container.wp-chatbot-template-01 .wp-chatbot-editor-container #wp-chatbot-send-message.wp-chatbot-send-has-text,
body.iawf-has-wpbot .qcchatbot-template-01 .wp-chatbot-editor-container #wp-chatbot-send-message.wp-chatbot-send-has-text,
body.iawf-has-wpbot #wp-chatbot-ball-container .wp-chatbot-editor-container #wp-chatbot-send-message.wp-chatbot-send-has-text {
  background: #ff4800 !important;
  background-color: #ff4800 !important;
  box-shadow: 0 1px 3px rgba(255, 72, 0, 0.35) !important;
}
body.iawf-has-wpbot #wp-chatbot-ball-container.wp-chatbot-template-01 .wp-chatbot-editor-container #wp-chatbot-send-message:hover,
body.iawf-has-wpbot #wp-chatbot-ball-container .wp-chatbot-editor-container #wp-chatbot-send-message.wp-chatbot-send-has-text:hover,
body.iawf-has-wpbot .qcchatbot-template-01 .wp-chatbot-editor-container #wp-chatbot-send-message.wp-chatbot-send-has-text:hover {
  background: #ff850d !important;
  background-color: #ff850d !important;
}
body.iawf-has-wpbot #wp-chatbot-ball-container.wp-chatbot-template-01 .wp-chatbot-editor-container #wp-chatbot-send-message i,
body.iawf-has-wpbot #wp-chatbot-ball-container .wp-chatbot-editor-container #wp-chatbot-send-message i,
body.iawf-has-wpbot #wp-chatbot-board-container button#wp-chatbot-send-message i,
body.iawf-has-wpbot #wp-chatbot-board-container #wp-chatbot-submit i {
  color: #ffffff !important;
}

/* Agent avatar circle stays white with flame ring */
body.iawf-has-wpbot #wp-chatbot-messages-container .wp-chatbot-comment-author img,
body.iawf-has-wpbot #wp-chatbot-messages-container .wp-chatbot-agents img {
  border: 2px solid #ff850d !important;
  background: #ffffff !important;
}


/* Feature video card — play-focused hover (clay / porcelain / softblack) */
.video-card--autoplay .video-card__dim {
  background-color: rgba(0, 0, 0, 0);
  transition: background-color 400ms ease;
}
.video-card--autoplay:hover .video-card__dim,
.video-card--autoplay:focus-visible .video-card__dim {
  background-color: rgba(0, 0, 0, 0.32);
}
.video-card--autoplay .video-card__play {
  z-index: 2;
}
.video-card--autoplay .video-card__play-ring {
  position: absolute;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(246, 244, 240, 0.4); /* porcelain */
  opacity: 0;
  transform: scale(1);
  pointer-events: none;
}
.video-card--autoplay .video-card__play-disc {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(246, 244, 240, 0.4);
  background-color: rgba(26, 26, 26, 0.55); /* softblack */
  color: #FFFFFF; /* porcelain */
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 0 0 0 rgba(255, 133, 13, 0);
  transform: scale(1);
  transition:
    transform 400ms ease,
    background-color 400ms ease,
    border-color 400ms ease,
    color 400ms ease,
    box-shadow 400ms ease;
  animation: videoPlayIdle 3.4s ease-in-out infinite;
}
.video-card--autoplay .video-card__play-disc svg {
  transform: translateX(1px); /* optical center for triangle */
  transition: opacity 400ms ease;
  opacity: 0.92;
}
.video-card--autoplay:hover .video-card__play-disc,
.video-card--autoplay:focus-visible .video-card__play-disc {
  transform: scale(1.08);
  background-color: #FF850D; /* clay */
  border-color: #FF850D;
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  animation: none;
}
.video-card--autoplay:hover .video-card__play-disc svg,
.video-card--autoplay:focus-visible .video-card__play-disc svg {
  opacity: 1;
}
.video-card--autoplay:hover .video-card__play-ring,
.video-card--autoplay:focus-visible .video-card__play-ring {
  animation: videoPlayRing 720ms ease-out forwards;
}
@keyframes videoPlayIdle {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(255, 133, 13, 0);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 0 7px rgba(255, 133, 13, 0.14);
  }
}
@keyframes videoPlayRing {
  0% {
    opacity: 0.5;
    transform: scale(1);
    border-color: rgba(255, 133, 13, 0.55); /* clay */
  }
  100% {
    opacity: 0;
    transform: scale(1.55);
    border-color: rgba(255, 133, 13, 0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .video-card--autoplay .video-card__dim {
    transition: background-color 180ms ease;
  }
  .video-card--autoplay .video-card__play-disc {
    animation: none;
    transition:
      background-color 180ms ease,
      border-color 180ms ease,
      color 180ms ease;
  }
  .video-card--autoplay:hover .video-card__play-disc,
  .video-card--autoplay:focus-visible .video-card__play-disc {
    transform: none;
    animation: none;
  }
  .video-card--autoplay:hover .video-card__play-ring,
  .video-card--autoplay:focus-visible .video-card__play-ring {
    animation: none;
    opacity: 0.45;
    transform: scale(1.12);
    border-color: rgba(255, 133, 13, 0.5);
  }
}

.mosaic {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 320px 190px 140px 140px;
  grid-template-areas:
    "text text text text text hero hero hero hero hero hero hero"
    "a a a a b b b c c c c c"
    "d d d d d d d e e f f f"
    "d d d d d d d e e g g g";
}
.mosaic > .m-text { grid-area: text; }
.mosaic > .m-hero { grid-area: hero; }
.mosaic > .m-a { grid-area: a; }
.mosaic > .m-b { grid-area: b; }
.mosaic > .m-c { grid-area: c; }
.mosaic > .m-d { grid-area: d; }
.mosaic > .m-e { grid-area: e; }
.mosaic > .m-f { grid-area: f; }
.mosaic > .m-g { grid-area: g; }
@media (max-width: 1023px) {
  .mosaic {
    grid-template-columns: repeat(6, 1fr);
    grid-template-rows: auto 280px 220px 220px 260px 220px 220px;
    grid-template-areas:
      "text text text text text text"
      "hero hero hero hero hero hero"
      "a a a b b b"
      "c c c c c c"
      "d d d d d d"
      "e e e f f f"
      "g g g g g g";
  }
}
@media (max-width: 639px) {
  .mosaic {
    grid-template-columns: 1fr;
    grid-template-rows: auto repeat(8, 300px);
    grid-template-areas: "text" "hero" "a" "b" "c" "d" "e" "f" "g";
  }
}

/* FAQ — core Accordion block with class "iawf-faq" */
.wp-block-accordion.iawf-faq {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.iawf-faq .wp-block-accordion-item {
  margin: 0;
  background: #fff;
  border: 1px solid rgba(255, 133, 13, 0.18);
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(42, 36, 32, 0.06);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.iawf-faq .wp-block-accordion-item.is-open {
  border-color: #ff850d;
  box-shadow: 0 10px 26px rgba(255, 133, 13, 0.16);
}
.wp-block-accordion.iawf-faq .wp-block-accordion-item > .wp-block-accordion-heading {
  margin: 0;
  padding: 0;
  font-size: inherit;
}
.iawf-faq .wp-block-accordion-heading__toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: Montserrat, sans-serif;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #2a2420;
}
.iawf-faq .wp-block-accordion-heading__toggle:hover,
.iawf-faq .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle {
  color: #ff4800;
}
.iawf-faq .wp-block-accordion-heading__toggle:focus-visible {
  outline: 2px solid #ff850d;
  outline-offset: -2px;
}
.iawf-faq .wp-block-accordion-heading__toggle-icon {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 133, 13, 0.12);
  color: #ff4800;
  font-size: 20px;
  font-weight: 500;
  line-height: 1;
}
.iawf-faq .wp-block-accordion-item.is-open .wp-block-accordion-heading__toggle-icon {
  background: #ff850d;
  color: #fff;
}
.iawf-faq .wp-block-accordion-panel {
  padding: 0 22px 20px;
}
.iawf-faq .wp-block-accordion-panel p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: #4a4038;
}
@media (max-width: 639px) {
  .iawf-faq .wp-block-accordion-heading__toggle {
    padding: 16px 16px;
    font-size: 15px;
  }
  .iawf-faq .wp-block-accordion-panel {
    padding: 0 16px 16px;
  }
}

/* Box cards opt-in: compact list rows, icon beside text (add class "iawf-bx--list" to light cards). */
.iawf-bx.iawf-bx--list .iawf-bx__header {
  max-width: 960px;
  margin-bottom: 2.5rem;
}
.iawf-bx.iawf-bx--list .iawf-bx__title {
  margin-bottom: 0;
  text-wrap: balance;
}
.iawf-bx.iawf-bx--list .iawf-bx__grid {
  max-width: 1020px;
  margin: 0 auto;
  row-gap: 1.5rem;
}
.iawf-bx.iawf-bx--list .iawf-bx__card {
  flex-direction: row;
  align-items: center;
  gap: 1.25rem;
  min-height: 0;
  padding: 22px 28px 22px 22px;
  border-radius: 14px;
}
.iawf-bx.iawf-bx--list .iawf-bx__card:hover {
  transform: translateY(-4px);
}
.iawf-bx.iawf-bx--list .iawf-bx__icon {
  flex: 0 0 58px;
  width: 58px;
  height: 58px;
  margin: 0;
  border-radius: 12px;
}
.iawf-bx.iawf-bx--list .iawf-bx__icon i {
  font-size: 1.4rem;
}
.iawf-bx.iawf-bx--list .iawf-bx__card-text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--iawf-bx-text);
  opacity: 1;
}
@media (max-width: 639px) {
  .iawf-bx.iawf-bx--list .iawf-bx__card {
    align-items: flex-start;
    gap: 1rem;
    padding: 18px 20px 18px 18px;
  }
  .iawf-bx.iawf-bx--list .iawf-bx__icon {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }
  .iawf-bx.iawf-bx--list .iawf-bx__card-text {
    font-size: 0.95rem;
  }
}

/* Box cards opt-in: numbered steps, number badge replaces the icon (add class "iawf-bx--steps" to title-box cards). */
.iawf-bx.iawf-bx--steps .iawf-bx__header {
  max-width: 960px;
  margin-bottom: 2.5rem;
}
.iawf-bx.iawf-bx--steps .iawf-bx__grid {
  max-width: 1020px;
  margin: 0 auto;
  row-gap: 1.25rem;
  counter-reset: iawf-step;
}
.iawf-bx.iawf-bx--steps .iawf-bx__card {
  counter-increment: iawf-step;
  gap: 1.25rem;
  min-height: 0;
  padding: 20px 26px 20px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(42, 36, 32, 0.06);
}
.iawf-bx.iawf-bx--steps .iawf-bx__card::before {
  left: 20px;
  height: 3px;
  border-radius: 3px;
}
.iawf-bx.iawf-bx--steps .iawf-bx__card:hover::before,
.iawf-bx.iawf-bx--steps .iawf-bx__card:focus-within::before {
  width: calc(100% - 40px);
}
.iawf-bx.iawf-bx--steps .iawf-bx__icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff850d 0%, #ff4800 100%);
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(255, 72, 0, 0.28);
}
.iawf-bx.iawf-bx--steps .iawf-bx__icon i {
  display: none;
}
.iawf-bx.iawf-bx--steps .iawf-bx__icon::before {
  content: counter(iawf-step, decimal-leading-zero);
  font-family: Dosis, system-ui, sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
}
.iawf-bx.iawf-bx--steps .iawf-bx__card:hover .iawf-bx__icon,
.iawf-bx.iawf-bx--steps .iawf-bx__card:focus-within .iawf-bx__icon {
  background: #2a2420;
  color: #ffffff;
}
.iawf-bx.iawf-bx--steps .iawf-bx__card-title {
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.55;
  color: var(--iawf-bx-text, #2a2420);
}
@media (max-width: 639px) {
  .iawf-bx.iawf-bx--steps .iawf-bx__card {
    padding: 16px 18px 16px 16px;
    gap: 1rem;
  }
  .iawf-bx.iawf-bx--steps .iawf-bx__icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
  }
  .iawf-bx.iawf-bx--steps .iawf-bx__icon::before {
    font-size: 1.15rem;
  }
  .iawf-bx.iawf-bx--steps .iawf-bx__card-title {
    font-size: 0.95rem;
  }
}

/* Box cards opt-in: centre an incomplete last row (add class "iawf-bx--center-last"). */
@media (min-width: 768px) {
  .iawf-bx.iawf-bx--center-last .iawf-bx__grid {
    --iawf-bx-row-cols: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 2rem;
  }
  .iawf-bx.iawf-bx--center-last .iawf-bx__grid > * {
    flex: 0 0 calc((100% - (var(--iawf-bx-row-cols) - 1) * 2rem) / var(--iawf-bx-row-cols));
    min-width: 0;
    height: auto;
  }
}
@media (min-width: 1024px) {
  .iawf-bx.iawf-bx--center-last .iawf-bx__grid {
    --iawf-bx-row-cols: var(--iawf-bx-cols);
    column-gap: 2.25rem;
  }
  .iawf-bx.iawf-bx--center-last .iawf-bx__grid > * {
    flex-basis: calc((100% - (var(--iawf-bx-row-cols) - 1) * 2.25rem) / var(--iawf-bx-row-cols));
  }
}
