@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500&family=Inter:wght@400;500&display=swap");

.bc {
  /* values for mobile (< 640px); the media queries below override them */
  --bc-pad-t: 16px;  --bc-pad-b: 37px;
  --bc-mt: 20px;
  --bc-px: 16px;
  --bc-badge-fs: 14px;
  --bc-badge-mt: 4.5px;
  --bc-h2: 24px;   --bc-h2-lh: 32px;   --bc-h2-mt: 12px;
  --bc-sub: 16px;  --bc-sub-lh: 18px;  --bc-sub-mt: 6px;
  --bc-grid-mt: 30px;
  --bc-gap: 15px;
  --bc-h3: 20px;   --bc-h3-lh: 26px;
  --bc-txt: 14px;  --bc-txt-lh: 19px;  --bc-txt-mt: 8px;
  --bc-more: 14px; --bc-more-lh: 18px;
  --bc-arrow: 5px;

  box-sizing: border-box;
  width: 100%;
  margin-top: var(--bc-mt);
  padding: var(--bc-pad-t) 0 var(--bc-pad-b);
  background: #ffffff;
  color: #000000;
}

.bc *,
.bc *::before,
.bc *::after {
  box-sizing: border-box;
}

.bc .bc-container {
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 var(--bc-px);
}

/* ---------- Header ---------- */

.bc .bc-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

.bc .bc-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 32px;
  padding: 0 16px;

  margin: var(--bc-badge-mt) 0 8px;

  font-family: "Geist", sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;

  color: #111111;
  background: transparent;
  border: 1px solid #27b9d5;
  border-radius: 16px;
  transition: background-color .2s ease;
}

.bc .bc-badge:hover {
  background: #15a1cd1a;
}

.bc .bc-title {
  margin: 12px 0 0;
  padding: 0;
  font-family: "Geist", "Inter", sans-serif;
  font-size: clamp(25px, 3.5vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 400;
  color: #000000;
}

.bc .bc-subtitle {
  margin: 16px auto 0;
  max-width: 560px;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
  color: #101d40;
}

/* ---------- Grid ---------- */

.bc .bc-grid {
  display: flex;
  flex-direction: column;
  gap: var(--bc-gap);
  width: 100%;
  margin: var(--bc-grid-mt) auto 0;
}

.bc .bc-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--bc-gap);
  width: 100%;
}

/* ---------- Card ---------- */

.bc .bc-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 1px 5px #00000019;
  transition: box-shadow .3s ease, transform .3s ease;
}

.bc .bc-card:hover {
  box-shadow: 0 10px 25px #00000026;
  transform: translateY(-3px);
}

.bc .bc-media {
  position: relative;
  flex: none;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #ffffff;
}

.bc .bc-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;          
  transition: transform .6s cubic-bezier(.22, 1, .36, 1);
}

.bc .bc-card:hover .bc-media img {
  transform: scale(1.04);
}

/* ---------- Text ---------- */

.bc .bc-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 20px 16px 18px;
}

.bc .bc-card-title {
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Geist", "Inter", sans-serif;
  font-size: 20;
  line-height: var(--bc-h3-lh);
  font-weight: 500;
  text-align: left;
  color: #000000;
}

.bc .bc-text {
  width: 100%;
  margin: var(--bc-txt-mt) 0 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  line-height: var(--bc-txt-lh);
  font-weight: 400;
  text-align: left;
  color: #000000;
}

.bc .bc-text + .bc-text {
  margin-top: calc(var(--bc-txt-mt) - 2px);
}

.bc .bc-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: auto;
  padding-top: 18px;
  font-family: "Inter", sans-serif;
  font-size: var(--bc-more);
  font-weight: 400;
  color: #07143d;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.bc .bc-more::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.bc .bc-more span {
  display: inline-block;
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.bc .bc-arrow-icon {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-right: 1.5px solid currentColor;
  border-top: 1.5px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.4s cubic-bezier(0.65, 0, 0.35, 1);
}

.bc .bc-more:hover {
  color: #27b9d5;
}

.bc .bc-more:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.bc .bc-more:hover span {
  transform: translate(4px, -4px);
}

/* =========================================================
   >= 640px  (tablet)  : horizontal cards put the image on the left
========================================================= */

@media (min-width: 640px) {
  .bc {
    --bc-pad-t: 22px;  --bc-pad-b: 52px;  --bc-mt: 26px;  --bc-px: 24px;
    --bc-badge-fs: 16px;  --bc-badge-mt: 5px;
    --bc-h2: 28px;  --bc-h2-lh: 36px;  --bc-h2-mt: 14px;
    --bc-sub: 17px;  --bc-sub-lh: 19px;  --bc-sub-mt: 7px;
    --bc-grid-mt: 34px;  --bc-gap: 17px;
    --bc-h3: 22px;  --bc-h3-lh: 29px;
    --bc-txt: 15px;  --bc-txt-lh: 21px;  --bc-txt-mt: 9px;
    --bc-more: 14px;  --bc-more-lh: 19px;
    --bc-arrow: 5.5px;
  }

  .bc .bc-card-horizontal {
    flex-direction: row;
  }

  .bc .bc-card-horizontal .bc-media {
    width: 34%;
    height: auto;
    min-height: 240px;
  }

  .bc .bc-body {
    padding: 24px 22px 20px;
  }
}

/* =========================================================
   >= 768px
========================================================= */

@media (min-width: 768px) {
  .bc {
    --bc-pad-t: 26px;  --bc-pad-b: 63px;  --bc-mt: 32px;  --bc-px: 32px;
    --bc-h2: 30px;  --bc-h2-lh: 39px;  --bc-h2-mt: 15px;
    --bc-sub: 17.5px;  --bc-sub-lh: 20px;  --bc-sub-mt: 7.5px;
    --bc-grid-mt: 37px;  --bc-gap: 18.5px;
    --bc-h3: 23px;  --bc-h3-lh: 30px;
    --bc-txt: 16px;  --bc-txt-lh: 22px;  --bc-txt-mt: 9.5px;
    --bc-more: 14px;  --bc-more-lh: 20px;
    --bc-arrow: 5.75px;
  }
}

/* =========================================================
   >= 1024px  (desktop): two columns, fixed 360px card height
   Wide card = 974 wide, narrow card = 697 wide (ratio 974 : 697)
========================================================= */

@media (min-width: 1024px) {
  .bc {
    --bc-pad-t: 30px;  --bc-pad-b: 74px;  --bc-mt: 38px;  --bc-px: 56px;
    --bc-h2: 32px;  --bc-h2-lh: 42px;  --bc-h2-mt: 16px;
    --bc-sub: 18px;  --bc-sub-lh: 22px;  --bc-sub-mt: 8px;
    --bc-grid-mt: 40px;  --bc-gap: 20px;
    --bc-h3: 25px;  --bc-h3-lh: 32px;
    --bc-txt: 17px;  --bc-txt-lh: 23px;  --bc-txt-mt: 10px;
    --bc-more: 14px;  --bc-more-lh: 21px;
    --bc-arrow: 6px;
  }

  .bc .bc-grid {
    width: 94%;
  }

  .bc .bc-row-top    { grid-template-columns: 974fr 697fr; }   /* wide, narrow */
  .bc .bc-row-bottom { grid-template-columns: 697fr 974fr; }   /* narrow, wide */

  .bc .bc-card {
    height: 360px;
  }

  .bc .bc-card-horizontal .bc-media {
    width: 34%;
    min-height: 0;
  }

  .bc .bc-card-vertical .bc-media {
    height: 160px;
  }

  .bc .bc-card-horizontal .bc-body {
    padding: 60px 30px 28px;
  }

  .bc .bc-row-bottom .bc-card-horizontal .bc-body {
    padding-top: 40px;
  }

  .bc .bc-card-vertical .bc-body {
    padding: 26px 30px 28px;
  }

  .bc .bc-row-top .bc-card-vertical .bc-body {
    padding-top: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc .bc-card, .bc .bc-media img, .bc .bc-more span { transition: none; }
}
/* =========================================================
   VIEW ALL ARTICLES — LINK TO THE NEWSROOM PAGE
   ========================================================= */

.bc .bc-view-wrap {
  text-align: center;
}

.bc .bc-view-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 34px auto 0;
  padding: 12px 26px;

  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 500;

  color: #000000;
  background: #ffffff;
  border: 1px solid #27b9d5;
  border-radius: 999px;
  text-decoration: none;

  transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}

.bc .bc-view-all:hover {
  background: #15a1cd1a;
  color: #0f2f4a;
  border-color: #1e72d1;
  transform: translateY(-1px);
}

.bc .bc-view-all .bc-arrow-icon {
  width: 8px;
  height: 8px;
}