
/* ==============================================================
   TE ENERGY PAGE AEM / TE.COM PRODUCTION STYLES
   Assumes TE.com global CSS is already loaded.
   This file supplies the Energy module styles plus the small subset
   of Bootstrap layout/utility classes used by the shared HTML.
   No Bootstrap CSS dependency is required.
   ============================================================== */

/* ---------- 0. Shared-HTML layout compatibility (Bootstrap subset) ---------- */


#ene-energy-page .row {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 0;
  display: flex;
  flex-wrap: wrap;
  margin-top: calc(-1 * var(--bs-gutter-y));
  margin-right: calc(-.5 * var(--bs-gutter-x));
  margin-left: calc(-.5 * var(--bs-gutter-x));
}

#ene-energy-page .row > * {
  flex-shrink: 0;
  width: 100%;
  max-width: 100%;
  padding-right: calc(.5 * var(--bs-gutter-x));
  padding-left: calc(.5 * var(--bs-gutter-x));
  margin-top: var(--bs-gutter-y);
}

#ene-energy-page .gx-5 {
  --bs-gutter-x: 3rem;
}

#ene-energy-page .col {
  flex: 1 0 0%;
}

#ene-energy-page .col-12 {
  flex: 0 0 auto;
  width: 100%;
}

@media (min-width: 768px) {
  #ene-energy-page .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 768px) {
  #ene-energy-page .col-md-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

@media (min-width: 992px) {
  #ene-energy-page .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (min-width: 1200px) {
  #ene-energy-page .col-xl-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
}

@media (min-width: 1200px) {
  #ene-energy-page .col-xl-9 {
    flex: 0 0 auto;
    width: 75%;
  }
}

@media (min-width: 1400px) {
  #ene-energy-page .col-xxl-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

#ene-energy-page .d-block {
  display: block !important;
}

#ene-energy-page .d-flex {
  display: flex !important;
}

#ene-energy-page .flex-column {
  flex-direction: column !important;
}

#ene-energy-page .align-items-center {
  align-items: center !important;
}

#ene-energy-page .align-content-center {
  align-content: center !important;
}

#ene-energy-page .justify-content-center {
  justify-content: center !important;
}

#ene-energy-page .h-100 {
  height: 100% !important;
}

#ene-energy-page .w-100 {
  width: 100% !important;
}

#ene-energy-page .text-center {
  text-align: center !important;
}

#ene-energy-page .text-start {
  text-align: left !important;
}

#ene-energy-page .img-fluid {
  max-width: 100%;
  height: auto;
}

#ene-energy-page .aspect-ratio-16x9 {
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

@media (min-width: 576px) {
  #ene-energy-page .d-sm-flex {
    display: flex !important;
  }
}

@media (min-width: 768px) {
  #ene-energy-page .d-md-flex {
    display: flex !important;
  }
}

@media (min-width: 768px) {
  #ene-energy-page .align-items-md-center {
    align-items: center !important;
  }
}

@media (min-width: 768px) {
  #ene-energy-page .text-md-start {
    text-align: left !important;
  }
}

@media (min-width: 768px) {
  #ene-energy-page .mb-md-2 {
    margin-bottom: .5rem !important;
  }
}

@media (min-width: 992px) {
  #ene-energy-page .flex-lg-row {
    flex-direction: row !important;
  }
}

@media (min-width: 992px) {
  #ene-energy-page .text-lg-start {
    text-align: left !important;
  }
}

@media (min-width: 992px) {
  #ene-energy-page .me-lg-4 {
    margin-right: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  #ene-energy-page .ms-lg-4 {
    margin-left: 1.5rem !important;
  }
}

@media (min-width: 992px) {
  #ene-energy-page .mb-lg-0 {
    margin-bottom: 0 !important;
  }
}

#ene-energy-page .me-2 {
  margin-right: .5rem !important;
}

#ene-energy-page .mb-0 {
  margin-bottom: 0 !important;
}

#ene-energy-page .mt-4 {
  margin-top: 1.5rem !important;
}

#ene-energy-page .my-2 {
  margin-top: .5rem !important;
  margin-bottom: .5rem !important;
}

#ene-energy-page .p-3 {
  padding: 1rem !important;
}

#ene-energy-page .py-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

#ene-energy-page .gap-4 {
  gap: 1.5rem !important;
}

#ene-energy-page .border {
  border: 1px solid var(--te-border) !important;
}

#ene-energy-page .border-0 {
  border: 0 !important;
}

#ene-energy-page .border-bottom {
  border-bottom: 1px solid var(--te-border) !important;
}

#ene-energy-page .nav {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

#ene-energy-page .nav-link {
  display: block;
  text-decoration: none;
}

#ene-energy-page .card-group {
  display: block;
}

@media (min-width: 576px) {
  #ene-energy-page .card-group {
    display: flex;
    flex-flow: row wrap;
  }
}

@media (min-width: 576px) {
  #ene-energy-page .card-group > .card {
    flex: 1 0 0%;
    margin-bottom: 0;
  }
}


#ene-energy-page .tab-pane {
  display: none;
}

#ene-energy-page .tab-pane.active {
  display: block;
}

/* ---------- 1. Design tokens ---------- */

:root {
  --te-blue: #0066a1;
  --te-teal: #167a87;
  --te-orange: #e98300;
  --te-dark-navy: #2e4957;
  --te-charcoal: #3f4348;
  --te-grey: #666666;
  --te-cool-grey: #747678;
  --te-border: #cccccc;
  --te-light-border: #ededee;
  --te-light-grey: #f7f7f7;
  --te-pale-grey: #f0f2f3;
  --te-white: #ffffff;
  --te-font: Avenir, "Avenir W02", Arial, sans-serif;
}

/* ---------- 2. Page scope, box sizing and section rhythm ---------- */

#ene-energy-page, #ene-energy-page *, #ene-energy-page *::before, #ene-energy-page *::after {
  box-sizing: border-box;
}

#ene-energy-page {
  background: var(--te-white);
  color: var(--te-charcoal);
  font-family: var(--te-font);
}

#ene-energy-page > section {
  display: flex;
  align-items: center;
  width: 100%;
  margin: 0;
  padding-top: 2.25rem;
  padding-bottom: 2.25rem;
  border-top: 0;
}

#ene-energy-page h1, #ene-energy-page h2, #ene-energy-page h3, #ene-energy-page h4, #ene-energy-page h5, #ene-energy-page h6, #ene-energy-page p, #ene-energy-page ul, #ene-energy-page ol, #ene-energy-page figure {
  margin-top: 0;
}

#ene-energy-page h1, #ene-energy-page h2, #ene-energy-page h3, #ene-energy-page h4, #ene-energy-page h5, #ene-energy-page h6 {
  margin-top: 0;
  margin-bottom: .5rem;
}

#ene-energy-page p {
  margin-top: .625rem;
  margin-bottom: .625rem;
}

#ene-energy-page .eyebrow {
  display: block;
  margin-bottom: .25rem;
}

#ene-energy-page .section-intro h3 {
  margin-bottom: .5rem;
}


/* ---------- 3. TE-like typography used by custom modules ---------- */

#ene-energy-page h1 {
  color: var(--te-charcoal);
  font-size: 1.625rem;
  font-weight: 200;
  line-height: 1.23;
}

#ene-energy-page h2 {
  color: var(--te-charcoal);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.33;
}

#ene-energy-page h3 {
  color: var(--te-charcoal);
  font-size: 1.625rem;
  font-weight: 700;
  line-height: 1.23;
}

#ene-energy-page h4 {
  color: var(--te-charcoal);
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.57;
}

#ene-energy-page p, #ene-energy-page li {
  color: var(--te-charcoal);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.57142857;
}


/* Standard text hyperlinks */
#ene-energy-page p a:not(.btn),
#ene-energy-page li a:not(.btn),
#ene-energy-page .faq-content a:not(.btn),
#ene-energy-page .card-body a:not(.btn),
#ene-energy-page .tab-content a:not(.btn) {
  font-weight: 700;
  line-height: 1.57142857;
}

#ene-energy-page .eyebrow {
  font-size: .75rem;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Universal superscript styling */
#ene-energy-page sup {
  font-size: .4em;
  line-height: 0;
  vertical-align: super;
  margin-left: 2px;
}

/* Larger superscripts in paragraphs */
#ene-energy-page p sup {
  font-size: .6em;
}

#ene-energy-page .text-white {
  color: var(--te-white) !important;
}

#ene-energy-page .text-white-50 {
  color: rgba(255,255,255,.75) !important;
}

#ene-energy-page .text-te-orange {
  color: var(--te-orange) !important;
}

#ene-energy-page .text-te-light-grey {
  color: var(--te-light-grey) !important;
}

#ene-energy-page .bg-te-dark {
  background-color: var(--te-dark-navy) !important;
}

#ene-energy-page .bg-te-orange {
  background-color: var(--te-orange) !important;
}

/* ---------- 4. Shared container approximation ---------- */

#ene-energy-page .container {
  width: 100%;
  max-width: 1024px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 42px;
  padding-right: 42px;
}

@media (min-width: 1200px) and (max-width: 1439px) {
  #ene-energy-page .container {
    max-width: 1200px;
  }
}

@media (min-width: 1440px) {
  #ene-energy-page .container {
    max-width: 1440px;
    padding-left: 64px;
    padding-right: 64px;
  }
}

@media (max-width: 719px) {
  #ene-energy-page .container {
    max-width: 100%;
    padding-left: 7vw;
    padding-right: 7vw;
  }
}

/* ---------- 5. Page title and sticky navigation ---------- */

#ene-energy-page > .page-title {
  padding-bottom: 0;
}

#ene-energy-page .page-title small {
  display: block;
  margin-bottom: 6px;
}

#ene-energy-page > .page-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  padding-top: 0;
  padding-bottom: 0;
  border-top: 0;
  background: var(--te-white);
}

/* Mobile breadcrumb spacing below TE global header */
@media (max-width: 719px) {
  #ene-energy-page > .page-title {
    padding-top: 1rem;
  }
}

/* Hero already supplies the visual break above Video + Text. */

#ene-energy-page > .video-text-section {
  border-top: 0;
}

#ene-energy-page .page-nav .nav-tabs {
  margin-left: 0;
  padding-left: 0;
  border: 0;
  justify-content: flex-start;
}

#ene-energy-page .page-nav .nav-item {
  margin: 0;
}

/* TE nav-mask inspired navigation text */

#ene-energy-page .page-nav .nav-link {
  display: block;
  padding: .75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0;
  color: #0066a1;
  font-family: var(--te-font);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
}

/* Keep first desktop item flush with the page container */

/* TE nav-mask hover box */

#ene-energy-page .page-nav .nav-link:hover, #ene-energy-page .page-nav .nav-link:focus {
  background-color: #f7f7f7;
  border-color: #f7f7f7;
  color: #3db7e4;
}

/* Current/active section */

#ene-energy-page .page-nav .nav-link.active {
  background: var(--te-white);
  border-color: transparent transparent var(--te-orange);
  border-bottom-width: 4px;
  color: #0066a1;
}

/* Page-nav scroll controls are only used at MD and below. */

#ene-energy-page .btn.page-nav-scroll {
  display: none !important;
}

@media (max-width: 991px) {
  #ene-energy-page > .page-nav {
    position: sticky !important;
    top: 0;
    z-index: 20;
    padding-top: 0;
    padding-bottom: 0;
    background: var(--te-white);
  }
}

@media (max-width: 991px) {
  #ene-energy-page .page-nav .container {
    position: relative;
    padding-left: 44px;
    padding-right: 44px;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .page-nav .nav-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .page-nav .nav-tabs::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .page-nav .nav-item {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .page-nav .nav-link, #ene-energy-page .page-nav .nav-item:first-child .nav-link {
    display: block;
    width: auto;
    padding: 12px 16px;
    white-space: nowrap;
    text-align: center;
  }
}

/* TE-style controls for horizontally scrollable page navigation. */

@media (max-width: 991px) {
  #ene-energy-page .btn.page-nav-scroll {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 21;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--te-white);
    color: #0066a1;
    font-family: Arial, sans-serif;
    font-size: 24px;
    font-weight: 400;
    line-height: 1;
    cursor: pointer;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .btn.page-nav-scroll:hover, #ene-energy-page .btn.page-nav-scroll:focus {
    background: #f7f7f7;
    color: #3db7e4;
    outline: 0;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .page-nav-scroll.is-hidden {
    display: none !important;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .btn.page-nav-scroll-prev {
    left: 0;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .btn.page-nav-scroll-next {
    right: 0;
  }
}

/* ---------- 6. Hero ---------- */

#ene-energy-page > .hero {
  display: block;
  padding-top: 0;
  padding-bottom: 0;
}

#ene-energy-page .hero-image {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 500px;
  min-height: 360px;
  background-position: center;
  background-size: cover;
}

#ene-energy-page .hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient( 90deg, rgba(16,28,31,.80) 0%, rgba(16,28,31,.55) 35%, rgba(16,28,31,0) 70% );
  pointer-events: none;
}

#ene-energy-page .hero-image > .container {
  position: relative;
  z-index: 1;
}

#ene-energy-page .ene-hero-heading {
  max-width: 700px;
  margin: 0 0 20px;
  color: var(--te-white);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
}

#ene-energy-page .ene-hero-subheading {
  max-width: 650px;
  margin: 0 0 20px;
  color: var(--te-white);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
}

/* Hero CTA layout */
#ene-energy-page .hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

/* Equal-width hero buttons at MD and below */
@media (max-width: 991px) {
  #ene-energy-page .hero-ctas {
    justify-content: center;
    align-items: center;
  }

  #ene-energy-page .hero-ctas .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Stack hero buttons on smaller screens */
@media (max-width: 575px) {
  #ene-energy-page .hero-ctas {
    flex-direction: column;
  }
}

/* MD and below: centered content with a full-image overlay. */

@media (max-width: 991px) {
  #ene-energy-page .hero-image::before {
    background: rgba(16,28,31,.65);
  }
}

@media (max-width: 991px) {
  #ene-energy-page .hero-image > .container {
    text-align: center;
  }
}

/* Override the desktop hero column sizing at MD and below. */

@media (max-width: 991px) {
  #ene-energy-page .hero-image .row {
    justify-content: center;
  }

  #ene-energy-page .hero-image .row > [class*="col-"] {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    align-items: center !important;
    text-align: center !important;
  }

  #ene-energy-page .hero-image .row > [class*="col-"] > div {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .ene-hero-heading, #ene-energy-page .ene-hero-subheading {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .hero-image .btn {
    align-self: center;
  }
}

/* TE mobile breakpoint: allow content to determine hero height. */

@media (max-width: 719px) {
  #ene-energy-page .hero-image {
    aspect-ratio: auto;
    height: auto;
    min-height: 400px;
    padding-top: 32px;
    padding-bottom: 32px;
  }
}

@media (max-width: 719px) {
  #ene-energy-page .ene-hero-heading {
    font-size: 28px;
    margin-bottom: 12px;
  }
}

@media (max-width: 719px) {
  #ene-energy-page .ene-hero-subheading {
    font-size: 16px;
  }
}

/* Brightcove hero background */
#ene-energy-page .hero-image .hero-bg-video {
  position: absolute !important;
  inset: 0;
  z-index: 0;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden;
  pointer-events: none;
}

/* Brightcove player and video */
#ene-energy-page .hero-image .hero-bg-video video-js,
#ene-energy-page .hero-image .hero-bg-video .video-js,
#ene-energy-page .hero-image .hero-bg-video video {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

/* Keep fallback image visible until video playback begins */
#ene-energy-page .hero-bg-video {
  visibility: hidden;
}

/* Reveal the video after playback begins */
#ene-energy-page .hero-image.is-playing .hero-bg-video {
  visibility: visible;
}

/* Hide custom playback button initially */
#ene-energy-page .hero-video-toggle {
  visibility: hidden;
}

/* Reveal playback button after playback begins */
#ene-energy-page .hero-image.is-playing .hero-video-toggle {
  visibility: visible;
}

/* Hide player interface */
#ene-energy-page .hero-bg-video .vjs-control-bar,
#ene-energy-page .hero-bg-video .vjs-big-play-button {
  display: none !important;
}

/* Existing dark overlay */
#ene-energy-page .hero-image::before {
  z-index: 1;
}

/* Hero text and CTAs */
#ene-energy-page .hero-image > .container {
  position: relative;
  z-index: 2;
}


/* =========================================================
   Hero background video pause/play control
   ========================================================= */

#ene-energy-page .hero-image .hero-video-toggle {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 3;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px !important;
  min-height: 44px;
  padding: 0;

  border: 1px solid rgba(255,255,255,.8);
  border-radius: 0;

  background: #000;
  color: #fff;

  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;

  cursor: pointer;
}

/* Draw the Play icon as a triangle */
#ene-energy-page .hero-video-toggle::before {
  content: '';
  display: block;
  width: 0;
  height: 0;

  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid #fff;

  margin-left: 3px;
}

/* Draw the Pause icon as two vertical bars */
#ene-energy-page .hero-video-toggle[data-playing="true"]::before {
  width: 12px;
  height: 16px;
  margin-left: 0;
  border: 0;

  background: linear-gradient(
    to right,
    #fff 0 4px,
    transparent 4px 8px,
    #fff 8px 12px
  );
}



/* Preserve mobile positioning */
@media (max-width: 719px) {
  #ene-energy-page .hero-image .hero-video-toggle {
    right: 16px;
    bottom: 16px;
  }
}


/* Hide Brightcove loading indicator in hero */
#ene-energy-page #ene-hero-video .vjs-loading-spinner {
  display: none !important;
}



/* Invert hero playback button colors on hover and focus */
#ene-energy-page .hero-image .hero-video-toggle:hover,
#ene-energy-page .hero-image .hero-video-toggle:focus-visible {
  background: #fff;
  color: var(--te-charcoal);
}

/* Play icon: white triangle becomes charcoal */
#ene-energy-page .hero-image .hero-video-toggle:hover::before,
#ene-energy-page .hero-image .hero-video-toggle:focus-visible::before {
  border-left-color: var(--te-charcoal);
}

/* Pause icon: white bars become charcoal */
#ene-energy-page .hero-image .hero-video-toggle[data-playing="true"]:hover::before,
#ene-energy-page .hero-image .hero-video-toggle[data-playing="true"]:focus-visible::before {
  background: linear-gradient(
    to right,
    var(--te-charcoal) 0 4px,
    transparent 4px 8px,
    var(--te-charcoal) 8px 12px
  );
}


@media (max-width: 719px) {
  #ene-energy-page .hero-image .hero-video-toggle {
    right: 16px;
    bottom: 16px;
  }
}

/* Normalize hero playback button on mobile Safari */
#ene-energy-page .hero-image .hero-video-toggle {
  -webkit-appearance: none;
  appearance: none;
  font-family: Arial, sans-serif;
  font-variant-emoji: text;
  -webkit-tap-highlight-color: transparent;
}


/* Prevent persistent hover styling on touch devices */
@media (hover: none) and (pointer: coarse) {
  #ene-energy-page .hero-image .hero-video-toggle:hover,
  #ene-energy-page .hero-image .hero-video-toggle:focus-visible {
    background: #000;
    color: #fff;
  }

  /* Play icon remains white */
  #ene-energy-page .hero-image .hero-video-toggle:hover::before,
  #ene-energy-page .hero-image .hero-video-toggle:focus-visible::before {
    border-left-color: #fff;
  }

  /* Pause icon remains white */
  #ene-energy-page .hero-image .hero-video-toggle[data-playing="true"]:hover::before,
  #ene-energy-page .hero-image .hero-video-toggle[data-playing="true"]:focus-visible::before {
    background: linear-gradient(
      to right,
      #fff 0 4px,
      transparent 4px 8px,
      #fff 8px 12px
    );
  }
}



/* ---------- 7. Buttons / CTAs ---------- */

#ene-energy-page .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto !important;
  min-height: 40px;
  padding: 10px 20px;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font-size: .875rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  white-space: normal;
}

#ene-energy-page .btn-primary, #ene-energy-page .btn-te-blue {
  background: var(--te-dark-navy);
  color: var(--te-white);
}

#ene-energy-page .btn-primary:hover, #ene-energy-page .btn-primary:focus, #ene-energy-page .btn-te-blue:hover, #ene-energy-page .btn-te-blue:focus {
  background: #233742;
  color: var(--te-white);
}

#ene-energy-page .btn-te-orange {
  background: var(--te-orange);
  color: var(--te-white);
}

#ene-energy-page .btn-te-orange:hover, #ene-energy-page .btn-te-orange:focus {
  background: #d77800;
  color: var(--te-white);
}

/* ---------- 8. Section intro block ---------- */

/* Spacing between introduction and following content */
#ene-energy-page .section-intro {
  margin-bottom: 2rem;
}

/* Reset paragraph margins within section introductions */
#ene-energy-page .section-intro p {
  margin: 0;
}

/* Eyebrow to heading */
#ene-energy-page .section-intro .eyebrow + h3,
#ene-energy-page .section-intro .eyebrow + h1 {
  margin-top: .5rem;
}

/* Heading to first paragraph */
#ene-energy-page .section-intro h3 + p,
#ene-energy-page .section-intro h1 + p {
  margin-top: 1rem;
}

/* Spacing between consecutive paragraphs */
#ene-energy-page .section-intro p + p {
  margin-top: 1rem;
}

/* No extra bottom spacing when introduction is the final element */
#ene-energy-page .section-intro:last-child {
  margin-bottom: 0;
}

/* ---------- 9. Video + text ---------- */

#ene-energy-page .video-container {
  position: relative;
  display: block;
  width: 100%;
  max-width: 960px;
  aspect-ratio: 16 / 9;
}

#ene-energy-page .video-placeholder {
  display: block !important;
  width: 100%;
  height: 100%;
}

#ene-energy-page .video-container video-js {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  padding: 0 !important;
}

#ene-energy-page .video-container .video-js {
  width: 100% !important;
  height: 100% !important;
}

/* TE-style Brightcove play button */

#ene-energy-page .video-container .video-js .vjs-big-play-button {
  top: 50% !important;
  left: 50% !important;
  width: 72px !important;
  height: 72px !important;
  margin: 0 !important;
  transform: translate(-50%, -50%) !important;
  background-color: #3f4348 !important;
  background-image: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  opacity: .5 !important;
  font-size: 36px !important;
  line-height: 72px !important;
}

#ene-energy-page .video-container .video-js .vjs-big-play-button .vjs-icon-placeholder::before {
  font-size: 36px !important;
  line-height: 72px !important;
}

#ene-energy-page .video-container .video-js .vjs-big-play-button:hover, #ene-energy-page .video-container .video-js .vjs-big-play-button:focus {
  background-color: #3f4348 !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #3db7e4 !important;
}

@media (max-width: 991px) {
  #ene-energy-page .video-text-section .col-lg-6 + .col-lg-6 {
    margin-top: 1.5rem;
  }
}

/* ---------- 10. Factoid section ---------- */

/* Factoid divider palette: navy/default = grey; orange/teal = soft white. */
#ene-energy-page .factoid-section {
  --factoid-divider: var(--te-grey);
}

#ene-energy-page .factoid-section.bg-te-orange,
#ene-energy-page .factoid-section.bg-te-teal,
#ene-energy-page .factoid-section[style*="--te-orange"],
#ene-energy-page .factoid-section[style*="--te-teal"] {
  --factoid-divider: rgba(255, 255, 255, .65);
}



/* TE global CSS adds a top border to .factoid-row; suppress it here. */

#ene-energy-page .factoid-section .text-white-50, #ene-energy-page .factoid-section .factoid-row {
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

#ene-energy-page .factoid-section .factoid-row::before, #ene-energy-page .factoid-section .factoid-row::after {
  content: none !important;
  display: none !important;
}

#ene-energy-page .factoid-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border-top: 0 !important;
}

#ene-energy-page .factoid-col {
  position: relative;
  flex: 0 0 25%;
  max-width: 25%;
  min-width: 0;
  padding: 0 20px;
  text-align: center;
}

#ene-energy-page .factoid-large {
  overflow: visible;
  font-size: 3rem;
  font-weight: 400;
  line-height: 1.2;
}

#ene-energy-page .factoid-description {
  margin-top: 0;
  font-size: .875rem;
}


/* Dividers between factoids in each row. */

#ene-energy-page .factoid-col:not(:nth-child(4n + 1))::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 1px;
  background: var(--factoid-divider);
}

@media (max-width: 991px) {
  #ene-energy-page .factoid-col {
    flex-basis: 50%;
    max-width: 50%;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .factoid-col::before {
    display: none !important;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .factoid-col:nth-child(even)::before {
    content: "";
    display: block !important;
    position: absolute;
    left: 0;
    top: 14%;
    bottom: 14%;
    width: 1px;
    background: var(--factoid-divider);
  }
}

@media (max-width: 575px) {
  #ene-energy-page .factoid-col {
    flex-basis: 100%;
    max-width: 100%;
    padding: 24px 20px;
  }
}

@media (max-width: 575px) {
  /* Section padding already handles outer spacing */
  #ene-energy-page .factoid-col:first-child {
    padding-top: 0;
  }

  #ene-energy-page .factoid-col:last-child {
    padding-bottom: 0;
  }
}

@media (max-width: 575px) {
  #ene-energy-page .factoid-col:not(:first-child) {
    border-top: 1px solid var(--factoid-divider);
  }
}

@media (max-width: 575px) {
  #ene-energy-page .factoid-col::before, #ene-energy-page .factoid-col:nth-child(even)::before {
    display: none !important;
    content: none !important;
  }
}

@media (max-width: 575px) {
  #ene-energy-page .factoid-large {
    font-size: 3.5rem;
  }
}

/* ---------- 11. Standard cards ---------- */

#ene-energy-page .card {
  border: 1px solid var(--te-light-border);
  border-radius: 0;
  background: var(--te-white);
  color: var(--te-grey);
  transition: box-shadow .18s, transform .18s;
}

#ene-energy-page a.card {
  color: inherit;
  text-decoration: none;
}

#ene-energy-page a.card:hover, #ene-energy-page a.card:focus {
  color: inherit;
  text-decoration: none;
}

#ene-energy-page a.card:focus-visible {
  outline: 2px solid var(--te-blue);
  outline-offset: 2px;
}

#ene-energy-page .card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.11);
  transform: translateY(-3px);
}

#ene-energy-page .card-small {
  text-align: center;
  transition: none;
}

#ene-energy-page .card-small:hover {
  transform: none !important;
}

#ene-energy-page .card-small img {
  padding: 10px 10px 0;
}

#ene-energy-page .card-body {
  padding: 20px;
}

#ene-energy-page .card-small-title {
  font-size: .875rem;
  font-weight: 700;
}

#ene-energy-page .card-title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.2;
}

#ene-energy-page .card-text {
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.57;
}

/* Flexible card layouts.
   Incomplete rows remain centered without stretching cards. */

/* Small cards: maximum 6 per row. */

#ene-energy-page .small-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

#ene-energy-page .small-card-link {
  display: flex !important;
  flex-direction: column;
  flex: 0 0 calc((100% - 120px) / 6);
  max-width: calc((100% - 120px) / 6);
  min-width: 0;
  height: auto;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 0 !important;
  font-size: 0 !important;
  color: inherit;
  text-decoration: none;
  vertical-align: top;
}

#ene-energy-page .small-card-link:hover, #ene-energy-page .small-card-link:focus {
  color: inherit;
  text-decoration: none;
}

#ene-energy-page .small-card-link > .card {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: .875rem;
  line-height: 1.57142857;
}

/* Large cards: maximum 4 per row. */

#ene-energy-page .large-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

#ene-energy-page .large-card-grid > .card {
  display: flex;
  flex-direction: column;
  flex: 0 0 calc((100% - 72px) / 4);
  max-width: calc((100% - 72px) / 4);
  min-width: 0;
  width: 100%;
  margin: 0;
}

/* Make card content expand to fill the available height */
#ene-energy-page .large-card-grid > .card > .card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

/* Push the link to the bottom of the card */
#ene-energy-page .large-card-grid > .card > .card-body > a:last-child {
  margin-top: auto;
}

@media (max-width: 991px) {
  #ene-energy-page .small-card-link, #ene-energy-page .large-card-grid > .card {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 575px) {
  #ene-energy-page .small-card-link, #ene-energy-page .large-card-grid > .card {
    flex-basis: 100%;
    max-width: 100%;
  }
}

/* ---------- 12. Interrupter / inline CTA ---------- */

#ene-energy-page .interrupter-content {
  align-items: center;
  text-align: left;
}

#ene-energy-page .interrupter-image {
  display: block;
  width: 240px;
  max-width: 240px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  flex: 0 0 240px;
}

#ene-energy-page .interrupter-copy {
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

@media (max-width: 991px) {
  #ene-energy-page .interrupter-content {
    text-align: center;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .interrupter-image {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 16 / 9;
    flex: 0 1 auto;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .interrupter-copy {
    width: auto;
  }
}

#ene-energy-page .interrupter-copy h2 {
  font-size: 1.625rem;
  font-weight: 400;
  line-height: 1.23;
}

/* ---------- 13. Overlay cards ---------- */

#ene-energy-page .overlay-card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  width: 100%;
  margin: 0;
  padding: 0;
  align-items: stretch;
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

#ene-energy-page .overlay-card-grid > * {
  display: flex;
  flex: 0 0 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  min-width: 0;
  margin: 0;
  padding: 0;
}

#ene-energy-page .overlay-card-link {
  display: flex !important;
  flex-direction: column;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  line-height: 0 !important;
  font-size: 0 !important;
  color: inherit;
  text-decoration: none;
}

#ene-energy-page .overlay-card-link:hover, #ene-energy-page .overlay-card-link:focus {
  color: inherit;
  text-decoration: none;
}

#ene-energy-page .overlay-card-link > .overlay-card {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  margin: 0;
  font-size: .875rem;
  line-height: 1.57142857;
}

#ene-energy-page .overlay-card {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  min-height: 200px;
  height: auto;
  overflow: hidden;
  background: transparent;
  transition: box-shadow .18s, transform .18s;
  z-index: 0;
  isolation: isolate;
}

/* Same hover treatment as large cards. */

#ene-energy-page .overlay-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,.11);
  transform: translateY(-3px);
}

#ene-energy-page .overlay-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#ene-energy-page .overlay-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(16,28,31,.65);
  pointer-events: none;
}

#ene-energy-page .overlay-card .card-img-overlay {
  position: relative;
  inset: auto;
  z-index: 2;
  display: block;
  flex: 1 1 auto;
  width: 100%;
  min-width: 0;
  height: auto;
  padding: 20px;
  border: 0;
  background: transparent;
  white-space: normal;
  overflow: visible;
}

#ene-energy-page .overlay-card .card-img-overlay > * {
  min-width: 0;
  max-width: 100%;
}

#ene-energy-page .overlay-card .card-img-overlay small {
  color: var(--te-orange);
  font-size: .875rem;
  font-weight: 700;
  text-transform: uppercase;
}

#ene-energy-page .overlay-card .card-img-overlay h4 {
  color: var(--te-white);
  font-weight: 700;
}

#ene-energy-page .overlay-card .card-img-overlay p {
  color: var(--te-white);
  font-weight: 400;
  font-size: .875rem
}

#ene-energy-page .overlay-card .card-img-overlay h4, #ene-energy-page .overlay-card .card-img-overlay p {
  width: 100%;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

@media (min-width: 992px) and (max-width: 1199px) {
  #ene-energy-page .overlay-card {
    min-height: 210px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #ene-energy-page .overlay-card .card-img-overlay {
    padding: 18px;
  }
}

@media (max-width: 991px) {
  #ene-energy-page .overlay-card-grid > * {
    flex-basis: calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 767px) {
  #ene-energy-page .overlay-card-grid {
    gap: 16px;
  }
}

@media (max-width: 767px) {
  #ene-energy-page .overlay-card-grid > * {
    flex-basis: 100%;
    max-width: 100%;
  }
}

@media (max-width: 767px) {
  #ene-energy-page .overlay-card {
    min-height: 190px;
  }
}

@media (max-width: 375px) {
  #ene-energy-page .overlay-card {
    min-height: 210px;
  }
}

@media (max-width: 375px) {
  #ene-energy-page .overlay-card .card-img-overlay {
    padding: 16px;
  }
}

/* ---------- 14. Tabs ---------- */

#ene-energy-page .tabbed-content-section .section-intro {
  text-align: center;
}

#ene-energy-page .tabbed-content-section .nav-tabs {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0 !important;
  border-bottom: 1px solid var(--te-border) !important;
  list-style: none;
}

#ene-energy-page .tabbed-content-section .nav-item {
  margin: 0;
  padding: 0;
}

#ene-energy-page .tabbed-content-section .nav-link {
  display: block;
  margin: 0;
  padding: .65rem 1.25rem;
  border: 0 !important;
  border-bottom: 4px solid transparent !important;
  color: var(--te-cool-grey);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.25;
  text-decoration: none;
}

#ene-energy-page .tabbed-content-section .nav-item:first-child .nav-link {
  padding-left: 0;
}

#ene-energy-page .tabbed-content-section .nav-link:hover, #ene-energy-page .tabbed-content-section .nav-link:focus {
  color: var(--te-teal);
}

#ene-energy-page .tabbed-content-section .nav-link.active {
  color: var(--te-charcoal);
  background: transparent;
  border-bottom-color: var(--te-orange) !important;
}

@media (max-width: 575px) {
  #ene-energy-page .tabbed-content-section .nav-link {
    padding-right: .85rem;
  }
}

/* Right-align tab CTAs on desktop */

#ene-energy-page .tabbed-content-section .tab-pane .row > .col:last-child {
  display: flex;
  justify-content: flex-end;
}

/* Stack and center tab content at MD and below */
@media (max-width: 991px) {

  #ene-energy-page .tabbed-content-section .tab-pane .row {
    flex-direction: column;
    align-items: center;
  }

  #ene-energy-page .tabbed-content-section .tab-pane .row > .col {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  #ene-energy-page .tabbed-content-section .tab-pane .row > .col:last-child {
    justify-content: center;
    margin-top: 1.5rem;
  }
}

/* ---------- 15. Universal FAQ accordion (regular or nested) ---------- */
/* Structure: .faq-accordion > .faq-item > .faq-toggle + .faq-content
   Nested: another .faq-accordion inside a .faq-content. */

#ene-energy-page .faq-section .section-intro {
  text-align: center;
}

#ene-energy-page .faq-content p + p {
  margin-top: 1rem;
}

#ene-energy-page .faq-accordion {
  width: 100%;
  min-width: 0;
}

#ene-energy-page .faq-accordion > .faq-item {
  border: 0;
  border-bottom: 1px solid var(--te-border);
  border-radius: 0;
  background: var(--te-white);
}

#ene-energy-page .faq-accordion > .faq-item:first-child {
  border-top: 1px solid var(--te-border);
}

/* The .btn class is mandatory on Bootstrap Studio Button elements. */
#ene-energy-page .faq-accordion > .faq-item > .faq-toggle,
#ene-energy-page .faq-accordion > .faq-item > .btn.faq-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  width: 100%;
  min-height: 64px;
  height: auto !important;
  margin: 0;
  padding: 16px 4px 16px 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--te-white);
  color: var(--te-charcoal);
  font-family: var(--te-font);
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: left;
  white-space: normal;
  cursor: pointer;
}

#ene-energy-page .faq-accordion > .faq-item > .faq-toggle::after {
  content: "";
  display: block;
  flex: 0 0 auto;
  width: .65rem;
  height: .65rem;
  margin-left: auto;
  margin-right: 2px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 150ms ease;
}

#ene-energy-page .faq-accordion > .faq-item.is-open > .faq-toggle::after {
  transform: rotate(225deg);
}

#ene-energy-page .faq-accordion > .faq-item > .faq-toggle:hover,
#ene-energy-page .faq-accordion > .faq-item > .faq-toggle:focus {
  background: var(--te-white);
  color: var(--te-charcoal);
  box-shadow: none;
}

#ene-energy-page .faq-accordion > .faq-item > .faq-toggle:focus-visible {
  outline: 2px solid #0066a1;
  outline-offset: -2px;
}

#ene-energy-page .faq-accordion > .faq-item > .faq-content {
  padding: 0 0 20px;
  color: var(--te-charcoal);
  font-size: .875rem;
  line-height: 1.57142857;
}

#ene-energy-page .faq-content[hidden] {
  display: none !important;
}

#ene-energy-page .faq-content > :first-child:not(.faq-accordion) { margin-top: 0; }
#ene-energy-page .faq-content > :last-child:not(.faq-accordion) { margin-bottom: 0; }

/* Nested accordion: same markup and behavior, more compact visual hierarchy. */
#ene-energy-page .faq-content > .faq-accordion {
  margin: 12px 0 0;
  padding-left: 24px;
}

#ene-energy-page .faq-accordion .faq-accordion > .faq-item > .faq-toggle {
  min-height: 52px;
  padding: 12px 4px 12px 0;
  font-size: 1rem;
  font-weight: 600;
}

#ene-energy-page .faq-accordion .faq-accordion > .faq-item > .faq-content {
  padding-bottom: 18px;
}

@media (max-width: 575px) {
  #ene-energy-page .faq-content > .faq-accordion { padding-left: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  #ene-energy-page .faq-toggle::after { transition: none !important; }
}


/* ---------- 16. Quote ---------- */

#ene-energy-page .quote, #ene-energy-page .quote-container {
  text-align: center;
}


#ene-energy-page .quote h3 {
  font-weight: 400;
}

#ene-energy-page .quote p {
  margin-bottom: 0;
  font-size: .75em;
  font-weight: 700;
  letter-spacing: .24em;
}

/* ---------- 17. Sources ---------- */

#ene-energy-page .sources-section, #ene-energy-page .sources-container {
  text-align: left;
  font-size: .875rem;
  
}



#ene-energy-page .sources-list {
  list-style-type: decimal;
  margin: 0;
  padding-left: 1.2rem;
  
}

#ene-energy-page .sources-list li {
  color: var(--te-cool-grey);
  font-size: .875rem;
}