/* Homepage masthead. All selectors are local to this component. */
/* Special Resources - Auto Width Only */
.lc-hero .lc-panel.lc-resources-panel {
    width: max-content;
    min-width: 200px;
    max-width: 250px;
   right: auto;
    grid-template-columns: 1fr;
}
.lc-hero {
  position: relative;
  font-size: 16px;
  color: white;
  font-family: Roboto, Arial, sans-serif;
  background: #102342;
}
.lc-hero .lc-bar {
  width: 92%;
  margin: auto;
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid #ffffff60;
  position: relative;
  z-index: 3;
	padding-left: 50px;
}
.lc-hero a, .lc-hero summary { color: inherit; text-decoration: none; }
.lc-hero a:focus-visible, .lc-hero summary:focus-visible, .lc-hero button:focus-visible {
  outline: 3px solid #ffbe56;
  outline-offset: 3px;
}
.lc-hero .lc-brand, .lc-hero #lc-nav { display: flex; align-items: center; }
.lc-hero .lc-brand { gap: 10px; font-size: clamp(21px,2vw,30px); font-weight: 700; white-space: nowrap; }
.lc-hero .lc-brand svg { color: #19c4b2; }
.lc-hero #lc-nav { gap: clamp(18px,3vw,50px); font-size: 16px; }
.lc-hero summary { cursor: pointer; }
.lc-hero .lc-panel {
  position: absolute; right: 0; top: 100%; width: min(780px,100%);
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  padding: 24px; background: white; color: #102342;
  border-radius: 8px; box-shadow: 0 10px 30px #10234233;
}
.lc-hero .lc-panel a, .lc-hero .lc-panel span { display: block; padding: 5px 0; font-size: 16px; }
.lc-hero #lc-nav a:hover, .lc-hero summary:hover { text-decoration: underline; }
.lc-hero .lc-call {
  display: inline-flex; align-items: center; padding: .65em 1.2em;
  border-radius: 6px; background: #007e78; color: white; font-weight: 700; line-height: 1.3;
}
/* A single photographic layer spans the hero and the service cards. */
.lc-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  isolation: isolate;
}
.lc-hero::before {
  content: "";
  grid-area: 2 / 1 / 4 / 2;
  z-index: -1;
  background: linear-gradient(to bottom, transparent 65%, rgba(10,31,53,.38)),
              url("../img/bg/livercare-hero.webp") center top / cover no-repeat;
}
.lc-hero .lc-bar { grid-area: 1 / 1; }
.lc-hero .lc-copy { grid-area: 2 / 1; }
.lc-hero .lc-cards { grid-area: 3 / 1; }
.lc-hero .lc-copy h1 { color: white; font: 700 clamp(34px,3.5vw,56px)/1.08 Roboto,Arial,sans-serif; letter-spacing: -.035em; margin: 0; }
.lc-hero .lc-copy p { color: white; line-height: 1.5; }
.lc-hero .lc-location { font-size: clamp(18px,2vw,32px); margin: 18px 0 0; }
.lc-hero .lc-name { font-size: clamp(24px,2.7vw,46px); font-weight: 700; margin: 3vw 0 2vw; }
.lc-hero .lc-copy .lc-call { font-size: 16px; min-height: 44px; border-radius: 6px; }
.lc-hero .lc-toggle { display: none; }

.lc-hero .lc-copy { padding: clamp(70px,8vw,150px) 7% clamp(65px,8vw,150px); }
.lc-hero .lc-place { color: #8ff7ed; font-size: 14px; font-weight: 700; margin: 0 0 18px; }
.lc-hero .lc-intro { max-width: 40ch; font-size: 16px; margin: 22px 0; }
.lc-hero .lc-more { display: inline-block; padding: 12px 18px; margin: 6px; border: 1px solid white; border-radius: 6px; }
@media (max-width: 960px) {
  .lc-hero .lc-bar { flex-wrap: wrap; }
  .lc-hero .lc-toggle:not([hidden]) { display: block; color: white; background: #12324a; border: 1px solid #ffffff70; padding: 9px 14px; border-radius: 6px; }
  .lc-hero #lc-nav { align-items: stretch; flex-direction: column; gap: 0; width: 100%; padding: 12px; background: #102342; }
  .lc-hero .lc-toggle[aria-expanded="false"]:not([hidden]) + #lc-nav { display: none; }
  .lc-hero #lc-nav > a, .lc-hero summary { padding: 10px; }
  .lc-hero .lc-panel { position: static; grid-template-columns: 1fr; width: 100%; max-height: 48vh; overflow: auto; }
}
@media (max-width: 600px) {
  .lc-hero .lc-bar { width: 100%; background: #102342e8; padding: 10px 5%; }
  .lc-hero .lc-brand svg { width: 38px; }
  .lc-hero::before {
    background-position: center, 54% top;
  }
  .lc-hero .lc-copy {
    padding: 260px 6% 32px;
    background: linear-gradient(to bottom, transparent 180px, rgba(12,32,57,.9) 280px),
                url("../img/bg/livercare-hero.webp") 85% top / auto 280px no-repeat;
  }
  .lc-hero .lc-copy h1 { font-size: clamp(30px,7.5vw,38px); }
  .lc-hero .lc-name { margin: 22px 0 16px; }
}

/* Four treatment links complete the first desktop screen. Content can grow
   naturally on compact viewports and when visitors increase their text size. */
.lc-hero .lc-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(12px, 1.3vw, 24px);
  padding: clamp(14px, 1.6vw, 28px) 4%;
  background: transparent;
}
.lc-hero .lc-card {
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  align-items: center;
  gap: 6px 12px;
  padding: clamp(15px, 1.4vw, 24px);
  background: rgba(255,255,255,.83);
  border: 1px solid rgba(255,255,255,.65);
  color: #112943;
  border-radius: 16px;
}
.lc-hero .lc-card svg {
  box-sizing: content-box;
  width: 24px;
  height: 24px;
  padding: 10px;
  color: #006e76;
  background: #e9f6f5;
  border-radius: 50%;
}
.lc-hero .lc-card strong, .lc-hero .lc-card small { grid-column: 1 / -1; }
.lc-hero .lc-card strong { margin-top: 5px; font-size: 18px; line-height: 1.25; }
.lc-hero .lc-card small { font-size: 15px; line-height: 1.45; color: #42586d; }
.lc-hero .lc-card:hover strong, .lc-hero .lc-card:focus-visible strong { text-decoration: underline; }
@media (min-width: 961px) {
  .lc-hero { display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; min-height: 100svh; }
  .lc-hero .lc-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(20px, 4vh, 48px) 7%; }
  .lc-hero .lc-name { margin: clamp(16px, 3vh, 32px) 0 16px; }
}
@media (max-width: 960px) { .lc-hero .lc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .lc-hero .lc-cards { grid-template-columns: 1fr; } }

/* Doctor profile copy */
.lc-hero .lc-clinic { display: inline-block; margin: 0 0 12px; padding: 4px 12px; border: 1px solid #ffffff78; border-radius: 6px; font-size: 18px; }
.lc-hero .lc-specialty { margin: 10px 0; color: white; font: 600 clamp(19px,1.65vw,27px)/1.25 Roboto,Arial,sans-serif; }
.lc-hero .lc-summary { max-width: 51ch; margin: 0 0 16px; font-size: 16px; }
.lc-hero .lc-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.lc-hero .lc-actions .lc-more { margin: 0; padding: 10px 18px; }
.lc-hero .lc-qualifications { margin: 14px 0 0; font-size: 16px; }
@media (min-width: 601px) {
  .lc-hero .lc-copy > * { max-width: min(53%, 720px); }
}
