/* About page — rebuilt from the original design PDF.
   Replaces the Elementor per-page CSS that was lost with the server. */

:root{
  --bec-navy:#0E3659;
  --bec-blue:#0C9ED8;
  --bec-green:#00A883;
  --bec-wash:#E4ECF2;
}

/* the theme's empty grey title band isn't in the design */
#site-title.page-title-section{display:none !important;}

.bec-about{
  color:var(--bec-navy);
  font-size:16px;
  line-height:1.6;
}
.bec-about *{box-sizing:border-box;}
.bec-about p{margin:0 0 1.1em;}
.bec-about p:last-child{margin-bottom:0;}
.bec-wrap{
  max-width:1200px;
  margin:0 auto;
  padding:0 24px;
}

/* ---------- hero ---------- */
.bec-hero{
  position:relative;
  background:#274563 url("/wp-content/uploads/2024/06/about-hero.jpg") center/cover no-repeat;
  color:#fff;
}
.bec-hero::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(90deg,rgba(14,54,89,.88) 0%,rgba(14,54,89,.72) 45%,rgba(14,54,89,.35) 100%);
}
.bec-hero .bec-wrap{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:48px;
  min-height:640px;
  padding-top:72px;
  padding-bottom:72px;
}
.bec-hero-copy{max-width:520px;}
.bec-hero h1{
  color:#fff;
  font-size:44px;
  line-height:1.22;
  font-weight:700;
  margin:0 0 26px;
}
.bec-hero p{
  color:rgba(255,255,255,.92);
  font-size:17px;
  line-height:1.62;
  margin:0;
}
.bec-hero-logo{flex:0 0 auto;}
.bec-hero-logo img{width:320px;max-width:38vw;height:auto;display:block;}

/* ---------- alternating text / image sections ---------- */
.bec-section{background:var(--bec-wash);padding:88px 0;}
.bec-section + .bec-section{padding-top:0;}
.bec-split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:72px;
  align-items:center;
}
.bec-split.is-flipped .bec-split-media{order:-1;}
.bec-h2{
  font-size:34px;
  font-weight:700;
  color:var(--bec-navy);
  margin:0 0 14px;
  line-height:1.2;
}
.bec-rule{
  width:250px;
  max-width:100%;
  height:3px;
  background:var(--bec-blue);
  border:0;
  margin:0 0 28px;
}
.bec-split-media img{
  width:100%;
  height:100%;
  min-height:430px;
  max-height:520px;
  object-fit:cover;
  border-radius:12px;
  display:block;
}

/* ---------- timeline ---------- */
.bec-timeline-wrap{background:var(--bec-wash);padding:40px 0 96px;}
.bec-timeline{
  position:relative;
  display:grid;
  grid-template-columns:repeat(4,1fr);
}
.bec-timeline::before{                       /* the axis */
  content:"";
  position:absolute;
  left:0;right:34px;top:50%;
  border-top:2px dashed #5d7a97;
  transform:translateY(-1px);
}
.bec-timeline::after{                        /* arrow head */
  content:"";
  position:absolute;
  right:0;top:50%;
  width:16px;height:16px;
  border-top:2px solid #5d7a97;
  border-right:2px solid #5d7a97;
  transform:translate(0,-50%) rotate(45deg);
}
.bec-tl-item{
  position:relative;
  min-height:430px;
  display:flex;
  align-items:center;
  justify-content:center;
}
.bec-tl-dot{
  width:20px;height:20px;border-radius:50%;
  background:var(--bec-blue);
  box-shadow:0 0 0 7px var(--bec-wash);
  position:relative;z-index:2;
}
.bec-tl-year{
  position:absolute;
  left:50%;transform:translateX(-50%);
  font-size:32px;font-weight:800;
  color:var(--bec-navy);
  white-space:nowrap;
}
.bec-tl-card{
  position:absolute;
  left:50%;transform:translateX(-50%);
  width:200px;
  background:var(--bec-blue);
  color:#fff;
  font-size:13.5px;
  line-height:1.5;
  padding:16px 18px;
  border-radius:5px;
}
.bec-tl-card::after{                         /* pointer toward the axis */
  content:"";
  position:absolute;
  left:50%;margin-left:-9px;
  border:9px solid transparent;
}
/* year above the line, card below */
.bec-tl-item.year-top .bec-tl-year{bottom:calc(50% + 26px);}
.bec-tl-item.year-top .bec-tl-card{top:calc(50% + 42px);}
.bec-tl-item.year-top .bec-tl-card::after{bottom:100%;border-bottom-color:var(--bec-blue);}
/* card above the line, year below */
.bec-tl-item.card-top .bec-tl-card{bottom:calc(50% + 42px);}
.bec-tl-item.card-top .bec-tl-card::after{top:100%;border-top-color:var(--bec-blue);}
.bec-tl-item.card-top .bec-tl-year{top:calc(50% + 26px);}

/* ---------- founder quote ---------- */
.bec-quote{
  background:var(--bec-navy);
  color:#fff;
  text-align:center;
  padding:82px 0 90px;
}
.bec-quote svg{display:block;margin:0 auto 26px;}
.bec-quote blockquote{
  /* the theme skins <blockquote> with its own box — strip it back */
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
  padding:0 !important;
  quotes:none;
  margin:0 auto 30px;
  max-width:860px;
  font-size:31px;
  line-height:1.38;
  font-weight:700;
  color:#fff;
}
.bec-quote blockquote::before,
.bec-quote blockquote::after{content:none !important;display:none !important;}
.bec-quote .bec-name{
  color:var(--bec-green);
  font-size:21px;
  font-weight:700;
  margin:0 0 6px;
}
.bec-quote .bec-role{
  color:rgba(255,255,255,.86);
  font-size:17px;
  margin:0;
}

/* ---------- call to action ---------- */
.bec-cta{background:var(--bec-wash);text-align:center;padding:74px 0 86px;}
.bec-cta a{
  display:inline-block;
  background:var(--bec-green);
  color:#fff !important;
  font-weight:700;
  font-size:15px;
  padding:17px 34px;
  border-radius:6px;
  text-decoration:none;
  transition:background .18s ease;
}
.bec-cta a:hover{background:#00916f;}

/* ---------- responsive ---------- */
@media (max-width:900px){
  .bec-hero .bec-wrap{min-height:0;padding-top:56px;padding-bottom:56px;flex-direction:column;align-items:flex-start;gap:34px;}
  .bec-hero h1{font-size:32px;}
  .bec-hero-logo img{width:220px;max-width:60vw;}
  .bec-section{padding:56px 0;}
  .bec-split{grid-template-columns:1fr;gap:34px;}
  .bec-split.is-flipped .bec-split-media{order:0;}
  .bec-h2{font-size:27px;}
  .bec-quote blockquote{font-size:22px;}
  .bec-quote{padding:60px 0;}

  /* ---------- timeline, narrow screens ----------
     One row per milestone: card | dot | year (odd) and year | dot | card (even),
     all three centred on the same line, matching the mobile design.
     The desktop rules that place the card above/below the axis are written as
     `.bec-tl-item.year-top .bec-tl-card` (three classes), so every one of them
     has to be undone at that same specificity here — a bare `.bec-tl-card`
     override only flipped `position` to relative and left `top:calc(50% + 42px)`
     in place, which is what pushed each card a screen away from its dot. */
  .bec-timeline-wrap{padding:8px 0 64px;}
  .bec-timeline{grid-template-columns:1fr;row-gap:0;}
  .bec-timeline::before{                     /* the axis runs down the middle */
    left:50%;right:auto;top:0;bottom:30px;
    border-top:0;
    border-left:2px solid #14405F;
    transform:translateX(-1px);
  }
  .bec-timeline::after{                      /* arrow head at the bottom */
    right:auto;left:50%;top:auto;bottom:4px;
    width:14px;height:14px;
    border-color:#14405F;
    transform:translate(-50%,0) rotate(135deg);
  }

  .bec-tl-item{
    min-height:0;
    display:grid;
    grid-template-columns:1fr 34px 1fr;
    align-items:center;
    padding:0 0 34px;
  }
  /* every one of the three lands on row 1 explicitly: with only grid-column set,
     sparse auto-placement pushed the dot and card onto rows of their own */
  .bec-tl-item > *{grid-row:1;}
  .bec-tl-dot{grid-column:2;justify-self:center;width:16px;height:16px;box-shadow:0 0 0 6px var(--bec-wash);}
  .bec-tl-year{font-size:24px;}

  /* unwind the desktop positioning at its own specificity */
  .bec-tl-item.year-top .bec-tl-year,
  .bec-tl-item.card-top .bec-tl-year,
  .bec-tl-item.year-top .bec-tl-card,
  .bec-tl-item.card-top .bec-tl-card{
    position:static;
    transform:none;
    left:auto;right:auto;top:auto;bottom:auto;
    width:auto;max-width:none;
  }
  /* the card keeps a containing block so its pointer anchors to the card */
  .bec-tl-item.year-top .bec-tl-card,
  .bec-tl-item.card-top .bec-tl-card{position:relative;}

  .bec-tl-item.year-top .bec-tl-card::after,
  .bec-tl-item.card-top .bec-tl-card::after{
    top:50%;bottom:auto;margin-top:-9px;margin-left:0;
    border-color:transparent;
  }

  /* 1991 / 2000 — card on the left, year on the right */
  .bec-tl-item.year-top .bec-tl-card{grid-column:1;margin-right:12px;}
  .bec-tl-item.year-top .bec-tl-year{grid-column:3;justify-self:start;padding-left:12px;}
  .bec-tl-item.year-top .bec-tl-card::after{left:100%;right:auto;border-left-color:var(--bec-blue);}

  /* 1992 / Present — year on the left, card on the right */
  .bec-tl-item.card-top .bec-tl-year{grid-column:1;justify-self:end;padding-right:12px;text-align:right;}
  .bec-tl-item.card-top .bec-tl-card{grid-column:3;margin-left:12px;}
  .bec-tl-item.card-top .bec-tl-card::after{right:100%;left:auto;border-right-color:var(--bec-blue);}
}

/* founder portrait in the quote block */
.bec-quote-avatar{
  display:block;
  width:105px;
  height:105px;
  border-radius:50%;
  object-fit:cover;
  margin:0 auto 20px;
  background:rgba(255,255,255,.10);
}
@media (max-width:900px){
  .bec-quote-avatar{width:88px;height:88px;margin-bottom:16px;}
}

/* The theme gives every <li> a 16px bottom margin. The timeline items are grid
   items, so that margin grew the row to 446px while the items stayed 430px —
   the axis (::before at top:50% of the <ol>) landed 8px below the dots, which
   are centred in the 430px items. Zero it so both share one centre line. */
.bec-timeline{list-style:none;padding-left:0;}
.bec-timeline > .bec-tl-item{margin:0;}
