/* ============================================
   Announcement-style header (shared)
   Used on activities pages to match the home/announcement nav.
   Scoped — does not override global body styles.
   ============================================ */

:root {
  --a2-ivory: #faf6ec;
  --a2-ivory-2: #f1e9d6;
  --a2-ink: #1a140c;
  --a2-muted: #6f6450;
  --a2-gold: #b58939;
  --a2-gold-deep: #8a6224;
  --a2-gold-soft: #d8b56b;
  --a2-red: #b74527;
  --a2-header-h: 104px;
}

.ann2-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 36px;
}

.ann2-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 236, 0.92);
  backdrop-filter: saturate(150%) blur(10px);
  -webkit-backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid rgba(227, 216, 190, 0.65);
}

.ann2-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--a2-header-h);
  padding: 16px 0;
  gap: 24px;
}

.ann2-header__right {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
}

.ann2-logo {
  display: inline-flex;
  align-items: center;
  height: 72px;
}

.ann2-logo img {
  height: 72px;
  width: auto;
  display: block;
  transition: transform 400ms ease;
}

.ann2-logo:hover img {
  transform: scale(1.03);
}

.ann2-nav {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 1.75rem;
}

.ann2-nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 4px 12px;
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--a2-ink);
  transition: color 250ms ease;
}

.ann2-nav__ornament {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--a2-gold);
  opacity: 0.55;
  transform: rotate(0deg) scale(0.9);
  transition: opacity 300ms ease, transform 400ms ease;
}

.ann2-nav__label {
  position: relative;
  display: inline-block;
}

.ann2-nav__underline {
  position: absolute;
  left: 30px;
  right: 4px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--a2-gold-soft), var(--a2-gold), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 320ms ease;
}

.ann2-nav__link:hover,
.ann2-nav__link:focus-visible,
.ann2-nav__link.is-active {
  color: var(--a2-gold-deep);
}

.ann2-nav__link:hover .ann2-nav__ornament,
.ann2-nav__link:focus-visible .ann2-nav__ornament,
.ann2-nav__link.is-active .ann2-nav__ornament {
  opacity: 1;
  transform: rotate(180deg) scale(1.05);
}

.ann2-nav__link:hover .ann2-nav__underline,
.ann2-nav__link:focus-visible .ann2-nav__underline,
.ann2-nav__link.is-active .ann2-nav__underline {
  transform: scaleX(1);
}

.ann2-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.5rem;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--a2-ink);
  cursor: pointer;
  transition: color 250ms ease;
}

.ann2-cart:hover,
.ann2-cart:focus-visible {
  color: var(--a2-gold-deep);
}

.ann2-cart__badge:empty {
  display: none;
}

.ann2-header__inner .ann2-cart {
  flex-shrink: 0;
}

/* When announcement header is used, skip old fixed-header hide/show dance */
body.has-ann2-header .header.is-hidden {
  transform: none;
}

body.has-ann2-header .breadcrumb-bar {
  top: var(--a2-header-h);
}

.ann2-header.is-hidden {
  transform: none;
  opacity: 1;
  pointer-events: auto;
}

.ann2-menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  background: transparent;
  color: var(--a2-ink);
  cursor: pointer;
}

.ann2-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 0 36px 20px;
  border-top: 1px solid rgba(227, 216, 190, 0.65);
  background: rgba(250, 246, 236, 0.98);
}

.ann2-mobile-menu.is-open {
  display: flex;
}

.ann2-mobile-menu__link {
  padding: 14px 0;
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  font-size: 16px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--a2-ink);
  border-bottom: 1px solid rgba(227, 216, 190, 0.65);
}

.ann2-mobile-menu__link.is-active,
.ann2-mobile-menu__link:hover {
  color: var(--a2-gold-deep);
}

.ann2-footer {
  border-top: 1px solid rgba(227, 216, 190, 0.65);
  padding: 22px 0 18px;
  background: #fdfaee;
  position: relative;
  z-index: 2;
}

.ann2-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.ann2-footer__copy {
  font-size: 12px;
  color: var(--a2-muted);
  letter-spacing: 0.02em;
}

.ann2-footer__socials {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ann2-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 2px;
  color: var(--a2-muted);
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, transform 220ms ease;
}

.ann2-social:hover,
.ann2-social:focus-visible {
  color: var(--a2-red);
  background: var(--a2-ivory-2, #f1e9d6);
  transform: translateY(-1px);
  outline: none;
}

.ann2-social svg {
  width: 16px;
  height: 16px;
  display: block;
}

.ann2-footer__legal {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.05em;
  color: var(--a2-muted);
}

.ann2-footer__legal a {
  color: var(--a2-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 1px;
  transition: color 180ms ease;
}

.ann2-footer__legal a::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--a2-red, #b74527);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.ann2-footer__legal a:hover,
.ann2-footer__legal a:focus-visible {
  color: var(--a2-red, #b74527);
  outline: none;
}

.ann2-footer__legal a:hover::after,
.ann2-footer__legal a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.ann2-footer__legal-sep {
  margin: 0 8px;
  opacity: 0.5;
}

@media (max-width: 900px) {
  :root { --a2-header-h: 88px; }
  .ann2-logo,
  .ann2-logo img { height: 60px; }
  .ann2-nav { display: none; }
  .ann2-menu-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  :root { --a2-header-h: 72px; }
  .ann2-container { padding: 0 20px; }
  .ann2-logo,
  .ann2-logo img { height: 48px; }
  .ann2-mobile-menu { padding-left: 20px; padding-right: 20px; }
  .ann2-footer__row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}
