/*
 * Phase 6 — content pages (home, about, register, payment, donate,
 * projects, memorial, shop placeholder, legal, contact).
 */

/* -------------------------------------------------------------------------
 * Shared
 * ---------------------------------------------------------------------- */

.a460-section-label,
.a460-section-label .elementor-heading-title {
  color: var(--a460-color-secondary);
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0;
}

.a460-page-hero {
  color: var(--a460-color-white);
  text-align: center;
}

.a460-page-hero-title,
.a460-page-hero-title .elementor-heading-title {
  color: var(--a460-color-white) !important;
  font-weight: 900 !important;
  font-size: 48px !important;
  line-height: 1.15 !important;
  margin: 0;
}

.a460-page-hero-sub,
.a460-page-hero-sub .elementor-heading-title {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  max-width: 42em;
}

.a460-prose {
  max-width: 800px;
  margin-inline: auto;
  font-size: 18px;
  line-height: 1.75;
}

.a460-prose p + p {
  margin-block-start: 1.1em;
}

.a460-btn-solid .elementor-button {
  background: var(--a460-color-accent);
  color: var(--a460-color-white);
  border: 1px solid var(--a460-color-accent);
  font-family: var(--a460-font-family);
  font-weight: 700;
  padding: 14px 28px;
}

.a460-btn-solid .elementor-button:hover,
.a460-btn-solid .elementor-button:focus {
  background: #a51d23;
  border-color: #a51d23;
  color: var(--a460-color-white);
}

.a460-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.a460-placeholder {
  border: 1px dashed rgba(212, 160, 23, 0.7);
  background: rgba(212, 160, 23, 0.08);
  padding: 32px 24px;
  text-align: center;
  color: var(--a460-color-text);
}

.a460-placeholder p {
  margin: 0;
}

.a460-placeholder p + p {
  margin-block-start: 0.6em;
  color: #5a5a5a;
  font-size: 15px;
}

.a460-alert {
  background: rgba(200, 36, 43, 0.08);
  border: 1px solid rgba(200, 36, 43, 0.35);
  padding: 20px 24px;
}

.a460-alert strong {
  display: block;
  color: var(--a460-color-accent);
  margin-block-end: 6px;
}

/* -------------------------------------------------------------------------
 * Home — hero
 * ---------------------------------------------------------------------- */

.a460-home-hero {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-block: 80px 48px;
  background-size: cover;
  background-position: 50% 40%;
  background-repeat: no-repeat;
}

.a460-hero-title {
  font-family: var(--a460-font-family);
  font-weight: 900;
  font-size: 72px;
  line-height: 1.05;
  color: var(--a460-color-white);
  margin: 0;
}

.a460-hero-title .a460-gold {
  color: var(--a460-color-secondary);
}

.a460-tagline-row {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  width: min(640px, 100%);
}

.a460-tagline-row .a460-gold-rule {
  flex: 1 1 40px;
  min-width: 32px;
  height: 1px;
}

.a460-home-tagline {
  color: var(--a460-color-secondary);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
  margin: 0;
}

.a460-home-hero-copy {
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  line-height: 1.7;
  max-width: 40em;
  margin-inline: auto;
}

.a460-scroll-indicator {
  position: absolute;
  inset-inline: 0;
  bottom: 20px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.a460-scroll-indicator span {
  display: block;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  position: relative;
}

.a460-scroll-indicator span::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  top: 6px;
  width: 4px;
  height: 8px;
  margin-inline-start: -2px;
  background: var(--a460-color-secondary);
  border-radius: 2px;
  animation: a460-scroll-dot 1.6s ease-in-out infinite;
}

@keyframes a460-scroll-dot {
  0%,
  20% {
    opacity: 1;
    transform: translateY(0);
  }
  80%,
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .a460-scroll-indicator span::after {
    animation: none;
  }
}

@media (max-width: 767px) {
  .a460-hero-title {
    font-size: 40px;
  }

  .a460-home-hero .a460-btn-row,
  .a460-home-hero .elementor-widget-button,
  .a460-cta-end .elementor-widget-button {
    width: 100%;
  }

  .a460-home-hero .elementor-button,
  .a460-cta-end .elementor-button {
    width: 100%;
  }

  .a460-page-hero-title,
  .a460-page-hero-title .elementor-heading-title {
    font-size: 32px !important;
  }
}

/* -------------------------------------------------------------------------
 * Home — stats, slogan, CTA
 * ---------------------------------------------------------------------- */

.a460-stat-box {
  background: var(--a460-color-white);
  border: 1px solid rgba(59, 74, 43, 0.12);
  padding: 28px 16px;
  text-align: center;
  height: 100%;
}

.a460-stat-value {
  font-family: var(--a460-font-family);
  font-weight: 900;
  font-size: 40px;
  line-height: 1.1;
  color: var(--a460-color-primary);
  margin: 0;
}

.a460-stat-label {
  margin: 8px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--a460-color-text);
}

.a460-slogan {
  position: relative;
  background-color: var(--a460-color-dark);
  color: var(--a460-color-white);
  text-align: center;
  overflow: hidden;
}

.a460-slogan.a460-scanlines::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(59, 74, 43, 0.45) 2px,
    rgba(59, 74, 43, 0.45) 4px
  );
  pointer-events: none;
  z-index: 0;
}

.a460-slogan-line {
  position: relative;
  z-index: 1;
  font-family: var(--a460-font-family);
  font-weight: 900;
  font-size: 56px;
  line-height: 1.15;
  margin: 0;
  color: var(--a460-color-white);
}

.a460-slogan-line--gold {
  color: var(--a460-color-secondary);
}

@media (max-width: 767px) {
  .a460-slogan-line {
    font-size: 32px;
  }

  .a460-stat-value {
    font-size: 32px;
  }
}

.a460-cta-end {
  text-align: center;
}

/* -------------------------------------------------------------------------
 * Membership cards
 * ---------------------------------------------------------------------- */

.a460-tier {
  background: var(--a460-color-cream);
  border: 1px solid transparent;
  padding: 28px 24px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.a460-tier--featured {
  border-color: var(--a460-color-secondary);
  box-shadow: 0 12px 28px rgba(10, 10, 10, 0.12);
  transform: translateY(-6px);
  background: var(--a460-color-white);
}

.a460-tier-badge {
  display: inline-block;
  background: var(--a460-color-secondary);
  color: var(--a460-color-dark);
  font-weight: 700;
  font-size: 13px;
  padding: 2px 10px;
  align-self: flex-start;
}

.a460-tier-price {
  font-size: 36px;
  font-weight: 900;
  color: var(--a460-color-primary);
  margin: 0;
}

.a460-tier-name {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.a460-tier ul {
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1;
}

.a460-tier li {
  position: relative;
  padding-inline-start: 1.1em;
  margin-block: 6px;
}

.a460-tier li::before {
  content: "•";
  position: absolute;
  inset-inline-start: 0;
  color: var(--a460-color-secondary);
}

.a460-section-46 {
  background: var(--a460-color-dark);
  color: var(--a460-color-white);
  text-align: center;
}

.a460-section-46 h2 {
  color: var(--a460-color-secondary);
}

/* -------------------------------------------------------------------------
 * Memorial
 * ---------------------------------------------------------------------- */

.a460-memorial {
  --a460-memorial-gap: 24px;
}

.a460-memorial-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.a460-memorial-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.a460-memorial-tab {
  appearance: none;
  background: transparent;
  border: 1px solid rgba(59, 74, 43, 0.25);
  color: var(--a460-color-text);
  font-family: var(--a460-font-family);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  cursor: pointer;
  line-height: 1.3;
}

.a460-memorial-tab[aria-selected="true"] {
  background: var(--a460-color-primary);
  color: var(--a460-color-white);
  border-color: var(--a460-color-primary);
}

.a460-memorial-tab:focus-visible {
  outline: 2px solid var(--a460-color-secondary);
  outline-offset: 2px;
}

.a460-memorial-search {
  display: flex;
  justify-content: center;
}

.a460-memorial-search input {
  width: min(420px, 100%);
  font-family: var(--a460-font-family);
  font-size: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(59, 74, 43, 0.3);
  background: var(--a460-color-white);
}

.a460-memorial-count {
  text-align: center;
  font-weight: 700;
  color: var(--a460-color-primary);
  margin: 0;
}

.a460-memorial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--a460-memorial-gap);
}

.a460-memorial .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.a460-memorial-grid .a460-loop-fallen {
  height: 100%;
}

.a460-memorial-grid .a460-fallen-copy {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.a460-memorial-grid .a460-fallen-photo img {
  object-position: 50% 18%;
}

.a460-memorial-grid a.a460-btn-outline {
  align-self: flex-start;
  padding: 6px 12px;
  font-size: 14px;
  text-decoration: none;
}

.a460-memorial-grid .a460-loop-fallen:hover,
.a460-memorial-grid .a460-loop-fallen:focus-within {
  border-color: var(--a460-color-secondary);
  transform: none;
}

.a460-memorial-more,
.a460-memorial-empty {
  text-align: center;
  margin-block-start: 24px;
}

.a460-memorial-more button {
  appearance: none;
  background: transparent;
  color: var(--a460-color-secondary);
  border: 1px solid var(--a460-color-secondary);
  font-family: var(--a460-font-family);
  font-weight: 700;
  font-size: 16px;
  padding: 12px 28px;
  cursor: pointer;
}

.a460-memorial-more button:hover,
.a460-memorial-more button:focus {
  background: var(--a460-color-secondary);
  color: var(--a460-color-dark);
}

.a460-memorial-more button[disabled] {
  opacity: 0.5;
  cursor: wait;
}

@media (max-width: 1024px) {
  .a460-memorial-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .a460-memorial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .a460-tier--featured {
    transform: none;
  }
}

/* -------------------------------------------------------------------------
 * Brigade band / contact
 * ---------------------------------------------------------------------- */

.a460-image-band img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  display: block;
}

.a460-contact-line {
  font-size: 18px;
  margin-block: 8px;
}
