/* ContentPageLayout: footer + legacy header styles (self-contained).
   These pages do not load home.css, so the shared footer rules live here. */

.guide-page-shell .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Footer --- */
.guide-page-shell footer {
  background: linear-gradient(180deg, rgba(8, 10, 14, 0.55), rgba(7, 8, 12, 0.92));
  color: rgba(214, 222, 232, 0.72);
  padding: 4rem 0 2rem;
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-page-shell .footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.5fr) minmax(160px, 1fr) minmax(160px, 1fr);
  gap: 2.5rem 3rem;
  margin-bottom: 3rem;
  align-items: start;
}

.guide-page-shell .footer-heading {
  color: rgba(244, 248, 252, 0.92);
  margin: 0 0 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.guide-page-shell .footer-col p {
  color: rgba(214, 222, 232, 0.72);
  margin: 0;
}

.guide-page-shell .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.guide-page-shell .footer-col li {
  margin-bottom: 0.8rem;
}

.guide-page-shell .footer-col li:last-child {
  margin-bottom: 0;
}

.guide-page-shell .footer-col a {
  color: rgba(214, 222, 232, 0.68);
  text-decoration: none;
  transition: color 140ms ease;
}

.guide-page-shell .footer-col a:hover {
  color: rgba(244, 248, 252, 0.95);
}

.guide-page-shell .bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
}

.guide-page-shell .bottom-bar p {
  margin: 0;
  color: rgba(214, 222, 232, 0.6);
}

@media (max-width: 900px) {
  .guide-page-shell .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 2.5rem;
  }

  .guide-page-shell .footer-grid > .footer-col:first-child {
    grid-column: 1 / -1;
  }
}

/* --- Legacy header (pages without SiteNav, e.g. es/pt legal pages) --- */
.guide-page-shell > header:not(.sn-header) {
  background: rgba(10, 12, 17, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.guide-page-shell .nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  min-height: 64px;
}

.guide-page-shell .logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(244, 248, 252, 0.94);
  text-decoration: none;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.guide-page-shell .logo img {
  width: 30px;
  height: 30px;
  border-radius: 999px;
}

.guide-page-shell .logo span {
  color: #6db0f2;
}

.guide-page-shell .btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 18px;
  border: 0;
  border-radius: 999px;
  background: #2379c6;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 700;
}

.guide-page-shell .btn-cta:hover {
  background: #2b87d8;
}
