/* team.css - scoped only to page-team.php
   Safe: does NOT modify header / main-nav / site wrappers on other pages.
   Target selector: body.page-template-page-team
*/

/* === Base scope === */
body.page-template-page-team {
  --team-max-width: 1170px;
  font-family: "Roboto", sans-serif;
  color: #303030;
  background: #ffffff;
}

/* container centered and fixed width for the TEAM page only */
body.page-template-page-team .team-container {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--team-max-width);
  margin: 0 auto;
  padding: 0 30px;
}

/* HERO */
body.page-template-page-team .team-hero {
  padding: 40px 0;
}

/* grid: left image / right content */
body.page-template-page-team .team-hero-inner {
  display: grid;
  grid-template-columns: 520px 1fr; /* left image fixed 520px, right fluid */
  gap: 48px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

/* image block */
body.page-template-page-team .team-image-wrap {
  display: block;
}
body.page-template-page-team .team-hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 0;
}

/* right content */
body.page-template-page-team .team-content { display: block; }
body.page-template-page-team .team-text {
  max-width: 720px;
  margin: 0;
}
body.page-template-page-team .team-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #303030;
  margin-bottom: 18px;
}

/* AFTER HERO - full width text area inside same centered container */
body.page-template-page-team .team-after { padding: 24px 0 40px; }
body.page-template-page-team .team-after .team-details p {
  margin-bottom: 18px;
  font-size: 16px;
  line-height: 1.8;
}

/* CERTIFIED section heading (24px) */
body.page-template-page-team .certified-head {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #1D2734;
  margin: 40px 0 12px;
  line-height: 1.25;
}

/* team details inner: logos left, text right */
body.page-template-page-team .team-details-inner {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 18px;
}

/* logo column */
body.page-template-page-team .logos {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
body.page-template-page-team .logos .logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
}
body.page-template-page-team .logos img {
  max-width: 140px;
  height: auto;
  display: block;
}

/* detail column headings — BARDIYA GROUP / G1 WONDERS (16px strong) */
body.page-template-page-team .detail-column h3,
body.page-template-page-team .detail-column h4,
body.page-template-page-team .detail-column strong {
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1D2734;
  text-transform: uppercase;
  margin: 0 0 8px;
  display: block;
}

/* detail column body */
body.page-template-page-team .detail-column p {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 14px;
}

/* small helpers to remove large whitespace under hero image */
body.page-template-page-team .team-hero-inner + .team-after { margin-top: 18px; }

/* responsive: stack on small screens */
@media (max-width: 992px) {
  body.page-template-page-team .team-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  body.page-template-page-team .team-hero-image {
    max-width: 520px;
    margin: 0 auto;
  }
  body.page-template-page-team .team-container {
    padding: 0 20px;
  }
  body.page-template-page-team .team-details-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.page-template-page-team .logos { flex-direction: row; justify-content:center; gap: 20px; }
}

/* final safety — do NOT touch header/nav. These are only for the team page inner layout */
