/* Header/Footer: Bricks-native layout based on the TC Energy reference. */
.site-header {
  --shell-line: rgba(255, 255, 255, .25);
  position: relative;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(210px, 16.4%) minmax(0, 1fr);
  grid-template-rows: 72px 84px;
  min-height: 156px;
  width: 100%;
  max-width: none;
  padding: 0;
  color: #fff;
  background: #07638c;
  box-shadow: 0 1px 0 var(--shell-line);
}
.site-header a {
  color: #fff;
  text-decoration: none;
}
.site-header a:hover {
  color: #ffab39;
}
.site-header .brxe-block {
  min-width: 0;
}
.site-header__brand {
  grid-column: 1;
  grid-row: 1 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 20px;
  border-right: 1px solid var(--shell-line);
}
.site-header__logo {
  width: min(225px, 100%);
}
.site-header__logo img {
  width: 100%;
  height: auto;
  max-height: 83px;
  object-fit: contain;
}
.site-header__top {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-left: clamp(20px, 3.2vw, 60px);
  padding-right: 22px;
  border-bottom: 1px solid var(--shell-line);
}
.site-header__meta,
.site-header__meta-item,
.site-header__right,
.site-header__socials,
.site-header__icons {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.site-header__meta {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  gap: clamp(14px, 2vw, 32px);
}
.site-header__meta-item {
  flex: 0 0 auto;
  width: auto;
  min-width: 0;
  gap: 12px;
}
.site-header__meta-icon,
.site-header__call-icon,
.site-footer__support-icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ff9600;
  color: #fff;
  font-size: 15px;
}
.site-header__meta-text {
  flex: 0 0 auto;
  width: auto;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.site-header__right {
  width: auto;
  flex: 0 0 auto;
  align-self: stretch;
  gap: 24px;
}
.site-header__socials {
  width: auto;
  gap: 10px;
}
.site-header__social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .12);
  color: #fff;
  font-size: 14px;
}
.site-header__social:hover {
  background: #ff9700;
}
.site-header__icons {
  width: auto;
  align-self: stretch;
  gap: 23px;
  padding-left: 24px;
  border-left: 1px solid var(--shell-line);
}
.site-header__tool {
  color: #fff;
  font-size: 19px;
}
.site-header__main {
  grid-column: 2;
  grid-row: 2;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
}
.site-header__nav {
  display: flex;
  flex: 1 1 auto;
  width: auto;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  padding: 0 clamp(14px, 2.55vw, 48px);
}
.site-header__nav .bricks-nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 18px;
}
.site-header__nav .bricks-nav-menu > li {
  margin-left: 0;
}
.site-header__nav .bricks-nav-menu > li > a,
.site-header__nav .bricks-nav-menu > li > .brx-submenu-toggle {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 11px 8px;
  color: #fff;
  font-size: clamp(12px, .85vw, 15px);
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
}
.site-header__nav .bricks-nav-menu > li.current-menu-item > a,
.site-header__nav .bricks-nav-menu > li.current-menu-ancestor > a,
.site-header__nav .bricks-nav-menu > li.current-menu-ancestor > .brx-submenu-toggle {
  color: #fff;
  background: #ff9600;
}
.site-header__nav .bricks-nav-menu > li.current-menu-item > a,
.site-header__nav .bricks-nav-menu > li.current-menu-item > .brx-submenu-toggle {
  padding-inline: 18px;
}
.site-header__nav .bricks-nav-menu > li:not(.current-menu-item):not(.current-menu-ancestor) > a:hover,
.site-header__nav .bricks-nav-menu > li:not(.current-menu-item):not(.current-menu-ancestor) > .brx-submenu-toggle:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
}
.site-header__nav .bricks-nav-menu .sub-menu {
  min-width: 230px;
  padding: 8px 0;
  background: #08648e;
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 15px 30px rgba(0, 20, 35, .2);
}
.site-header__nav .bricks-nav-menu .sub-menu a {
  padding: 11px 17px;
  color: #fff;
  font-size: 14px;
}
.site-header__nav .bricks-nav-menu .sub-menu a:hover {
  color: #fff;
  background: #ff9600;
}
.site-header__hotline {
  display: flex;
  flex: 0 0 260px;
  width: 260px;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  gap: 13px;
  margin-right: 40px;
  padding: 7px 28px;
  border-left: 1px solid var(--shell-line);
  border-right: 1px solid var(--shell-line);
}
.site-header__call-icon {
  width: 48px;
  height: 48px;
  font-size: 21px;
}
.site-header__call-text {
  display: flex;
  flex-direction: column;
  width: auto;
  gap: 1px;
}
.site-header__call-caption {
  color: #fff;
  font-size: 15px;
  line-height: 1.25;
}
.site-header__call-number {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}
.site-header__quote.brxe-button {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 126px;
  min-height: 48px;
  margin: 0 clamp(14px, 3.4vw, 70px) 0 0;
  padding: 10px 18px;
  border: 0;
  border-radius: 28px;
  color: #fff;
  background: #00618b;
  font-size: 13px;
  font-weight: 700;
}
.site-header__quote.brxe-button:hover {
  color: #fff;
  background: #ff9600;
}
/* On the front page, the header overlays the actual hero image. */
body.home #brx-header {
  position: absolute;
  z-index: 100;
  inset: 0 0 auto;
  width: 100%;
  background: transparent;
}

body.home .site-header {
  background: transparent;
  box-shadow: none;
}


/* Match the reference header's full-height grid dividers and balanced icon spacing. */
@media (min-width: 992px) {
  .site-header {
    height: 156px;
    min-height: 156px;
  }

  .site-header__brand {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  .site-header__top {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    padding-right: clamp(22px, 2.2vw, 40px);
  }

  .site-header__right,
  .site-header__socials {
    align-items: center;
    height: 100%;
  }

  .site-header__icons {
    align-self: stretch;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 22px;
    padding-left: 27px;
    padding-right: 4px;
    box-sizing: border-box;
  }

  .site-header__main,
  .site-header__nav {
    align-self: stretch;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
  }

  .site-header__hotline {
    align-self: stretch;
    height: 100%;
    margin-right: clamp(16px, 1.5vw, 28px);
    padding-top: 12px;
    padding-bottom: 12px;
    box-sizing: border-box;
  }
}

/* WordPress admin toolbar must not cover the transparent home header. */
body.home.admin-bar #brx-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.home.admin-bar #brx-header {
    top: 46px;
  }
}

.site-footer {
  position: relative;
  display: block;
  max-width: none;
  width: 100%;
  padding: 0;
  color: #d7e0e6;
  background: linear-gradient(rgba(5, 28, 41, .9), rgba(4, 23, 33, .94)), url("../images/footer-wind.webp") center / cover;
  font-size: 14px;
  line-height: 1.65;
}
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover {
  color: #ff9600;
}
.site-footer__cta-wrap {
  position: relative;
  z-index: 2;
  width: min(1230px, calc(100% - 36px));
  margin: 0 auto -60px;
  transform: translateY(-70px);
}
.site-footer__cta {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  min-height: 186px;
  padding: 24px 54px 24px 66px;
  border-radius: 20px;
  background: #00658b;
  overflow: visible;
}
.site-footer__cta::after {
  position: absolute;
  z-index: 1;
  inset: 10px;
  border: 3px dotted #fff;
  border-radius: 14px;
  content: "";
  pointer-events: none;
}
.site-footer__cta-content {
  position: relative;
  z-index: 2;
  width: 41%;
}
.site-footer__cta-heading {
  margin: 0;
  color: #fff;
  font-size: clamp(18px, 1.3vw, 23px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.42;
}
.site-footer__staff {
  position: absolute;
  z-index: 2;
  right: 18%;
  bottom: 0;
  width: min(365px, 37%);
  max-height: 260px;
  pointer-events: none;
}
.site-footer__staff img {
  width: 100%;
  max-height: 260px;
  object-fit: contain;
  object-position: bottom;
}
.site-footer__cta-phone {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  min-width: 206px;
  min-height: 66px;
  padding: 13px 22px;
  border-radius: 35px;
  background: #ff9600;
}
.site-footer__cta-icon {
  color: #fff;
  font-size: 23px;
}
.site-footer__cta-phone-text {
  display: flex;
  flex-direction: column;
}
.site-footer__cta-number {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  white-space: nowrap;
}
.site-footer__cta-label {
  color: #fff;
  font-size: 13px;
}
.site-footer__main {
  padding: 172px 0 105px;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr .7fr 1.35fr 1.12fr 1fr;
  align-items: start;
  gap: clamp(22px, 2.8vw, 53px);
}
.site-footer__col {
  min-width: 0;
}
.site-footer__logo {
  width: 205px;
  max-width: 100%;
  margin-bottom: 17px;
}
.site-footer__logo img {
  width: 100%;
  max-height: 69px;
  height: auto;
  object-fit: contain;
}
.site-footer__desc {
  margin-bottom: 24px;
  font-size: 14px;
}
.site-footer__heading {
  margin: 8px 0 27px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
}
.site-footer__support {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  margin: 22px 0 25px;
}
.site-footer__support-icon {
  width: 48px;
  height: 48px;
  font-size: 22px;
}
.site-footer__support-info {
  display: flex;
  flex-direction: column;
}
.site-footer__support-label {
  color: #fff;
  font-size: 15px;
}
.site-footer__support-phone {
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}
.site-footer__socials {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 17px;
}
.site-footer__social {
  color: #a5b5c0;
  font-size: 15px;
}
.site-footer__nav .bricks-nav-menu-wrapper,
.site-footer__nav .bricks-nav-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}
.site-footer__nav .bricks-nav-menu > li > a {
  padding: 0;
  color: #d7e0e6;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}
.site-footer__nav .bricks-mobile-menu-toggle {
  display: none;
}
.site-footer__details,
.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.site-footer__detail {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
}
.site-footer__detail-icon {
  flex: 0 0 19px;
  margin-top: 5px;
  color: #ff9600;
  font-size: 14px;
}
.site-footer__detail-text,
.site-footer__link {
  font-size: 14px;
  line-height: 1.55;
}
.site-footer__newsletter-intro {
  margin-bottom: 25px;
  font-size: 16px;
  line-height: 1.55;
}
.site-footer__newsletter {
  position: relative;
}
.site-footer__newsletter .form-group {
  margin: 0;
}
.site-footer__newsletter label {
  display: none;
}
.site-footer__newsletter input[type="email"] {
  width: 100%;
  height: 52px;
  padding: 12px 56px 12px 17px;
  border: 1px solid #526672;
  border-radius: 30px;
  color: #fff;
  background: transparent;
  font-size: 13px;
}
.site-footer__newsletter button[type="submit"] {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  border: none;
  border-radius: 50%;
  color: #fff;
  background: #7fc34a;
  font-size: 18px;
}
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 17, 29, .2);
}
.site-footer__bottom-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 82px;
  font-size: 13px;
}
.site-footer__credit {
  color: #38a9d5;
}
.site-footer__float {
  position: fixed;
  z-index: 350;
  right: 8px;
  bottom: 110px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  width: 200px;
  pointer-events: none;
}
.site-footer__float > * {
  pointer-events: auto;
}
.site-footer__float-phone,
.site-footer__float-zalo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 195px;
  min-height: 42px;
  padding: 8px 12px;
  border-radius: 26px;
  border: 2px solid rgba(255, 255, 255, .32);
  color: #fff;
  background: #d88a18;
  box-shadow: 0 4px 15px rgba(0, 0, 0, .14);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}
.site-footer__float-zalo {
  background: #066ce1;
}
.site-footer__float-phone a,
.site-footer__float-zalo a {
  color: #fff;
}
.site-footer__to-top {
  position: fixed;
  z-index: 350;
  right: 27px;
  bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 47px;
  height: 47px;
  border: 1px solid #fff;
  border-radius: 50%;
  background: #7fc64a;
  color: #fff;
  font-size: 25px;
}
@media (max-width: 1440px) {
  .site-header { grid-template-columns: 220px minmax(0, 1fr); }
  .site-header__nav { padding-inline: 15px; }
  .site-header__nav .bricks-nav-menu > li > a { padding-inline: 8px; }
  .site-header__hotline {
    flex: 0 0 auto;
    width: auto;
    min-width: 0;
    margin-right: 0;
    padding-inline: 13px;
    border-right: 0;
  }
  .site-header__nav .bricks-nav-menu { gap: 11px; }
  .site-header__quote.brxe-button { min-width: 126px; margin-right: 14px; }
  .site-header__call-number { font-size: 16px; }
  .site-footer__grid { gap: 25px; }
}
@media (max-width: 1199px) {
  .site-header { grid-template-columns: 190px minmax(0, 1fr); }
  .site-header__top { padding-inline: 18px; }
  .site-header__socials, .site-header__hotline { display: none; }
  .site-header__nav .bricks-nav-menu > li > a { font-size: 12px; }
  .site-footer__grid { grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; }
}
@media (max-width: 991px) {
  .site-header {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 80px;
    background: #07658e;
  }
  .site-header__brand {
    flex: 0 0 205px;
    min-height: 80px;
    padding: 13px 18px;
  }
  .site-header__logo { width: 160px; }
  .site-header__top, .site-header__hotline { display: none; }
  .site-header__main {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    align-items: center;
    justify-content: flex-end;
    height: 80px;
  }
  .site-header__nav {
    order: 2;
    flex: 0 0 auto;
    width: auto;
    margin-left: auto;
    padding-inline: 14px;
  }
  .site-header__nav .bricks-mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 4px;
    color: #fff;
  }
  .site-header__nav .bricks-mobile-menu-wrapper { width: min(88vw, 350px); background: #fff; }
  .site-header__nav .bricks-mobile-menu { padding: 18px; background: #fff; }
  .site-header__nav .bricks-mobile-menu li a { color: #17344b; padding: 12px 0; }
  .site-header__quote.brxe-button { align-self: center; margin: 0; }
  .site-footer__cta { padding-inline: 30px; }
  .site-footer__cta-content { width: 55%; }
  .site-footer__staff { right: 21%; width: 32%; }
}
@media (max-width: 767px) {
  .site-header { min-height: 72px; }
  .site-header__brand { flex-basis: 164px; min-height: 72px; padding-inline: 12px; }
  .site-header__logo { width: 140px; }
  .site-header__main { height: 72px; }
  .site-header__quote.brxe-button { display: none; }
  .site-footer__cta-wrap { width: calc(100% - 28px); margin-bottom: -20px; transform: translateY(-35px); }
  .site-footer__cta {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    min-height: 240px;
    padding: 25px;
    overflow: hidden;
  }
  .site-footer__cta-content { width: 100%; }
  .site-footer__cta-heading { font-size: 17px; }
  .site-footer__staff { right: -20px; width: 56%; max-height: 150px; }
  .site-footer__staff img { max-height: 150px; }
  .site-footer__cta-phone { align-self: flex-start; min-height: 50px; padding: 8px 14px; }
  .site-footer__cta-number { font-size: 15px; }
  .site-footer__main { padding: 92px 0 50px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 29px 17px; }
  .site-footer__col:first-child, .site-footer__col:nth-child(3), .site-footer__col:last-child { grid-column: 1 / -1; }
  .site-footer__heading { margin-bottom: 15px; white-space: normal; }
  .site-footer__float { right: 5px; bottom: 80px; gap: 6px; }
  .site-footer__float-phone, .site-footer__float-zalo { width: auto; min-width: 145px; min-height: 38px; padding: 6px 10px; font-size: 11px; }
  .site-footer__to-top { right: 15px; bottom: 14px; width: 42px; height: 42px; }
  .site-footer__bottom-inner { flex-direction: column; gap: 1px; padding: 16px; text-align: center; }
}
