/* legal/grabgocontent/layout.css
 * Layout overrides and grgo-prefixed component classes for GrabGoContent brand pages.
 * Loaded alongside base.css and brand.css on every page. */

/* ─── Page hero banner (used on About, Contact, legal pages) ─── */
.grgoPageHero {
  background: linear-gradient(135deg, #2563eb 0%, #1341a8 100%);
  color: #fff;
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
}
.grgoPageHero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin: 0;
  color: #fff;
  font-family: var(--heading-font);
}
.grgoPageHero p {
  font-size: 1rem;
  opacity: 0.88;
  margin: 0.75rem auto 0;
  max-width: 540px;
  line-height: 1.65;
}

/* ─── Rich 4-column footer ─── */
.grgoSiteFooter {
  background: var(--footer-bg);
  color: var(--footer-fg);
  text-align: left;
  padding: 3rem 2.5rem 1.5rem;
}
.grgoFooterGrid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto 2.5rem;
}
.grgoFooterBrand .grgoFooterLogo {
  display: block;
  width: 52px;
  height: 52px;
  background-image: var(--logo-url);
  background-size: contain;
  background-repeat: no-repeat;
  margin-bottom: 0.75rem;
}
.grgoFooterBrand .grgoBrandTitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}
.grgoFooterBrand .grgoTagline {
  font-size: 0.82rem;
  color: #8ba8cc;
  margin-bottom: 1rem;
  line-height: 1.55;
}
.grgoFooterBrand .grgoDisclosure {
  font-size: 0.78rem;
  color: #7090b0;
  line-height: 1.6;
  border-left: 3px solid #2563eb;
  padding-left: 0.75rem;
}
.grgoFooterCol h4 {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 1rem;
}
.grgoFooterCol ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.grgoFooterCol ul li { margin-bottom: 0.55rem; }
.grgoFooterCol ul li a {
  color: #8ba8cc;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.15s ease;
}
.grgoFooterCol ul li a:hover { color: #60a5fa; }
.grgoFooterContact p {
  font-size: 0.875rem;
  color: #8ba8cc;
  margin: 0 0 0.5rem;
  line-height: 1.55;
}
.grgoFooterContact a { color: #60a5fa; text-decoration: none; }
.grgoFooterContact a:hover { text-decoration: underline; }
.grgoFooterBottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.grgoFooterBottom p { font-size: 0.78rem; color: #50607a; margin: 0 0 0.3rem; }
.grgoFooterBottom a { color: #6a80a0; text-decoration: none; }
.grgoFooterBottom a:hover { color: #60a5fa; }

/* ─── Highlight cards (reused on About and Contact) ─── */
.grgoHighlightCards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin: 2.5rem 0;
}
.grgoHighlightCard {
  background: linear-gradient(135deg, #eef4ff, #ddeaff);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
}
.grgoHighlightCard .icon { font-size: 2rem; display: block; margin-bottom: 0.5rem; }
.grgoHighlightCard h3 { font-size: 1rem; font-weight: 700; color: #0f1e3a; margin: 0 0 0.35rem; }
.grgoHighlightCard p { font-size: 0.85rem; color: #445; margin: 0; }

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .grgoFooterGrid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}
@media (max-width: 580px) {
  .grgoFooterGrid { grid-template-columns: 1fr; gap: 1.75rem; }
  .grgoSiteFooter { padding: 2.5rem 1.25rem 1.25rem; }
  .grgoPageHero h1 { font-size: 1.6rem; }
}
