/* Index banner controls and category-card icon fallbacks */
.carousel .carousel-control .index-arrow-icon {
  display: inline-flex;
  width: 60px;
  height: 60px;
  align-items: center;
  justify-content: center;
  color: #fff;
}
.carousel .carousel-control .index-arrow-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  pointer-events: none;
}
.carousel .carousel-control:hover .index-arrow-icon,
.carousel .carousel-control:focus .index-arrow-icon {
  color: #f5f5f5;
}
#extFeatures18-4q .card-icon .index-card-icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: #afa05a !important;
  fill: none;
}
#extFeatures18-4q .card-icon .index-card-icon svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.55;
  pointer-events: none;
}
#extFeatures18-4q .card-icon .index-card-icon svg circle,
#extFeatures18-4q .card-icon .index-card-icon svg rect {
  vector-effect: non-scaling-stroke;
}
/* Energy-page fallback: controls sit outside the malformed carousel wrapper in some exports. */
.cid-shrbvtkdUy .carousel-control .index-arrow-icon {
  display: inline-flex !important;
  width: 60px !important;
  height: 60px !important;
  align-items: center;
  justify-content: center;
  color: #fff !important;
}
.cid-shrbvtkdUy .carousel-control .index-arrow-icon svg {
  display: block !important;
  width: 28px !important;
  height: 28px !important;
  fill: none !important;
  stroke: currentColor !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8 !important;
  pointer-events: none;
}

/* Shared responsive repair: keep page titles intact and prevent mobile section overlap. */
@media (max-width: 767px) {
  .cid-shrbvtkdUy {
    position: relative;
    z-index: 1;
  }
  .cid-shrbvtkdUy .carousel,
  .cid-shrbvtkdUy .carousel-inner,
  .cid-shrbvtkdUy .carousel-item,
  .cid-shrbvtkdUy .carousel-item .item-wrapper {
    height: 360px !important;
    min-height: 360px !important;
  }
  .cid-shrbvtkdUy .carousel img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }
  .cid-shrbvtkdUy .container {
    position: relative;
    z-index: 3;
  }
  .cid-shrbvtkdUy .container h2.display-1,
  .cid-shrbvtkdUy .container h2.display-2 {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    font-size: clamp(1.55rem, 8vw, 3rem) !important;
    line-height: 1.15 !important;
  }
  .cid-shrbvtkdUy .container h3 {
    overflow-wrap: normal;
  }
  .cid-si67UZgvop {
    position: relative;
    z-index: 2;
    overflow: visible !important;
  }
  .cid-si67UZgvop .title {
    position: relative;
    z-index: 3;
    min-height: 78px;
    padding-top: 0.75rem !important;
    padding-bottom: 0.75rem !important;
    overflow: visible !important;
  }
  .cid-si67UZgvop .title > div {
    display: block;
    width: 100%;
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    text-align: center;
    line-height: 1.15 !important;
    overflow: visible !important;
  }
  .cid-si67UZgvop .title > div span {
    font-size: clamp(1.45rem, 8vw, 3rem) !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
  }
}

/* Apply the same no-wrap title treatment to non-carousel page headers. */
@media (max-width: 767px) {
  h1.mbr-section-title.display-1,
  h2.mbr-section-title.display-1,
  h1.mbr-section-title.display-2,
  h2.mbr-section-title.display-2,
  h1.display-1,
  h2.display-1,
  h1.display-2,
  h2.display-2 {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    font-size: clamp(1.1rem, 7vw, 3rem) !important;
    line-height: 1.15 !important;
  }
}

/* Education mobile heading: keep the two-word trust-panel title together. */
@media (max-width: 767px) {
  .education-trust-panel .section-text > div:first-child,
  .education-trust-panel .section-text > div:first-child span {
    white-space: nowrap !important;
    word-break: keep-all !important;
    overflow-wrap: normal !important;
    font-size: clamp(1.35rem, 8vw, 3rem) !important;
    line-height: 1.15 !important;
  }
}
