/* MedCore homepage refinement. Shared product and recruitment pages are unchanged. */
.medcore-home {
  --header-height: 72px;
}

/* A quieter header leaves more room for the product. */
.medcore-home .header-inner { min-height: 71px; gap: 24px; }
.medcore-home .site-header .brand-cross { width: 38px; height: 36px; }
.medcore-home .site-header .brand-wordmark { width: 180px; }
.medcore-home .main-nav { gap: 24px; }
.medcore-home .main-nav > a:not(.button) { min-height: 44px; }
.medcore-home .vet-trigger,
.medcore-home .menu-toggle { min-height: 44px; }
.medcore-home .vet-trigger { padding: 7px 12px; }
.medcore-home .vet-trigger img { width: 112px; height: 28px; }

/* Keep the commitment and deadline next to the introductory offer. */
.medcore-home .campaign-top-inner { gap: 24px; padding-block: 14px; }
.medcore-home .campaign-top-copy { flex: 1; gap: 7px; }
.medcore-home .campaign-top-headline {
  display: flex; align-items: center; flex-wrap: wrap; gap: 7px 20px;
}
.medcore-home .campaign-top-label { font-size: 10px; letter-spacing: .1em; }
.medcore-home .campaign-top-offer { font-size: 23px; gap: 4px 9px; line-height: 1.2; }
.medcore-home .campaign-top-offer .campaign-plus { font-size: 18px; }
.medcore-home .campaign-top-facts {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 3px 16px;
}
.medcore-home .campaign-top-benefits,
.medcore-home .campaign-top-deadline { font-size: 11px; line-height: 1.55; }
.medcore-home .campaign-top-action {
  min-height: 44px; padding: 9px 14px; gap: 12px; font-size: 12px;
}

/* Two clear starting points, with the video as a secondary action. */
.medcore-home .hero-grid {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 48px; align-items: center;
}
.medcore-home .hero-copy { padding-block: 48px; }
.medcore-home .hero h1 { font-size: 60px; line-height: 1.12; margin-top: 20px; }
.medcore-home .hero h1 em { font-size: 68px; line-height: 1.2; }
.medcore-home .hero-description { font-size: 16px; line-height: 1.75; margin-top: 22px; }
.medcore-home .hero-actions { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 26px; }
.medcore-home .hero-actions .button { min-height: 50px; padding: 13px 18px; gap: 14px; }
.medcore-home .hero-actions .mc-video-jump {
  flex-basis: 100%; width: fit-content; min-height: 44px;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; text-decoration: none;
}
.medcore-home .hero-actions .mc-video-jump:hover { text-decoration: underline; }
.medcore-home .hero-small { margin-top: 10px; line-height: 1.65; }
.medcore-home .hero-small .review-note { padding-left: 0; }
.medcore-home .hero-product { margin-block: 30px; padding-top: 24px; }
.medcore-home .product-proof { margin-top: 16px; }
.medcore-home .audience-strip { padding-block: 18px; min-height: 62px; }

/* Product proof comes first; repeated sections use a consistent rhythm. */
.medcore-home .solutions,
.medcore-home .workspace-section,
.medcore-home .mc-video-section,
.medcore-home .team-section { padding-block: 52px; }
.medcore-home .section-heading h2 { margin-top: 16px; }
.medcore-home .solution-grid { margin-top: 28px; }
.medcore-home .solution-card { min-height: 290px; }
.medcore-home .gallery-intro { margin-bottom: 20px; }
.medcore-home .gallery-tabs { margin-top: 24px; }
.medcore-home .team-grid { margin-top: 32px; gap: 24px; }
.medcore-home .team-portrait { width: min(100%, 210px); }
.medcore-home .team-purpose { margin-top: 44px; padding-top: 40px; }

/* Preserve both video formats without cropping either recording. */
.medcore-home .mc-video-grid { align-items: start; gap: 24px; }
.medcore-home .mc-video-card { padding: 22px; }
.medcore-home .mc-video-card h3 { font-size: 23px; }
.medcore-home .mc-video-card > p:first-of-type { min-height: 50px; }
.medcore-home .mc-video-card .mc-intro-video,
.medcore-home .mc-video-card .mc-setup-video {
  width: 100%; height: 360px; max-height: none; aspect-ratio: auto;
  object-fit: contain; background: #123f35;
}
.medcore-home .mc-video-card .mc-video-note { padding: 14px; font-size: 13px; }

@media (max-width: 1180px) {
  .medcore-home .header-inner { gap: 18px; }
  .medcore-home .main-nav { gap: 18px; }
  .medcore-home .hero-grid { gap: 32px; }
  .medcore-home .hero h1 { font-size: 52px; }
  .medcore-home .hero h1 em { font-size: 60px; }
  .medcore-home .campaign-top-headline { gap: 5px 14px; }
  .medcore-home .campaign-top-offer { font-size: 21px; }
}

@media (max-width: 1080px) {
  .medcore-home { --header-height: 64px; }
  .medcore-home .header-inner { min-height: 63px; gap: 10px; }
  .medcore-home .main-nav { gap: 0; }
  .medcore-home .menu-toggle { width: 44px; height: 44px; }
  .medcore-home .campaign-top-inner { gap: 16px; }
  .medcore-home .campaign-top-label { font-size: 9px; }
  .medcore-home .hero-actions .button { font-size: 13px; padding-inline: 15px; }
}

@media (max-width: 800px) {
  .medcore-home .site-header .brand-cross { width: 30px; height: 30px; }
  .medcore-home .site-header .brand-wordmark { width: 135px; }
  .medcore-home .vet-trigger { min-height: 44px; padding: 7px 9px; }
  .medcore-home .vet-trigger img { width: 96px; height: 24px; }
  .medcore-home .vet-popover { top: 72px; }
  .medcore-home .campaign-top-inner {
    flex-direction: row; flex-wrap: wrap; gap: 5px; padding-block: 12px;
  }
  .medcore-home .campaign-top-copy { flex-basis: 100%; gap: 6px; }
  .medcore-home .campaign-top-headline { gap: 5px 12px; }
  .medcore-home .campaign-top-label { font-size: 9px; line-height: 1.4; }
  .medcore-home .campaign-top-offer { font-size: 22px; line-height: 1.2; }
  .medcore-home .campaign-top-facts { display: grid; gap: 3px; }
  .medcore-home .campaign-top-benefits,
  .medcore-home .campaign-top-deadline { font-size: 11px; line-height: 1.45; }
  .medcore-home .campaign-top-action {
    border: 0; padding: 6px 0; min-height: 44px; border-radius: 0;
    text-decoration: underline; text-underline-offset: 3px;
  }
  .medcore-home .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .medcore-home .hero-copy { padding: 34px 0 0; }
  .medcore-home .hero h1 { font-size: 50px; line-height: 1.13; margin-top: 18px; }
  .medcore-home .hero h1 em { font-size: 59px; line-height: 1.2; }
  .medcore-home .hero-description { margin-top: 20px; font-size: 16px; }
  .medcore-home .hero-actions { margin-top: 22px; gap: 8px 12px; }
  .medcore-home .hero-actions .button { font-size: 14px; min-width: 0; }
  .medcore-home .hero-small { margin-top: 6px; font-size: 12px; }
  .medcore-home .hero-product { margin: 28px 0 34px; }
  .medcore-home .solutions,
  .medcore-home .workspace-section,
  .medcore-home .mc-video-section,
  .medcore-home .team-section { padding-block: 36px; }
  .medcore-home .solution-card { min-height: 0; }
  .medcore-home .team-grid { gap: 20px; margin-top: 28px; }
  .medcore-home .team-purpose { margin-top: 32px; padding-top: 32px; }
  .medcore-home .mc-video-heading { margin-bottom: 24px; }
  .medcore-home .mc-video-grid { grid-template-columns: 1fr; gap: 20px; }
  .medcore-home .mc-video-card { padding: 20px; }
  .medcore-home .mc-video-card > p:first-of-type { min-height: 0; }
  .medcore-home .mc-video-card .mc-intro-video,
  .medcore-home .mc-video-card .mc-setup-video { height: 340px; }
}

@media (max-width: 520px) {
  .medcore-home .site-header .brand-cross { width: 27px; height: 27px; }
  .medcore-home .site-header .brand-wordmark { width: 112px; }
  .medcore-home .header-inner { gap: 9px; }
  .medcore-home .vet-trigger { padding-inline: 6px; }
  .medcore-home .vet-trigger img { width: 87px; }
  .medcore-home .campaign-top-offer { font-size: 21px; gap: 4px 7px; }
  .medcore-home .hero h1 { font-size: 44px; }
  .medcore-home .hero h1 em { font-size: 53px; }
  .medcore-home .hero-actions { flex-direction: row; }
  .medcore-home .hero-actions .button { width: 100%; padding-inline: 18px; }
  .medcore-home .hero-actions .mc-video-jump { justify-content: center; }
  .medcore-home .mc-video-card .mc-intro-video,
  .medcore-home .mc-video-card .mc-setup-video { height: 300px; }
}

@media (max-width: 360px) {
  .medcore-home .site-header .brand-wordmark { width: 88px; }
  .medcore-home .site-header .brand-cross { width: 25px; height: 25px; }
  .medcore-home .vet-trigger img { width: 70px; }
  .medcore-home .campaign-top-offer { font-size: 18px; gap: 4px 6px; }
  .medcore-home .hero h1 { font-size: 39px; }
  .medcore-home .hero h1 em { font-size: 49px; }
}
