/* Alex Morgan Unfiltered — editorial theme
   Navy / red / white · Figtree · clean long-form reading */

.amu-site {
  font-family: "Figtree", system-ui, sans-serif;
  color: var(--amu-ink);
  background: var(--amu-paper);
  -webkit-font-smoothing: antialiased;
}

.amu-site h1,
.amu-site h2,
.amu-site h3,
.amu-site h4,
.amu-site .page-header h1,
.amu-site .item-page h1,
.amu-site .blog-item h2 {
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--amu-navy);
}

.amu-site a {
  color: var(--amu-navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
  transition: color 0.2s ease;
}

.amu-site a:hover {
  color: var(--amu-red);
}

/* Hide default Cassiopeia chrome we replace */
.amu-site > .header.container-header {
  display: none !important;
}

.amu-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--amu-navy);
  color: #fff;
  padding: 0.75rem 1rem;
  z-index: 10000;
}

.amu-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* ——— Header ——— */
.amu-header {
  background: #fff;
  border-bottom: 1px solid var(--amu-line);
  z-index: 1000;
}

.amu-header.amu-sticky {
  position: sticky;
  top: 0;
}

.amu-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.amu-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1.05;
  text-decoration: none !important;
  color: inherit;
  gap: 0.35rem;
  padding: 0.15rem 0;
}

.amu-brand,
.amu-brand:hover,
.amu-brand:focus,
.amu-brand * {
  text-decoration: none !important;
  border: 0;
  box-shadow: none;
}

.amu-brand__name {
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 800;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.amu-brand .amu-alex { color: var(--amu-navy); }
.amu-brand .amu-morgan { color: var(--amu-red); }

/* Lines ONLY on the sides — fixed width, never under the word */
.amu-brand__unfiltered {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.62rem, 1.2vw, 0.78rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--amu-navy);
  white-space: nowrap;
}

.amu-brand__unfiltered::before, .amu-brand__unfiltered::after { content: none !important; display: none !important; }

.amu-brand__fact {
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.55rem, 1vw, 0.68rem);
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--amu-navy);
  white-space: nowrap;
}

/* Accent bar stays BELOW the full header, solid separation */
.amu-header__inner {
  position: relative;
  z-index: 2;
  background: #fff;
}

.amu-header__accent {
  display: block;
  height: 3px;
  margin: 0;
  background: linear-gradient(90deg, var(--amu-navy) 0 40%, var(--amu-red) 40% 60%, var(--amu-navy) 60% 100%);
  position: relative;
  z-index: 1;
}

/* Nav */
.amu-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.amu-nav .mod-menu,
.amu-nav ul.mod-menu,
.amu-nav .navbar-nav,
.amu-nav ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* old nav link styles replaced by BBC block */

.amu-nav-legacy li > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--amu-red);
  transition: right 0.25s ease;
}

.amu-nav li > a:hover::after,
.amu-nav li.active > a::after,
.amu-nav li.current > a::after {
  right: 0;
}

.amu-nav-toggle {
  display: none;
  border: 1px solid var(--amu-line);
  background: #fff;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

.amu-nav-toggle__bars,
.amu-nav-toggle__bars::before,
.amu-nav-toggle__bars::after {
  display: block;
  width: 1.15rem;
  height: 2px;
  background: var(--amu-navy);
  position: relative;
}

.amu-nav-toggle__bars::before,
.amu-nav-toggle__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.amu-nav-toggle__bars::before { top: -6px; }
.amu-nav-toggle__bars::after { top: 6px; }

/* ——— Hero (home only) — banner image sets height ——— */
.amu-hero {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: var(--amu-navy);
  overflow: hidden;
}

.amu-hero__img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: top;
}

/* Hide default "Home" page title under the banner */
.amu-home .page-header,
.amu-home .blog-featured .page-header,
.amu-home h1.page-header,
.amu-home .com-content-article .page-header,
.amu-home main > .page-header {
  display: none !important;
}

@keyframes amu-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
  to { opacity: 1; transform: translateY(0); }
}

/* ——— Layout / reading ——— */
.amu-grid {
  max-width: 1120px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3rem;
}

.amu-home .amu-grid {
  padding-top: 2rem;
}

.amu-site .container-component {
  max-width: 46rem;
}

.amu-site.has-sidebar-right .container-component {
  max-width: none;
}

.amu-site .page-header {
  border: 0;
  margin: 0 0 1.25rem;
  padding: 0;
}

.amu-site .page-header h1,
.amu-site .item-title,
.amu-site h1.page-header {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  color: var(--amu-navy);
}

.amu-site .article-info,
.amu-site .published,
.amu-site .createdby {
  color: var(--amu-muted);
  font-size: 0.9rem;
}

.amu-site .item-page,
.amu-site .com-content-article__body {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--amu-ink);
}

.amu-site .item-page p {
  margin-bottom: 1.15rem;
}

.amu-site .item-image,
.amu-site .item-image img,
.amu-site img {
  border-radius: 0;
}

.amu-site .blog .item,
.amu-site .blog-items .blog-item,
.amu-site .items-leading .blog-item,
.amu-site .com-content-category-blog__item {
  border: 0;
  border-bottom: 1px solid var(--amu-line);
  padding: 1.75rem 0;
  margin: 0;
  background: transparent;
  box-shadow: none;
}

.amu-site .blog-item h2 a,
.amu-site .page-header a {
  text-decoration: none !important;
  color: var(--amu-navy);
}

.amu-site .blog-item h2 a:hover {
  color: var(--amu-red);
}

.amu-site .readmore .btn,
.amu-site .btn-primary,
.amu-site a.readmore {
  background: var(--amu-navy) !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.7rem 1.15rem !important;
  text-decoration: none !important;
}

.amu-site .readmore .btn:hover,
.amu-site .btn-primary:hover {
  background: var(--amu-red) !important;
}

.amu-breadcrumbs {
  font-size: 0.85rem;
  color: var(--amu-muted);
  margin-bottom: 1rem;
}

.amu-breadcrumbs ol {
  margin: 0;
  padding: 0;
}

.amu-sidebar .card,
.amu-sidebar .moduletable {
  background: var(--amu-mist);
  border: 0;
  border-radius: 0;
  padding: 1.25rem;
  box-shadow: none;
  margin-bottom: 1rem;
}

.amu-sidebar h3,
.amu-sidebar .card-header {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amu-navy);
  background: transparent;
  border: 0;
  padding: 0 0 0.75rem;
}

/* ——— Footer ——— */
.amu-footer {
  background: var(--amu-navy-deep);
  color: rgba(255, 255, 255, 0.85);
  padding: 2.75rem 1.25rem 2rem;
  margin-top: 2rem;
}

.amu-footer__inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 1.5rem;
}

.amu-footer__brand img {
  height: 56px;
  width: auto;
  filter: brightness(0) invert(1);
}

.amu-footer__tag {
  margin: 0.85rem 0 0;
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.amu-footer a {
  color: #fff;
}

.amu-footer__copy {
  margin: 0.5rem 0 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
}

.amu-backtop {
  background: var(--amu-navy) !important;
  border-radius: 0 !important;
}

.amu-backtop:hover {
  background: var(--amu-red) !important;
}

/* Soften default cards elsewhere */
.amu-site .card {
  border-radius: 0;
  box-shadow: none;
  border-color: var(--amu-line);
}

/* ——— Responsive ——— */
@media (max-width: 767px) {
  .amu-nav-toggle {
    display: inline-flex;
  }

  .amu-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fff;
    border-bottom: 1px solid var(--amu-line);
    padding: 1rem 1.25rem 1.25rem;
    flex-direction: column;
    align-items: stretch;
  }

  .amu-header {
    position: relative;
  }

  .amu-header.amu-sticky {
    position: sticky;
  }

  .amu-header.is-open .amu-nav {
    display: flex;
    animation: amu-rise 0.25s ease both;
  }

  .amu-nav .mod-menu,
  .amu-nav ul.mod-menu,
  .amu-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

}

@media (prefers-reduced-motion: reduce) {
  .amu-header.is-open .amu-nav,
  .amu-nav-legacy li > a::after {
    animation: none !important;
    transition: none !important;
  }
}


/* ——— BBC-style primary nav ——— */
.amu-header__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  position: relative;
  z-index: 2;
}

.amu-nav--bbc {
  display: block;
  width: 100%;
  background: #fff;
  border-top: 1px solid var(--amu-line);
  border-bottom: 1px solid #d6d6d6;
}

.amu-nav__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.amu-nav--bbc .mod-menu,
.amu-nav--bbc ul.mod-menu,
.amu-nav--bbc ul {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: max-content;
}

.amu-nav--bbc .mod-menu > li > a,
.amu-nav--bbc li > a,
.amu-nav--bbc .nav-link {
  display: inline-flex;
  align-items: center;
  color: #121212 !important;
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
  text-decoration: none !important;
  padding: 0.7rem 0.95rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  position: relative;
}

.amu-nav--bbc li > a::after {
  display: none !important;
  content: none !important;
}

.amu-nav--bbc li > a:hover {
  color: #121212 !important;
  background: #f6f6f6;
}

.amu-nav--bbc li.active > a,
.amu-nav--bbc li.current > a {
  font-weight: 700;
  border-bottom-color: #121212;
}

/* Brand dots (no lines through text) */
.amu-brand__unfiltered {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  letter-spacing: normal;
}
.amu-brand__unfiltered-text {
  font-family: "Figtree", system-ui, sans-serif;
  font-weight: 700;
  font-size: clamp(0.62rem, 1.2vw, 0.78rem);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--amu-navy);
  white-space: nowrap;
  line-height: 1;
}
.amu-brand__dot {
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 50%;
  background: var(--amu-red);
  flex: 0 0 auto;
  display: block;
}

.amu-header__accent { display: none; }

@media (max-width: 767px) {
  .amu-nav-toggle { display: inline-flex; }
  .amu-nav--bbc {
    display: none;
  }
  .amu-header.is-open .amu-nav--bbc {
    display: block;
    border-top: 1px solid var(--amu-line);
  }
  .amu-header.is-open .amu-nav--bbc .mod-menu,
  .amu-header.is-open .amu-nav--bbc ul {
    flex-direction: column;
    min-width: 0;
    padding: 0.5rem 0;
  }
  .amu-header.is-open .amu-nav--bbc li > a {
    padding: 0.85rem 1.25rem;
    border-bottom: 0;
    border-left: 3px solid transparent;
  }
  .amu-header.is-open .amu-nav--bbc li.active > a,
  .amu-header.is-open .amu-nav--bbc li.current > a {
    border-left-color: #121212;
    border-bottom-color: transparent;
  }
}


/* Desktop/tablet: always show horizontal BBC menu */
.amu-nav--bbc { display: block !important; }
.amu-nav-toggle { display: none !important; }
@media (max-width: 767px) {
  .amu-nav--bbc { display: none !important; }
  .amu-header.is-open .amu-nav--bbc { display: block !important; }
  .amu-nav-toggle { display: inline-flex !important; }
}
