/* =========================================================
   Phoenix Family - About Pages Custom Styles
   Applies to: Mission, Board, Team, Careers, Partners, etc.
   ========================================================= */

/* ---------- GLOBAL RESET FOR ABOUT PAGES ---------- */
.main {
  background-color: #ffffff;
  color: #000000;
  font-family: "Open Sans", sans-serif;
}

/* ---------- HERO STYLING ---------- */
.hero-banner {
  position: relative;
  width: 100%;
  height: 380px;
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: #ffffff;
}

.hero-banner h1 {
  font-weight: 700;
  font-size: 2.75rem;
  color: inherit;
  margin-bottom: 0;
}

/* Optional paragraph in hero */
.hero-banner p {
  font-size: 1.25rem;
  color: inherit;
}

/* Hero text color overrides (set per page) */
.hero-banner.text-black h1,
.hero-banner.text-black p {
  color: #000000;
}

/* ---------- PAGE TYPOGRAPHY ---------- */
.main h1, 
.main h2, 
.main h3 {
  font-weight: 700;
  color: #000000;
}

.main p.lead {
  font-size: 1.125rem;
  color: #333333;
  line-height: 1.6;
}

/* ---------- SECTION SPACING ---------- */
section {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

@media (max-width: 768px) {
  .hero-banner {
    height: 260px;
  }
  .hero-banner h1 {
    font-size: 2rem;
  }
}

/* ---------- TEAM & BOARD CARD BASES ---------- */
.card {
  border-radius: 0.25rem;
  background-color: #f8f8f8;
  transition: box-shadow 0.3s ease;
}

.card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.card h5 {
  font-weight: 700;
  color: #000000;
  margin-bottom: 0.25rem;
}

.card p {
  color: #333333;
  margin-bottom: 0.25rem;
}

.card a {
  color: #bb1654;
  text-decoration: none;
}

.card a:hover {
  text-decoration: underline;
}

/* ---------- GRID SPACING ---------- */
.mb-md {
  margin-bottom: 1.5rem !important;
}
.mt-xl {
  margin-top: 3rem !important;
}
.mb-xs {
  margin-bottom: 0.25rem !important;
}

/* ---------- RED ACCENT BAR (TOP OF CARDS) ---------- */
.card > div:first-child[style*="background-color"] {
  border-top-left-radius: .25rem;
  border-top-right-radius: .25rem;
}

/* ---------- ACCESSIBILITY ENHANCEMENTS ---------- */
a:focus,
button:focus,
input:focus {
  outline: 2px solid #bb1654;
  outline-offset: 2px;
}

/* ---------- UTILITY CLASSES ---------- */
.text-center {
  text-align: center !important;
}
.text-white {
  color: #ffffff !important;
}
.text-black {
  color: #000000 !important;
}

/* ---------- MAILCHIMP FORM ALIGNMENT FIX ---------- */
#mc_embed_signup {
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

#mc_embed_signup input.email,
#mc_embed_signup input.text {
  width: 100%;
  border-radius: 3px;
  padding: 8px;
}

#mc_embed_signup .button {
  background-color: #bb1654;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

#mc_embed_signup .button:hover {
  background-color: #9e1247;
}

/* ---------- FOOTER CLEANUP ---------- */
.footer-ribbon {
  background-color: #bb1654;
  color: #ffffff;
  font-weight: 600;
}
.footer-copyright {
  background-color: #222222;
  color: #ffffff;
  padding: 1.5rem 0;
}
