/* Company pages: About Us, Contact Us, Privacy Policy. Prefix: co- */

.co-text { font-size: 18px; font-weight: 400; line-height: 1.444; }
/* Elementor text widgets keep a 14.4px bottom margin on every paragraph, including the last. */
.co-text p, .co-team__intro, .co-work__lead, .co-intro__lead { margin-bottom: 14.4px; }
.co-text p + p { margin-top: 0; }

/* ---------- About: hero ---------- */
.co-hero { min-height: 636px; }
.co-hero .page-hero__overlay { background: var(--text); opacity: .35; }
@media (max-width: 767px) {
  .co-hero { min-height: 500px; }
  .co-hero .page-hero__inner { text-align: left; }
}

/* ---------- About: our story ---------- */
.co-story { display: flex; background: var(--accent); }
.co-story__media,
.co-story__body { flex: 0 1 100%; min-width: 0; }
.co-story__media { background-size: cover; background-position: center; }
.co-story__body { display: flex; flex-direction: column; align-items: flex-start; padding: 167px var(--gutter) 167px 40px; }
.co-story__title,
.co-story__text { width: 100%; max-width: 610px; }
.co-story__text { margin-top: 24px; color: var(--text); }
@media (max-width: 1024px) {
  .co-story { flex-wrap: wrap; }
  .co-story__media { flex-basis: 100%; min-height: 600px; }
  .co-story__body { flex-basis: 100%; padding: 80px var(--gutter); }
  .co-story__title, .co-story__text { max-width: 100%; }
}
@media (max-width: 767px) {
  .co-story__body { text-align: center; }
}

/* ---------- About: team ---------- */
.co-team { display: flex; flex-direction: column; margin-top: 120px; text-align: center; }
.co-team__intro { margin-top: 20px; color: var(--text); }
.co-team__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; text-align: left; }
.co-member { display: flex; flex-direction: column; }
.co-member__name { margin-top: 40px; }
.co-member__role { margin-top: 20px; font-size: 18px; font-weight: 700; line-height: 1.444; color: var(--black); }
.co-member__bio { margin-top: 20px; color: var(--grey); }
@media (max-width: 1024px) {
  /* The original keeps a 2-row grid here (leaves an empty row on tablet). */
  .co-team__grid { grid-template-rows: repeat(2, 1fr); align-items: center; }
}
@media (max-width: 767px) {
  .co-team__grid { grid-template-columns: 1fr; }
  .co-member__name { margin-top: 14px; }
  .co-member__role { margin-top: 8px; }
  .co-member__bio { margin-top: 14px; }
}

/* ---------- About: work with us ---------- */
.co-work { display: flex; gap: 20px 40px; margin-top: 160px; }
.co-work__text { flex: 0 1 66%; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.co-work__lead { margin-top: 16px; }
.co-work__cta { flex: 0 1 34%; display: flex; justify-content: flex-end; align-items: flex-end; }
@media (max-width: 1366px) { .co-work__cta { align-items: center; } }
@media (max-width: 1024px) {
  .co-work { flex-wrap: wrap; }
  .co-work__text { flex-basis: 100%; align-items: center; }
  .co-work__cta { flex-basis: 100%; justify-content: center; }
}
@media (max-width: 767px) {
  .co-work__text { text-align: center; }
}

/* ---------- Shared blocks, page-specific spacing ---------- */
.co-testimonials { margin-top: 120px; }
.co-contact { margin-top: 120px; }
.co-contact--page { margin-top: 130px; }

/* ---------- Contact: intro ---------- */
.co-intro { display: flex; gap: 30px 50px; }
.co-intro__text,
.co-intro__media { flex: 1 1 0; min-width: 0; }
.co-intro__text { display: flex; flex-direction: column; justify-content: center; }
.co-intro__lead { margin-top: 40px; color: var(--text); }
.co-intro__media img { width: 100%; aspect-ratio: 613 / 660; object-fit: cover; }
@media (max-width: 767px) {
  .co-intro { flex-direction: column; }
  .co-intro__text { justify-content: flex-start; }
  .co-intro__lead { margin-top: 40px; }
}

/* ---------- Privacy policy (plain theme page) ---------- */
.co-legal { width: 100%; padding-inline: 10px; margin: 0 auto; color: var(--charcoal); }
@media (min-width: 576px) { .co-legal { max-width: 500px; padding-inline: 0; } }
@media (min-width: 768px) { .co-legal { max-width: 600px; } }
@media (min-width: 992px) { .co-legal { max-width: 800px; } }
@media (min-width: 1200px) { .co-legal { max-width: 1140px; } }
.co-legal__title { margin: 8px 0 16px; font-family: var(--sans); font-size: 40px; font-weight: 500; line-height: 1.2; color: var(--charcoal); }
@media (max-width: 575px) { .co-legal__title { padding-inline: 10px; } }
.co-legal__body { color: var(--charcoal); }
.co-legal__body h2 { margin: 8px 0 16px; font-family: var(--sans); font-size: 32px; font-weight: 400; line-height: 1.2; color: var(--charcoal); }
.co-legal__body p { margin: 0 0 14.4px; }
.co-legal__body p + p { margin-top: 0; }
.co-legal__body strong { font-weight: 700; }
