/**
 * Baycorp header — Figma node 1:222 layout (absolute measurements).
 * Colors & fullscreen-menu motion match baycorp.com.au (application.min.css + GSAP timings).
 */
:root {
  --bc-teal: #003d52;
  --bc-teal-dark: #002835;
  --bc-portal-hover-bg: #f0f0f0;
  --bc-accent-blue: #00a9e0;
  --bc-cyan: #00b0cc;
  --bc-cyan-soft: rgba(0, 176, 204, 0.4);
  --bc-overlay: rgba(255, 255, 255, 0.85);
  --bc-ease-out: cubic-bezier(0.33, 1, 0.68, 1);
  --bc-dur: 0.4s;
  --bc-header-h: 74px;
  --bc-content-max: 1190px;
  --bc-narrow-content-max: 960px;
  --bc-font-ui: "Liberation Sans", "Inter", Arial, sans-serif;
  /* Ensure Bootstrap components inherit the same UI font */
  --bs-body-font-family: var(--bc-font-ui);
}

/* Bootstrap 5.3 containers.scss — xxl breakpoint (default 1320px) → site content width */
@media (min-width: 1400px) {
  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl,
  .container-xxl {
    max-width: var(--bc-content-max, 1190px);
  }
}

html.site-nav-open,
html.site-nav-open body {
  overflow: hidden;
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--bc-font-ui) !important;
}


p {
  box-sizing: border-box; 
  margin: 0px 0px 20px; 
  padding: 0px; 
  border: 0px; 
  color: rgb(34, 34, 34); 
  font-style: inherit; font-variant: inherit; 
  font-weight: inherit; font-stretch: inherit; 
  font-size: 0.8125rem; 
  line-height: 2em; 
  font-family: liberation, sans-serif; 
  font-optical-sizing: inherit; 
  font-size-adjust: inherit; 
  font-kerning: inherit; 
  font-feature-settings: inherit; 
  font-variation-settings: inherit; 
  font-language-override: inherit; 
  outline: 0px; 
  vertical-align: 
  baseline; 
  letter-spacing: 1px;
}

li p{
  display: inline;
}

.lead {
  margin-bottom: 20px;
  color: #00b0cc !important;
  font-family: liberation, sans-serif;
  font-size: 1.0625rem !important;
  line-height: 1.7 !important;
}

.subtitle,
.rte .subtitle {
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(0, 176, 204, 0.25);
  color: var(--bc-cyan);
  font-family: var(--bc-font-ui);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.rte a {
  color: var(--bc-cyan);
  text-decoration: none;
  font-weight: 400;
}
.rte a:hover,
.rte a:focus-visible {
  text-decoration: none;
  color: var(--bc-cyan);
}

/* ===== Product Row — 50/50 split content band ===== */
.bc-product-row {
  --bc-product-row-left-bg: #fff;
  --bc-product-row-right-bg: #f2f2f2;
  border-top: 1px solid rgba(208, 208, 208, .3);
}

.bc-product-row-col--left {
  background: var(--bc-product-row-left-bg);
}

.bc-product-row-col--right {
  background: var(--bc-product-row-right-bg);
}

.bc-product-row-inner {
  padding: 52px 24px;
  text-align: center;
}

.bc-product-row-title {
  margin: 0;
  color: var(--bc-cyan);
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.bc-product-row-divider {
  width: 84px;
  height: 2px;
  margin: 12px auto 22px;
  background: rgba(0, 176, 204, 0.35);
}

.bc-product-row-body {
  max-width: 520px;
  margin: 0 auto;
}

.bc-product-row-body p:last-child {
  margin-bottom: 0;
}

@media (max-width: 767.98px) {
  .bc-product-row-inner {
    padding: 40px 18px;
  }
  .bc-product-row-divider {
    margin-bottom: 18px;
  }

  .bc-product-row.bc-product-row--mobile-reverse .bc-product-row-col--left {
    order: 2;
  }

  .bc-product-row.bc-product-row--mobile-reverse .bc-product-row-col--right {
    order: 1;
  }
}

/* ===== Product Row One — 1 column centred content band ===== */
.bc-product-row-one {
  --bc-product-row-one-bg: #eaeaea;
  background: var(--bc-product-row-one-bg);
  border-top: 1px solid rgba(208, 208, 208, .3);
}

.bc-product-row-one-inner {
  padding: 52px 24px;
  text-align: center;
}

.bc-product-row-one-title {
  margin: 0;
  color: var(--bc-cyan);
  font-size: 1.25rem;
  line-height: 1.7;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.bc-product-row-one-divider {
  width: 84px;
  height: 2px;
  margin: 12px auto 22px;
  background: rgba(0, 176, 204, 0.35);
}

.bc-product-row-one-body {
  max-width: 680px;
  margin: 0 auto;
}

.bc-product-row-one-body p:last-child {
  margin-bottom: 0;
}

.bc-product-row-one .bc-product-row-one-body ul {
  font-size: 0.825rem;
  line-height: 2rem;
  text-align: center; 
  list-style-position: inside; 
  padding: 0;
}

@media (max-width: 767.98px) {
  .bc-product-row-one-inner {
    padding: 40px 18px;
  }
  .bc-product-row-one-divider {
    margin-bottom: 18px;
  }
}

/* ===== Hero (image + diagonal cyan panel) ===== */
.bc-hero-slider {
  position: relative;
}

.bc-hero-stage {
  position: relative;
  height: clamp(280px, 28vw, 340px);
  max-height: 450px;
  overflow: hidden;
  background: #0a3b4c;
}

.bc-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
}

.bc-hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.bc-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
}

/* Lighter diagonal strip over the photo (second edge before solid panel) */
.bc-hero-panel-wash {
  position: absolute;
  top: 0%;
  bottom: 0%;
  right: -10%;
  width: 58%;
  z-index: 1;
  background: rgba(0, 176, 204, 0.48);
  transform: skew(-18deg) translateX(6%);
  transform-origin: top right;
  pointer-events: none;
  opacity: 0;
}

.bc-hero-panel {
  position: absolute;
  top: 0%;
  bottom: 0%;
  right: -8%;
  width: 56%;
  z-index: 2;
  background: rgba(0, 176, 204, 0.92);
  transform: skew(-16deg) translateX(12%);
  transform-origin: top right;
}

.bc-hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: clamp(22px, 6vw, 72px);
  padding-left: 18px;
  color: #fff;
  text-align: right;
  gap: 12px;
}

.bc-hero-slider .bc-hero-panel {
  width: 74%;
  right: -31%;
  transform: skew(-18deg) translateX(12%);
  background: rgba(0, 176, 204, 0.94);
}

.bc-hero-slider .bc-hero-panel-wash {
  width: 77%;
  right: -31%;
  transform: skew(-18deg) translateX(8.5%);
  background: rgba(0, 176, 204, 0.5);
}

/* Match baycorp.com.au `.header` + `.header-content` (application.min.css) */
.bc-hero-slider .bc-hero-stage {
  height: 450px;
  max-height: none;
}

.bc-hero-slider .bc-hero-content {
  justify-content: center;
  padding: 36px;
  padding-left: max(36px, calc(100% - 680px));
  gap: 0;
}

.bc-hero-title {
  margin: 0;
  font-family: "Ostrich Sans", sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: clamp(40px, 4.4vw, 58px);
  line-height: 1.02;
  opacity: 0;
  transform: translateY(10px);
}

.bc-hero-slider .bc-hero-title {
  position: relative;
  margin-bottom: 34px;
  padding-bottom: 34px;
  font-size: 5rem;
  line-height: 0.8;
  letter-spacing: -1px;
  text-transform: none;
  font-weight: 400;
}

.bc-hero-slider .bc-hero-title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86px;
  height: 2px;
  background-color: #fff;
}

.bc-hero-rule {
  width: 58px;
  height: 1px;
  background: rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(10px);
}

.bc-hero-subtitle {
  max-width: 420px;
  font-size: 12px;
  line-height: 1.65;
  letter-spacing: 0.02em;
  color: #ffffff;
  opacity: 0;
  transform: translateY(10px);
}

.bc-hero-slider .bc-hero-subtitle {
  max-width: 680px;
  margin-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #ffffff;
}

.bc-hero-slider .bc-hero-subtitle.rte,
.bc-hero-slider .bc-hero-subtitle.rte p,
.bc-hero-slider .bc-hero-lead.rte,
.bc-hero-slider .bc-hero-lead.rte p {
  color: #ffffff;
}

.bc-hero-slider .bc-hero-rule {
  display: none;
}

.bc-hero-slider .bc-hero-cta {
  --bc-hero-cta-navy: #002b45;
  --bc-hero-cta-teal-hover: #00a9c6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  gap: 10px;
  margin-top: 34px;
  padding: 0;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  color: #fff;
  border: none;
  border-radius: 0;
  
  opacity: 0;
  transform: translateY(10px);
  transition:
    background-color 0.2s var(--bc-ease-out),
    color 0.2s var(--bc-ease-out),
    fill 0.2s var(--bc-ease-out),
    stroke 0.2s var(--bc-ease-out),
    stroke-width 0.2s var(--bc-ease-out);
}

.bc-hero-slider .bc-hero-cta-diamond {
  fill: none;
  stroke: #fff;
  stroke-width: 1;
}

.bc-hero-slider .bc-hero-cta-arrow {
  stroke: #fff;
  stroke-width: 0.9;
}

.bc-hero-slider .bc-hero-cta:hover,
.bc-hero-slider .bc-hero-cta:focus-visible {
  color: var(--bc-hero-cta-navy);
}

.bc-hero-slider .bc-hero-cta:hover .bc-hero-cta-diamond,
.bc-hero-slider .bc-hero-cta:focus-visible .bc-hero-cta-diamond {
  fill: var(--bc-hero-cta-navy);
  stroke: #fff;
  stroke-width: 2;
}

.bc-hero-slider .bc-hero-cta:hover .bc-hero-cta-arrow,
.bc-hero-slider .bc-hero-cta:focus-visible .bc-hero-cta-arrow {
  stroke: #fff;
  stroke-width: 0.95;
  stroke-width: 2;
}

.bc-hero-slider .bc-hero-cta-label {
  white-space: nowrap;
}

.bc-hero-slider .bc-hero-cta-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-hero-slider .bc-hero-cta-mark {
  display: block;
  width: 32px;
  height: 32px;
}

.bc-hero-slider .bc-hero-cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

/* Entry animation (site-like easing/timing) */
.bc-hero-slide.is-active .bc-hero-panel {
  animation: bc-panel-in 0.75s var(--bc-ease-out) 0.05s both;
}

.bc-hero-slider .bc-hero-slide.is-active .bc-hero-panel {
  animation: bc-panel-in-pay 0.75s var(--bc-ease-out) 0.05s both;
}

.bc-hero-slider .bc-hero-slide.is-active .bc-hero-panel-wash {
  animation: bc-panel-wash-in 0.78s var(--bc-ease-out) 0.02s both;
}

.bc-hero-slide.is-active .bc-hero-title {
  animation: bc-hero-in 0.65s var(--bc-ease-out) 0.15s both;
}

.bc-hero-slide.is-active .bc-hero-subtitle {
  animation: bc-hero-in 0.65s var(--bc-ease-out) 0.3s both;
}

.bc-hero-slide.is-active .bc-hero-rule {
  animation: bc-hero-in 0.65s var(--bc-ease-out) 0.22s both;
}

.bc-hero-slide.is-active .bc-hero-cta {
  animation: bc-hero-in 0.65s var(--bc-ease-out) 0.38s both;
}

@keyframes bc-panel-in {
  from {
    transform: skew(-16deg) translateX(28%);
    opacity: 0;
  }
  to {
    transform: skew(-16deg) translateX(12%);
    opacity: 1;
  }
}

@keyframes bc-panel-in-pay {
  from {
    transform: skew(-18deg) translateX(28%);
    opacity: 0;
  }
  to {
    transform: skew(-18deg) translateX(12%);
    opacity: 1;
  }
}

@keyframes bc-panel-wash-in {
  from {
    transform: skew(-18deg) translateX(36%);
    opacity: 0;
  }
  to {
    transform: skew(-18deg) translateX(8.5%);
    opacity: 1;
  }
}

@keyframes bc-panel-wash-in-sm {
  from {
    transform: skew(-18deg) translateX(42%);
    opacity: 0;
  }
  to {
    transform: skew(-18deg) translateX(5.5%);
    opacity: 1;
  }
}

@keyframes bc-hero-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Inner pages (pay-an-account, standardPage) — panels fade in left → right */
.bc-hero-slider--page .bc-hero-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background-color: rgba(0, 61, 82, 0.3);
  pointer-events: none;
}

.bc-hero-slider--page .bc-hero-panel-wash,
.bc-hero-slider--page .bc-hero-panel {
  opacity: 0;
}

.bc-hero-slider--page .bc-hero-bg {
  z-index: 0;
}

.bc-hero-slider--page .bc-hero-content {
  z-index: 3;
}

.bc-hero-slider--page .bc-hero-slide.is-active .bc-hero-panel {
  animation: bc-hero-panel-page-in 0.8s var(--bc-ease-out) 0.05s both;
}

.bc-hero-slider--page .bc-hero-slide.is-active .bc-hero-panel-wash {
  animation: bc-hero-panel-page-wash-in 0.85s var(--bc-ease-out) 0.22s both;
}

@keyframes bc-hero-panel-page-wash-in {
  from {
    opacity: 0;
    transform: skew(-18deg) translateX(36%);
  }
  to {
    opacity: 1;
    transform: skew(-18deg) translateX(8.5%);
  }
}

@keyframes bc-hero-panel-page-in {
  from {
    opacity: 0;
    transform: skew(-18deg) translateX(28%);
  }
  to {
    opacity: 1;
    transform: skew(-18deg) translateX(12%);
  }
}

@keyframes bc-hero-panel-page-wash-in-sm {
  from {
    opacity: 0;
    transform: skew(-18deg) translateX(42%);
  }
  to {
    opacity: 1;
    transform: skew(-18deg) translateX(5.5%);
  }
}

.bc-hero-slider--page .bc-hero-lead {
  margin-bottom: 34px;
  font-family: var(--bc-font-ui);
  font-size: 0.9375rem;
  line-height: 2;
  letter-spacing: normal;
  max-width: 520px;
  color: #ffffff;
}

.bc-hero-slider--page .bc-hero-title--page {
  margin-bottom: 34px;
}

@media (max-width: 1023.98px) {
  .bc-hero-slider .bc-hero-content {
    padding-left: 36px;
  }
}

@media (max-width: 767.98px) {
  .bc-hero-stage {
    height: 260px;
  }

  .bc-hero-panel {
    width: 68%;
    right: -16%;
  }

  .bc-hero-title {
    font-size: 36px;
  }

  .bc-hero-slider .bc-hero-stage {
    height: auto;
    min-height: 280px;
  }

  .bc-hero-slider .bc-hero-panel {
    width: 70%;
    right: -18%;
  }

  .bc-hero-slider .bc-hero-panel-wash {
    width: 96%;
    right: -31%;
    transform: skew(-18deg) translateX(5.5%);
  }

  .bc-hero-slider .bc-hero-slide.is-active .bc-hero-panel-wash {
    animation: bc-panel-wash-in-sm 0.78s var(--bc-ease-out) 0.02s both;
  }

  .bc-hero-slider .bc-hero-content {
    padding: 36px 25px;
  }

  .bc-hero-slider .bc-hero-title {
    font-size: 3.25rem;
  }

  .bc-hero-slider .bc-hero-cta {
    margin-top: 24px;
    padding: 0;
    gap: 10px;
    font-size: 1.5rem;
    letter-spacing: 0.02em;
  }

  .bc-hero-slider .bc-hero-cta-mark {
    width: 28px;
    height: 28px;
  }

  .bc-hero-subtitle-intro {
    display: none !important;
  }

  .bc-hero-slider .bc-hero-subtitle,
  .bc-hero-slide.is-active .bc-hero-subtitle {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .bc-hero-slider--page .bc-hero-title--page {
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .bc-hero-slider--page .bc-hero-title--page::after {
    display: block;
    width: 85px;
    height: 2px;
    background-color: #fff;
  }

  .bc-hero-slider--page .bc-hero-lead {
    display: none;
  }

  .bc-hero-slider--page .bc-hero-stage {
    height: 240px;
    min-height: 240px;
  }

  .bc-hero-slider--page .bc-hero-slide.is-active .bc-hero-panel-wash {
    animation: bc-hero-panel-page-wash-in-sm 0.85s var(--bc-ease-out) 0.22s both;
  }

  .bc-hero-slider--page .bc-hero-content {
    padding: 36px 25px;
  }
}

@media (max-height: 410px) {
  .bc-hero-slider .bc-hero-content {
    padding: 12px;
  }

  .bc-hero-slider .bc-hero-title {
    margin-bottom: 20px;
    padding-bottom: 20px;
    font-size: 3rem;
  }
}

#business-solutions {
  scroll-margin-top: calc(var(--bc-header-h) + 16px);
}

/* Products & services — in-page nav (baycorp.com.au .tabs.items-4) */
.bc-products-lead {
  padding: 1.25rem 1rem 0;
  color: #222;
  font-size: 0.9375rem;
  line-height: 1.5;
  max-width: var(--bc-content-max, 1190px);
  margin-left: auto;
  margin-right: auto;
}

/* standardPage — hero full bleed, body blocks narrower (e.g. /business-resources) */
.baycorp-page--narrow-content {
  --bc-content-max: var(--bc-narrow-content-max, 960px);
}

/* Main page body (standardPage, specialPage, contact, etc.) — same width as tab panels */
.baycorp-page .baycorp-container,
.baycorp-home .baycorp-container {
  width: min(100% - 2rem, var(--bc-content-max, 1190px));
  max-width: var(--bc-content-max, 1190px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

.baycorp-page .baycorp-section__body,
.baycorp-home .baycorp-section__body {
  max-width: 100%;
}

.baycorp-page .baycorp-solutions .baycorp-container,
.baycorp-home .baycorp-solutions .baycorp-container {
  width: min(100% - 2rem, var(--bc-content-max, 1190px));
  max-width: var(--bc-content-max, 1190px);
}

a.bc-pay-tab.bc-products-nav-link {
  text-decoration: none;
  color: inherit;
}

/* Products & services — section nav (baycorp.com.au .tabs.items-4 .tab-item) */
.bc-products-nav-sticky {
  --bc-products-nav-h: 147px;
  --bc-products-nav-h-stuck: 60px;
  margin: 0;
  padding: 0;
}

.bc-layout-special .bc-products-nav-sticky {
  margin-top: -1px;
  margin-bottom: 0;
}

.bc-layout-special .bc-products-nav-sticky.is-pinned {
  background-color: #003d52;
}

.bc-products-nav-sentinel {
  height: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  pointer-events: none;
  visibility: hidden;
}

.bc-products-nav.bc-pay-tablist-wrap {
  position: relative;
  z-index: 100;
  width: 100%;
  background: #003d52;
}

.bc-products-nav.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.bc-products-nav .bc-pay-tablist {
  display: grid;
  grid-template-columns: repeat(var(--bc-pay-tab-columns, 4), minmax(0, 1fr));
  width: 100%;
  min-height: var(--bc-products-nav-h);
  transition: min-height 0.4s ease-in-out;
}

.bc-products-nav .bc-pay-tab {
  width: 100%;
  min-width: 0;
  height: var(--bc-products-nav-h);
  padding: 0;
  font-size: inherit;
  letter-spacing: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: height 0.4s ease-in-out;
}

.bc-products-nav .bc-pay-tab::before {
  transform: skewX(-20deg);
  border-left: 1px solid rgba(255, 255, 255, 0.225);
  transition: background-color 0.4s ease;
}

.bc-products-nav .bc-pay-tab:first-child::before {
  border-left: none;
}

/* tab space issue */
.bc-products-nav .bc-pay-tab:first-child:hover::before,
.bc-products-nav .bc-pay-tab:first-child:focus-visible::before,
.bc-products-nav .bc-pay-tab:first-child.is-active::before {
  background-color: #002835;
  transform: skewX(-20deg) scaleX(1.5); /* 좌우로 1.5배 키움 */
  transform-origin: right center; /* 오른쪽을 고정하고 왼쪽으로만 늘어나게 설정 */
}


.bc-products-nav .bc-pay-tab:last-child:hover::before,
.bc-products-nav .bc-pay-tab:last-child:focus-visible::before,
.bc-products-nav .bc-pay-tab:last-child.is-active::before {
  background-color: #002835;
  transform: skewX(-20deg) scaleX(1.5); /* 좌우로 1.5배 키움 */
  transform-origin: left center; /* 왼쪽을 고정하고 오른쪽으로만 늘어나게 설정 */
}


.bc-products-nav.bc-pay-tablist-wrap {
  overflow: hidden;
}


.bc-pay-tab:first-child:hover::before,
.bc-pay-tab:first-child:focus-visible::before,
.bc-pay-tab:first-child:focus::before,
.bc-pay-tab:first-child.is-active::before {
  background-color: #002835;
  /* 기존 20도 기울기를 유지하면서 좌우로 1.5배 확대 */
  transform: skewX(-20deg) scaleX(1.5); 
  /* 오른쪽을 축으로 고정하여 왼쪽 빈 공간으로만 늘어나게 합니다 */
  transform-origin: right center; 
}


.bc-pay-tab:last-child:hover::before,
.bc-pay-tab:last-child:focus-visible::before,
.bc-pay-tab:last-child.is-active::before {
  background-color: #002835;
  /* 기존 20도 기울기를 유지하면서 좌우로 1.5배 확대 */
  transform: skewX(-20deg) scaleX(1.5); 
  /* 왼쪽을 축으로 고정하여 오른쪽 빈 공간으로만 늘어나게 합니다 */
  transform-origin: left center; 
}


.bc-pay-tablist-wrap {
  overflow: hidden;
}




/* Diagonal divide between links (baycorp.com.au .tabs.items-4)   */
.bc-products-nav .bc-pay-tab:not(:first-child)::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0px;
  left: 0;
  left: 0px;
  width: 1px;
  background: rgba(255, 255, 255, 0.225);
  transform: skewX(-20deg);
  transform-origin: 0 50%;
  z-index: 6;
  pointer-events: none;
}


.bc-products-nav .bc-pay-tab span {
  position: relative;
  z-index: 20;
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0 20px;
  color: #fff;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 1.5625rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  text-transform: uppercase;
  white-space: normal;
  opacity: 0.5;
  transition:
    opacity 0.35s ease,
    font-size 0.4s ease-in-out;
}

.bc-products-nav .bc-pay-tab:hover::before,
.bc-products-nav .bc-pay-tab:focus-visible::before,
.bc-products-nav .bc-pay-tab.is-active::before {
  background-color: #002835;
}

.bc-products-nav .bc-pay-tab:hover span,
.bc-products-nav .bc-pay-tab:focus-visible span,
.bc-products-nav .bc-pay-tab.is-active span {
  opacity: 1;
}

.bc-products-nav.is-stuck .bc-pay-tablist {
  min-height: var(--bc-products-nav-h-stuck);
}

.bc-products-nav.is-stuck .bc-pay-tab {
  height: var(--bc-products-nav-h-stuck);
}

.bc-products-nav.is-stuck .bc-pay-tab span {
  font-size: 1.125rem;
}

.bc-split-feature,
[id^="au-"],
#bailiff-and-field-services {
  scroll-margin-top: calc(var(--bc-header-h) + var(--bc-products-nav-offset, 147px) + 16px);
}

/* Business solutions overlay — baycorp.com.au .filter-wrapper */
.bc-business-solutions {
  --bc-overlay-fade-dur: 0.4s;
  display: block;
  position: fixed;
  inset: 0;
  z-index: 2000;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background-color: rgba(255, 255, 255, 0.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity var(--bc-overlay-fade-dur) var(--bc-ease-out),
    visibility var(--bc-overlay-fade-dur) var(--bc-ease-out);
}

.bc-business-solutions.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.bc-business-solutions-open {
  overflow: hidden;
}

.bc-business-solutions-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  border: none;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: pointer;
}

.bc-business-solutions-content {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 100%;
  max-width: 680px;
  padding: 25px;
  font-size: 0;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, calc(-50% + 14px));
  transition:
    opacity var(--bc-overlay-fade-dur) var(--bc-ease-out) 0.06s,
    transform var(--bc-overlay-fade-dur) var(--bc-ease-out) 0.06s;
}

.bc-business-solutions.is-open .bc-business-solutions-content {
  opacity: 1;
  transform: translate(-50%, -50%);
}

@media (prefers-reduced-motion: reduce) {
  .bc-business-solutions,
  .bc-business-solutions-content {
    transition: none;
  }
}

.bc-business-solutions-title {
  margin: 0 0 34px;
  color: #003d52;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 5.5rem;
  font-weight: 400;
  line-height: 1;
  white-space: nowrap;
}

.bc-business-solutions-item-wrap {
  margin: 0 0 1.5rem;
  font-size: 1rem;
}

.bc-business-solutions-item-wrap:last-child {
  margin-bottom: 0;
}

.bc-business-solutions-item {
  position: relative;
  left: 10px;
  display: inline-block;
  padding: 10px 34px;
  color: #003d52;
  font-family: var(--bc-font-ui);
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.bc-business-solutions-item::before,
.bc-business-solutions-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -10px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 61, 82, 0.43);
  opacity: 0;
  z-index: 0;
  transform: skew(-20deg);
  transform-origin: left bottom;
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.bc-business-solutions-item::after {
  left: 0;
  background-color: #003d52;
}

.bc-business-solutions-item-label {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.bc-business-solutions-item.is-active,
.bc-business-solutions-item:hover,
.bc-business-solutions-item:focus-visible {
  color: #fff;
}

.bc-business-solutions-item.is-active::before,
.bc-business-solutions-item.is-active::after,
.bc-business-solutions-item:hover::before,
.bc-business-solutions-item:hover::after,
.bc-business-solutions-item:focus-visible::before,
.bc-business-solutions-item:focus-visible::after {
  opacity: 1;
}

.bc-business-solutions-all {
  display: inline-block;
  margin-top: 68px;
  color: #003d52;
  font-family: var(--bc-font-ui);
  font-family: "Ostrich Sans", sans-serif;
  font-size: 1rem;
  font-size: 1.875rem;
  line-height: 32px;
  font-weight: 400;
  text-decoration: none;
}

.bc-business-solutions-all-icon {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-right: 10px;
  vertical-align: middle;
}

.bc-business-solutions-all:hover,
.bc-business-solutions-all:focus-visible {
  text-decoration: underline;
  text-decoration: none;
}

@media (max-width: 767.98px) {
  .bc-business-solutions-title {
    margin-bottom: 68px;
    font-size: 3.25rem;
  }

  .bc-business-solutions-item-wrap {
    margin-bottom: 1.25rem;
  }
}

/* Bootstrap extension */
.border-bc-teal {
  border-color: var(--bc-teal) !important;
}

/* ===== Footer (Bootstrap layout; Figma 1:205 styling) ===== */
.bc-footer {
  background: #fff;
  border-top-color: rgba(0, 61, 82, 0.15) !important;
}

.bc-footer-pad {
  /* Slimmer band like the reference footer */
  padding-top: 18px;
  padding-bottom: 18px;
  max-width:98%;
}

.bc-footer-ack {
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.825rem;
  line-height: 2rem;
}

/* Right-side link rail with separators like "LinkedIn | Rights & Privacy | ..." */
.bc-footer-links .nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0 !important;
}

.bc-footer-links .nav-link + .nav-link::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 12px;
  background: rgba(0, 61, 82, 0.35);
  margin: 0 12px;
}

.bc-footer-link {
  color: var(--bc-teal) !important;
  font-size: 12px;
  line-height: 1.2;
  text-decoration: none;
}

.bc-footer-link:hover,
.bc-footer-link:focus {
  text-decoration: underline;
}

#footer-disclaimer p{
  display: block;
  font-size: 10px;
  max-width: 400px;
  text-align: left;
  line-height: 14px;
  margin-bottom: 25px;
  color: rgba(0, 0, 0, 0.72);
}



/* ===== Header shell (Figma 1:222) ===== */
.bc-header {
  --bc-logo-right: 296.62px;
  --bc-logo-w: 157px;
  --bc-pay-right: 177.26px;
  --bc-pay-w: 99.36px;
  --bc-portal-right: 60px;
  --bc-portal-w: 117.27px;
  --bc-country-w: 60px;
}

.bc-header .navbar {
  min-height: var(--bc-header-h);
  border-bottom: 3px solid var(--bc-teal) !important;
}

.bc-header-inner {
  position: relative;
  min-height: var(--bc-header-h);
}

/* Burger — Figma bars ~26.5px from left; icon stack vertically centered in hit area */
.bc-burger {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 5;
  width: 74px;
  height: var(--bc-header-h);
  padding: 0 0 0 26.5px;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.bc-burger:focus-visible {
  outline: 2px solid var(--bc-teal);
  outline-offset: 2px;
}

.bc-burger-bar {
  display: block;
  width: 21px;
  height: 4px;
  margin: 0;
  background: var(--bc-teal);
  position: relative;
  flex-shrink: 0;
  transform-origin: center;
  transition:
    background-color 0.3s,
    transform 0.2s var(--bc-ease-out);
}

.bc-burger:hover .bc-burger-bar,
.bc-burger:focus-visible .bc-burger-bar {
  transform: scale(1.2);
}

.bc-burger-bar::before,
.bc-burger-bar::after {
  content: "";
  position: absolute;
  left: 0;
  width: 21px;
  height: 4px;
  background: var(--bc-teal);
  transition: transform 0.3s, top 0.3s;
}

.bc-burger-bar::before {
  top: -7px;
}

.bc-burger-bar::after {
  top: 7px;
}

html.site-nav-open .bc-burger-bar {
  background: transparent;
}

html.site-nav-open .bc-burger-bar::before {
  transform: rotate(-45deg);
  top: 0;
}

html.site-nav-open .bc-burger-bar::after {
  transform: rotate(45deg);
  top: 0;
}

/* Logo — right 296.62px, top 25 / bottom 20, w 157 */
.bc-logo-wrap {
  position: absolute;
  right: var(--bc-logo-right);
  top: 25px;
  bottom: 20px;
  width: var(--bc-logo-w);
  overflow: hidden;
}

.bc-logo-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

/* Pay Now — full height column */
.bc-pay {
  position: absolute;
  right: var(--bc-pay-right);
  top: 0;
  bottom: 0;
  width: var(--bc-pay-w);
  height: var(--bc-header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  background: var(--bc-teal);
  border-left: 1px solid var(--bc-teal);
  color: #fff !important;
  font-weight: 700;
  font-size: 13.9px;
  text-decoration: none;
  line-height: 1;
  transition: background-color 0.2s var(--bc-ease-out);
}

.bc-pay:hover,
.bc-pay:focus-visible {
  color: #fff !important;
  background: var(--bc-teal-dark);
  text-decoration: none;
}

/* Client Portal */
.bc-portal {
  position: absolute;
  right: var(--bc-portal-right);
  top: 0;
  bottom: 0;
  width: var(--bc-portal-w);
  height: var(--bc-header-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border-left: 1px solid var(--bc-teal);
  color: var(--bc-teal) !important;
  font-weight: 400;
  font-size: 13.1px;
  text-decoration: none;
  background: transparent;
  transition: background-color 0.2s var(--bc-ease-out);
}

.bc-portal:hover,
.bc-portal:focus-visible {
  color: var(--bc-teal) !important;
  background: var(--bc-portal-hover-bg);
  text-decoration: none;
}

/* Country column — Figma 60px, production dropdown motion */
.bc-country {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: var(--bc-country-w);
  height: var(--bc-header-h);
  border-left: 1px solid var(--bc-teal);
  overflow: visible;
  z-index: 12;
}

.bc-country-trigger {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  color: var(--bc-teal);
  cursor: pointer;
  z-index: 10;
}

.bc-country-label {
  line-height: 1;
}

.bc-country-chevron {
  position: relative;
  flex-shrink: 0;
  display: block;
  width: 7px;
  height: 5px;
  margin-top: -10px;
  align-self: center;
}

.bc-country-chevron::before,
.bc-country-chevron::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 5px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
}

.bc-country-chevron::before {
  left: 0;
  transform: rotate(52deg);
  transform-origin: left bottom;
}

.bc-country-chevron::after {
  right: 0;
  transform: rotate(-52deg);
  transform-origin: right bottom;
}

.bc-country-trigger:hover {
  color: var(--bc-teal);
}

.bc-country-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  text-align: center;
  z-index: 12;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    transform var(--bc-dur) ease-in-out,
    opacity var(--bc-dur) ease-in-out,
    visibility 0s linear var(--bc-dur);
}

.bc-country-panel a {
  display: block;
  padding: 0;
  color: var(--bc-teal);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 1px;
  line-height: 26px;
}

.bc-country-panel a:hover {
  text-decoration: underline;
}

.bc-country:hover .bc-country-panel {
  transform: translateY(-10px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition:
    transform var(--bc-dur) ease-in-out,
    opacity var(--bc-dur) ease-in-out,
    visibility 0s;
}

/* ===== Fullscreen menu (baycorp.com.au GSAP pattern → CSS) ===== */
.bc-menu {
  position: fixed;
  inset: 0;
  background: var(--bc-overlay);
  opacity: 0;
  visibility: hidden;
  z-index: -1;
  transform: translateX(-100%);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  transition:
    opacity var(--bc-dur) var(--bc-ease-out),
    transform 0s linear var(--bc-dur),
    visibility 0s var(--bc-dur),
    z-index 0s var(--bc-dur);
}

.bc-menu.is-open {
  opacity: 1;
  visibility: visible;
  z-index: 2000;
  transform: translateX(0);
  transition:
    transform 0s,
    opacity var(--bc-dur) var(--bc-ease-out),
    visibility 0s 0s,
    z-index 0s 0s;
}

.bc-menu-rail {
  position: relative;
  width: calc(50% + 80px);
  height: 100%;
  min-height: 100%;
}

@media (min-width: 768px) {
  .bc-menu-rail {
    transform: skew(-20deg) translateX(-100%);
    transform-origin: top left;
    transition: transform var(--bc-dur) var(--bc-ease-out);
    transition-delay: 0.05s;
  }

  .bc-menu.is-open .bc-menu-rail {
    transform: skew(-20deg) translateX(0);
  }
}

@media (max-width: 1023.98px) and (min-width: 768px) {
  .bc-menu-rail {
    width: 75%;
  }
}

@media (max-width: 767.98px) {
  .bc-menu-rail {
    width: 100%;
    transform: translateX(-100%);
    transition: transform var(--bc-dur) var(--bc-ease-out);
    transition-delay: 0.05s;
  }

  .bc-menu.is-open .bc-menu-rail {
    transform: translateX(0);
  }
}

.bc-menu-nav {
  position: relative;
  width: calc(100% - 80px);
  min-height: 100%;
  background: var(--bc-cyan);
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .bc-menu-nav {
    width: 100%;
  }
}

.bc-menu-nav-inner {
  padding-top: 0;
}

@media (min-width: 768px) {
  .bc-menu-nav-inner {
    width: 160%;
    padding-left: 67px;
    transform: skew(20deg);
  }
}

.bc-menu-close {
  position: absolute;
  top: 0;
  right: 0;
  /* Align arrow with the first menu row ("HOME") */
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 5;
  -webkit-tap-highlight-color: transparent;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.bc-menu-close svg {
  display: block;
  pointer-events: none;
}

/* Desktop arrow sits at the end of the first nav row */
@media (min-width: 768px) {
  .bc-menu-close .bc-arr-thin {
    margin-top: calc((72px - 25px) / 2);
  }
}

@media (min-width: 768px) {
  .bc-menu-close {
    width: 80px;
    min-height: 100%;
    height: auto;
    background: var(--bc-cyan-soft);
    opacity: 0;
    transform: translateX(-100%);
    transition:
      transform var(--bc-dur) var(--bc-ease-out),
      opacity var(--bc-dur) var(--bc-ease-out);
    transition-delay: 0s;
  }

  .bc-menu.is-open .bc-menu-close {
    opacity: 1;
    transform: translateX(0);
    /* After menu rail slide (~0.05s delay + 0.4s duration) */
    transition-delay: 0.45s;
  }

  .bc-menu-close .bc-arr-thin {
    transform: skew(20deg);
    opacity: 0;
    transition: opacity 0.25s var(--bc-ease-out);
  }

  .bc-menu.is-open .bc-menu-close .bc-arr-thin {
    opacity: 1;
    transition-delay: 0.55s;
  }
}

@media (max-width: 767.98px) {
  .bc-menu-close {
    width: 64px;
    height: 64px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #002835;
    opacity: 0;
    transform: translate3d(48px, 0, 0);
    z-index: 10;
    transition:
      transform var(--bc-dur) var(--bc-ease-out),
      opacity var(--bc-dur) var(--bc-ease-out);
    transition-delay: 0s;
    will-change: transform, opacity;
  }

  .bc-menu-close .bc-arr-thin {
    display: none;
  }

  .bc-menu-close .bc-arr-thick {
    display: block;
    opacity: 1;
    transition: none;
  }

  .bc-menu.is-open .bc-menu-close {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition-delay: 0.32s;
  }

  .bc-menu-nav-inner .bc-menu-link:first-child {
    padding-right: 64px;
  }

  @media (prefers-reduced-motion: reduce) {
    .bc-menu-close {
      transform: none;
      transition: opacity 0.2s ease;
      will-change: auto;
    }

    .bc-menu.is-open .bc-menu-close {
      transition-delay: 0.1s;
    }
  }
}

/* Desktop: thin arrow only; thick hidden until mobile block below */
@media (min-width: 768px) {
  .bc-menu-close .bc-arr-thick {
    display: none;
  }
}

.bc-menu-link {
  display: block;
  padding-left: 72px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  color: #fff !important;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 2.1875rem;
  line-height: 72px;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.bc-menu-link:hover,
.bc-menu-link:focus {
  color: #fff !important;
}

.bc-menu-link.active,
.bc-menu-link:hover {
  background: var(--bc-teal);
}

@media (max-width: 767.98px) {
  .bc-menu-link {
    padding-left: 25px;
    font-size: 1.75rem;
    line-height: 64px;
  }
}
/* ===== Responsive: stack under lg ===== */
@media (max-width: 991.98px) {
  .bc-header {
    --bc-logo-right: auto;
    --bc-logo-w: min(157px, 40vw);
  }

  .bc-header-inner {
    padding-left: 74px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0;
    padding-right: 0;
  }

  .bc-logo-wrap {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    margin-right: auto;
    margin-left: 0.5rem;
    width: var(--bc-logo-w);
    height: 32px;
  }

  .bc-pay,
  .bc-portal,
  .bc-country {
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: auto;
    min-height: var(--bc-header-h);
  }

  .bc-pay {
    flex: 0 0 auto;
    padding: 0 1rem;
    justify-content: center;
    border-left: 1px solid var(--bc-teal);
  }

  .bc-portal {
    display: none !important;
  }

  .bc-country {
    width: 60px;
    flex: 0 0 60px;
    border-left: 1px solid var(--bc-teal);
  }

  .bc-header-inner {
    flex-wrap: nowrap;
  }
}

/* ===== Mobile: logo centered, hide country dropdown ===== */
@media (max-width: 767.98px) {
  .bc-header {
    --bc-logo-w: min(160px, 46vw);
  }

  .bc-header-inner {
    padding-left: 0;
    padding-right: 0;
  }

  /* Keep burger fixed on the left */
  .bc-burger {
    left: 0;
  }

  /* Center the logo in the header */
  .bc-logo-wrap {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    height: 28px;
    width: var(--bc-logo-w);
  }

  /* Compact right side */
  .bc-pay {
    margin-left: auto;
    padding: 0 12px;
    font-size: 13px;
    letter-spacing: 0.01em;
  }

  /* Mobile: baycorp.com.au hides the country dropdown */
  .bc-country {
    display: none !important;
  }
}

/* ===== Contact directory — Country / Location / Details (baycorp.com.au/contact) ===== */
.bc-pay-tabpanel-contact-directory {
  --bc-contact-directory-bg: #f0f9fa;
  box-sizing: border-box;
  background: var(--bc-contact-directory-bg);
  /* Full-viewport band without 100vw overflow (parent .bc-pay-section uses overflow-x: clip) */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
  padding-bottom: 3rem;
}

.bc-contact-directory {
  --bc-contact-directory-accent: var(--bc-cyan);
  padding: 0 0 48px;
}

.bc-pay-tabpanel-contact-directory .bc-contact-directory {
  padding-top: 0;
  padding-bottom: 0;
}

/* Tab panel: align Country / Location / Details with 4-col block above (no extra inset) */
.bc-pay-tabpanel .bc-pay-tabpanel-contact-directory .bc-contact-directory-picker {
  padding-left: 0;
  padding-right: 0;
}

.bc-contact-directory-intro h3 {
  color: var(--bc-teal);
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
}

.bc-contact-directory-intro p:last-child {
  margin-bottom: 0;
}

.bc-contact-directory-picker {
  margin-top: 1.5rem;
  padding: 28px 50px 32px;
}

/* One country in CMS: Location + Details only (no Country column) */
.bc-contact-directory--single-country .bc-contact-directory-col--location {
  padding-left: 0;
}

/*
 * Contact directory inside twoCols block (RTE embed in half column).
 * Location + Details in one row (50/50); no extra top spacing.
 * Contact page tab panel / full-width layouts are unchanged.
 */
.bc-two-cols .bc-contact-directory {
  padding: 0;
}

.bc-two-cols .bc-contact-directory > .container {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.bc-two-cols .bc-contact-directory-intro {
  margin-top: 0;
  margin-bottom: 0 !important;
}

.bc-two-cols .bc-contact-directory-picker {
  margin-top: 0;
  padding: 0;
}

.bc-two-cols .bc-contact-directory--single-country .bc-contact-directory-picker--two-cols {
  flex-wrap: nowrap;
}

.bc-two-cols .bc-contact-directory--single-country .bc-contact-directory-col--location,
.bc-two-cols .bc-contact-directory--single-country .bc-contact-directory-col--details {
  flex: 0 0 50%;
  max-width: 50%;
  width: 50%;
  padding-left: 0;
  padding-right: 0;
  margin-top: 0;
}

.bc-two-cols .bc-contact-directory--single-country .bc-contact-directory-col--details {
  padding-left: 12px;
}

.bc-two-cols .bc-contact-directory-details:not(.bc-contact-directory-details--empty) {
  min-height: 0;
}

/* twoCols RTE embed: .rte h3 margin does not apply to Location / Details labels */
.bc-two-cols .bc-contact-directory .bc-contact-directory-heading {
  margin-top: 0;
}

.bc-contact-directory-col {
  min-height: 0;
  padding: 0 18px;
}

.bc-contact-directory-col:first-child {
  padding-left: 0;
}

.bc-contact-directory-col:last-child {
  padding-right: 0;
}

.bc-contact-directory-heading {
  margin: 0;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--bc-teal);
  background: transparent;
  color: var(--bc-teal);
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1.3;
}

.bc-contact-directory-list {
  padding-top: 8px;
}

.bc-contact-directory-list > li + li .bc-contact-directory-option {
  margin-top: 3px;
}

.bc-contact-directory-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  padding: 7px 14px 7px 0px;
  border: 0;
  background: transparent;
  color: var(--bc-teal);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  cursor: pointer;
  transition:
    background-color 0.22s var(--bc-ease-out),
    color 0.22s var(--bc-ease-out),
    padding 0.22s var(--bc-ease-out);
}

.bc-contact-directory-option:hover:not(.is-active),
.bc-contact-directory-option:focus-visible:not(.is-active) {
  color: var(--bc-contact-directory-accent);
  outline: none;
}

.bc-contact-directory-option.is-active {
  background: var(--bc-contact-directory-accent);
  color: #ffffff;
  font-weight: 700;
  padding-left: 15px;
}

.bc-contact-directory-option.is-active::after {
  content: "›";
  flex-shrink: 0;
  font-size: 1.2em;
  line-height: 1;
  font-weight: 400;
  animation: bc-contact-dir-chevron-in 0.25s var(--bc-ease-out) both;
}

@keyframes bc-contact-dir-picker-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bc-contact-dir-locations-in {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bc-contact-dir-details-in {
  from {
    opacity: 0;
    transform: scale(0.985);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes bc-contact-dir-detail-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bc-contact-dir-chevron-in {
  from {
    opacity: 0;
    transform: translateX(-5px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.bc-contact-directory--ready .bc-contact-directory-picker {
  animation: bc-contact-dir-picker-in 0.38s var(--bc-ease-out) both;
}

.bc-contact-directory-locations.bc-contact-directory-locations--enter {
  animation: bc-contact-dir-locations-in 0.28s var(--bc-ease-out) both;
}

.bc-contact-directory-details {
  position: relative;
  flex: 1;
  margin-top: 14px;
  padding: 0;
  min-height: 0;
  background: transparent;
  transition:
    background-color 0.28s var(--bc-ease-out),
    padding 0.28s var(--bc-ease-out),
    min-height 0.28s var(--bc-ease-out);
}

.bc-contact-directory-details.bc-contact-directory-details--enter:not(
    .bc-contact-directory-details--empty
  ) {
  animation: bc-contact-dir-details-in 0.32s var(--bc-ease-out) both;
}

.bc-contact-directory-detail.bc-contact-directory-detail--enter {
  animation: bc-contact-dir-detail-in 0.3s var(--bc-ease-out) both;
}

@media (prefers-reduced-motion: reduce) {
  .bc-contact-directory--ready .bc-contact-directory-picker,
  .bc-contact-directory-locations.bc-contact-directory-locations--enter,
  .bc-contact-directory-details.bc-contact-directory-details--enter,
  .bc-contact-directory-detail.bc-contact-directory-detail--enter,
  .bc-contact-directory-option.is-active::after {
    animation: none !important;
  }

  .bc-contact-directory-option {
    transition: background-color 0.15s ease, color 0.15s ease;
  }
}

.bc-contact-directory-col--details {
  display: flex;
  flex-direction: column;
}

.bc-contact-directory-details:not(.bc-contact-directory-details--empty) {
  padding: 20px 22px;
  min-height: 220px;
  background: var(--bc-contact-directory-accent);
}

.bc-contact-directory-detail {
  display: none;
}

.bc-contact-directory-detail.is-active {
  display: block;
}

.bc-contact-directory-detail[hidden] {
  display: none !important;
}

.bc-contact-directory-detail,
.bc-contact-directory-detail p,
.bc-contact-directory-detail li {
  color: #fff;
  font-size: 0.8125rem;
  line-height: 1.65;
}

.bc-contact-directory-detail h3,
.bc-contact-directory-detail h4 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
}

.bc-contact-directory-detail p {
  margin-bottom: 14px;
}

.bc-contact-directory-detail p:last-child {
  margin-bottom: 0;
}

.bc-contact-directory-detail a,
.bc-contact-directory-detail a:hover,
.bc-contact-directory-detail a:focus-visible,
.bc-pay-tabpanel .bc-contact-directory-detail a,
.bc-pay-tabpanel .bc-contact-directory-detail a:hover,
.bc-pay-tabpanel .bc-contact-directory-detail a:focus-visible {
  color: #fff;
  text-decoration: none;
}

.bc-contact-directory-detail u,
.bc-contact-directory-detail a u {
  text-decoration: none;
}

.bc-contact-directory-detail strong {
  color: #fff;
  font-weight: 700;
}

.bc-contact-directory-detail-link,
.bc-contact-directory-detail-link:hover,
.bc-contact-directory-detail-link:focus-visible {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

@media (max-width: 991.98px) {
  .bc-contact-directory-picker {
    padding: 22px 0 26px;
  }

  .bc-pay-tabpanel .bc-pay-tabpanel-contact-directory .bc-contact-directory-picker {
    padding-left: 0;
    padding-right: 0;
  }

  .bc-contact-directory-col {
    padding: 0;
  }

  .bc-contact-directory-col + .bc-contact-directory-col {
    margin-top: 28px;
  }

  .bc-two-cols .bc-contact-directory--single-country .bc-contact-directory-col--location,
  .bc-two-cols .bc-contact-directory--single-country .bc-contact-directory-col--details {
    flex: 0 0 50%;
    max-width: 50%;
    width: 50%;
    margin-top: 0;
  }

  .bc-contact-directory-details:not(.bc-contact-directory-details--empty) {
    min-height: 0;
  }
}

/* ===== Pay an account — tab bar (baycorp.com.au /pay-an-account application.min.css) ===== */
.bc-pay-section {
  --bc-pay-tab-bg: #003d52;
  --bc-pay-tab-active: #002835;
  --bc-pay-tab-divider: rgba(255, 255, 255, 0.4);
  /* Tab panel content — narrower than site default (--bc-content-max: 1190px) */
  --bc-pay-content-max: var(--bc-narrow-content-max, 960px);
  overflow-x: clip;
}

.bc-pay-tablist-wrap {
  background: var(--bc-pay-tab-bg);
  width: 100%;
}

.bc-pay-tablist {
  display: grid;
  grid-template-columns: repeat(var(--bc-pay-tab-columns, 3), minmax(0, 1fr));
  width: 100%;
  min-height: 60px;
  overflow: hidden;
  z-index: 11;
}

/* 2–6 tabs: column count only; label size handled per count on .bc-products-nav */
.bc-pay-tablist--items-2 {
  --bc-pay-tab-columns: 2;
}

.bc-pay-tablist--items-3 {
  --bc-pay-tab-columns: 3;
}

.bc-pay-tablist--items-4 {
  --bc-pay-tab-columns: 4;
}

.bc-pay-tablist--items-5 {
  --bc-pay-tab-columns: 5;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.bc-pay-tablist--items-6 {
  --bc-pay-tab-columns: 6;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.bc-products-nav .bc-pay-tablist--items-6 .bc-pay-tab span {
  font-size: 1.25rem;
  padding: 0 10px;
}

.bc-products-nav.is-stuck .bc-pay-tablist--items-6 .bc-pay-tab span,
.bc-layout-special .bc-special-nav.bc-products-nav.is-stuck .bc-pay-tablist--items-6 .bc-pay-tab span {
  font-size: 0.9375rem;
}

.bc-pay-tab {
  position: relative;
  min-width: 0;
  height: 60px;
  margin: 0;
  padding: 0 10px;
  border: none;
  background: transparent;
  color: #fff;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  text-align: center;
  line-height: 1.1;
}

/* Skewed cell + left border = diagonal separators (matches .tab-item:before) */
.bc-pay-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bc-pay-tab-bg);
  border-left: 1px solid var(--bc-pay-tab-divider);
  transform: skewX(-20deg);
  z-index: 0;
  transition: background-color 0.35s ease;
}

.bc-pay-tab:first-child::before {
  border-left: none;
}

.bc-pay-tab span {
  position: relative;
  z-index: 1;
  display: block;
  opacity: 0.5;
  transition: opacity 0.25s ease;
}

.bc-pay-tab:hover::before,
.bc-pay-tab:focus-visible::before,
.bc-pay-tab[aria-selected="true"]::before {
  background-color: var(--bc-pay-tab-active);
}

.bc-pay-tab:hover span,
.bc-pay-tab:focus-visible span,
.bc-pay-tab[aria-selected="true"] span {
  opacity: 1;
}

.bc-pay-tab:focus-visible {
  outline: none;
}

.bc-pay-tab:focus-visible::before {
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.45);
}

.bc-pay-tabpanels {
  box-sizing: border-box;
  width: 100%;
  max-width: var(--bc-pay-content-max, var(--bc-content-max, 1190px));
  margin-left: auto;
  margin-right: auto;
  padding: 2.25rem 15px 0rem;
}

.bc-pay-tabpanel {
  color: #222;
  font-size: 0.9375rem;
  line-height: 1.65;
}

@media (prefers-reduced-motion: no-preference) {
  .bc-pay-tabpanel.bc-pay-tabpanel--fade-in {
    animation: bc-pay-tabpanel-fade-in 0.45s cubic-bezier(0.33, 1, 0.68, 1) both;
  }

  /* Two-column tab panels: text first, image/aside slightly later */
  .bc-pay-tabpanel.bc-pay-tabpanel--fade-in:has(.bc-pay-tabpanel-two-col) {
    animation: none;
  }

  .bc-pay-tabpanel.bc-pay-tabpanel--fade-in .bc-pay-tabpanel-col-text {
    animation: bc-pay-tabpanel-fade-in 0.5s cubic-bezier(0.33, 1, 0.68, 1) both;
  }

  .bc-pay-tabpanel.bc-pay-tabpanel--fade-in .bc-pay-tabpanel-col-aside {
    animation: bc-pay-tabpanel-fade-in 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.22s both;
  }
}

@keyframes bc-pay-tabpanel-fade-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Same total width for tab layouts — cap Bootstrap .container at site content width */
.bc-pay-tabpanel .container,
.bc-pay-tabpanel .bc-pay-tabpanel-rte.container,
.bc-pay-tabpanel .bc-pay-tabpanel-two-col.container,
.bc-pay-tabpanel .bc-pay-tabpanel-four-cols.container,
.bc-pay-tabpanel .bc-pay-tabpanel-accordion.container,
.bc-pay-tabpanel .bc-pay-tabpanel-contact-directory .bc-contact-directory > .container {
  width: 100%;
  max-width: var(--bc-pay-content-max, var(--bc-content-max, 1190px));
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

.bc-pay-tabpanel .bc-pay-tabpanel-rte > .row {
  margin-left: 0;
  margin-right: 0;
}

.bc-pay-tabpanel .bc-pay-tabpanel-rte > .row > .col-12 {
  padding-left: 0;
  padding-right: 0;
}

.bc-pay-tabpanel > .bc-about-panel,
.bc-pay-tabpanel > .bc-split-feature {
  max-width: 100%;
}

/* Tab panel — image + bordered copy + text link with arrow */
.bc-pay-tabpanel-aside {
  display: flex;
  flex-direction: column;
}

.bc-pay-tabpanel-aside-media {
  margin: 0;
}

.bc-pay-tabpanel-aside-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
}

.bc-pay-tabpanel-aside-body {
  margin: 0;
  padding: 1.35rem 1.25rem 1.5rem;
  background: #fff;
  border: 1px solid #c5d0d6;
}

.bc-pay-tabpanel-aside-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  color: #003d52;
  font-size: 0.8375rem;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
}

.bc-pay-tabpanel-aside-link::after {
  content: "›";
  font-size: 1.15em;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.bc-pay-tabpanel-aside-link:hover,
.bc-pay-tabpanel-aside-link:focus-visible {
  color: #002835;
  text-decoration: none;
}

.bc-pay-tabpanel-aside-link:hover::after,
.bc-pay-tabpanel-aside-link:focus-visible::after {
  transform: translateX(3px);
}

.bc-pay-tabpanel-aside-link:focus-visible {
  outline: 2px solid var(--bc-cyan, #00a9c6);
  outline-offset: 3px;
}

.bc-pay-tabpanel-actions .baycorp-btn {
  text-decoration: none;
}

.bc-pay-tabpanel h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--bc-teal);
  margin-top: 1.75rem;
  margin-bottom: 0.65rem;
}

.bc-pay-tabpanel .card h3 {
  margin-top: 0;
}

.bc-pay-tabpanel h3:first-child {
  margin-top: 0;
}

.bc-pay-tabpanel p:last-child {
  margin-bottom: 0;
}

.bc-pay-tabpanel a {
  color: var(--bc-cyan);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bc-pay-tabpanel a:hover,
.bc-pay-tabpanel a:focus-visible {
  color: var(--bc-cyan);
}

.bc-pay-tabpanel a.bc-split-cta,
.bc-pay-tabpanel a.bc-split-cta:hover,
.bc-pay-tabpanel a.bc-split-cta:focus-visible {
  color: #fff !important;
  text-decoration: none;
}

.bc-pay-tabpanel a.bc-pay-tabpanel-aside-link,
.bc-pay-tabpanel a.bc-pay-tabpanel-aside-link:hover,
.bc-pay-tabpanel a.bc-pay-tabpanel-aside-link:focus-visible {
  color: #003d52;
  text-decoration: none;
}

.bc-pay-tabpanel a.bc-pay-tabpanel-aside-link:hover,
.bc-pay-tabpanel a.bc-pay-tabpanel-aside-link:focus-visible {
  color: #002835;
}

.bc-pay-tabpanel .link-secondary {
  color: #5c6c74;
  text-decoration: none;
}

.bc-pay-tabpanel .link-secondary:hover {
  color: var(--bc-teal);
  text-decoration: underline;
}

/* FAQ — Bootstrap accordion: bordered header only; body sits below (baycorp-style) */
.bc-pay-faq-accordion {
  --bc-pay-faq-border: #33475b;
  --bc-pay-faq-heading: #003d52;
  --bc-pay-faq-body-text: #5a6770;
  --bc-pay-faq-link: #00b0cc;
}

.bc-pay-faq-accordion.accordion-flush .accordion-item.bc-pay-faq-item {
  margin-bottom: 1.25rem;
  border: none;
  border-radius: 0;
  background: transparent;
}

.bc-pay-faq-accordion.accordion-flush .accordion-item.bc-pay-faq-item:last-child {
  margin-bottom: 0;
}

.bc-pay-faq-accordion .accordion-button {
  position: relative;
  border-radius: 0;
  border: 1px solid var(--bc-pay-faq-border);
  padding: 1rem 2.75rem 1rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--bc-pay-faq-heading);
  background-color: #fff;
  box-shadow: none;
}

.bc-pay-faq-accordion .accordion-button:not(.collapsed) {
  color: var(--bc-pay-faq-heading);
  background-color: #fff;
  box-shadow: none;
}

.bc-pay-faq-accordion .accordion-button::after {
  position: absolute;
  right: 1.15rem;
  top: 50%;
  margin-top: 0;
  width: 0.5rem;
  height: 0.5rem;
  background-image: none;
  border-right: 1.5px solid var(--bc-pay-faq-heading);
  border-bottom: 1.5px solid var(--bc-pay-faq-heading);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s cubic-bezier(0.33, 1, 0.68, 1);
}

.bc-pay-faq-accordion .accordion-button:not(.collapsed)::after {
  transform: translateY(-20%) rotate(225deg);
}

.bc-pay-faq-accordion .accordion-button:focus {
  box-shadow: none;
  border-color: var(--bc-pay-faq-border);
}

.bc-pay-faq-accordion .accordion-button:focus-visible {
  outline: 2px solid var(--bc-cyan);
  outline-offset: 2px;
  z-index: 1;
}

.bc-pay-faq-accordion .accordion-button.collapsed {
  background-color: #fff;
}

.bc-pay-faq-accordion .accordion-button.collapsed::after {
  transform: translateY(-70%) rotate(45deg);
}

.bc-pay-faq-accordion .bc-pay-faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  border: none;
  background: transparent;
  transition: grid-template-rows 0.42s cubic-bezier(0.33, 1, 0.68, 1);
}

.bc-pay-faq-accordion .bc-pay-faq-panel.is-open {
  grid-template-rows: 1fr;
}

.bc-pay-faq-accordion .bc-pay-faq-panel > .accordion-body {
  overflow: hidden;
  min-height: 0;
  padding: 0 0 0 1.25rem;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.35s cubic-bezier(0.33, 1, 0.68, 1),
    transform 0.42s cubic-bezier(0.33, 1, 0.68, 1),
    padding 0.42s cubic-bezier(0.33, 1, 0.68, 1);
}

.bc-pay-faq-accordion .bc-pay-faq-panel.is-open > .accordion-body {
  padding: 0.65rem 0 0.25rem 1.25rem;
  opacity: 1;
  transform: translateY(0);
}

/* First item open on load — no expand animation */
.bc-pay-faq-accordion .bc-pay-faq-panel.is-open.bc-pay-faq-panel--initial > .accordion-body {
  transition: none;
}

.bc-pay-faq-accordion .bc-pay-faq-panel.is-open.bc-pay-faq-panel--initial {
  transition: none;
}

.bc-pay-faq-accordion .accordion-body {
  color: var(--bc-pay-faq-body-text);
  font-size: 0.9375rem;
  line-height: 1.65;
  background: transparent;
}

.bc-pay-faq-accordion .accordion-body a {
  color: var(--bc-pay-faq-link);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bc-pay-faq-accordion .accordion-body a:hover,
.bc-pay-faq-accordion .accordion-body a:focus-visible {
  color: var(--bc-pay-faq-link);
}

@media (prefers-reduced-motion: reduce) {
  .bc-pay-faq-accordion .bc-pay-faq-panel,
  .bc-pay-faq-accordion .bc-pay-faq-panel > .accordion-body {
    transition: none;
  }

  .bc-pay-faq-accordion .bc-pay-faq-panel > .accordion-body {
    opacity: 1;
    transform: none;
  }

  .bc-pay-faq-accordion .bc-pay-faq-panel:not(.is-open) > .accordion-body {
    opacity: 0;
  }

  .bc-pay-faq-accordion .collapsing {
    transition: none;
  }

  .bc-pay-faq-accordion .accordion-button::after {
    transition: none;
  }
}

.bc-pay-resources ul {
  padding-left: 1.1rem;
  margin-bottom: 0;
}

.bc-pay-resources li {
  margin-bottom: 0.75rem;
}

@media (max-width: 575.98px) {
  .bc-pay-tablist {
    display: flex;
    flex-direction: column;
    min-height: 0;
    gap: 0;
    overflow: visible;
  }

  .bc-pay-tablist:not(.bc-pay-tablist--open) {
    overflow: hidden;
  }

  .bc-products-nav .bc-pay-tab:not(:first-child)::after {
    display: none;
  }

  /* Flat bar cells (no skew) — matches mobile “PAYMENT OPTIONS” strip */
  .bc-pay-tab::before {
    transform: none;
    border-left: none;
  }

  .bc-pay-tab {
    height: calc(52px * 1.3);
    min-height: calc(52px * 1.3);
    font-size: 1.5625rem;
    padding: 0 1rem 0 1.125rem;
    letter-spacing: 0.06em;
    text-align: left;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
  }

  .bc-pay-tab span {
    display: block;
    flex: 1 1 auto;
    text-align: left;
  }

  /* Collapsed: only the selected tab row is visible */
  .bc-pay-tablist:not(.bc-pay-tablist--open) .bc-pay-tab:not([aria-selected="true"]) {
    height: 0;
    min-height: 0;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
    overflow: hidden;
    visibility: hidden;
    pointer-events: none;
  }

  .bc-pay-tablist:not(.bc-pay-tablist--open) .bc-pay-tab[aria-selected="true"] {
    visibility: visible;
    pointer-events: auto;
  }

  .bc-pay-tablist:not(.bc-pay-tablist--open) .bc-pay-tab[aria-selected="true"] span {
    opacity: 1;
  }

  /* Chevron on the active tab (disclosure control) */
  .bc-pay-tab[aria-selected="true"]::after {
    content: "";
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    width: 0.9rem;
    height: 0.9rem;
    margin-left: auto;
    margin-right: 0.2rem;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
  }

  .bc-pay-tablist.bc-pay-tablist--open .bc-pay-tab[aria-selected="true"]::after {
    transform: rotate(-135deg);
  }

  /* Open: full-width stacked options */
  .bc-pay-tablist.bc-pay-tablist--open .bc-pay-tab {
    visibility: visible;
    pointer-events: auto;
    height: calc(52px * 1.3);
    min-height: calc(52px * 1.3);
    overflow: visible;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
  }

  .bc-pay-tablist.bc-pay-tablist--open .bc-pay-tab:last-of-type {
    border-bottom: none;
  }

  .bc-pay-tablist.bc-pay-tablist--open .bc-pay-tab:not([aria-selected="true"])::after {
    content: none;
    display: none;
  }

  .bc-pay-tablist.bc-pay-tablist--open .bc-pay-tab:not([aria-selected="true"]) span {
    opacity: 0.6;
  }
}

/* ===== Index: two-column value intro (baycorp.com.au “Helping Your Business”) ===== */
.bc-home-value {
  background: #fff;
  padding: clamp(3.75rem, 6vw, 6rem) 0;
}

.bc-home-value-heading {
  margin: 0;
  font-family: "Ostrich Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0.02em;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--bc-cyan);
  font-size: clamp(1.5rem, 5.5vw, 2.5rem);
  line-height: 1;
  white-space: nowrap;
  font-size: 3.25rem;
}

.bc-home-value-heading-line {
  display: inline;
}

.bc-home-value-heading-line + .bc-home-value-heading-line::before {
  content: "\00a0";
}

/* Mobile: rule under first word only (baycorp.com.au) */
.bc-home-value-heading-line:first-child {
  position: relative;
  padding-bottom: 0.35rem;
}

.bc-home-value-heading-line:first-child::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background-color: #5c6c74;
}

.bc-home-value-rule {
  display: none;
  width: 3.25rem;
  height: 2px;
  margin-top: 1.125rem;
  background-color: #5c6c74;
}

@media (min-width: 992px) {
  .bc-home-value-heading {
    font-size: 4.8rem;
    line-height: 0.8;
    white-space: normal;
  }

  .bc-home-value-heading-line {
    display: block;
  }

  .bc-home-value-heading-line + .bc-home-value-heading-line::before {
    content: none;
  }

  .bc-home-value-heading-line:first-child {
    padding-bottom: 0;
  }

  .bc-home-value-heading-line:first-child::after {
    content: none;
  }

  .bc-home-value-rule {
    display: block;
  }
}

.bc-home-value-body {  
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
  color: #33475b;
  max-width: none;
}

.bc-home-value-body.rte p {
  margin: 0 0 1.25rem;
}

.bc-home-value-body.rte p:last-child {
  margin-bottom: 0;
}

.bc-home-value-actions {
  margin-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
}

.bc-home-value .baycorp-btn--primary {
  background: var(--bc-cyan);
  border-color: var(--bc-cyan);
}

.bc-home-value .baycorp-btn--primary:hover {
  background: #009ab3;
  border-color: #009ab3;
}

.bc-home-value .baycorp-btn--outline {
  color: var(--bc-cyan);
  border-color: var(--bc-cyan);
}

.bc-home-value .baycorp-btn--outline:hover {
  color: #009ab3;
  border-color: #009ab3;
  background: rgba(0, 176, 204, 0.08);
}

/* ===== Homepage dual CTA (baycorp.com.au .index-cta-wrapper) ===== */
.bc-home-cta {
  width: 100%;
}

.bc-home-cta-wrapper {
  position: relative;
  width: 100%;
  height: 170px;
  font-size: 0;
  overflow: hidden;
}

.bc-home-cta-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  text-align: center;
}

.bc-home-cta-panel--secondary {
  left: auto;
  right: 0;
}

.bc-home-cta-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: skewX(-20deg);
}

.bc-home-cta-panel--primary .bc-home-cta-bg {
  transform-origin: right top;
  background-color: var(--bc-teal);
}

.bc-home-cta-panel--secondary .bc-home-cta-bg {
  transform-origin: right bottom;
}

.bc-home-cta-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--bc-teal);
  opacity: 0.4;
  transition: opacity 0.35s ease;
}

.bc-home-cta-panel:hover .bc-home-cta-bg::after,
.bc-home-cta-panel:focus-within .bc-home-cta-bg::after {
  opacity: 0.7;
}

.bc-home-cta-link {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  padding-top: 69px;
  box-sizing: border-box;
  color: #fff !important;
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(1.875rem, 3.5vw, 1.875rem);
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.02em;
  text-align: center;
  text-decoration: none;
  text-transform: none;
}

.bc-home-cta-label {
  display: inline-block;
  vertical-align: top;
}

/* baycorp.com.au .shape-link + .use-link */
.bc-home-cta-shape-link {
  display: inline-block;
  vertical-align: top;
  width: 32px;
  height: 32px;
  margin: 0 0 0 10px;
}

.bc-home-cta-shape-diamond {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linejoin: miter;
}

.bc-home-cta-shape-arrow {
  fill: #fff;
}

.bc-home-cta-link:hover,
.bc-home-cta-link:focus-visible {
  color: #fff !important;
  text-decoration: none;
}

.bc-home-cta-link:focus-visible {
  outline: 2px solid var(--bc-cyan);
  outline-offset: -4px;
}

@media (max-width: 767.98px) {
  .bc-home-cta-wrapper {
    height: 340px;
  }

  .bc-home-cta-panel {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    display: block;
    width: 100%;
    height: 50%;
  }

  .bc-home-cta-bg {
    transform: none;
  }

  .bc-home-cta-panel--primary .bc-home-cta-bg,
  .bc-home-cta-panel--secondary .bc-home-cta-bg {
    transform-origin: center;
  }

  .bc-home-cta-link {
    padding-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.35rem 10px;
    line-height: 1.2;
  }

  .bc-home-cta-shape-link {
    margin: 0;
  }
}

/* ===== Business solutions band (baycorp.com.au .solutions-container / .solution) ===== */
.bc-solutions-section {
  scroll-margin-top: calc(var(--bc-header-h) + 16px);
}

.bc-solution-main-title {
  margin: 0;
  color: var(--bc-cyan, #00b0cc);
  font-family: "Ostrich Sans", sans-serif;
  font-size: 1.875rem;
  font-weight: 400;
  line-height: 168px;
  text-align: center;
}

.bc-solution-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.bc-solution-scroll span {
  color: rgba(0, 61, 82, 0.15);
  line-height: 0;
}

.bc-solution-scroll-shape {
  position: relative;
  top: 15px;
  width: 51px;
  height: 51px;
}

.bc-solution-scroll:hover,
.bc-solution-scroll:focus-visible {
  color: var(--bc-cyan, #00b0cc);
}

.bc-solutions-container {
  --bc-solution-collapsed: 460px;
  --bc-solution-expanded: 570px;
  position: relative;
  width: 100%;
  height: 670px;
  background-color: var(--bc-teal, #003d52);
  overflow: hidden;
}

.touchevents .bc-solutions-container {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.bc-solutions-wrapper {
  display: inline-block;
  height: 100%;
  font-size: 0;
  text-align: center;
  white-space: nowrap;
  will-change: transform;
}

.bc-solution {
  position: relative;
  display: inline-block;
  width: var(--bc-solution-collapsed);
  height: 100%;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  font-size: 0.9375rem;
  text-align: right;
  vertical-align: top;
  transition: width 0.3s ease;
  top:-17px;
}

.bc-solution.is-active,
.no-touchevents .bc-solution:hover,
.no-touchevents .bc-solution:focus-within {
  width: var(--bc-solution-expanded);
}

.bc-solution::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.8;
  pointer-events: none;
}

.bc-solution:nth-child(odd)::before {
  background-color: var(--bc-teal, #003d52);
}

.bc-solution:nth-child(even)::before {
  background-color: var(--bc-cyan, #00b0cc);
}

.bc-solution-hit {
  position: relative;
  display: inline-block;
  width: calc(100% - 40px);
  height: calc(100% - 170px);
  padding: 34px;
  color: inherit;
  text-decoration: none;
  white-space: normal;
  z-index: 10;
}

.bc-solution-content--static {
  position: relative;
  display: inline-block;
  width: calc(100% - 40px);
  height: calc(100% - 170px);
  padding: 34px;
  white-space: normal;
  z-index: 10;
}

.bc-solution-title {
  position: relative;
  display: inline-block;
  margin: 20px 0;
  padding-top: 20px;
  color: #fff;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 3.125rem;
  font-weight: 400;
  line-height: 1.05;
}

.bc-solution-title::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 85px;
  height: 2px;
  background-color: var(--bc-cyan, #00b0cc);
}

.bc-solution:nth-child(even) .bc-solution-title::before {
  background-color: #fff;
}

.bc-solution-copy {
  margin: 0;
  color: #fff;
  font-family: var(--bc-font-ui);
  font-size: 0.9375rem;
  line-height: 1.5;
}

.no-touchevents .bc-solution-copy {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.bc-solution-ctas {
  position: absolute;  
  left: 0;
  right: 0;  
  display: flex;
  flex-direction: column;
  gap: 1px;
  width: 100%;
  height: 170px;
  margin: 0;
  z-index: 10;
}

.no-touchevents .bc-solution-ctas {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.bc-solution.is-active .bc-solution-copy,
.bc-solution.is-active .bc-solution-ctas,
.no-touchevents .bc-solution:hover .bc-solution-copy,
.no-touchevents .bc-solution:hover .bc-solution-ctas,
.no-touchevents .bc-solution:focus-within .bc-solution-copy,
.no-touchevents .bc-solution:focus-within .bc-solution-ctas,
.no-touchevents .bc-solution.is-active .bc-solution-copy,
.no-touchevents .bc-solution.is-active .bc-solution-ctas {
  opacity: 1;
}

.touchevents .bc-solution-ctas {
  opacity: 1;
}

.bc-solution-link {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 1 1 0;
  min-height: 85px;
  width: 100%;
  padding-right: 34px;
  box-sizing: border-box;
  background-color: rgba(0, 0, 0, 0.15);
  color: #fff;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 1.5625rem;
  font-weight: 400;
  line-height: 1;
  text-align: right;
  text-decoration: none;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.bc-solution-link span {
  white-space: nowrap;
}

.bc-solution-link + .bc-solution-link {
  margin-top: 0;
}

.bc-solution-link .bc-home-cta-shape-link {
  flex-shrink: 0;
  margin: 0;
}

.bc-solution-link .bc-home-cta-shape-diamond {
  stroke: #fff;
  fill: transparent;
}

.bc-solution-link .bc-home-cta-shape-arrow {
  fill: #fff;
}

.no-touchevents .bc-solution-link:hover,
.no-touchevents .bc-solution-link:focus-visible {
  background-color: rgba(0, 0, 0, 0.4);
}

@media screen and (max-width: 460px) {
  .bc-solution-main-title {
    line-height: 1.2;
    padding: 2rem 1rem 1rem;
  }

  .bc-solutions-container {
    height: 490px;
  }

  .bc-solutions-wrapper {
    width: calc(var(--bc-solution-count, 4) * 135%);
    text-align: left;
  }

  .bc-solution {
    width: calc(100% / var(--bc-solution-count, 4));
  }

  .bc-solution-hit,
  .bc-solution-content--static {
    width: 100%;
    padding: 20px 25px;
  }

  .bc-solution-title {
    font-size: 2.5rem;
  }

  .bc-solution-copy {
    display: none;
  }

  .no-touchevents .bc-solution-ctas {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bc-solutions-wrapper {
    transform: none !important;
  }

  .bc-solution {
    transition: none;
  }

  .bc-solution-copy,
  .bc-solution-ctas {
    opacity: 1 !important;
  }
}

/* ===== Product intro (baycorp.com.au .product-intro — legal-services lead) ===== */
.bc-product-intro {
  display: block;
  /* max-width: 830px; */
  margin: 72px auto;
  padding: 0 25px;
  text-align: center;
}

.bc-product-intro-title {
  margin: 0 0 25px;
  padding: 0;
  color: var(--bc-cyan, #00b0cc);
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(2rem, 5vw, 3.125rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.bc-product-intro-body {
  margin: 0;
  font-family: var(--bc-font-ui);
  font-size: 0.95rem;
  line-height: 1.65;
  color: #222;
}

.bc-product-intro-body p:last-child {
  margin-bottom: 0;
}

.bc-product-intro-actions {
  margin-top: 34px;
  text-align: center;
}

.bc-product-intro .bc-product-intro-btn.bc-split-cta {
  left: 0;
  margin-left: auto;
  margin-right: auto;
  max-width: 260px;
}

.bc-product-intro-contact {
  margin: 34px 0 0;
  font-family: var(--bc-font-ui);
  font-size: 0.95rem;
  line-height: 1.65;
  color: #222;
}

.bc-product-intro-contact p:last-child {
  margin-bottom: 0;
}

.bc-product-intro-contact a {
  color: var(--bc-teal, #003d52);
  font-weight: 600;
}

@media (max-width: 767.98px) {
  .bc-product-intro {
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 0 20px;
  }

  .bc-product-intro-title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .bc-product-intro-actions {
    margin-top: 28px;
  }

  .bc-product-intro-contact {
    margin-top: 28px;
  }
}

/* ===== Product page CTA (baycorp.com.au .product-cta — purchasing-your-debt footer band) ===== */
.bc-product-cta {
  display: table;
  width: 100%;
  height: 455px;
  background-color: var(--bc-navy, #003d52);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
}

.bc-product-cta-content {
  display: table-cell;
  width: 100%;
  padding: 0 25px;
  vertical-align: middle;
  text-align: center;
}

.bc-product-cta-title {
  display: block;
  max-width: 540px;
  margin: 0 auto 34px;
  color: #fff;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
}

.bc-product-cta-copy {
  display: block;
  max-width: 640px;
  margin: 0 auto 28px;
  color: #fff;
  font-family: var(--bc-font-ui);
  font-size: 1rem;
  line-height: 1.8;  
}

.bc-product-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.bc-product-cta .bc-product-cta-btn.bc-split-cta {
  left: 0;
  margin-left: auto;
  margin-right: auto;
}

.bc-product-cta .bc-split-cta::before {
  background-color: rgba(0, 176, 204, 0.43);
}

.bc-product-cta .bc-split-cta::after {
  background-color: var(--bc-cyan, #00b0cc);
}

.bc-product-cta-link-secondary {
  color: #fff;
  font-family: var(--bc-font-ui);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.bc-product-cta-link-secondary:hover,
.bc-product-cta-link-secondary:focus-visible {
  color: var(--bc-cyan, #00b0cc);
}

@media (max-width: 767.98px) {
  .bc-product-cta {
    height: 400px;
  }

  .bc-product-cta-title {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
    margin-bottom: 24px;
  }

  .bc-product-cta-copy {
    font-size: 1rem;
    margin-bottom: 20px;
  }
}

/* ===== Split feature — matches baycorp.com.au .item / .item-title / .btn ===== */
.bc-split-feature {
  background: #fff;
}

/* serviceDetailBlock — alternating layout: #1 image|text, #2 text|image, #3 image|text, … */
@media (min-width: 768px) {
  .bc-split-feature--text-first .bc-split-feature-col-media {
    order: 2;
  }

  .bc-split-feature--text-first .bc-split-feature-body-wrap {
    order: 1;
  }
}

.bc-service-detail {
  scroll-margin-top: calc(var(--bc-header-h, 74px) + var(--bc-special-nav-h, 147px) + 16px);
}

.bc-layout-special .bc-special-below .bc-service-detail {
  scroll-margin-top: calc(var(--bc-special-header-h, 74px) + var(--bc-products-nav-offset, var(--bc-special-nav-h, 147px)) + 16px);
}

.bc-split-feature-col-media {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bc-split-feature-media {
  position: relative;
  flex: 1 1 auto;
  display: block;
  width: 100%;
  height: 185px;
  min-height: 185px;
  margin: 0;
  overflow: hidden;
}

.bc-split-feature-img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.bc-split-feature-body-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 34px;
  background: #fff;
}

/* Mobile accordion — baycorp.com.au .item / .item-title-small */
@media (max-width: 767.98px) {
  .bc-split-feature {
    overflow: hidden;
  }

  .bc-split-feature-toggle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 185px;
    margin: 0;
    padding: 0 67px 0 25px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
    -webkit-tap-highlight-color: transparent;
  }

  .bc-split-feature-toggle-media {
    position: absolute;
    inset: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
  }

  .bc-split-feature-toggle-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
  }

  .bc-split-feature-toggle-label {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: "Ostrich Sans", sans-serif;
    font-size: 1.875rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: none;
  }

  .bc-split-feature-toggle-icon {
    position: absolute;
    top: 50%;
    right: 25px;
    z-index: 2;
    width: 32px;
    height: 32px;
    transform: translateY(-50%);
    color: #fff;
    font-family: var(--bc-font-ui);
    font-size: 2rem;
    font-weight: 300;
    line-height: 32px;
    text-align: center;
  }

  .bc-split-feature-toggle-minus {
    display: none;
  }

  .bc-split-feature.is-expanded .bc-split-feature-toggle-plus {
    display: none;
  }

  .bc-split-feature.is-expanded .bc-split-feature-toggle-minus {
    display: block;
  }

  .bc-split-feature-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s var(--bc-ease-out);
  }

  .bc-split-feature.is-expanded .bc-split-feature-panel {
    max-height: var(--bc-split-panel-max, 1200px);
  }

  .bc-split-feature-col-media {
    display: none !important;
  }

  .bc-split-feature-body-wrap .bc-split-feature-heading {
    display: none;
  }

  .bc-split-feature-body-wrap {
    padding: 34px 25px;
  }
}

@media (max-width: 767.98px) and (prefers-reduced-motion: reduce) {
  .bc-split-feature-panel {
    transition: none;
  }
}

@media (min-width: 768px) {
  .bc-split-feature-toggle {
    display: none !important;
  }

  .bc-split-feature-panel {
    max-height: none !important;
    overflow: visible;
  }

  .bc-split-feature .row,
  .bc-split-feature-panel {
    min-height: 375px;
    align-items: stretch;
  }

  /* Image column stretches with copy; image fills full column height */
  .bc-split-feature-col-media {
    min-height: 375px;
    align-self: stretch;
  }

  .bc-split-feature-media {
    height: 100%;
    min-height: 375px;
    flex: 1 1 auto;
  }

  .bc-split-feature-body-wrap {
    min-height: 375px;
    height: auto;
    padding: 72px;
  }
}

/* .item-title */
.bc-split-feature-heading {
  position: relative;
  margin: 0 0 20px;
  padding: 0 0 20px;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 3.125rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--bc-teal);
}

.bc-split-feature-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 85px;
  height: 2px;
  background-color: var(--bc-cyan);
}

/* .item-lead */
.bc-split-feature-lead {
  margin: 0 0 20px;
  font-family: var(--bc-font-ui);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: normal;
  color: var(--bc-teal);
}

/* body copy (site default p in .item-column.copy) */
.bc-split-feature-text {
  margin: 0 0 20px;
  font-family: var(--bc-font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 1px;
  color: #222;
}

/* .btn */
.bc-split-cta {
  position: relative;
  left: 10px;
  display: inline-block;
  width: auto;
  max-width: 100%;
  align-self: flex-start;
  flex: 0 0 auto;
  min-width: 260px;
  margin-top: 0;
  padding: 10px 34px;
  color: #fff !important;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.02em;
  text-transform: none;
  text-decoration: none;
  border: none;
  border-radius: 0;
  margin-bottom:10px;
}

@media (min-width: 321px) {
  .bc-split-cta::before,
  .bc-split-cta::after {
    content: "";
    position: absolute;
    top: 0;
    left: -10px;
    width: 100%;
    height: 100%;
    transform: skewX(-20deg) translateX(0);
    transform-origin: left bottom;
    transition: transform 0.4s ease-in-out;
    z-index: 10;
  }

  .bc-split-cta::before {
    background-color: rgba(0, 61, 82, 0.43);
  }

  .bc-split-cta::after {
    left: 0;
    background-color: var(--bc-teal);
  }

  .bc-split-cta:hover::before {
    transform: skewX(-20deg) translateX(10px);
  }
}

@media (max-width: 320px) {
  .bc-split-cta {
    left: 0;
    padding: 10px 20px;
    background-color: var(--bc-teal);
  }

  .bc-split-cta::before,
  .bc-split-cta::after {
    content: none;
  }
}

.bc-split-cta-label {
  position: relative;
  padding-left: 20px;
  z-index: 20;
  font-weight:600;
}

.bc-split-cta:hover,
.bc-split-cta:focus-visible {
  color: #fff !important;
  text-decoration: none;
}

.bc-split-cta:focus-visible {
  outline: 2px solid var(--bc-cyan);
  outline-offset: 3px;
}

/* ===== About page tab panels (baycorp.com.au/about) ===== */
.bc-about-panel {
  color: #222;
  font-family: var(--bc-font-ui);
  font-size: 0.8125rem;
  line-height: 2;
  letter-spacing: 1px;
}

.bc-about-panel p {
  margin-bottom: 20px;
}

.bc-about-lead {
  margin-bottom: 20px;
  color: var(--bc-teal);
  font-size: 1.0625rem;
  line-height: 1.7;
  letter-spacing: normal;
}

.bc-about-subtitle {
  position: relative;
  margin: 0 0 20px;
  padding: 0 0 10px;
  border-bottom: 1px solid var(--bc-teal);
  color: var(--bc-teal);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: normal;
}

.bc-about-block {
  margin-top: 0;
}

.bc-about-block-img,
.bc-about-side-img {
  display: block;
  margin-bottom: 1rem;
}

.bc-about-block-text {
  margin-bottom: 0.75rem;
  color: #222;
  font-size: 0.8125rem;
  line-height: 2;
}

.bc-about-block-link {
  color: var(--bc-cyan);
  font-size: 0.8125rem;
  text-decoration: none;
}

.bc-about-block-link:hover {
  color: var(--bc-teal);
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .bc-about-lead,
  .bc-about-subtitle {
    font-size: 0.9375rem;
  }
}

/* ===== RTE output on the public site (editor preview: /css/RTEStyles.css) ===== */
.rte h2 {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  color: #003d52;
  margin: 1.5rem 0 0.75rem;
}

.rte h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: #003d52;
  margin: 1.75rem 0 0.65rem;
}

.rte h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.4;
  color: #003d52;
  margin: 1.25rem 0 0.5rem;
}

.rte p {
  font-size: 0.825rem;
  line-height: 2rem;
  margin: 0 0 1rem;
}

.rte .lead,
.lead {
  font-size: 1.25rem;
  line-height: 1.625rem;
}

.rte .subtitle {
  box-sizing: border-box;
  margin: 0 0 20px;
  padding: 0 0 10px;
  border: 0;
  border-bottom: 1px solid rgba(0, 176, 204, 0.25);
  color: var(--bc-cyan);
  font-size: 1.0625rem;
  line-height: 1.7;
}

.rte .small,
.small {
  font-size: 0.675rem;
  line-height: 2;
}

/* Legacy blocks (not in RTE Style Select) */
.small-text {
  font-size: 1rem;
  line-height: 1.375rem;
}

.rte .text-white {
  color: #e1e1e1;
}

.rte .text-deep-sky-blue {
  color: #00b0cc !important;
}

.rte .text-deep-teal {
  color: #003d52 !important;
}

.rte .text-uppercase {
  text-transform: uppercase;
}

/* Tiptap wraps list item text in <p> — keep bullet on the same line as first line */
.rte ul > li > p:first-child,
.rte ol > li > p:first-child,
.bc-about-panel ul > li > p:first-child,
.bc-about-panel ol > li > p:first-child {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  letter-spacing: inherit;
  font-size: inherit;
  line-height: inherit;
}

.rte ul > li > p + p,
.rte ol > li > p + p,
.bc-about-panel ul > li > p + p,
.bc-about-panel ol > li > p + p {
  display: block;
  margin: 0.5em 0 0;
}

/* ===== specialPage — viewport: header (site) + hero (flex) + 4 service links (fixed h) ===== */
.bc-layout-special {
  --bc-special-header-h: var(--bc-header-h, 74px);
  --bc-special-nav-h: 147px;
}

.bc-layout-special #main-content {
  display: flex;
  flex-direction: column;
  padding: 0;
}

.bc-layout-special .bc-special-viewport {
  display: flex;
  flex-direction: column;
  flex: 0 0 auto;
  height: calc(100dvh - var(--bc-special-header-h) - var(--bc-special-nav-h));
  height: calc(100svh - var(--bc-special-header-h) - var(--bc-special-nav-h));
  min-height: 200px;
  overflow: hidden;
}

/* specialPage hero — baycorp.com.au /products-services .header (diagonal cyan panel, right-aligned copy) */
.bc-layout-special .bc-special-hero {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  overflow: hidden;
}

.bc-layout-special .bc-special-hero-stage {
  position: relative;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  background: #0a3b4c;
}

.bc-layout-special .bc-special-hero-stage .bc-hero-bg {
  inset: 0;
  transform: scale(1.02);
}

.bc-layout-special .bc-special-hero-stage .bc-hero-panel {
  top: 0%;
  bottom: 0%;
  right: -31%;
  width: 74%;
  background: rgba(0, 176, 204, 0.94);
  transform: skew(-18deg) translateX(12%);
  transform-origin: top right;
  animation: bc-panel-in-pay 0.75s var(--bc-ease-out) 0.05s both;
}

.bc-layout-special .bc-special-hero-stage .bc-hero-panel-wash {
  top: 0%;
  bottom: 0%;
  right: -31%;
  width: 77%;
  background: rgba(0, 176, 204, 0.5);
  transform: skew(-18deg) translateX(8.5%);
  transform-origin: top right;
  opacity: 0;
  animation: bc-panel-wash-in 0.85s var(--bc-ease-out) 0.22s both;
}

@media (prefers-reduced-motion: reduce) {
  .bc-layout-special .bc-special-hero-stage .bc-hero-panel-wash,
  .bc-layout-special .bc-special-hero-stage .bc-hero-panel {
    animation: none;
    opacity: 1;
    transform: skew(-18deg) translateX(8.5%);
  }

  .bc-layout-special .bc-special-hero-stage .bc-hero-panel {
    transform: skew(-18deg) translateX(12%);
  }
}

.bc-layout-special .bc-special-hero-content {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding: clamp(24px, 4vw, 36px);
  padding-left: max(24px, calc(100% - 680px));
  color: #fff;
  text-align: right;
  gap: 0;
}

.bc-layout-special .bc-special-hero__title {
  position: relative;
  margin: 0 0 34px;
  padding: 0 0 34px;
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(2.5rem, 5.2vw, 5.625rem);
  font-weight: 400;
  line-height: 0.8;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
}

.bc-layout-special .bc-special-hero__title::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 86px;
  height: 2px;
  background-color: #fff;
}

.bc-layout-special .bc-special-hero__lead {
  width: 100%;
  max-width: 680px;
  margin: 0 0 0 auto;
  font-family: var(--bc-font-ui);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 1px;
  color: #fff;
}

.bc-layout-special .bc-special-hero__lead.rte p {
  margin: 0 0 0.75rem;
  padding: 0;
  border: 0;
  color: #fff;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
}

.bc-layout-special .bc-special-hero__lead.rte p:last-child {
  margin-bottom: 0;
}

.bc-layout-special .bc-special-hero__cta {
  --bc-hero-cta-navy: #002b45;
  --bc-hero-cta-teal-hover: #00a9c6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-end;
  gap: 10px;
  margin-top: 34px;
  padding: 0;
  color: #fff !important;
  font-family: "Ostrich Sans", sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.875rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: none;
  border: none;
  border-radius: 0;
  transition:
    background-color 0.2s var(--bc-ease-out),
    color 0.2s var(--bc-ease-out),
    fill 0.2s var(--bc-ease-out),
    stroke 0.2s var(--bc-ease-out),
    stroke-width 0.2s var(--bc-ease-out);
}

.bc-layout-special .bc-special-hero__cta .bc-hero-cta-diamond {
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.bc-layout-special .bc-special-hero__cta .bc-hero-cta-arrow {
  stroke: #fff;
  stroke-width: 0.9;
  stroke-width: 2;
}

.bc-layout-special .bc-special-hero__cta:hover,
.bc-layout-special .bc-special-hero__cta:focus-visible {
  color: var(--bc-hero-cta-navy) !important;
}

.bc-layout-special .bc-special-hero__cta:hover .bc-hero-cta-diamond,
.bc-layout-special .bc-special-hero__cta:focus-visible .bc-hero-cta-diamond {
  fill: var(--bc-hero-cta-navy);
  stroke: #fff;
  stroke-width: 2;
}

.bc-layout-special .bc-special-hero__cta:hover .bc-hero-cta-arrow,
.bc-layout-special .bc-special-hero__cta:focus-visible .bc-hero-cta-arrow {
  stroke: #fff;
  stroke-width: 0.95;
  stroke-width: 2;
}

.bc-layout-special .bc-special-hero__cta .bc-hero-cta-label {
  white-space: nowrap;
}

.bc-layout-special .bc-special-hero__cta .bc-hero-cta-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bc-layout-special .bc-special-hero__cta .bc-hero-cta-mark {
  display: block;
  width: clamp(28px, 4vw, 32px);
  height: clamp(28px, 4vw, 32px);
}

.bc-layout-special .bc-special-hero__cta:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.bc-layout-special .bc-special-nav {
  flex: none;
  position: relative;
  left: auto;
  right: auto;
  box-shadow: none;
  top: 0;
  margin-bottom: 0;
}

.bc-layout-special .bc-special-nav.bc-products-nav.is-stuck {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tab click / stuck nav at viewport top — no header gap in scroll offset (~74px) */
body.bc-products-nav-is-stuck .bc-layout-special .bc-special-nav .bc-pay-tablist,
body.bc-products-nav-is-stuck .bc-layout-special .bc-special-nav .bc-pay-tab {
  min-height: var(--bc-products-nav-h-stuck, 60px);
  height: var(--bc-products-nav-h-stuck, 60px);
}

body.bc-products-nav-is-stuck .bc-layout-special .bc-special-below .bc-service-detail,
body.bc-products-nav-is-stuck .bc-layout-special .bc-special-below [id] {
  scroll-margin-top: var(--bc-products-nav-offset, 60px);
}

.bc-layout-special .bc-special-nav .bc-pay-tablist {
  min-height: var(--bc-special-nav-h);
}

.bc-layout-special .bc-special-nav .bc-pay-tab {
  height: var(--bc-special-nav-h);
}

.bc-layout-special .bc-special-nav.bc-products-nav.is-stuck .bc-pay-tablist {
  min-height: var(--bc-products-nav-h-stuck, 60px);
}

.bc-layout-special .bc-special-nav.bc-products-nav.is-stuck .bc-pay-tab {
  height: var(--bc-products-nav-h-stuck, 60px);
}

.bc-layout-special .bc-special-nav.bc-products-nav.is-stuck .bc-pay-tab span {
  font-size: 1.125rem;
}

.bc-layout-special .bc-special-below {
  flex: 0 0 auto;
  margin-top: 0;
  padding-top: 0;
}

.bc-layout-special .bc-special-below > .bc-service-detail:first-child,
.bc-layout-special .bc-special-below > .bc-split-feature:first-child {
  margin-top: 0;
}

.bc-layout-special .bc-special-below .bc-service-detail .bc-split-feature-panel {
  margin-top: 0;
}

.bc-layout-special .bc-special-below [id] {
  scroll-margin-top: calc(var(--bc-special-header-h) + var(--bc-products-nav-offset, var(--bc-special-nav-h)) + 16px);
}

/* specialPage heroLead — desktop in hero; mobile below hero (see @media) */
.bc-special-hero-lead-below {
  display: none;
}

@media (max-width: 767.98px) {
  .bc-layout-special {
    --bc-special-nav-h: 60px;
  }

  .bc-layout-special .bc-special-viewport {
    height: auto !important;
    min-height: 0;
    max-height: none;
    overflow: visible;
  }

  .bc-layout-special .bc-special-hero {
    flex: 0 0 auto;
    min-height: 0;
  }

  .bc-layout-special .bc-special-hero-stage {
    min-height: 280px;
    height: 280px;
  }

  .bc-layout-special .bc-special-hero__lead--in-hero {
    display: none;
  }

  .bc-layout-special .bc-special-hero-lead-below {
    display: block;
    flex: 0 0 auto;
    padding: 28px 24px 32px;
    background: #fff;
    color: #003d52;
    font-family: var(--bc-font-ui);
    font-size: 0.9375rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 1px;
  }

  .bc-layout-special .bc-special-hero-lead-below.rte p {
    margin: 0;
    padding: 0;
    border: 0;
    color: #003d52;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    letter-spacing: inherit;
  }

  /* Mobile: no separate tab bar between lead and accordion sections */
  .bc-layout-special .bc-products-nav-sticky {
    display: none;
  }

  .bc-layout-special .bc-special-below .bc-service-detail,
  .bc-layout-special .bc-special-below [id] {
    scroll-margin-top: calc(var(--bc-special-header-h) + 16px);
  }

  .bc-layout-special .bc-special-hero-stage .bc-hero-panel {
    width: 70%;
    right: -18%;
  }

  .bc-layout-special .bc-special-hero-stage .bc-hero-panel-wash {
    width: 74%;
    right: -10%;
    transform: skew(-18deg) translateX(5.5%);
    animation: bc-panel-wash-in-sm 0.85s var(--bc-ease-out) 0.22s both;
  }

  @media (prefers-reduced-motion: reduce) {
    .bc-layout-special .bc-special-hero-stage .bc-hero-panel-wash {
      animation: none;
      transform: skew(-18deg) translateX(5.5%);
    }
  }

  .bc-layout-special .bc-special-hero-content {
    padding: 36px 25px;
    padding-left: 25px;
  }

  .bc-layout-special .bc-special-hero__title {
    font-size: clamp(2rem, 12vw, 3.25rem);
    margin-bottom: 24px;
    padding-bottom: 24px;
  }

  .bc-layout-special .bc-special-hero__cta {
    margin-top: 24px;
    font-size: 1.5rem;
  }

  .bc-layout-special .bc-special-nav .bc-pay-tab span {
    padding: 0 8px;
  }
}

/* specialPage service nav — keep 2–6 links on one full-width row (override pay-an-account mobile stack) */
@media (max-width: 575.98px) {
  .bc-layout-special .bc-special-nav .bc-pay-tablist {
    display: grid;
    grid-template-columns: repeat(var(--bc-pay-tab-columns, 4), minmax(0, 1fr));
    flex-direction: unset;
    min-height: var(--bc-special-nav-h);
    overflow: hidden;
  }

  .bc-layout-special .bc-special-nav .bc-pay-tab {
    height: var(--bc-special-nav-h);
    min-height: 0;
    padding: 0;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .bc-layout-special .bc-special-nav.bc-products-nav.is-stuck .bc-pay-tablist {
    min-height: var(--bc-products-nav-h-stuck, 60px);
  }

  .bc-layout-special .bc-special-nav.bc-products-nav.is-stuck .bc-pay-tab {
    height: var(--bc-products-nav-h-stuck, 60px);
  }

  .bc-layout-special .bc-special-nav .bc-pay-tab::before {
    transform: skewX(-20deg);
    border-left: 1px solid rgba(255, 255, 255, 0.225);
  }

  .bc-layout-special .bc-special-nav .bc-pay-tab:first-child::before {
    border-left: none;
  }

  .bc-layout-special .bc-special-nav .bc-pay-tab span {
    position: relative;
    display: block;
    width: 100%;
    white-space: normal;
    opacity: 0.5;
  }
}

/* ===== Split panel (splitPanelBlock — two-column text) ===== */
.bc-split-panel {
  background: #fff;
  padding: clamp(2.5rem, 5vw, 4.5rem) 0;
}

.bc-split-panel-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.bc-split-panel-heading {
  position: relative;
  margin: 0 0 20px;
  padding: 0 0 20px;
  font-family: liberation, sans-serif;
  font-size: clamp(2rem, 4vw, 3.125rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--bc-teal);
  font-size: 1.25rem;
  line-height: 1.7;
}

.bc-split-panel-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 85px;
  height: 2px;
  background-color: var(--bc-cyan);
}

.bc-split-panel-text {
  margin: 0;
  font-family: var(--bc-font-ui);
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 2;
  letter-spacing: 1px;
  color: #222;
}

.bc-split-panel-text.rte p {
  margin: 0 0 1rem;
}

.bc-split-panel-text.rte p:last-child {
  margin-bottom: 0;
}

/* Business enquiry form — contact #business-enquiries */
.bc-business-enquiry {
  max-width: var(--bc-pay-content-max, var(--bc-content-max, 1190px));
  margin: 0 auto;
  padding: 0;
}

.bc-pay-section .bc-business-enquiry {
  max-width: var(--bc-pay-content-max, var(--bc-content-max, 1190px));
}

.bc-business-enquiry-intro {
  margin: 0 0 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #333;
}

.bc-business-enquiry-media-note {
  margin: 1.25rem 0 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #555;
}

.bc-business-enquiry-media-note a {
  color: var(--bc-cyan, #00a9ce);
}

.bc-business-enquiry-errors {
  margin: 0 0 1.25rem;
  padding: 1rem 1.1rem;
  list-style: none;
  background: #fff;
  border: 1px solid #d95c5c;
  border-left-width: 4px;
  color: #333;
}

.bc-business-enquiry-errors li + li {
  margin-top: 0.35rem;
}

.bc-business-enquiry-form .bc-field-label {
  display: block;
  margin: 0 0 0.35rem;
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.2;
  color: #666;
}

.bc-business-enquiry-form .form-control,
.bc-business-enquiry-form .form-select,
.bc-business-enquiry-form .btn {
  border-radius: 0 !important;
}

.bc-business-enquiry-form .form-control,
.bc-business-enquiry-form .form-select {
  border-color: #d0d0d0;
  box-shadow: none;
  padding: 0.85rem 0.9rem;
  font-size: 0.9375rem;
  line-height: 1.2;
}

.bc-business-enquiry-form .form-select {
  padding-right: 2.25rem;
  color: #222;
}

.bc-business-enquiry-form .form-select:invalid {
  color: #666;
}

.bc-business-enquiry-form .form-control:focus,
.bc-business-enquiry-form .form-select:focus {
  border-color: #003d52;
  box-shadow: none;
}

.bc-business-enquiry-form .btn-primary {
  background: #003d52;
  border-color: #003d52;
}

.bc-business-enquiry-form .btn-primary:hover,
.bc-business-enquiry-form .btn-primary:focus {
  background: #002f3f;
  border-color: #002f3f;
}

.bc-business-enquiry-form-foot {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.bc-business-enquiry-form-foot .bc-business-enquiry-recaptcha {
  flex: 0 0 auto;
}

.bc-business-enquiry-form-foot .bc-business-enquiry-submit.bc-split-cta {
  align-self: flex-end;
  left: auto;
  margin-right: 10px;
  margin-bottom: 0;
  min-width: 280px;
  padding: 12px 40px;
  font-size: 1.25rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: transparent;
  cursor: pointer;
}

.bc-business-enquiry-form-foot .bc-business-enquiry-submit.bc-split-cta:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}

.bc-business-enquiry-form-foot .bc-business-enquiry-submit.bc-split-cta:disabled::before,
.bc-business-enquiry-form-foot .bc-business-enquiry-submit.bc-split-cta:disabled::after {
  transform: skewX(-20deg) translateX(0);
}

.bc-business-enquiry-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

.bc-business-enquiry-fieldset .form-check {
  margin-right: 1rem;
  margin-bottom: 0.5rem;
}

/* ===== gridBlock (Baycorp Main Blocks) — image card overlay ===== */
.bc-grid-block-card {
  --bc-grid-radius: 28px;
  --bc-grid-overlay: rgba(0, 0, 0, 0.55);
  background-color: #222;
  background-image: var(--bc-grid-bg);
  background-size: cover;
  background-position: center;
  border-radius: var(--bc-grid-radius);
  overflow: hidden;
  position: relative;
}

.bc-grid-block-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.2) 100%
  );
  pointer-events: none;
}

.bc-grid-block-inner {
  position: relative;
  z-index: 1;
  padding: 26px 28px;
  color: #fff;
}

.bc-grid-block-step {
  display: inline-block;
  font-family: var(--bc-font-ui);
  font-weight: 700;
  font-size: clamp(56px, 7vw, 86px);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-right: 18px;
  opacity: 0.22;
  color: #fff;
}

.bc-grid-block-title {
  margin: 0;
  color: #fff;
  font-family: var(--bc-font-ui);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.15;
}

.bc-grid-block-body {
  max-width: 44rem;
  color: rgba(255, 255, 255, 0.92);
}

.bc-grid-block-body.rte p {
  margin: 0 0 0.6rem;
  color: inherit;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

.bc-grid-block-body.rte p:last-child {
  margin-bottom: 0;
}

.bc-grid-block-actions .btn {
  border-width: 2px;
}

@media (max-width: 575.98px) {
  .bc-grid-block-inner {
    padding: 20px 18px;
  }

  .bc-grid-block-step {
    margin-right: 12px;
    opacity: 0.18;
  }
}

.bc-business-enquiry-thanks {
  padding: 1.5rem;
  background: #f0f8fa;
  border-left: 4px solid var(--bc-cyan, #00a9ce);
}

.bc-business-enquiry-thanks-title {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
}

.bc-business-enquiry-thanks p {
  margin: 0;
  line-height: 1.6;
}

/* RTE block — 3 columns (icon, title, body) — payment options row */
.bc-rte-three-cols {
  margin: 2rem 0;
}

.bc-rte-three-cols__col {
  text-align: center;
}

.bc-rte-three-cols__icon {
  display: flex;
  align-items: center;
  justify-content: center;  
  margin: 0 auto 1.25rem;  
  border-radius: 50%;
  box-sizing: border-box;
  width: 10.5rem;
  height: 10.5rem;
  /*
  
  padding: 1rem;
  border: 1px solid var(--bc-teal, #003d52);
  */
}

.bc-rte-three-cols__icon img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
}

.bc-rte-three-cols__title {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--bc-teal, #003d52);
}

.bc-rte-three-cols__body {
  max-width: 18rem;
  margin: 0 auto;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #222;
}

.bc-rte-three-cols__body p:last-child {
  margin-bottom: 0;
}

.bc-rte-three-cols__body a {
  color: var(--bc-cyan, #00a9c6);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.bc-rte-three-cols__body a:hover,
.bc-rte-three-cols__body a:focus-visible {
  color: var(--bc-cyan, #00b0cc);
}

.bc-pay-tabpanel .bc-rte-three-cols.container,
.bc-about-panel .bc-rte-three-cols.container {
  width: 100%;
  max-width: var(--bc-pay-content-max, var(--bc-content-max, 1190px)) !important;
  margin-left: auto;
  margin-right: auto;
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 767.98px) {
  .bc-rte-three-cols__col + .bc-rte-three-cols__col {
    margin-top: 0.5rem;
  }
}

/* RTE block — full-width image (100% of content column) */
.bc-rte-full-width-image {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1.5rem 0;
  padding: 0;
  border: none;
}

.bc-rte-full-width-image--no-top-margin {
  margin-top: 0;
}

.bc-rte-full-width-image__img,
.bc-rte-full-width-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}

.rte .bc-rte-full-width-image,
.bc-about-panel.rte .bc-rte-full-width-image,
.bc-pay-tabpanel .bc-rte-full-width-image {
  width: 100%;
  max-width: 100%;
}

/* ===== Feature grid — baycorp.co.nz/sme-debt .columns-container / .column ===== */
.bc-feature-grid {
  --bc-feature-grid-bg: #ffffff;
  background: var(--bc-feature-grid-bg);
  padding-bottom: 60px;
}

.bc-feature-grid-inner {
  --bc-feature-grid-count: 4;
  box-sizing: border-box;
  width: 100%;
  max-width: var(--bc-content-max, 1190px);
  margin-left: auto;
  margin-right: auto;
  padding-left: 25px;
  padding-right: 25px;
  text-align: center;
}

.bc-feature-grid .container.bc-feature-grid-inner {
  max-width: var(--bc-content-max, 1190px);
  padding-left: 25px;
  padding-right: 25px;
}

.bc-feature-grid--tab-panel .container.bc-feature-grid-inner {
  padding-left: 0;
  padding-right: 0;
}

.bc-feature-grid .bc-product-intro-title.bc-feature-grid-heading {
  margin-bottom: 0;
  padding-top: 40px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bc-feature-grid-row {
  display: grid;
  grid-template-columns: repeat(var(--bc-feature-grid-count, 4), minmax(0, 1fr));
  column-gap: clamp(16px, 2.2vw, 28px);
  width: 100%;
  margin-bottom: 10px;
  text-align: left;
}

.bc-feature-grid-item {
  margin-top: 40px;
  padding: 0;
  min-width: 0;
}

.bc-feature-grid-block-img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center center;
  margin: 0 0 40px;
}

.bc-feature-grid-item-title {
  margin: 0 0 12px;
  color: #003d52;
  font-family: "Ostrich Sans", sans-serif;
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  text-align: left;
}

.bc-feature-grid-item-body {
  margin: 0;
  padding-right: 20px;
  color: #555;
  font-family: var(--bc-font-ui);
  font-size: 0.88rem;
  line-height: 1.5;
  letter-spacing: normal;
  text-align: left;
}

.bc-feature-grid-item-body p {
  margin: 0 0 16px;
}

.bc-feature-grid-item-body p:last-child {
  margin-bottom: 0;
}

.bc-feature-grid-foot.bc-product-intro-actions {
  margin: 30px 0 0;
}

.bc-feature-grid .bc-product-intro-btn.bc-split-cta {
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

@media (max-width: 767.98px) {
  .bc-feature-grid-inner {
    padding-left: 20px;
    padding-right: 20px;
  }

  .bc-feature-grid--tab-panel .bc-feature-grid-inner,
  .bc-feature-grid--tab-panel .container.bc-feature-grid-inner {
    padding-left: 0;
    padding-right: 0;
  }

  .bc-feature-grid .bc-product-intro-title.bc-feature-grid-heading {
    font-size: 2.5rem;
  }

  .bc-feature-grid-row {
    grid-template-columns: 1fr;
  }

  .bc-feature-grid-item {
    width: 100%;
  }

  .bc-feature-grid-item-title {
    font-size: 1.75rem;
  }

  .bc-feature-grid-item-body {
    padding-right: 0;
  }

  .bc-feature-grid {
    padding-bottom: 48px;
  }

  .bc-feature-grid-foot.bc-product-intro-actions {
    margin-top: 30px;
  }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
  .bc-feature-grid-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 4%;
  }

  .bc-feature-grid-inner[style*="--bc-feature-grid-count: 2"] .bc-feature-grid-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bc-feature-grid-inner[style*="--bc-feature-grid-count: 3"] .bc-feature-grid-item:last-child {
    grid-column: 1 / -1;
    max-width: 48%;
  }
}