@import "https://use.typekit.net/kbd0aad.css";
@import "variables.css";

html {
  scroll-behavior: smooth;
}

html,
body,
form,
ul,
li,
h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
  font-family: "caecilia", Georgia, serif;
  font-size: var(--font-size-small);
}

a {
  color: var(--hhc-blue);
}

h1,
h2,
h4 {
  font-family: "caecilia", Georgia, serif;
  font-weight: 400;
}

h1 {
  margin-top: var(--spacing-large);
  font-size: var(--font-size-largest);
  color: white;
  font-weight: 300;
}

h2 {
  margin-bottom: var(--spacing-larger);
  font-size: var(--font-size-larger);
  color: var(--hhc-dark);
  font-weight: 400;
}

h2.alternative {
  margin-top: var(--spacing-largest);
  font-size: 36px;
  color: var(--hhc-magenta);
  font-weight: 400;
}

h2.alternative.green {
  color: var(--hhc-green);
}

h2.alternative.orange {
  color: var(--hhc-orange);
}

h3 {
  margin-top: var(--spacing-medium);
  font-size: var(--font-size-medium);
  color: var(--hhc-gray);
  font-weight: 600;
}

h3.alternative {
  font-size: 34px;
  font-weight: 300;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: var(--spacing-largest);
  margin-bottom: var(--spacing-large);
}

h3.alternative hr {
  border: 1px solid #aaa;
  border-top-style: none;
  border-left-style: none;
  border-left-style: none;
  flex: 1 1 auto;
}

h3.alternative hr:first-of-type {
  margin-right: 24px;
}

h3.alternative hr:last-of-type {
  margin-left: 24px;
}

h4 {
  font-family: "caecilia", Georgia, serif;
  font-size: var(--font-size-medium);
  margin-bottom: var(--spacing-large);
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.center {
  text-align: center;
}

.header {
  padding: 32px 16px;
  text-align: center;
  /* box-shadow: rgba(50, 50, 93, 0.25) 0px 13px 27px -5px,
    rgba(0, 0, 0, 0.3) 0px 8px 16px -8px; */
  /* position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10; */
  background: #fff;
  position: relative;
}

/* centered black title in the header */
.header-title {
  position: static;
  transform: none;
  justify-self: center;
  color: #000;
  font-weight: 600;
  font-size: 18px;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
  white-space: nowrap;
}

.header-title::after {
  color: cyan; /* cyan underscore */
  margin-left: 6px;
  font-weight: 700;
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
  pointer-events: none;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr; /* logo left, title center, icons right */
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 24px;
  box-sizing: border-box;
  gap: 16px;
}

.header-inner a {
  text-align: left;
}

.hhc-logo {
  height: 30px;
  justify-self: start; /* align logo to the left */
  margin-bottom: 8px;
}

.header-social {
  justify-self: end; /* align icons to the right */
  display: flex;
  align-items: center;
}

/* header social icon row (space for 5 small icons) */
.header-social .social-icons {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 0;
  align-items: center;
  position: relative;
}

.header-social .social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  border-radius: 6px;
  color: #000;
  text-decoration: none;
  margin-right: 12px;
}

.header-social .social-icons a ion-icon {
  font-size: 20px; /* increase icon size */
  width: 20px;
  height: 20px;
  color: inherit;
  display: block;
}

.header-social .social-icons a img.social-x {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.body {
  /* margin-top: 92px; */
}

.hero {
  min-height: 35vh;
  padding: 80px 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-image: url("./assets/provider-imaging.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center 40%; /* center horizontally, nudge image down/up — try 30%–60% */
  position: relative;
  color: inherit;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hhc-blue);
  opacity: 0.8; /* adjust opacity as needed */
  pointer-events: none;
  z-index: 1;
}

.hero .hero-inner {
  text-align: right;
  color: white;
  position: relative;
  z-index: 2;
  width: 95%;
  max-width: 800px;
}

.hero h1 {
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero h3 {
  max-width: 1000px;
  color: white;
  font-size: 20px;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
}

.hero ul {
  display: flex;
  margin: 64px 0;
  padding: 0;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.hero ul a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 0 30%;
  min-height: 180px;
  box-sizing: border-box;
  padding: 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 15px -3px,
    rgba(0, 0, 0, 0.05) 0px 4px 6px -2px;
  justify-content: center;
  margin: 0;
  position: relative;
  z-index: 1;
}

.hero ul a:last-of-type {
  margin-right: 0;
}

.hero ul a.magenta {
  color: var(--hhc-magenta);
}

.hero ul a.green {
  color: var(--hhc-green);
}

.hero ul a.orange {
  color: var(--hhc-orange);
}

.hero ul a ion-icon {
  font-size: 80px;
  --ionicon-stroke-width: 16px;
  display: block;
  margin-bottom: 8px;
}

.margin-top-large {
  margin-top: var(--spacing-large);
}

.content-box {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.content-box.blue {
  background: var(--background-blue);
}

.content-box-inner {
  margin: 0 auto;
  padding: var(--spacing-largest) var(--spacing-smaller) var(--spacing-largest)
    var(--spacing-smaller);
  max-width: 1300px;
}

.image-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.image-cell {
  margin-right: 24px;
  flex: 1 1 auto;
}

a.image-cell {
  text-decoration: none;
  flex-direction: column;
  color: var(--hhc-dark);
}

a.image-cell:hover {
  text-decoration: underline;
}

.image-cell .image-link {
  display: block;
  margin-top: var(--spacing-medium);
  font-size: var(--font-size-large);
}

.image-cell .image-details {
  display: block;
  text-align: left;
  font-size: var(--font-size-small);
  margin-top: var(--spacing-smallest);
  opacity: 0.7;
  width: 100%;
}

.image-row.news {
  align-items: flex-start;
  justify-content: flex-start;
  flex-wrap: nowrap;
}

.image-row.news .image-box {
  margin-right: 0;
}

.image-row.news .image-cell .image-link {
  font-size: var(--font-size-medium);
  color: var(--hhc-dark);
  text-align: left;
  margin-top: var(--spacing-smallest);
}

.image-cell:last-of-type {
  margin-right: 0;
}

.image-row .image-box {
  display: flex;
  flex-direction: column;
  height: 300px;
  overflow: hidden;
  border-radius: 16px;
  position: relative;
  margin-right: 24px;
  margin-bottom: 24px;
  min-width: 300px;
  max-width: 600px;
  flex: 1 1 auto;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.image-row.awards .image-box {
  height: 210px;
  background-size: contain
}

.image-row.icons {
  flex-wrap: nowrap;
}

.image-row.icons .image-cell {
    flex: 1 1 33%;

}

.image-row.icons .image-box {
  height: 190px;
  background-size: contain;
}

.image-row.news {
  align-items: flex-start;
}

.image-row.news .image-cell {
  flex: 1 1 0.25;
  max-width: 25%;
}

.image-row.news .image-box {
  height: 190px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  min-width: 0;
  margin-bottom: 0;
}

.image-row.news .image-link {
  margin-bottom: 24px;
}

.image-row .image-box:last-of-type {
  margin-right: 0;
}

.image-row .image-box img {
  height: 100%;
}

.image-box-inner {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.41) 0%,
    rgba(136, 136, 136, 0.24) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}

.image-box-spacer {
  flex: 1 1 auto;
  z-index: 2;
}

.image-box-value {
  font-size: 64px;
  font-weight: bold;
  color: #fff;
  text-align: left;
  text-shadow: 6px 6px 12px #000;
  margin: 0 16px;
  z-index: 2;
}

.image-box-label {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  text-align: left;
  text-shadow: 6px 6px 12px #000;
  margin: 0 16px 16px 16px;
  z-index: 2;
}

.image-heading {
  font-size: var(--font-size-large);
  margin-top: var(--spacing-medium);
  margin-bottom: var(--spacing-medium);
  font-weight: 600;
}

.round-btn {
  display: inline-block;
  min-width: 200px;
  padding: var(--spacing-smallest) var(--spacing-small);
  border: 2px solid rgba(0, 0, 0, 0.4);
  border-radius: 32px;
  text-decoration: none !important;
  font-size: var(--font-size-medium);
  color: #000;
  margin-top: var(--spacing-large);
  transition: all 0.2s;
}

.round-btn:hover {
  background: var(--hhc-blue);
  color: #fff;
  border-color: var(--hhc-blue);
}

.content-image {
  width: 100%;
  border-radius: 4px;
  display: block;
}

.leapfrog-badge {
  margin: var(--spacing-large) auto;
  display: flex;
  /* max-width: 350px; */
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
}

.leapfrog-badge .lfb-text {
  font-style: italic;
  /* flex: 1 1 auto; */
  text-align: right;
  margin-right: var(--spacing-small);
  font-size: var(--font-size-large);
  color: var(--hhc-green);
}

.leapfrog-badge .lfb-image {
  height: 80px;
  border-radius: 4px;
}

.text-align-left {
  text-align: left;
}

.k-health-statement {
  text-align: center;
  font-family: caecilia, serif;
  margin-top: var(--spacing-largest);
}

ul {
  margin: var(--spacing-medium);
  list-style: none;
  text-align: left;
}

ul li {
  margin-bottom: var(--font-size-small);
  line-height: 22px;
  margin-left: var(--spacing-smaller);
  position: relative;
}

ul li ion-icon {
  font-size: 24px;
  position: absolute;
  left: -48px;
  top: 2px;
  color: var(--hhc-blue);
  --ionicon-stroke-width: 40px;
}

ion-icon.green {
  color: var(--hhc-green);
}

ion-icon.orange {
  color: var(--hhc-orange);
}

ion-icon.magenta {
  color: var(--hhc-magenta);
}

.insurance-statement {
  font-family: caecilia, serif;
  font-size: var(--font-size-medium);
  font-weight: bold;
  text-align: left;
}

.content-box-video {
  background: var(--hhc-gray);
  min-height: 220px;
  width: 100%;
  border-radius: 16px;
  margin-top: var(--spacing-large);
}

.content-box-video iframe {
  height: 220px !important;
  width: 100%;
  border-radius: 16px;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 30px 60px -12px,
    rgba(0, 0, 0, 0.3) 0px 18px 36px -18px;
}

iframe.ext-form {
  width: 100%;
  height: 1100px;
  border-style: 1px solid var(--hhc-gray);
  margin-top: var(--spacing-large);
  border-radius: 16px;
  overflow-y: auto;
}

.footer {
  padding: var(--spacing-large) var(--spacing-small);
}

.footer a {
  text-decoration: none;
}

h3.footer-heading {
  text-align: center;
  border-top: 1px solid var(--hhc-light);
  font-size: var(--font-size-larger);
  padding-top: var(--spacing-smaller);
  padding-bottom: var(--spacing-medium);
}

.footer-box {
  padding: var(--spacing-medium) var(--spacing-small);
  /* background: var(--hhc-light); */
  text-align: center;
}

.subscribe-heading {
  font-family: caecilia, serif;
  font-weight: 400;
  font-size: var(--font-size-large);
  color: var(--hhc-dark);
  opacity: 0.7;
}

.footer-box h3 {
  margin-top: 0;
  font-size: var(--font-size-large);
  font-family: caecilia, "Noto Sans";
}

.footer-box p {
  font-size: var(--font-size-smaller);
  font-weight: 300;
  color: var(--hhc-gray);
}

.footer-box h6 {
  color: var(--hhc-magenta);
}

.subscribe-signup a {
  margin-top: var(--spacing-smaller);
  padding: var(--spacing-smaller) var(--spacing-small);
  border: 2px solid var(--hhc-blue);
  border-radius: 4px;
  text-decoration: none !important;
  display: inline-block;
  font-family: caecilia, serif;
}

.no-text-style {
  text-decoration: none;
  font-style: normal;
}

ul.social-links {
  margin: 20px 0;
  padding: 0;
  list-style: none;
  display: block;
  text-align: center;
}

ul.social-links li {
  border: 0;
  margin: 0 4px;
  padding: 12px 0;
  display: inline-block;
}

ul.social-links li a {
  color: #a40084;
  display: flex;
  width: 64px;
  height: 64px;
  font-size: 1.25rem;
  border: 2px solid #a40084;
  border-radius: 64px;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.fa-hands-asl-interpreting {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  vertical-align: middle;
  width: 32px;
  height: 32px;
  border-radius: 32px;
  background-color: var(--hhc-magenta);
  border-color: var(--hhc-magenta);
  color: #fff;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  margin: 0;
  padding: 0;
  border: 0;
  position: relative;
}

.fa-hands-asl-interpreting::before {
  position: absolute;
  top: 6px;
  left: 4px;
}

.footer-links {
  margin-top: var(--spacing-medium);
  padding-top: var(--spacing-small);
  border-top: 2px solid var(--hhc-light);
  text-align: center;
  line-height: 20px;
}

.footer-links .hhc-footer-logo {
  height: 21px;
  display: inline-block;
}

.footer-links ul {
  display: block;
  margin: var(--spacing-smaller) 0 0 0;
  text-align: center;
}

.footer-links ul li {
  display: inline-block;
  margin: 0;
  padding: 0;
}

.footer-links ul li a {
  font-size: var(--font-size-smallest);
  border-right: 1px solid var(--hhc-gray);
  margin: 0 8px 0 0;
  padding: 0 8px 0 0;
}

.copyright {
  color: var(--hhc-gray);
  font-size: var(--font-size-smallest);
}

.mobile-only,
.mobile-only-inline,
.mobile-only-flex {
  display: none;
}

.desktop-only {
  display: block;
}

.desktop-only-inline {
  display: inline;
}

.desktop-only-flex {
  display: flex;
}

/* Small viewports */
@media (min-width: 375px) and (max-width: 639px) {
  h2 {
    font-size: 28px;
  }

  .header {
    padding: 16px 0;
  }

  .header-inner {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
  }

  .header-title {
    display: none;
  }

  .hero {
    padding: 24px 0;
  }

  .hero .hero-inner {
    max-width: 100%;
    padding: 24px 0;
    text-align: center;
  }

  .hero h1 {
    font-size: 40px;
    margin-top: 0;
  }

  .hero ul {
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 12px;
  }

  .hero ul a {
    flex: 0 0 115px;
    width: auto;
    padding: 24px 1px;
    min-height: 160px;
  }

  .hero ul a ion-icon {
    font-size: 60px;
  }

  .content-box-inner {
    padding: 48px 16px;
    box-sizing: border-box;
    width: 100%;
  }

  .content-box {
    overflow-x: hidden;
  }

  .image-row {
    flex-wrap: wrap;
    align-items: center;
    display: flex;
    justify-content: center;
    margin: 0;
    width: 100%;
  }

  .image-row .image-cell {
    margin-right: 0;
    margin-bottom: 32px;
    width: 100%;
    flex: none;
    padding: 0;
    box-sizing: border-box;
  }

  .image-row .image-box {
    height: 220px;
    margin-bottom: 24px;
    margin-right: 0;
    flex: none;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .image-row.icons {
    flex-wrap: wrap;
  }

  .image-row.icons .image-box {
    height: 150px;
    width: 150px;
    flex: none;
    margin-left: auto;
    margin-right: auto;
  }

  .image-row.icons .image-box img {
    height: 150px;
    width: 150px;
  }

  .image-row.icons .image-cell {
    margin-bottom: 24px;
    flex: none;
  }

  .image-box-value {
    font-size: 48px;
  }

  .image-box-label {
    font-size: 18px;
  }

  .image-row.awards .image-box {
    height: 180px;
  }

  .image-row.awards .image-cell {
    margin-bottom: 24px;
  }

  .image-row.news {
    flex-wrap: wrap;
    justify-content: center;
  }

  .image-row.news .image-cell {
    max-width: 100%;
    flex: none;
    margin-bottom: 48px;
  }

  .image-row.news .image-box {
    height: 180px;
  }

  .image-row.news .image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .round-btn {
    margin-top: 0;
  }

  .image-cell .image-link {
    font-size: 20px;
  }

  .image-heading {
    font-size: var(--font-size-medium);
    text-align: center;
  }

  .image-detail {
    text-align: center;
  }

  h2.alternative {
    font-size: 32px;
    padding: 0 16px;
  }

  h3.alternative {
    font-size: 28px;
    padding: 0 8px;
  }

  h3.alternative hr:first-of-type {
    margin-right: 12px;
  }

  h3.alternative hr:last-of-type {
    margin-left: 12px;
  }

  .mobile-only {
    display: block;
  }

  .mobile-only-inline {
    display: inline;
  }

  .mobile-only-flex {
    display: flex;
  }

  .desktop-only,
  .desktop-only-inline,
  .desktop-only-flex {
    display: none;
  }

  .round-btn {
    min-width: 160px;
    font-size: var(--font-size-small);
  }
}

/* Medium viewports */
@media (min-width: 640px) {
}

/* Large viewports */
@media (min-width: 1025px) {
}
