
/* =========================================================
   B2B FINAL LAYOUT MASTERS (PHASE 1-5 OVERRIDES)
========================================================== */

/* Phase 1: Global Left Alignment and Padding for Heroes */
.about-hero-b2b__content,
.news-hero-press__content,
.st-hero-slide__content {
  padding-top: 8rem !important; /* Forces content below the absolute header */
}
.about-hero-b2b__content h1, .about-hero-b2b__content p,
.news-hero-press__content h1, .news-hero-press__content p,
.st-hero-slide__content h1, .st-hero-slide__content p {
  max-width: 800px;
}

/* Phase 2: Rule of 3 Grids */
.services-grid-b2b {
  grid-template-columns: repeat(3, 1fr) !important;
}
.press-grid {
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 4rem 2rem !important;
}
@media (max-width: 1024px) {
  .services-grid-b2b, .press-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 768px) {
  .services-grid-b2b, .press-grid { grid-template-columns: 1fr !important; }
}

/* Phase 3: Footer 4-Column Restructuring */
.site-footer__inner {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 2rem !important;
  align-items: start;
}
.site-footer__brand {
  max-width: none !important;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.site-footer__logo {
  max-width: 300px !important;
  width: 100%;
  margin: 0 !important;
  display: block;
}

/* Phase 4: Standardize Hero Title Heights */
.news-hero-press__content h1,
.about-hero-b2b__content h1,
.st-hero-slide__content h1 {
  font-size: 2.8rem !important;
  line-height: 1.15;
}

/* Phase 5: Contact Page Top Alignment */
.contact-form-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start !important;
}
.contact-form.st-card {
  margin: 0 !important; /* Remove negative top margin */
}
.contact-map-placeholder__panel {
  margin-top: 0 !important; 
}

/* Modal Size Override */
.st-modal { max-width: 1100px !important; width: 95% !important; }
.st-modal-media { min-height: 500px !important; }

