.cus-container {
  max-width: 578px;
  margin: 0 auto;
  /* padding: 0 20px; */
}

/* --------------------------------- Hero ---------------------------------- */

.cus-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 476px;
  overflow: hidden;
  background: #e5dece;
  padding: 40px 20px;
}

.cus-hero-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cus-hero-img {
  width: 514px;
  height: 474px;
  max-width: 70%;
  aspect-ratio: 514 / 474;
  object-fit: cover;
}

.cus-hero-heading {
  position: relative;
  z-index: 1;
  margin: 0;
  max-width: 700px;
  color: #000;
  text-align: center;
  font-family: "Vanilla Bold";
  font-size: 64px;
  font-weight: 400;
  line-height: 1.15;
  text-transform: uppercase;
}

/* -------------------------------- Tab nav -------------------------------- */

.cus-content {
  background: #fff;
  padding: 48px 0 80px;
}

.cus-tabs {
  display: flex;
  gap: 40px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(40, 40, 38, 0.15);
}

.cus-tabs::-webkit-scrollbar {
  display: none;
}

.cus-tab {
  flex: none;
  padding: 0 0 16px;
  background: none;
  border: 0;
  position: relative;
  color: rgba(40, 40, 38, 0.5);
  font-family: "Inter-Medium";
  font-size: 16px;
  white-space: nowrap;
  cursor: pointer;
}

.cus-tab.is-active {
  color: #282826;
  font-family: "Inter-Bold";
  font-weight: 700;
}

.cus-tab.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 3px;
  background: #282826;
}

/* -------------------------------- Panels --------------------------------- */

.cus-panel {
  margin-top: 40px;
}

.cus-panel[hidden] {
  display: none;
}

.cus-panel-heading {
  margin: 0 0 20px;
  color: #282826;
  font-family: "Inter-SemiBold";
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
}

.cus-panel-lead,
.cus-panel-text,
.cus-panel-address {
  margin: 0 0 10px;
  color: #282826;
  font-family: "Inter-Regular";
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
}

.cus-panel-lead {
  margin-bottom: 32px;
  max-width: 536px;
}

.cus-panel-text:last-child,
.cus-panel-address {
  margin-bottom: 0;
}

.cus-panel-link {
  color: inherit;
}

.cus-panel-link strong {
  font-family: "Inter-Bold";
  font-weight: 700;
}

.cus-postcode-label {
  display: block;
  margin-bottom: 20px;
  color: #282826;
  font-family: "Inter-Bold";
  font-size: 20px;
  font-weight: 700;
}

.cus-postcode-search-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 21px;
}

.cus-postcode-row {
  position: relative;
  flex: 0 0 265px;
  width: 265px;
}

.cus-postcode-input {
  width: 100%;
  height: 48px;
  padding: 12px 44px 12px 20px;
  background: #f2efec;
  border: 0;
  color: #282826;
  font-family: "Inter-Regular";
  font-size: 16px;
}

.cus-postcode-input:focus {
  outline: none;
}

.cus-postcode-input::placeholder {
  color: #4c4c49;
}

.cus-postcode-btn {
  position: absolute;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.cus-postcode-btn:focus-visible {
  outline: 2px solid rgba(40, 40, 38, 0.3);
  outline-offset: 2px;
}

.cus-postcode-result {
  margin-top: 32px;
}

.cus-postcode-result[hidden] {
  display: none;
}

.cus-contact-tabs {
  display: inline-flex;
  gap: 20px;
}

.cus-contact-tabs[hidden] {
  display: none;
}

.cus-postcode-saved-area {
  margin: 0;
  color: #282826;
  font-family: "Inter-Regular";
  font-size: 16px;
}

.cus-postcode-saved-area[hidden] {
  display: none;
}

.cus-postcode-change-area {
  padding: 0;
  border: 0;
  background: transparent;
  color: #282826;
  font-family: "Inter-Bold";
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}

.cus-contact-tabpanel {
  display: none;
}

.cus-contact-tabpanel.is-active {
  display: block;
}

.cus-contact-tabpanel + .cus-contact-tabpanel {
  margin-top: 20px;
}

.cus-contact-tab {
  height: 48px;
  padding: 0 24px;
  background: #fff;
  border: 0;
  color: #000;
  font-family: "Inter-Medium";
  font-size: 16px;
  cursor: pointer;
}

.cus-contact-tab.is-active {
  position: relative;
  background: #e5dece;
  font-family: "Inter-Bold";
  font-weight: 700;
}

.cus-contact-tab.is-active::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 16px 0 16px;
  border-color: #e5dece transparent transparent transparent;
}

.cus-contact-body + .cus-contact-role {
  margin-top: 24px;
}

.cus-contact-role {
  margin: 0 0 20px;
  color: #282826;
  font-family: "Inter-Bold";
  font-size: 18px;
  font-weight: 700;
}

.cus-contact-body {
  display: flex;
  flex-wrap: wrap;
}

.cus-contact-photo {
  flex: 0 0 167px;
  width: 167px;
  height: 167px;
  background: #e5dece;
}

.cus-contact-details {
  flex: 1 1 280px;
  min-width: 240px;
  background: #f2efec;
  padding: 24px 0 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
}

.cus-contact-name {
  margin: 0;
  color: #282826;
  font-family: "Inter-SemiBold";
  font-size: 28px;
  text-transform: capitalize;
}

.cus-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.cus-contact-btn {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 20px;
  font-family: "Inter-Medium";
  font-size: 18px;
  text-decoration: none;
}

.cus-contact-btn--tel {
  background: #fff;
  color: #000;
}

.cus-contact-btn-text--short {
  display: none;
}

.cus-contact-btn--email {
  background: #282826;
  color: #fff;
}

/* ================================ Tablet ================================= */

@media (max-width: 1024px) {
  .cus-hero {
    min-height: 400px;
  }

  .cus-hero-heading {
    font-size: 48px;
  }

  .cus-panel-heading {
    font-size: 24px;
  }

  .cus-contact-body {
    max-width: 505px;
  }

  .cus-contact-btn {
    padding: 0 10px;
  }
}

/* ================================ Mobile ================================= */

@media (max-width: 767px) {
  .cus-hero {
    min-height: 340px;
    padding: 32px 20px;
  }

  .cus-hero-img {
    max-width: 85%;
  }

  .cus-hero-heading {
    font-size: 40px;
  }

  .cus-content {
    padding: 32px 20px 56px;
  }

  .cus-panel,
  .cus-panel-lead,
  .cus-panel-text,
  .cus-panel-address,
  .cus-postcode-label,
  .cus-contact-tabs,
  .cus-contact-role,
  .cus-postcode-result {
    text-align: center;
  }

  .cus-panel-lead {
    max-width: none;
  }

  .cus-postcode-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .cus-postcode-row {
    flex: none;
    width: 100%;
  }

  .cus-contact-tabs {
    display: flex;
    width: 100%;
  }

  .cus-contact-tab {
    flex: 1 1 0;
  }

  .cus-postcode-saved-area {
    width: 100%;
  }

  .cus-contact-body {
    flex-direction: column;
    align-items: center;
  }

  .cus-contact-photo {
    flex: none;
    width: 280px;
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .cus-contact-details {
    flex: none;
    width: 100%;
    min-width: 0;
    align-items: center;
    padding: 24px 0;
  }

  .cus-contact-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .cus-contact-btn {
    width: 224px;
    height: 40px;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .cus-contact-btn-text--full {
    display: none;
  }

  .cus-contact-btn-text--short {
    display: inline;
  }
}
