/* SYNPE NHS Vertical Tabs - Divi/WordPress */
.synpe-nhs-tabs,
.synpe-nhs-tabs * {
  box-sizing: border-box;
}

.synpe-nhs-tabs {
  --synpe-blue: #0066d9;
  --synpe-navy: #06244a;
  --synpe-line: #dbe5f4;
  --synpe-red: #e60000;
  display: flex;
  gap: 40px;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--synpe-navy);
}

.synpe-nhs-tabs-nav {
  width: 375px;
  min-width: 375px;
  border-right: 1px solid var(--synpe-line);
  padding-right: 0;
}

.synpe-nhs-tab-btn {
  display: block;
  width: 100%;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #0b2345;
  text-align: left;
  padding: 8px 10px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.35;
  cursor: pointer;
  transition: color .18s ease, background-color .18s ease;
}

.synpe-nhs-tab-btn:hover {
  color: var(--synpe-blue);
  background: #f3f7ff;
}

.synpe-nhs-tab-btn.active,
.synpe-nhs-tab-btn[aria-selected="true"] {
  background: var(--synpe-blue);
  color: #fff;
}

.synpe-nhs-tabs-panels {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.synpe-nhs-tab-panel {
  display: none;
  color: #071f3f;
  font-size: 16px;
  line-height: 1.55;
}

.synpe-nhs-tab-panel.active {
  display: block;
}

.synpe-nhs-tab-panel h2 {
  margin: 0 0 24px;
  color: #001f49;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 34px;
  font-weight: 400;
  line-height: 1.2;
}

.synpe-nhs-content h3 {
  margin: 18px 0 12px;
  color: #001f49;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.25;
}

.synpe-nhs-content p {
  margin: 0 0 10px;
}

.synpe-nhs-content strong {
  font-weight: 700;
}

.synpe-nhs-content span[style*="red"] {
  color: var(--synpe-red) !important;
}

.synpe-nhs-content ul {
  margin: 8px 0 14px 24px;
  padding: 0;
}

.synpe-nhs-content li {
  margin: 4px 0;
}

.synpe-nhs-content a {
  color: var(--synpe-blue);
  text-decoration: none;
}

.synpe-nhs-content a:hover {
  text-decoration: underline;
}

.synpe-content-box {
  margin: 0 0 16px;
  padding: 0;
  border: 0;
  background: transparent;
}

.synpe-text-right,
.synpe-button-row {
  text-align: right;
}

.synpe-content-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin: 5px 3px 5px 0;
  padding: 0 18px;
  border-radius: 3px;
  font-family: "Manrope", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  color: #fff;
  background: var(--synpe-blue);
  cursor: pointer;
}

.synpe-content-button-danger {
  background: #d71920;
}

.synpe-content-button-primary {
  background: var(--synpe-blue);
}

.synpe-nhs-content a:hover .synpe-content-button {
  filter: brightness(.95);
  text-decoration: none;
}

/* Prevent long old content from breaking the Divi row */
.synpe-nhs-content {
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .synpe-nhs-tabs {
    flex-direction: column;
    gap: 24px;
  }

  .synpe-nhs-tabs-nav {
    width: 100%;
    min-width: 0;
    border-right: 0;
    border-bottom: 1px solid var(--synpe-line);
  }

  .synpe-nhs-tab-btn {
    font-size: 15px;
    padding: 10px 12px;
  }

  .synpe-nhs-tab-panel h2 {
    font-size: 28px;
  }

  .synpe-nhs-content h3 {
    font-size: 22px;
  }

  .synpe-text-right,
  .synpe-button-row {
    text-align: left;
  }

  .synpe-content-button {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }
}