.u-section-1 .u-sheet-1 {
  min-height: 780px;
}

.u-section-1 .medfinder-image-wrap {
  display: block;
  width: 100%;
  clear: both;
  margin: 0 0 0px;
}

.u-section-1 .u-image-1 {
  display: block !important;
  width: min(100%, 635px);
  height: auto;
  max-height: 216px;
  object-fit: cover;
  position: relative !important;
  float: none !important;
  clear: both;
  margin: 0 auto !important;
  transform: none !important;
}

.u-section-1 .u-text-1 {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4);
  margin: 0;
}

.u-section-1 .u-table-1 {
  margin-top: 25px;
  margin-bottom: 0px;
}

.u-section-1 .u-table-header-1 {
  font-weight: 700;
}

.u-section-1 .u-table-cell-1,
.u-section-1 .u-table-cell-2,
.u-section-1 .u-table-cell-3,
.u-section-1 .u-table-cell-4,
.u-section-1 .u-table-cell-7 {
  border-style: solid;
}

.medfinder-stack {
  display: grid;
  gap: 24px;
  clear: both;
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 36px;
}

.medfinder-hero-card,
.medfinder-search-card,
.medfinder-results-card,
.medfinder-empty {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #d7d7d7;
  border-radius: 24px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  padding: 24px;
}

.medfinder-hero-card {
  margin-top: 0 !important;
  position: relative;
  top: auto !important;
  transform: none !important;
  z-index: 1;
}

.medfinder-eyebrow,
.medfinder-result-meta,
.medfinder-meta-chip,
.medfinder-label,
.medfinder-card-label,
.medfinder-note,
.medfinder-stat-label,
.medfinder-title,
.medfinder-subtitle,
.medfinder-doc,
.medfinder-empty-title,
.medfinder-btn,
.medfinder-link-btn {
  font-family: Georgia, serif;
}

.medfinder-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f4f4f4;
  color: #333;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.medfinder-title {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
}

.medfinder-subtitle {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: #333;
}

.medfinder-note {
  margin-top: 14px;
  color: #4b4b4b;
  font-size: 0.96rem;
  line-height: 1.6;
}

.medfinder-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.medfinder-meta-chip {
  padding: 18px 20px;
  border-radius: 20px;
  background: #fafafa;
  border: 1px solid #e7e7e7;
  text-align: center;
}

.medfinder-meta-chip strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
  margin-bottom: 8px;
}

.medfinder-stat-label {
  display: block;
  font-size: 1rem;
}

.medfinder-search-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}

.medfinder-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.medfinder-label {
  font-size: 1rem;
  color: #202020;
}

.medfinder-input,
.medfinder-select {
  min-height: 54px;
  width: 100%;
  border-radius: 16px;
  border: 1px solid #cfcfcf;
  background: #fff;
  padding: 0 16px;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  color: #111;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.medfinder-input:focus,
.medfinder-select:focus {
  outline: none;
  border-color: #111;
  box-shadow: 0 0 0 3px rgba(17, 17, 17, 0.08);
}

.medfinder-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.medfinder-btn,
.medfinder-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid #111;
  text-decoration: none;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.medfinder-btn:hover,
.medfinder-link-btn:hover,
.medfinder-btn:focus-visible,
.medfinder-link-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
  outline: none;
}

.medfinder-btn--primary {
  background: #111;
  color: #fff;
}

.medfinder-btn--primary:hover,
.medfinder-btn--primary:focus-visible {
  background: #222;
}

.medfinder-btn--secondary,
.medfinder-link-btn {
  background: #fff;
  color: #111;
}

.medfinder-btn--secondary:hover,
.medfinder-btn--secondary:focus-visible,
.medfinder-link-btn:hover,
.medfinder-link-btn:focus-visible {
  background: #f7f7f7;
}

.medfinder-result-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 18px;
  flex-wrap: wrap;
  color: #333;
}

.medfinder-result-copy,
.medfinder-doc-sub,
.medfinder-card-copy,
.medfinder-empty-copy {
  color: #4b4b4b;
  line-height: 1.6;
}

.medfinder-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
  border: 1px solid #e4e4e4;
  background: #fff;
}

.medfinder-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.medfinder-table th,
.medfinder-table td {
  padding: 18px 16px;
  text-align: left;
  border-bottom: 1px solid #ededed;
  vertical-align: top;
}

.medfinder-table tbody tr:last-child td {
  border-bottom: 0;
}

.medfinder-table th {
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  background: #fafafa;
  color: #111;
}

.medfinder-doc {
  margin: 0 0 6px;
  font-size: 1.06rem;
  color: #111;
}

.medfinder-website a,
.medfinder-card-link {
  color: #111;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(17, 17, 17, 0.2);
}

.medfinder-website a:hover,
.medfinder-card-link:hover,
.medfinder-website a:focus-visible,
.medfinder-card-link:focus-visible {
  border-bottom-color: #111;
  outline: none;
}

.medfinder-cards {
  display: none;
  gap: 16px;
  margin-top: 18px;
}

.medfinder-card {
  border: 1px solid #e7e7e7;
  border-radius: 22px;
  background: #fff;
  padding: 18px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.05);
}

.medfinder-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 16px 0;
}

.medfinder-card-label {
  display: block;
  margin-bottom: 4px;
  color: #666;
  font-size: 0.92rem;
}

.medfinder-empty {
  text-align: center;
  margin-top: 18px;
}

.medfinder-empty-title {
  margin: 0 0 8px;
  font-size: 1.4rem;
}


.medfinder-stack > * {
  min-width: 0;
}

.u-sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 992px) {
  .u-section-1 .medfinder-image-wrap {
    margin-bottom: 0px;
  }
}

@media (max-width: 1199px) {
  .u-section-1 .u-text-1 {
    width: auto;
    font-size: 2.25rem;
  }
}

@media (max-width: 991px) {
  .medfinder-search-grid,
  .medfinder-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .u-section-1 .u-sheet-1 {
    min-height: 748px;
  }

  .u-section-1 .medfinder-image-wrap {
    margin-bottom: 0px;
  }

  .u-section-1 .u-image-1 {
    width: 540px;
    max-width: 100%;
    max-height: 184px;
  }

  .u-section-1 .u-text-1 {
    font-size: 1.875rem;
  }

  .medfinder-table-wrap {
    display: none;
  }

  .medfinder-cards {
    display: grid;
  }

  .medfinder-card-grid {
    grid-template-columns: 1fr;
  }

  .medfinder-hero-card,
  .medfinder-search-card,
  .medfinder-results-card,
  .medfinder-empty {
    padding: 18px;
    border-radius: 20px;
  }
}

@media (max-width: 575px) {
  .u-section-1 .u-sheet-1 {
    min-height: 680px;
  }

  .u-section-1 .medfinder-image-wrap {
    margin-bottom: 0px;
  }

  .u-section-1 .u-image-1 {
    width: 340px;
    max-height: 116px;
  }

  .medfinder-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .medfinder-btn,
  .medfinder-link-btn {
    width: 100%;
  }
}
