/* COALESIA homepage entry · 2026-09-14. Scoped to the new first screen. */
body.coalesia-brand-env.home-focused .home-entry {
  padding: 48px 0 44px;
  background: #f1f5f3;
}
.home-entry .home-entry__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  column-gap: 52px;
  row-gap: 0;
  align-items: start;
}
.home-entry .home-entry__intro { grid-column: 1; grid-row: 1; min-width: 0; }
.home-entry .home-entry__eyebrow {
  margin: 0 0 18px;
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .14em;
  text-transform: uppercase;
}
body.coalesia-brand-env.home-focused .home-entry h1.home-entry__title {
  margin: 0;
  font-family: var(--sans);
  font-size: clamp(30px, 2.7vw, 38px);
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -.025em;
  overflow-wrap: normal;
  word-break: normal;
  text-wrap: pretty;
}
.home-entry .home-entry__description {
  margin: 20px 0 0;
  color: #52645c;
  font-size: 17px;
  line-height: 1.6;
}
.home-entry .home-entry__patient {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  padding-top: 24px;
}
.home-entry .home-entry__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px 20px;
}
body.coalesia-brand-env .home-entry .home-entry__start {
  min-height: 48px;
  padding: 12px 24px;
  gap: 14px;
  font-size: 16px;
}
.home-entry .home-entry__contacts {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-entry .home-entry__whatsapp {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  color: var(--green);
  background: #fff;
  border: 1px solid #b7cec3;
  border-radius: 50%;
}
.home-entry .home-entry__whatsapp svg { width: 23px; height: 23px; }
.home-entry .home-entry__phone {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 650;
  color: var(--green-dark);
  white-space: nowrap;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: #aec5ba;
}
.home-entry .home-entry__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid #ccdcd3;
}
.home-entry .home-entry__facts > div { min-width: 0; }
.home-entry .home-entry__facts dt {
  color: #61736a;
  font-size: 12px;
  line-height: 1.4;
  margin: 0 0 5px;
}
.home-entry .home-entry__facts dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: #29493b;
}
.home-entry .home-entry__visual {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  min-width: 0;
}
.home-entry .home-entry__visual img,
.home-consultation-visual img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1376 / 768;
  object-fit: cover;
  border-radius: 18px;
}
.home-entry .home-entry__visual figcaption,
.home-consultation-visual figcaption {
  margin: 10px 2px 0;
  font-size: 12px;
  color: #61736a;
}
.home-consultation-visual { display: none; margin: 0; min-width: 0; }
.home-entry a:hover { text-decoration-color: currentColor; }
.home-entry .home-entry__whatsapp:hover { background: #e7f0ec; }
.home-entry a:focus-visible { outline: 3px solid #165b82; outline-offset: 4px; }
@media (min-width: 951px) {
  body.coalesia-brand-env.home-focused .footer-grid { grid-template-columns: 1.5fr repeat(3, minmax(0, 1fr)); }
  /* Equal content slots keep actions aligned across KA/RU/EN; content may grow. */
  .home-entry .home-entry__eyebrow { min-height: 18px; }
  body.coalesia-brand-env.home-focused .home-entry h1.home-entry__title { min-height: 4.88em; }
  .home-entry .home-entry__description { min-height: 6.4em; }
}
@media (max-width: 1100px) and (min-width: 951px) {
  .home-entry .home-entry__grid { column-gap: 32px; }
  .home-entry .home-entry__actions { display: grid; justify-items: start; gap: 8px; }
}
@media (max-width: 950px) {
  body.coalesia-brand-env.home-focused .home-entry { padding: 32px 0; }
  .home-entry .home-entry__grid { grid-template-columns: minmax(0, 1fr); }
  .home-entry .home-entry__intro { grid-column: 1; grid-row: 1; }
  .home-entry .home-entry__patient { grid-column: 1; grid-row: 2; padding-top: 22px; }
  .home-entry .home-entry__visual { display: none; }
  .home-consultation-visual { display: block; margin-bottom: 28px; }
  .home-entry .home-entry__eyebrow { margin-bottom: 14px; }
  body.coalesia-brand-env.home-focused .home-entry h1.home-entry__title { font-size: clamp(27px, 4.5vw, 38px); }
  .home-entry .home-entry__description { margin-top: 16px; font-size: 16px; }
}
@media (max-width: 480px) {
  body.coalesia-brand-env.home-focused .home-entry { padding: 28px 0; }
  .home-entry .home-entry__eyebrow { font-size: 11px; letter-spacing: .10em; }
  .home-entry .home-entry__actions { gap: 8px 16px; }
  body.coalesia-brand-env .home-entry .home-entry__start { width: 100%; }
  .home-entry .home-entry__contacts { width: 100%; }
  .home-entry .home-entry__facts { margin-top: 16px; gap: 12px; }
  .home-entry .home-entry__facts dd { font-size: 13px; }
  .home-entry .home-entry__visual img,
  .home-consultation-visual img { border-radius: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html:has(.home-entry) { scroll-behavior: auto; }
}

/* Compact physician access in the homepage header. */
body.coalesia-brand-env.home-focused > header .physician-menu {
  position: relative;
  flex: 0 0 auto;
  margin: 0;
}
body.coalesia-brand-env.home-focused > header .physician-menu > summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid #b7cec3;
  border-radius: 8px;
  background: #fff;
  color: var(--green-dark);
  font: 600 13px/1.2 var(--sans);
  white-space: nowrap;
  list-style: none;
  cursor: pointer;
}
.physician-menu > summary::-webkit-details-marker { display: none; }
.physician-menu > summary::marker { content: ''; }
.physician-menu > summary svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.physician-menu[open] > summary svg { transform: rotate(180deg); }
body.coalesia-brand-env.home-focused > header .physician-menu > summary:hover,
body.coalesia-brand-env.home-focused > header .physician-menu[open] > summary { background: #e7f0ec; }
.physician-menu .physician-menu__links {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 60;
  width: max-content;
  min-width: 190px;
  max-width: calc(100vw - 24px);
  padding: 5px;
  border: 1px solid #cdded5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 63, 54, .16);
}
.physician-menu:not([open]) .physician-menu__links { display: none; }
.physician-menu .physician-menu__links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--green-dark);
  font: 600 14px/1.4 var(--sans);
  text-decoration: none;
}
.physician-menu .physician-menu__links a:hover { background: #e7f0ec; }
.physician-menu :is(summary, a):focus-visible { outline: 3px solid #165b82; outline-offset: 2px; }
@media (max-width: 680px) {
  body.coalesia-brand-env.home-focused > header nav {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    height: 60px;
    min-height: 60px;
    padding-block: 0;
  }
  body.coalesia-brand-env.home-focused > header .coalesia-header-logo {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
  }
  body.coalesia-brand-env.home-focused > header .coalesia-header-logo img {
    width: 136px;
    max-width: 100%;
  }
  body.coalesia-brand-env.home-focused > header .physician-menu { grid-column: 2; grid-row: 1; }
  body.coalesia-brand-env.home-focused > header .langs { grid-column: 3; grid-row: 1; }
  body.coalesia-brand-env.home-focused > header .physician-menu > summary { padding-inline: 9px; gap: 5px; }
}
