/**
 * Premium header + footer social strip — static export overrides
 */

:root {
  --hdr-gold: #c9a227;
  --hdr-gold-hover: #dfc059;
  --hdr-gold-deep: #8a7019;
  --hdr-navy-a: #141e33;
  --hdr-navy-b: #0a101c;
}

/* Dark bar + gradient (default and sticky) */
.site-header .gs-sticky-header {
  background: linear-gradient(
    165deg,
    #1a2742 0%,
    var(--hdr-navy-a) 38%,
    var(--hdr-navy-b) 100%
  ) !important;
  border-bottom: 1px solid rgba(201, 162, 39, 0.18) !important;
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.35);
  padding-block: 0.35rem !important;
  padding-inline: clamp(0.65rem, 2vw, 1.1rem) !important;
}

.site-header .wp-block-columns.are-vertically-aligned-center {
  padding-block: 0.15rem !important;
}

/* Nav: light text on dark */
.site-header .wp-block-navigation,
.site-header .wp-block-navigation .wp-block-navigation-item__content,
.site-header .wp-block-navigation .wp-block-navigation-item__content:visited {
  color: rgba(255, 255, 255, 0.92) !important;
}

.site-header .wp-block-navigation .wp-block-navigation-item__content:hover,
.site-header .wp-block-navigation .wp-block-navigation-item__content:focus {
  color: var(--hdr-gold) !important;
}

.site-header .wp-block-navigation__responsive-container-open svg {
  fill: rgba(255, 255, 255, 0.92) !important;
}

.site-header .wp-block-navigation__responsive-container-close svg {
  fill: #1b263b !important;
}

.site-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content,
.site-header
  .wp-block-navigation__responsive-container.has-modal-open
  .wp-block-navigation-item__content {
  color: #1b263b !important;
}

.site-footer .wp-block-buttons.is-layout-flex {
  flex-wrap: wrap;
}

.site-footer .wp-block-buttons .site-footer__social-icons {
  flex-basis: 100%;
}

/* Logo “badge” */
.site-header .wp-block-site-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 0.4rem 0.25rem;
  border-radius: 12px;
  background: radial-gradient(
    120% 100% at 50% 0%,
    rgba(255, 255, 255, 0.14) 0%,
    rgba(255, 255, 255, 0.03) 45%,
    transparent 72%
  );
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.28),
    0 10px 32px rgba(0, 0, 0, 0.55),
    0 0 48px rgba(201, 162, 39, 0.1);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.site-header .wp-block-site-logo .custom-logo-link:hover {
  box-shadow:
    0 0 0 1px rgba(201, 162, 39, 0.45),
    0 12px 40px rgba(0, 0, 0, 0.6),
    0 0 56px rgba(201, 162, 39, 0.16);
  transform: translateY(-1px);
}

.site-header .wp-block-site-logo .custom-logo {
  width: auto;
  height: auto;
  max-width: min(185px, 50vw);
  max-height: 74px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.55));
}

/* Header CTA */
.site-header__cta-column {
  display: flex !important;
  justify-content: flex-end !important;
  align-items: center !important;
}

.site-header__cta-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.site-header__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none !important;
  color: #1a1508 !important;
  background: linear-gradient(180deg, #e4c04a 0%, var(--hdr-gold) 45%, var(--hdr-gold-deep) 100%);
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 6px 18px rgba(0, 0, 0, 0.35);
  white-space: nowrap;
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.site-header__cta:hover {
  background: linear-gradient(180deg, #f0d060 0%, var(--hdr-gold-hover) 50%, #b89420 100%);
  color: #14110a !important;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.45) inset,
    0 8px 22px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
}

.site-header__cta:focus-visible {
  outline: 2px solid var(--hdr-gold-hover);
  outline-offset: 3px;
}

/* Footer: icon row (moved from header) */
.site-footer__social-icons {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  align-items: center;
}

.site-footer__social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(255, 255, 255, 0.88);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-footer__social-icons a:hover {
  color: var(--hdr-gold);
  background: rgba(201, 162, 39, 0.12);
  border-color: rgba(201, 162, 39, 0.35);
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.15);
}

.site-footer__social-icons svg {
  width: 1.15rem;
  height: 1.15rem;
  flex-shrink: 0;
}

@media (max-width: 781px) {
  .site-header__cta {
    padding: 0.4rem 0.75rem;
    font-size: 0.75rem;
  }
}
