/* Team Overview Block - variable-driven theming */
.team-overview-block {
  --tob-bg: transparent;
  --tob-text: #090f2e;
  --tob-gap: clamp(20px, 3vw, 40px);
  --tob-max: 1200px;
  background: var(--tob-bg);
  color: var(--tob-text);
  padding: clamp(24px, 4vw, 56px) 0;
  container-type: inline-size;
}

.team-overview-block .tob__inner {
  width: min(100%, var(--tob-max));
  margin-inline: auto;
  padding-inline: clamp(16px, 3vw, 24px);
}

/* Intro layout */
.team-overview-block .tob__intro {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tob-gap);
  align-items: start;
  margin-bottom: clamp(20px, 4vw, 36px);
}

/* Typography */
.team-overview-block .tob__heading {
  margin: 0;
  color: var(--tob-text);
}

.team-overview-block .tob__body { /* Matches Hero_copy style */
  color: var(--tob-text);
  font-size: 1.11rem;
  line-height: 1.5;
    
}

/* .team-overview-block .tob__body a {
  color: inherit;
  text-decoration-thickness: 2px;
} */

/* Grid */
.team-overview-block .tob__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--tob-gap);
  justify-items: center;
  min-height: 1px;
}

/* Card wrapper */
.team-overview-block .tob__card {
  width: 90%;
  display: flex;
  flex-direction: column;
  border-radius: 0.88rem;
  overflow: hidden;
  background: #fff;
  box-shadow: none;
}

/* Image */
.team-overview-block .tob__item {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
}

.team-overview-block .tob__img,
.team-overview-block .tob__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Meta area */
.team-overview-block .tob__meta {
  background: #fff;
  padding: 0.75rem 1rem;
  text-align: left;
}

/* Name */
.team-overview-block .tob__name {
  margin: 0 0 0.2rem;
  font-size: var(--h5-font-size-mobile);
  color: #0f1a2a;
}

/* Position */
.team-overview-block .tob__position {
  font-size: 0.88rem;
  color: var(--dark-blue);
}

/* Responsive Breakpoints */
@container (min-width: 48rem) {
  .team-overview-block .tob__intro { grid-template-columns: 1.2fr 1fr; }
  .team-overview-block .tob__grid  { grid-template-columns: repeat(2, 1fr); }
}

@container (min-width: 75rem) {
  .team-overview-block .tob__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Variant variables for background and text color */
.team-overview-block[data-style="dark"] {
  --tob-bg: #090f30;
  --tob-text: #ffffff;
}

.team-overview-block[data-style="gradient"] {
  --tob-bg: linear-gradient(to bottom, #090f30 0%, #5b0b64 100%);
  --tob-text: #ffffff;
}

.team-overview-block[data-style="lightpurple"] {
  --tob-bg: #760c97;
  --tob-text: #ffffff;
}

.team-overview-block[data-style="Colorful"] {
  --tob-bg:  linear-gradient(64deg, #F53ECB -1.69%, #5376FF 66.86%);
  --tob-text: #ffffff;
}

.team-overview-block[data-style="blue"] {
  --tob-bg: linear-gradient(to right, #01072b 0%, #383891 100%);
  --tob-text: #ffffff;
}

/* Final Button Style */
.team-overview-block .tob__btn {
  display: inline-block;
  background: var(--blue-button);
  color: #ffffff;
  border: 2px solid var(--blue-button);
  /* padding: clamp(0.4rem, 1vw, 0.6rem) clamp(0.8rem, 2vw, 1.25rem);  */
  padding: 0.55rem 1.5rem;
  border-radius: 0.66rem;
  /* font-size: clamp(0.85rem, 1.5vw, 1rem);
  font-weight: 600; */
  text-decoration: none;
/* transition: all 0.3s; */
}

.team-overview-block .tob__btn:hover {
  background: var(--blue-button-hover)!important;
  border: 2px solid var(--blue-button-hover);
}


