@charset "utf-8";
/* ==========================================================
   South Florida Community Health Centers
   sfchc_style.css
   Page layout and page-specific components
   ========================================================== */
/* ---------- Base Layout ---------- */
html,
body {
  max-width: 100vw;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
}
body {
  display: flex;
  flex-direction: column;
}
.content-row {
  padding: 0;
}
/* ---------- Hero Image ---------- */
#hero_image {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}
#hero_image picture,
#hero_image .main-image {
  display: block;
}
/* ---------- Hero Button ---------- */
.hero-button {
  display: block;
  width: max-content;
  max-width: calc(100% - 2rem);
  margin: 1rem auto 0;
  padding: 0.55rem 1rem;
  background-color: #234476; /* Marian Blue */
  border: 0;
  border-radius: 1rem;
  color: #F0F8FF; /* White */
  font-family: var(--font-heading);
  text-decoration: none;
  box-shadow: 0 0.45rem 0.9rem rgba(0, 0, 0, 0.35);
  transition:
    background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
a.btn.hero-button {
  font-family: var(--font-heading);
}
a.btn.hero-button .hero-button-inner,
a.btn.hero-button .hero-button-text,
a.btn.hero-button .button-top,
a.btn.hero-button .buttonmid,
a.btn.hero-button .buttonbottom {
  font-family: inherit;
}
.hero-button:hover,
.hero-button:focus {
  background-color: #EDF6CB; /* Cream */
  color: #283C57; /* Prussian Blue */
  text-decoration: none;
  box-shadow: none;
}
.hero-button:hover .button-top,
.hero-button:hover .buttonmid,
.hero-button:hover .buttonbottom,
.hero-button:focus .button-top,
.hero-button:focus .buttonmid,
.hero-button:focus .buttonbottom {
  color: #283C57; /* Prussian Blue */
}
/* ---------- Hero Button Interior ---------- */
.hero-button-inner {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-button-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
}
/* Button title */
.button-top {
  display: block;
  margin: 0;
  padding: 6px 10px;
  color: #FFFFFF; /* Bright White */
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
}
/* Phone number line */
.buttonmid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  padding: 8px 0 6px;
  color: #EDF6CB; /* Cream */
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}
.buttonmid .hero-button-icon {
  display: block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  margin: 0;
  object-fit: contain;
}
/* Appointment line */
.buttonbottom {
  display: block;
  margin: 0;
  padding: 8px 0 6px;
  color: inherit;
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1;
  text-align: center;
}
/* Medium screens and larger:
   button overlays the hero image */
@media (min-width: 768px) {
  .hero-button {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    margin: 0;
    transform: translate(-100%, -50%);
  }
}
@media (min-width: 992px) {
  .hero-button {
    margin-left: -4rem;
  }
}
/* ---------- Stages ---------- */
#stages .stages-item {
  padding: 1rem;
}
#stages .stages-icon {
  display: block;
  width: 90px;
  height: 90px;
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}
#stages .stages-item p {
  margin: 0 auto;
}
.stagecard {
  margin: 10px;
  border: thin solid #283C57; /* Prussian Blue */
  border-radius: 20px;
}
/* ---------- Map ---------- */
.map {
  width: 100%;
  max-width: 950px;
  height: 480px;
  border: 0;
}
/* ==========================================================
   Reusable Two-Column Content Layout
   ========================================================== */
/* ---------- Left Column ---------- */
.two-column-left {
  display: flex;
  align-self: flex-start;
  align-items: flex-start;
  justify-content: center;
}
.two-column-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border-radius: 0.75rem;
}
/* ---------- Right Column ---------- */
.two-column-right {
  align-self: flex-start;
  padding-top: 0;
  padding-bottom: 0.5rem;
}
/* Remove top spacing from the first element in either column */
.two-column-left > :first-child,
.two-column-right > :first-child {
  margin-top: 0;
}
/* Remove unnecessary bottom spacing from the final element */
.two-column-left > :last-child,
.two-column-right > :last-child {
  margin-bottom: 0;
}
/* ---------- About Components ---------- */
.sidebar {
  font-family: var(--font-accent);
  font-size: 16px;
  line-height: 1.4;
}
/* ---------- Hours of Operation ---------- */
.hours-table-wrapper {
  width: 100%;
  max-width: 30rem;
  margin: 0.5rem auto;
  overflow: hidden;
  background-color: #FFFFFF; /* Bright White */
  border: 1px solid rgba(40, 60, 87, 0.22);
  border-radius: 0.7rem;
  box-shadow: 0 0.25rem 0.65rem rgba(40, 60, 87, 0.1);
}
.hours-table {
  width: 100%;
  margin: 0;
  border-collapse: collapse;
  font-size: 0.85rem;
  line-height: 1.3;
  color: #283C57; /* Prussian Blue */
}
.hours-table th,
.hours-table td {
  padding: 0.48rem 0.75rem;
  border-bottom: 1px solid rgba(40, 60, 87, 0.14);
  vertical-align: middle;
}
.hours-table th {
  width: 42%;
  background-color: rgba(107, 170, 188, 0.09); /* Moonstone */
  color: #234476; /* Marian Blue */
  font-weight: 600;
  text-align: center;
}
.hours-table td {
  font-weight: 400;
  text-align: right;
}
.hours-table .open-day th,
.hours-table .open-day td {
  background-color: rgba(167, 206, 182, 0.34); /* Celadon */
  color: #283C57; /* Prussian Blue */
  font-weight: 600;
}
.hours-table tr:last-child th,
.hours-table tr:last-child td {
  border-bottom: 0;
}
/* ---------- Fee Schedule ---------- */
.fee-schedule-table-wrapper {
  max-width: 100%;
  overflow-x: auto;
}
.fee-schedule-table {
  min-width: 38rem;
  table-layout: fixed;
  font-size: 0.85rem;
}
.fee-schedule-table th,
.fee-schedule-table td {
  padding: 0.5rem 0.55rem;
  line-height: 1.25;
}
.fee-schedule-table th {
  white-space: nowrap;
}
/* Header row */
.fee-schedule-table thead th {
  background-color: #E1EEE6;
  color: #283C57;
  font-weight: 600;
  text-align: center;
}
/* First column */
.fee-schedule-table tbody th {
  width: 28%;
  background-color: #F2F7F9;
  color: #234476;
  font-weight: 600;
  text-align: center;
}
/* Top-left header cell */
.fee-schedule-table thead th:first-child {
  width: 28%;
}
.fee-schedule-table thead th:not(:first-child),
.fee-schedule-table tbody td {
  width: 24%;
}
.fee-schedule-table tbody td {
  background-color: #FFFFFF;
  color: #283C57;
  font-weight: 400;
  text-align: center;
}
/* ---------- FAQ ---------- */
.faq-question,
.faq-response {
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
}
.faq-question {
  margin-top: 0.65rem;
  margin-bottom: 0.15rem;
  color: #234476; /* Marian Blue */
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}
.faq-response {
  margin-top: 0;
  margin-bottom: 1rem;
  padding: 0.25rem 0 0.25rem 0.8rem;
  border-left: 3px solid #6BAABC;
  color: #283C57;
  font-size: 0.95rem;
  font-weight: 400;
  line-height: 1.5;
}
.container .faq-response {
  margin-left: 0.35rem;
}
/* ---------- Management ---------- */
.management-section {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
}
.staff-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
  column-gap: 0.6rem;
  row-gap: 1rem;
  width: 100%;
  margin: 0 0 1.5rem;
  padding: 0;
}
.staff-grid > .staff-card-column {
  display: flex;
  flex: 0 0 10rem;
  width: 10rem;
  max-width: 10rem;
  margin: 0;
  padding: 0;
}
.staff-card {
  width: 100%;
  text-align: center;
}
.staff-card img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 0 auto 0.5rem;
  border-radius: 0.75rem;
}
.name,
.title {
  color: #283C57; /* Prussian Blue */
}
.staff-card .name,
.staff-card .title {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}
.staff-card .name {
  margin-top: 0;
  margin-bottom: 0.08rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.staff-card .title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
}
@media (min-width: 992px) {
  .management-section {
    max-width: var(--readable-content-width-lg, 58rem);
  }
}
@media (min-width: 1200px) {
  .management-section {
    max-width: var(--readable-content-width-xl, 61rem);
  }
}
@media (min-width: 1400px) {
  .management-section {
    max-width: var(--readable-content-width-xxl, 64rem);
  }
}
/* --- Charitable Solicitation Disclosure --- */
.charitable-disclosure {
  margin-top: 1rem;
  text-align: left;
}
.charitable-disclosure p {
  font-size: 0.8em;
  line-height: 1.3;
}
.charitable-disclosure-heading {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: 0.8em;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}
.charitable-disclosure-required {
  max-width: 90%;
  margin: 0 auto;
  margin: 1rem auto;
  line-height: 1.1;
  text-align: left;
}
/* ---------- Staff Biography Modal ---------- */
.staff-biography-modal .modal-content {
  overflow: hidden;
  border: 0;
  border-radius: 0.75rem;
}
.staff-biography-modal .modal-header {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0.9rem 0.35rem;
  border-bottom: 0;
}
.staff-biography-modal .modal-person {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}
.staff-biography-modal .modal-staff-photo {
  display: block;
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  margin: 0;
  border-radius: 0.65rem;
  object-fit: cover;
  object-position: center top;
}
.staff-biography-modal .modal-person-copy {
  min-width: 0;
}
.staff-biography-modal .name,
.staff-biography-modal .title {
  max-width: 100%;
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}
.staff-biography-modal .name {
  margin-top: 0;
  margin-bottom: 0.08rem;
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.2;
}
.staff-biography-modal .title {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.2;
}
.staff-biography-modal .btn-close {
  flex: 0 0 auto;
  margin: 0 0 0 auto;
  padding: 0.35rem;
  font-size: 0.75rem;
}
.staff-biography-modal .modal-body {
  padding: 0.35rem 0.9rem 0.9rem;
}
#staffBiographyText p {
  max-width: 100%;
  margin: 0 0 0.75rem;
  font-size: 14px;
  line-height: 1.4;
  text-align: left;
}
#staffBiographyText p:last-child {
  margin-bottom: 0;
}
@media (max-width: 576px) {
  .staff-biography-modal .modal-staff-photo {
    flex-basis: 60px;
    width: 60px;
    height: 60px;
  }
}
/* ---------- Support Page ---------- */
.supportcard {
  display: flex;
  margin-top: 20px;
  margin-bottom: 20px;
}
#support .support-item {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-width: 0;
  padding: 1rem;
  border-radius: 20px;
}
#support img.support-icon {
  display: block;
  flex: 0 0 90px;
  width: 90px !important;
  min-width: 90px;
  max-width: 90px !important;
  height: 90px !important;
  min-height: 90px;
  max-height: 90px;
  margin-right: auto;
  margin-left: auto;
  object-fit: contain;
}
#support .document-link-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  min-width: 0;
  margin-top: 0.5rem;
}
#support .document-link-item {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  min-width: 0;
  max-width: 125px;
  color: inherit;
  text-align: center;
}
#support img.document-preview-icon {
  display: block;
  flex: 0 0 auto;
  width: 100% !important;
  max-width: 125px !important;
  height: auto !important;
  max-height: none !important;
  margin: 0 auto;
  object-fit: contain;
}
#support .document-caption {
  display: block;
  width: 100%;
  max-width: 125px;
  margin-right: auto;
  margin-left: auto;
  white-space: normal;
  overflow-wrap: normal;
  text-align: center;
}
#support img.document-caption-icon {
  display: inline-block;
  width: 14px !important;
  min-width: 14px;
  max-width: 14px !important;
  height: 14px !important;
  min-height: 14px;
  max-height: 14px;
  margin: 0 0.2rem 0 0;
  vertical-align: middle;
  object-fit: contain;
}
/* ---------- Contact Components ---------- */
#contact-content {
  margin-bottom: 1.5rem;
}
.contact-item {
  margin-bottom: 2rem;
}
.contact-entry {
  display: flex;
  align-items: flex-start;
}
.contact-icon-box {
  flex: 0 0 40px;
  width: 40px;
  margin-right: 10px;
  line-height: 0;
}
.contact-icon {
  display: block;
  width: 40px;
  height: 40px;
  margin: 0;
  object-fit: contain;
}
.contact-copy {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  padding: 0;
}
.contact-copy h4 {
  margin: 0 0 0.1rem;
  padding: 0;
}
.contact-copy p {
  margin: 0;
  line-height: 1.3rem;
}
.contact-copy .smalltext {
  font-size: 0.8rem;
  line-height: 1.15rem;
  letter-spacing: 0.04em;
  text-align: left;
}
/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .content-row {
    padding: 0 20px;
  }
  .map {
    height: 420px;
  }
}
@media (max-width: 576px) {
  .staff-grid {
    gap: 0.5rem;
  }
  .staff-grid > .staff-card-column {
    flex-basis: calc(50% - 0.25rem);
    width: calc(50% - 0.25rem);
    max-width: calc(50% - 0.25rem);
  }
  .button-top {
    font-size: 1.3rem;
  }
  .buttonmid {
    font-size: 1.4rem;
  }
  .buttonbottom {
    font-size: 0.9rem;
  }
  .map {
    height: 360px;
  }
  .contact-info1,
  .contact-info2,
  .contact-btn {
    margin-left: 0;
  }
}
