/* ===========================================================================
   BASE ADVISORY PHASE 4 — ABOUT US + TEAM (ENGLISH)
   Standalone, namespaced, no Elementor or WordPress dependency.
   Reference captured at widths 1440 / 768 / 390 on 14 November 2026.
   ONLY active on body.page-about and body.page-team.
   =========================================================================== */
body.page-about, body.page-team {
  background: #f5f5f5;
  font-family: 'Montserrat', Arial, sans-serif;
  color: #000;
}
body.page-about #main-content, body.page-team #main-content {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
}
body.page-about .site-footer, body.page-team .site-footer { position: relative; }

/* ---- ABOUT US / banner and breadcrumb ---- */
.ba-about-page { background: #f5f5f5; width: 100%; overflow: clip; }
.ba-about-breadcrumb-wrap { padding: 0; }
.ba-about-titlebar {
  width: min(100%, 1179px);
  height: 69px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin: 18px auto 0;
  padding: 10px 0 0;
}
.ba-about-titlebar h1 {
  font-size: 24px;
  line-height: 24px;
  color: #504040;
  margin: 0;
  font-weight: 700;
}
.ba-about-breadcrumb {
  font-size: 16px;
  line-height: 25.6px;
  display: flex;
  align-items: center;
  gap: 11px;
  color: #67797e;
  font-weight: 400;
  text-align: right;
}
.ba-about-breadcrumb a { color: #67797e; }
.ba-about-breadcrumb a:hover { color: #009cda; }
.ba-about-breadcrumb a span { font-size: 20px; color: #161616; margin-right: 6px; }
.ba-about-banner-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: auto;
  min-height: 193px;
  padding: 10px;
  max-width: 1425px;
  margin: 0 auto;
}
.ba-about-banner-row img {
  display: block;
  width: 80%;
  height: auto;
  max-height: 205px;
  object-fit: fill;
  image-rendering: auto;
}
.ba-about-body { width: min(100%, 1179px); margin: 66px auto 0; padding: 0 0 50px; }
.ba-about-intro { min-height: 131px; padding: 0 7px; }
.ba-about-intro h2 {
  color: #000;
  font-size: 19px;
  line-height: 19px;
  font-weight: 700;
  padding: 0;
  margin: 0;
}
.ba-about-intro p {
  margin: 31px 0 0;
  font-size: 16px;
  line-height: 25.6px;
  font-weight: 400;
  color: #000;
}
/* Open first section, closed second section, as on the original live page. */
.ba-about-accordion { width: 100%; margin: 0; }
.ba-about-accordion + .ba-about-accordion { margin-top: 8px; }
.ba-about-accordion > summary {
  list-style: none;
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 10px;
  border: 1px solid #d0d5db;
  color: #3b3b3b;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  cursor: pointer;
  user-select: none;
  background: transparent;
}
.ba-about-accordion > summary::-webkit-details-marker { display: none; }
.ba-about-accordion > summary::before {
  content: '+';
  color: #202020;
  font-weight: 800;
  font-family: Arial, sans-serif;
  font-size: 22px;
  line-height: 1;
  width: 23px;
  flex: 0 0 23px;
}
.ba-about-accordion[open] > summary::before { content: '−'; }
.ba-about-accordion > summary:focus-visible { outline: 2px solid #009cda; outline-offset: 2px; }
.ba-about-values > .ba-about-accordion-content { padding: 58px 10px 10px; }
.ba-about-value-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.ba-about-value-card {
  background: #009cda;
  color: #fff;
  padding: 37px 39px 25px 45px;
  min-width: 0;
  min-height: 645px;
}
.ba-about-value-card h3 {
  color: #fff;
  font-size: 25px;
  line-height: 25px;
  font-weight: 700;
  margin: 0 0 22px;
}
.ba-about-value-card p {
  color: #fff;
  font-size: 17px;
  line-height: 25.6px;
  margin: 0 0 26px;
  font-weight: 400;
}
.ba-about-value-card p:last-child { margin-bottom: 0; }

/* Appointment cards are text-only in the original (no portrait photos). */
.ba-about-people > .ba-about-accordion-content { padding: 11px 0 1px; }
.ba-about-team-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 17px; }
.ba-about-team-card {
  background: #043c5c;
  color: #fff;
  min-height: 399px;
  padding: 59px 51px 30px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.ba-about-team-card h3 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 16px;
}
.ba-about-team-card h4 {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.1;
  color: #fff;
  margin: 0 0 36px;
}
.ba-about-team-card p {
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
  margin: 0 0 20px;
  color: #fff;
}
.ba-about-team-card a {
  font-weight: 700;
  color: #fff;
  font-size: 16px;
  line-height: 22px;
  margin-top: auto;
  align-self: start;
}
.ba-about-team-card a:hover { color: #a8e6ff; text-decoration: underline; }

/* ---- TEAM PROFILES ---- */
.ba-team-page {
  --team-heading-size: 32px;
  --team-title-height: 125px;
  --team-title-gap: 7px;
  --team-panel-height: 934px;
  width: min(91%, 1296px);
  margin: var(--team-title-gap) auto 0;
  padding: 0;
  color: #000;
  background: transparent;
}
.ba-team-shianny {
  --team-title-gap: 13px;
  --team-title-height: 103px;
  --team-panel-height: 780px;
}
.ba-team-jaslyn {
  --team-title-gap: 13px;
  --team-title-height: 111px;
  --team-panel-height: 1181px;
  --team-heading-size: 28px;
}
.ba-team-titlebar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  min-height: var(--team-title-height);
  padding: 10px 10px 0;
  gap: 20px;
}
.ba-team-titlebar h1 {
  font-size: 22px;
  line-height: 25px;
  font-weight: 500;
  color: #000;
  margin: 0;
}
.ba-team-titlebar nav {
  font-size: 16px;
  line-height: 25.6px;
  color: #67797e;
  text-align: right;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.ba-team-titlebar nav a { color: #67797e; }
.ba-team-titlebar nav a:hover { color: #009cda; }
.ba-team-profile-panel {
  width: 100%;
  min-height: var(--team-panel-height);
  display: grid;
  grid-template-columns: 53% 47%;
  padding: 10px;
  border-radius: 12px;
  background: #f8f1f1;
}
.ba-team-primary { padding: 10px; min-width: 0; }
.ba-team-primary > h2,
.ba-team-biography > h2,
.ba-team-section h3 {
  color: #000;
  font-family: Montserrat, Arial, sans-serif;
  font-size: var(--team-heading-size);
  line-height: 1.08;
  font-weight: 700;
  margin: 0;
}
.ba-team-primary > h2 { margin: 0 0 18px; }
.ba-team-role {
  color: #000;
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  text-transform: uppercase;
  margin: 0;
}
.ba-team-tiny-rule {
  height: 1px;
  width: 26px;
  background: #c8afb1;
  margin-top: 51px;
  margin-bottom: 35px;
}
.ba-team-secondary-rule { margin-top: 56px; margin-bottom: 35px; }
.ba-team-section { margin: 0 0 39px; }
.ba-team-section h3 { margin-bottom: 17px; }
.ba-team-section h4 {
  font-size: var(--team-heading-size);
  font-weight: 700;
  line-height: 1.1;
  margin: 17px 0 14px;
  color: #000;
}
.ba-team-section ul {
  padding: 0 0 0 25px;
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: #000;
}
.ba-team-section li { padding: 0; margin: 0 0 8px; }
.ba-team-education { margin-bottom: 39px; }
.ba-team-experience { margin-bottom: 0; }
.ba-team-expertise { margin-bottom: 40px; }
.ba-team-languages { margin-top: 8px; }
.ba-team-biography {
  min-width: 0;
  padding: 10px;
  margin-top: 340px;
}
.ba-team-biography h2 { margin: 0 0 19px; }
.ba-team-biography p {
  font-size: 16px;
  line-height: 25.6px;
  font-weight: 400;
  color: #000;
  margin: 0;
}
.ba-team-return {
  min-height: 71px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
}
.ba-team-return a {
  display: inline-block;
  background: #0029e4;
  color: #fff;
  padding: 18px 25px;
  line-height: 20px;
  border-radius: 30px;
  font-size: 15px;
  font-weight: 600;
}
.ba-team-return a:hover { background: #001ca2; color: #fff; }

/* A small amount of source-page-specific spacing is retained. */
.ba-team-shianny .ba-team-experience h3 { font-size: 30px; }
.ba-team-jaslyn .ba-team-experience h3,
.ba-team-jaslyn .ba-team-expertise h3,
.ba-team-jaslyn .ba-team-languages h3 { font-size: 32px; }
.ba-team-jaslyn .ba-team-expertise h4:nth-of-type(1) { font-size: 32px; }
.ba-team-jaslyn .ba-team-expertise h4:nth-of-type(2) { font-size: 28px; }

/* ---- TABLET / reference keeps side-by-side team bios, 3 values cards ---- */
@media (min-width: 576px) and (max-width: 1024px) {
  .ba-about-titlebar { padding-inline: 10px; }
  .ba-about-banner-row { min-height: 110px; }
  .ba-about-banner-row img { width: 80%; }
  .ba-about-body { margin-top: 67px; }
  .ba-about-intro { min-height: 156px; }
  .ba-about-values > .ba-about-accordion-content { padding-top: 58px; }
  .ba-about-value-card { min-height: 1040px; padding: 37px 14px 35px 26px; }
  .ba-about-value-card h3 { font-size: 25px; line-height: 1.02; }
  .ba-about-value-card p { font-size: 16px; line-height: 25.6px; }
  .ba-about-team-card { min-height: 480px; padding: 40px 20px 30px; }
  .ba-about-team-card h3 { font-size: 25px; }
  .ba-about-team-card h4 { font-size: 20px; }
  .ba-team-page { width: 92.5%; --team-title-gap: -63px; --team-title-height: 184px; }
  .ba-team-shianny { --team-title-height: 162px; }
  .ba-team-jaslyn { --team-title-height: 170px; }
  .ba-team-primary, .ba-team-biography { padding: 10px; }
  .ba-team-profile-panel { grid-template-columns: 53% 47%; }
  .ba-team-section ul { line-height: 1.75; }
}

/* ---- MOBILE / reference values stack; team bio moves below resume ---- */
@media (max-width: 575.98px) {
  body.page-about .site-header,
  body.page-team .site-header { min-height: 136px; height: 136px; }
  body.page-about .site-header .header-shell,
  body.page-team .site-header .header-shell {
    min-height: 136px;
    height: 136px;
    position: relative;
    align-items: flex-start;
    padding: 13px 14px 0;
  }
  body.page-about .site-header .brand img,
  body.page-team .site-header .brand img { width: 120px; height: auto; }
  body.page-about .site-header .header-actions,
  body.page-team .site-header .header-actions { position: static; }
  body.page-about .site-header .language-switcher,
  body.page-team .site-header .language-switcher { position: absolute; left: 10px; top: 100px; }
  body.page-about .site-header .language-trigger,
  body.page-team .site-header .language-trigger {
    min-width: 163px;
    height: 25px;
    padding: 2px 8px;
    border: 1px solid #b9b9b9;
    background: linear-gradient(#fff,#e8e8e8);
    border-radius: 0;
    font-family: Arial, sans-serif;
    color: #111;
    font-size: 13px;
    gap: 6px;
  }
  body.page-about .site-header .language-trigger span:nth-child(2),
  body.page-team .site-header .language-trigger span:nth-child(2) { display: inline; }
  body.page-about .site-header .language-trigger svg,
  body.page-team .site-header .language-trigger svg { margin-left: auto; }
  body.page-about .site-header .mobile-nav-toggle,
  body.page-team .site-header .mobile-nav-toggle {
    position: absolute;
    top: 16px;
    right: 55px;
    display: block;
    width: 42px;
    height: 42px;
  }
  body.page-about .site-header .mobile-nav-toggle span,
  body.page-team .site-header .mobile-nav-toggle span { width: 24px; height: 3px; margin: 5px auto; background: #121212; }
  body.page-about .site-header .mobile-navigation,
  body.page-team .site-header .mobile-navigation { position: absolute; left: 0; right: 0; top: 136px; z-index: 120; }

  .ba-about-titlebar { margin-top: 18px; padding: 10px 10px 0; height: 89px; justify-content: flex-end; }
  .ba-about-titlebar h1 { display: none; }
  .ba-about-breadcrumb { align-self: flex-end; padding-bottom: 5px; }
  .ba-about-banner-row { height: 128px; min-height: 128px; padding: 10px; }
  .ba-about-banner-row img { width: 100%; height: 108px; max-height: none; object-fit: fill; }
  .ba-about-body { margin-top: 67px; padding-bottom: 50px; }
  .ba-about-intro { min-height: 181px; padding: 0 15px; }
  .ba-about-intro p { margin-top: 31px; font-size: 16px; line-height: 25.6px; }
  .ba-about-accordion > summary { min-height: 48px; font-size: 16px; }
  .ba-about-values > .ba-about-accordion-content { padding: 58px 11px 10px; }
  .ba-about-value-grid, .ba-about-team-grid { grid-template-columns: 1fr; gap: 17px; }
  .ba-about-value-card { min-height: 0; padding: 21px 16px 15px; }
  .ba-about-value-card h3 { margin: 0 0 22px; font-size: 25px; line-height: 25px; }
  .ba-about-value-card p { font-size: 17px; line-height: 25.6px; margin: 0 0 25px; }
  .ba-about-team-card { min-height: 325px; padding: 32px 38px 30px; }
  .ba-about-team-card h3 { font-size: 28px; }
  .ba-about-team-card h4 { font-size: 23px; }

  .ba-team-page { width: calc(100% - 24px); margin-top: -63px; }
  .ba-team-titlebar { min-height: 230px; padding: 10px; display: block; }
  .ba-team-shianny .ba-team-titlebar { min-height: 208px; }
  .ba-team-jaslyn .ba-team-titlebar { min-height: 216px; }
  .ba-team-titlebar h1 { font-size: 22px; line-height: 25px; }
  .ba-team-titlebar nav { margin-top: 45px; display: flex; justify-content: center; }
  .ba-team-profile-panel { display: flex; flex-direction: column; padding: 10px; border-radius: 12px; min-height: 0; }
  .ba-team-primary { padding: 10px; }
  .ba-team-primary > h2,
  .ba-team-section h3,
  .ba-team-biography h2 { font-size: 32px; line-height: 1.04; }
  .ba-team-jaslyn .ba-team-primary > h2,
  .ba-team-jaslyn .ba-team-education h3 { font-size: 28px; }
  .ba-team-role { line-height: 24px; font-size: 16px; margin-top: 18px; }
  .ba-team-tiny-rule { margin-top: 51px; margin-bottom: 35px; }
  .ba-team-section { margin-bottom: 39px; }
  .ba-team-section ul { line-height: 1.75; }
  .ba-team-biography { margin-top: 340px; padding: 10px; }
  .ba-team-return { min-height: 71px; }
}

@media (prefers-reduced-motion: reduce) {
  .ba-about-accordion > summary { scroll-behavior: auto; }
}

/* Source-verified biography spacing (the source contains intentional blanks). */
@media (min-width: 1025px) {
  .ba-team-page { margin-bottom: 150px; }
}
.ba-team-biography { margin-top: 350px; }
.ba-team-shianny .ba-team-experience { margin-bottom: 5px; }
.ba-team-shianny .ba-team-secondary-rule { margin-top: 7px; }
.ba-team-shianny .ba-team-languages { margin-bottom: 0; }
.ba-team-alice .ba-team-languages,
.ba-team-jaslyn .ba-team-languages { margin-bottom: 20px; }
@media (min-width:576px) and (max-width:1024px) {
  .ba-team-page { margin-bottom: 150px; }
}
@media (max-width:575.98px) {
  .ba-team-page { margin-bottom: 80px; }
  .ba-team-shianny, .ba-team-jaslyn { margin-top: -57px; }
  .ba-team-shianny .ba-team-secondary-rule { margin-top: 56px; }
  .ba-team-alice .ba-team-secondary-rule { margin-top: 116px; }
  .ba-team-alice .ba-team-profile-panel { padding-bottom: 77px; }
  .ba-team-jaslyn .ba-team-secondary-rule { margin-top: 94px; }
  .ba-team-jaslyn .ba-team-expertise { padding-bottom: 106px; }
  .ba-team-jaslyn .ba-team-biography { margin-top: -20px; }
  .ba-team-jaslyn .ba-team-profile-panel { padding-bottom: 56px; }
}

/* Final 1440/768/390 reference-height refinement; scoped to Phase 4 only. */
@media (min-width:1025px) {
  .ba-about-value-card p { margin-bottom: 17px; }
  .ba-about-value-card p:last-child { margin-bottom: 0; }
}
@media (min-width:576px) and (max-width:1024px) {
  .ba-about-value-card { min-height: 1051px; }
  .ba-team-shianny { margin-bottom: 101px; }
  .ba-team-alice { margin-bottom: 108px; }
  .ba-team-jaslyn { margin-bottom: 158px; }
}
@media (max-width:575.98px) {
  .ba-about-value-card:last-child { padding-bottom: 56px; }
  .ba-team-shianny { margin-bottom: 103px; }
  .ba-team-alice { margin-bottom: 94px; }
  .ba-team-jaslyn { margin-bottom: 86px; }
}
