@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&display=swap");

/**
 * THE MAGA SHOP — shared shell for static landings (announcement + header + optional footer block)
 * Link from subfolders: href="../assets/maga-landing-shell.css"
 */
:root {
  --maga-navy: #0a1628;
  --maga-navy-mid: #132238;
  --maga-red: #b91c1c;
  --maga-red-dark: #7f1414;
  --maga-gold: #d4af37;
  --maga-gold-light: #f0e6c8;
  --maga-white: #faf8f3;
  --maga-muted: rgba(250, 248, 243, 0.82);
  --maga-border-gold: rgba(212, 175, 55, 0.55);
}

.maga-shell-announce {
  background: linear-gradient(90deg, var(--maga-red-dark), var(--maga-red), var(--maga-red-dark));
  color: #fff;
  text-align: center;
  padding: 0.55rem 1rem;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.maga-shell-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Opaque: stops dark page body showing through the nav area on the right */
  background: var(--maga-white);
  border-bottom: 3px solid var(--maga-gold);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.maga-shell-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.maga-shell-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--maga-navy);
}

/* Logo must stay compact; page-level img { max-width:100% } rules must not resize this */
.maga-shell-header .maga-shell-brand img,
img.maga-shell-logo {
  height: 56px !important;
  width: auto !important;
  max-height: 56px !important;
  max-width: min(120px, 32vw) !important;
  object-fit: contain !important;
  display: block !important;
  flex-shrink: 0;
}

.maga-shell-brand span {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  line-height: 1.15;
  max-width: 160px;
}

.maga-shell-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 1.1rem;
  background: transparent;
  backdrop-filter: none;
}

.maga-shell-nav a {
  font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--maga-navy-mid);
  text-decoration: none;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.maga-shell-nav a:hover {
  color: var(--maga-red);
  border-bottom-color: var(--maga-gold);
}

/* Compact policy strip for landings */
.maga-shell-footer-strip {
  margin-top: 2rem;
  padding: 1.25rem 1rem;
  background: rgba(6, 13, 22, 0.92);
  border-top: 1px solid var(--maga-border-gold);
  text-align: center;
  font-size: 0.78rem;
  font-family: "Oswald", "Arial Narrow", sans-serif;
  letter-spacing: 0.04em;
}

.maga-shell-footer-strip a {
  color: var(--maga-muted);
  text-decoration: none;
  margin: 0 0.5rem;
}

.maga-shell-footer-strip a:hover {
  color: var(--maga-gold-light);
}

@media (max-width: 720px) {
  .maga-shell-nav {
    justify-content: flex-start;
  }
}
