/* =========================================================
   MU Online Guides - hub page: hero CTA into the PvP guide,
   a featured-guides grid, and on-page SEO content.
   ========================================================= */

.guides-main {
  min-height: 65vh;
  /* no background here: an opaque --page-bg copy would cover the fixed universe/nebula
     layers (z:-2/-3) that every other page shows through the transparent body */
}

/* Shell matches every other content page: the section is a white card
   (default section styling) with the breadcrumb + content inside it. */
section.container.media-page.guides-page {
  width: 93%;
  max-width: 1240px;
  margin: 2rem auto 2.6rem !important;
}

.guides-page .breadcrumb-nav {
  margin: 0 0 1rem !important;
}

/* .white-box uses the global card styling (style.css) — no per-page override needed. */

/* Page header now uses the shared premium .page-header-box component in style.css
   (brand kicker + gold accent). Kept here only: page-specific header tweaks, if any. */

.guides-hero-cta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.guides-featured-box {
  padding: 1.35rem 1.45rem !important;
}

.guides-featured-box h2 {
  max-width: 980px;
  margin: .1rem 0 1rem !important;
  color: var(--accent, #eaf0ff) !important;
  font-size: clamp(1.15rem, 1vw + .95rem, 1.4rem) !important;
  line-height: 1.18;
  text-align: left !important;
}

.guides-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.guides-featured-card {
  display: flex;
  flex-direction: column;
  gap: .32rem;
  padding: 1rem 1.05rem;
  border: 1px solid var(--border, rgba(146, 166, 214, .16));
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-0, #0e1626) 0%, var(--surface-1, #0b1220) 100%);
  color: var(--text, #d5ddef);
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease, background .16s ease;
}

.guides-featured-card:hover,
.guides-featured-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(214, 31, 43, .30);
  background: var(--surface-0, #0e1626);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
  outline: none;
}

.guides-featured-card--primary {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
  border-color: rgba(214, 31, 43, .28);
  background: linear-gradient(120deg, rgba(214, 31, 43, .14) 0%, var(--surface-0, #0e1626) 55%);
}

.guides-featured-card--primary strong {
  font-size: 1.05rem;
}

.guides-featured-card--primary .guides-featured-desc {
  flex: 1 1 auto;
}

.guides-featured-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  background: var(--surface-1, #0b1220);
  color: var(--text-muted, #8a94ad);
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .04em;
  line-height: 1.1;
  padding: .25rem .55rem;
  text-transform: uppercase;
}

.guides-featured-card--primary .guides-featured-kicker {
  flex: 0 0 auto;
  background: rgba(214, 31, 43, .1);
  color: var(--brand-1, #d61f2b);
}

.guides-featured-card strong {
  color: var(--text-strong, #eaf0ff);
  font-size: .95rem;
  font-weight: 950;
  line-height: 1.2;
}

.guides-featured-desc {
  color: var(--text-muted, #8a94ad);
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.42;
}

.guides-featured-open {
  color: var(--brand-1, #d61f2b);
  font-size: .82rem;
  font-weight: 950;
  white-space: nowrap;
}

.guides-seo-box {
  padding: 1.35rem 1.45rem !important;
}

.guides-seo-box h2,
.guides-seo-box h3 {
  text-align: left !important;
}

.guides-seo-box h2 {
  max-width: 980px;
  margin: .1rem 0 .75rem !important;
  color: var(--accent, #eaf0ff) !important;
  font-size: clamp(1.22rem, 1.15vw + .95rem, 1.55rem) !important;
  line-height: 1.18;
}

.guides-seo-box p {
  max-width: 1040px;
  margin: 0 0 .78rem !important;
  color: var(--text-muted, #8a94ad) !important;
  font-size: .96rem;
  line-height: 1.56;
}

.guides-seo-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .68rem;
  margin-top: 1rem;
}

.guides-seo-mini-grid article {
  padding: .85rem;
  border: 1px solid var(--border, rgba(146, 166, 214, .16));
  border-radius: 14px;
  background: linear-gradient(180deg, var(--surface-0, #0e1626) 0%, var(--surface-1, #0b1220) 100%);
}

.guides-seo-mini-grid h3 {
  margin: 0 0 .28rem !important;
  color: var(--text-strong, #eaf0ff) !important;
  font-size: .95rem !important;
  line-height: 1.2;
}

.guides-seo-mini-grid p {
  margin: 0 !important;
  font-size: .84rem;
  font-weight: 650;
  line-height: 1.42;
}

.guides-popular-searches {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, rgba(146, 166, 214, .16));
}

.guides-popular-searches strong {
  color: var(--text-strong, #eaf0ff);
  font-size: .86rem;
  font-weight: 950;
}

.guides-popular-searches span {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: .28rem .6rem;
  border: 1px solid rgba(214, 31, 43, .18);
  border-radius: 999px;
  background: rgba(214, 31, 43, .06);
  color: var(--brand-1, #d61f2b);
  font-size: .78rem;
  font-weight: 850;
  line-height: 1.2;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .guides-featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guides-seo-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  section.container.media-page.guides-page {
    width: 94%;
    margin-top: 1rem !important;
  }

  .guides-page .page-header-box {
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem !important;
  }

  .guides-page .page-title {
    font-size: clamp(1.55rem, 8vw, 2rem) !important;
  }

  .guides-hero-cta {
    width: 100%;
  }

  .guides-featured-box {
    padding: 1rem !important;
  }

  .guides-featured-grid {
    grid-template-columns: 1fr;
  }

  .guides-featured-card--primary {
    flex-direction: column;
    align-items: flex-start;
  }

  .guides-seo-box {
    padding: 1rem !important;
  }

  .guides-seo-mini-grid {
    grid-template-columns: 1fr;
  }
}
