/* VARIABLES */
/* BASE LAYOUT */
* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: #222;
  background-color: #eee;
  background-image: url("../images/bg.png");
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
}

/* HEADER */
.header {
  background: #fff0c7;
  background-image: url("../images/bg.png");
  padding: 1rem 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a subtle drop shadow */
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center; /* center the brand (logo + title) */
  gap: 0.75rem;
  text-align: center;
  color: #424242;
}

/* FOOTER */
.footer {
  background: #fff0c7;
  background-image: url("../images/bg.png");
  padding: 1rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

/* LINK TILES */
.link-tiles {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
}

.link-tile {
  /* make each link a tile that's fully clickable and stacks nicely on small screens */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.03);
  color: #222;
  text-decoration: none;
  font-size: 0.95rem;
  flex: 1 1 100px; /* allow links to grow and distribute horizontally */
  min-width: 48px;
  text-align: center;
  border: 2px solid transparent; /* reserve space for hover border */
  transition: border-color 140ms ease;
}

.link-tile img {
  width: 48px;
  height: 48px;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: 0 auto;
}

.link-tile span {
  display: inline-block;
  vertical-align: middle;
}

.link-tile:hover {
  border: 2px solid #f57135;
}

.hbcd-link-feature {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hbcd-link-tile {
  min-width: 136px;
}

/* SECTIONS */
.section {
  padding: 1.25rem 0;
  margin-top: 0.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  border-left: 6px solid #ff9e1b;
  padding-left: 0.75rem;
  color: #424242;
}

.section-content {
  background: #ffffff;
  padding: 16px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  margin-bottom: 1rem;
}

.section-content-title {
  margin: 0 0 0.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: #424242;
}

.section-content p {
  margin: 0 0 1rem 0;
  color: #424242;
  font-size: 18px;
  line-height: 1.6;
}

/* EMBEDED MAPS */
.embed-container {
  position: relative;
  width: 100%;
  min-height: 595px;
  border-radius: 6px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1); /* Add a subtle border */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Add a soft shadow */
}

.embed-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.embed-caption {
  margin-top: 0.5rem !important;
  font-size: 0.9rem !important;
}

/* PARTNERS ROW */
.partners-row {
  display: flex;
  flex-direction: row; /* ensure logos are laid out horizontally even when callout-inner is present */
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.partner {
  /* create equal square tiles */
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  max-width: 160px;
  padding: 8px;
  background: transparent;
  text-decoration: none;
  aspect-ratio: 1/1; /* enforces square */
  box-sizing: border-box;
}

.partner img {
  /* keep the logo centered and contained inside the square */
  max-width: 75%;
  max-height: 75%;
  width: auto;
  height: auto;
  -o-object-fit: contain;
     object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* RESPONSE BREAKPOINTS */
@media (max-width: 520px) {
  .logo {
    max-height: 48px;
  }
  .header .title {
    font-size: 1.25rem;
    max-height: 80px;
  }
  .hcdp-link img {
    width: 40px;
    height: 40px;
  }
  .partner {
    max-width: 120px;
  }
}
@media (min-width: 521px) and (max-width: 899px) {
  .logo {
    max-height: 72px;
  }
  .header .title {
    font-size: 1.5rem;
    max-height: 100px;
  }
  .hcdp-link img {
    width: 48px;
    height: 48px;
  }
  .partner {
    max-width: 140px;
  }
}
@media (min-width: 900px) {
  .logo {
    max-height: 88px;
  }
  .header .title {
    font-size: 2rem;
    max-height: 139px;
  }
  .hcdp-link img {
    width: 48px;
    height: 48px;
  }
  .partner {
    max-width: 160px;
  }
}
/* HBCD LINK SPECIFIC */
.multiselect-dropdown {
  color: black;
  width: 99%;
  margin-bottom: 1rem;
}

#submit-result {
  margin-top: 1.5rem;
}

#submit-result .success,
#submit-result .error {
  margin-bottom: 1rem;
}

#submit-result .button {
  margin: 0 0.5rem;
}

.button {
  display: inline-block;
  background-color: #e7b845; /* brand yellow */
  color: #494b4c; /* button text */
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.button:hover {
  background-color: #d9a33f; /* slightly darker yellow for hover */
  color: #333; /* slightly darker text color for hover */
}

.button:active {
  background-color: #c49539; /* even darker yellow for active state */
  color: #222; /* even darker text color for active state */
}

.download-button {
  display: inline-block;
  background-color: #aabc84; /* brand green */
  color: #222; /* button text */
  font-size: 1rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}/*# sourceMappingURL=styles.css.map */