h1.wp-block-heading.alignwide.has-raleway-font-family {
    font-size: 5rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 1200px) {
    h1.wp-block-heading.alignwide.has-raleway-font-family {
        font-size: 4.5rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 992px) {
    h1.wp-block-heading.alignwide.has-raleway-font-family {
        font-size: 4rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 768px) {
    h1.wp-block-heading.alignwide.has-raleway-font-family {
        font-size: 3rem;
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 576px) {
    h1.wp-block-heading.alignwide.has-raleway-font-family {
        font-size: 2.5rem;
    }
}

/* FSC Team grid: make images big, square, and keep overlay inside the photo */
.fsc-team img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;     /* keep square */
  object-fit: cover;       /* fill without distortion */
}

/* Make each card a clipping context so overlay can't spill out */
.fsc-team .team-item,
.fsc-team .single-team,
.fsc-team .wpb-team-member,
.fsc-team .team-card,
.fsc-team .wpb-otm, 
.fsc-team .wpb-otm-item {
  position: relative;
  overflow: hidden;
}

/* Constrain/format the hover overlay */
.fsc-team .overlay,
.fsc-team .team-content,
.fsc-team .content,
.fsc-team .member-details,
.fsc-team .wpb-otm-content {
  position: absolute;
  inset: 0;                 /* top/right/bottom/left: 0 */
  padding: 12px;
  background: rgba(0,0,0,.75);
  color: #fff;
  overflow: auto;           /* long bios scroll inside */
  opacity: 0;
  transition: opacity .2s ease;
}

/* Show overlay on hover */
.fsc-team .team-item:hover .overlay,
.fsc-team .team-item:hover .team-content,
.fsc-team .single-team:hover .overlay,
.fsc-team .single-team:hover .team-content,
.fsc-team .wpb-team-member:hover .overlay,
.fsc-team .wpb-team-member:hover .team-content,
.fsc-team .team-card:hover .overlay,
.fsc-team .team-card:hover .member-details,
.fsc-team .wpb-otm-item:hover .wpb-otm-content {
  opacity: 1;
}

/* Readability */
.fsc-team .team-bio,
.fsc-team .content,
.fsc-team .member-details,
.fsc-team .wpb-otm-content {
  font-size: 14px;
  line-height: 1.45;
  word-break: break-word;
}

/* Keep overlay inside the image & clamp lines even if the skin ignores excerpt_length */
.fsc-team .wpb-otm-item { position: relative; overflow: hidden; }
.fsc-team .wpb-otm-content{
  position:absolute; inset:0; padding:12px;
  background:rgba(0,0,0,.75); color:#fff;
  display:-webkit-box; -webkit-box-orient:vertical; overflow:hidden;
  -webkit-line-clamp:10; /* adjust number of lines */
  opacity:0; transition:opacity .2s ease;
}
.fsc-team .wpb-otm-item:hover .wpb-otm-content{ opacity:1; }

/* Bigger, tidy headshots */
.fsc-team img{ width:100%; height:auto; display:block; aspect-ratio:1/1; object-fit:cover; }

/* Full-bleed container for sections even if the theme doesn't support alignfull */
.fsc-fullbleed {
  position: relative;
  width: 100vw;            /* span full viewport */
  max-width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);  /* center the 100vw row */
}

/* Make the WPBean grid use full width inside our full-bleed row */
.fsc-fullbleed .fsc-team,
.fsc-fullbleed .wpb-otm {
  width: 100%;
  max-width: 100%;
}

/* Optional: reduce inner padding if your theme adds big gutters */
.fsc-fullbleed .wp-block-group__inner-container {
  padding-left: 0;
  padding-right: 0;
}
