/**
 * 武汉忠德心理医院 - 首页专用样式表
 * ===========================================
 * 作用：首页特有组件和布局样式
 * 引用：仅 index.php 引用
 * 依赖：需要先引用 style.css
 */

/* ===========================================
   0. 滚动动画效果
   =========================================== */

/* 动画基础类 */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* 从下方淡入 */
.animate-on-scroll.fade-up {
  transform: translateY(30px);
}

/* 从左侧淡入 */
.animate-on-scroll.fade-left {
  transform: translateX(-30px);
}

/* 从右侧淡入 */
.animate-on-scroll.fade-right {
  transform: translateX(30px);
}

/* 缩放淡入 */
.animate-on-scroll.fade-scale {
  transform: scale(0.9);
}

/* 显示状态 */
.animate-on-scroll.show {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* 延迟类 */
.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

/* ===========================================
   1. 首页基础
   =========================================== */
.home {
  padding-top: 0;
}

/* ===========================================
   2. 首页 Banner（全屏视频背景）
   =========================================== */
.banner {
  position: relative;
  height: 780px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--site-header-height);
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.banner-video {
  position: absolute;
  top: var(--site-header-height);
  left: 0;
  width: 100%;
  height: calc(100% - var(--site-header-height));
  z-index: 0;
}

.banner-video video,
.banner-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-fallback {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.video-fallback img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: var(--site-header-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.banner-content {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.banner-content h1 {
  font-size: 80px;
  margin-bottom: 20px;
  font-weight: 400;
  letter-spacing: 8px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.banner-content p {
  font-size: 24px;
  margin-bottom: 40px;
  color: rgba(255,255,255,0.95);
  line-height: 1.8;
}

/* 首页搜索框 */
.search-box {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  border-radius: 50px;
  padding: 5px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
}

.search-box input {
  flex: 1;
  padding: 15px 25px;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 16px;
  outline: none;
}

.search-box input::placeholder {
  color: rgba(255,255,255,0.7);
}

.search-box button {
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 18px;
}

.search-box button:hover {
  background: rgba(255,255,255,0.5);
}

/* ===========================================
   2.5 医院核心事实
   =========================================== */
.core-facts-bar {
  background: linear-gradient(135deg, #f8fafb 0%, #eef4f5 100%);
  padding: 40px 0;
}

.core-facts-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 24px;
}

.core-fact-item {
  text-align: center;
  padding: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.core-fact-item strong {
  display: block;
  font-size: 36px;
  color: var(--primary-600);
  line-height: 1;
  margin-bottom: 8px;
}

.core-fact-item span {
  font-size: 14px;
  color: #5f6368;
}

.core-facts-text {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  color: #4a4a4a;
  line-height: 1.8;
  font-size: 15px;
}

@media (max-width: 768px) {
  .core-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .core-fact-item strong {
    font-size: 28px;
  }
}

/* ===========================================
   3. 视野观察区域 (Insights) - 模仿安杰世泽
   =========================================== */
.insights-section {
  background-color: #fdfdfd;
  padding: 60px 0;
}

.insights-section .section-title-wrap {
  position: relative;
  padding-right: 150px;
}

.section-more-link {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--primary-200);
  border-radius: 6px;
  color: var(--primary-600);
  background: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  box-shadow: 0 6px 18px rgba(18, 58, 74, 0.06);
  transition: all 0.2s ease;
}

.section-more-link:hover {
  color: #fff;
  background: var(--primary-600);
  border-color: var(--primary-600);
  box-shadow: 0 8px 22px rgba(43, 143, 163, 0.2);
}

.section-more-link i {
  font-size: 12px;
}

.insights-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.insight-card {
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.insight-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.insight-link {
  display: flex;
  text-decoration: none;
  color: inherit;
}

.insight-image {
  flex: 0 0 auto;
  width: 360px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.insight-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}



.insight-content {
  flex: 1;
  padding: 24px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
}

.insight-title {
  font-size: 20px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 12px;
  line-height: 1.5;
  transition: color 0.3s;
  font-family: var(--font-sans);
}

.insight-card:hover .insight-title {
  color: var(--primary-600);
}

.insight-summary {
  font-size: 16px;
  font-weight: 400;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-sans);
}

.insight-meta-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
}

.insight-meta {
  font-size: 14px;
  font-weight: 400;
  color: #999999;
  font-family: var(--font-sans);
}

.insight-arrow {
  color: var(--primary-600);
  font-size: 16px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ===========================================
   4. 最新动态区域 (Newest)
   =========================================== */
.newest-section {
  background-color: #ffffff;
  padding: 60px 0;
}

.newest-grid-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.newest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  flex: 1;
}

.newest-card {
  background-color: #f9f9f9;
  transition: background-color 0.3s ease;
}

.newest-card:hover {
  background-color: #e2e2e2;
}

.newest-link {
  text-decoration: none;
  color: inherit;
  display: block;
  height: 100%;
}

.newest-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.newest-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



.newest-content {
  padding: 24px;
}

.newest-title {
  font-size: 18px;
  font-weight: 500;
  color: #000000;
  margin-bottom: 20px;
  line-height: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.newest-date {
  font-size: 14px;
  color: #999999;
}

/* ===========================================
   5. 孟子引言区域
   =========================================== */
.excellence-section {
  padding-top: 140px;
  padding-bottom: 100px;
  background: #fdfdfd;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mencius-quote {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  color: #1a1a1a;
}

.quote-row {
  display: flex;
  gap: 30px;
  font-size: 56px;
  font-weight: 700;
  letter-spacing: 4px;
  line-height: 1.2;
}

.row-1 {
  align-self: flex-start;
}

.row-2 {
  align-self: flex-start;
  margin-left: 120px;
}

.row-3 {
  align-self: flex-end;
  font-size: 32px;
  font-weight: 500;
  margin-top: 20px;
  margin-right: 0;
}

/* ===========================================
   6. 加入我们 & 办公机构
   =========================================== */
.blocks-section {
  padding-bottom: 80px;
  background-color: #fdfdfd;
}

.blocks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.block-card {
  display: flex;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

/* 装饰圆弧线 */
.bg-decoration {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100%;
  pointer-events: none;
  background-image: radial-gradient(circle at 50% 120%, transparent 65%, rgba(0, 0, 0, 0.015) 66%, rgba(0, 0, 0, 0.015) 68%, transparent 69%),
                    radial-gradient(circle at 50% 120%, transparent 70%, rgba(0, 0, 0, 0.015) 71%, rgba(0, 0, 0, 0.015) 73%, transparent 74%),
                    radial-gradient(circle at 50% 120%, transparent 75%, rgba(0, 0, 0, 0.015) 76%, rgba(0, 0, 0, 0.015) 78%, transparent 79%);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  z-index: 0;
}

.join-us-card .bg-decoration {
  left: 0;
  right: 50%;
}

.offices-card .bg-decoration {
  left: 50%;
  right: 0;
}

.block-content {
  flex: 0 0 50%;
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  align-items: flex-start;
  background: #fff;
}

.block-image {
  flex: 0 0 50%;
  position: relative;
}

.block-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}



.block-desc {
  font-size: 16px;
  color: #666666;
  margin-bottom: 40px;
}

/* ===========================================
   7. 响应式适配
   =========================================== */
@media (max-width: 1024px) {
  /* Banner */
  .banner-content h1 {
    font-size: 42px;
    letter-spacing: 5px;
  }

  /* Insights */
  .insight-link {
    flex-direction: column;
  }
  .insight-image {
    flex: none;
    width: 100%;
    height: 200px;
  }
  .insight-content {
    padding: 20px 24px;
  }
  .insight-title {
    font-size: 16px;
  }
  .insight-summary {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }

  /* Newest */
  .newest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .newest-card:nth-child(3) {
    display: none;
  }

  /* Blocks */
  .block-card {
    flex-direction: column;
  }
  .offices-card {
    flex-direction: column-reverse;
  }

  /* Quote */
  .quote-row {
    font-size: 42px;
    gap: 20px;
  }
  .row-2 {
    margin-left: 60px;
  }
  .row-3 {
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  /* Banner */
  .banner {
    height: 100vh;
  }
  .banner-content h1 {
    font-size: 36px;
    letter-spacing: 5px;
  }
  .banner-content p {
    font-size: 16px;
  }
  .search-box {
    max-width: 90%;
  }

  .insights-section .section-title-wrap {
    padding-right: 0;
    flex-wrap: wrap;
  }
  .section-more-link {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  /* Newest */
  .newest-grid {
    grid-template-columns: 1fr;
  }
  .newest-card:nth-child(2) {
    display: none;
  }

  /* Quote */
  .quote-row {
    font-size: 28px;
    gap: 15px;
    letter-spacing: 2px;
  }
  .row-2 {
    margin-left: 40px;
  }
  .row-3 {
    font-size: 20px;
    margin-top: 10px;
  }

  /* Blocks */
  .block-title {
    font-size: 28px;
  }
}

@media (max-width: 480px) {
  .banner-content h1 {
    font-size: 28px;
    letter-spacing: 3px;
  }
  .search-box input {
    padding: 12px 20px;
    font-size: 14px;
  }
  .search-box button {
    width: 44px;
    height: 44px;
  }
}

/* 修复首页搜索框输入/自动填充时的浏览器默认背景色 */
.search-box input,
.search-box input:focus,
.search-box input:active {
  background: transparent !important;
  color: #fff;
  box-shadow: none !important;
  outline: none;
}

.search-box input:-webkit-autofill,
.search-box input:-webkit-autofill:hover,
.search-box input:-webkit-autofill:focus,
.search-box input:-webkit-autofill:active {
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
  box-shadow: 0 0 0 1000px rgba(255,255,255,0.18) inset !important;
  transition: background-color 9999s ease-out 0s;
}

/* 核心事实区：独立排版优化 */
.core-facts-bar {
  background: linear-gradient(180deg, #f3f8f9 0%, #edf5f6 100%);
  padding: 34px 0 54px;
}

.core-facts-bar .container {
  max-width: 1320px;
  padding: 28px 42px 30px;
  background: rgba(255,255,255,0.82);
  border: 1px solid rgba(43,143,163,0.12);
  border-radius: 8px;
  box-shadow: 0 16px 42px rgba(21,74,89,0.08);
}

.core-facts-summary p {
  max-width: 1040px;
  margin: 0 auto 24px;
  color: #1d3340;
  font-size: 16px;
  line-height: 1.9;
  text-align: center;
}

.core-facts-label {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  margin-right: 10px;
  border-radius: 999px;
  background: rgba(43,143,163,0.1);
  color: var(--primary-700);
  font-size: 13px;
  font-weight: 700;
  vertical-align: 1px;
}

.core-facts-summary strong {
  color: #0f4d61;
  font-weight: 800;
}

.core-facts-grid {
  gap: 18px;
  margin: 0 auto 22px;
  max-width: 1180px;
}

.core-fact-item {
  min-height: 112px;
  padding: 22px 16px 18px;
  border: 1px solid #e6eef1;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdfd 100%);
  box-shadow: 0 8px 24px rgba(19,64,78,0.06);
}

.core-fact-item strong {
  font-size: 34px;
  color: #218fa2;
  letter-spacing: 0;
  margin-bottom: 10px;
}

.core-fact-item span {
  color: #41545d;
  font-size: 14px;
  font-weight: 500;
}

.core-facts-text {
  max-width: 820px;
  margin: 0 auto;
  padding-top: 20px;
  border-top: 1px solid rgba(43,143,163,0.13);
  color: #566973;
  font-size: 15px;
  line-height: 1.8;
  text-align: center;
}

@media (max-width: 768px) {
  .core-facts-bar .container {
    padding: 24px 20px 26px;
  }
  .core-facts-summary p {
    text-align: left;
    font-size: 15px;
  }
  .core-facts-grid {
    gap: 12px;
  }
  .core-fact-item {
    min-height: 100px;
  }
}


/* 首页内容资料要求：3-5 张主视觉横幅 */
.home-hero {
  height: 780px;
  isolation: isolate;
}

.banner-slider,
.banner-slide {
  position: absolute;
  top: var(--site-header-height);
  left: 0;
  width: 100%;
  height: calc(100% - var(--site-header-height));
  z-index: 0;
}

.banner-slide {
  opacity: 0;
  animation: homeBannerFade 24s infinite;
}

.banner-slide-1 { animation-delay: 0s; }
.banner-slide-2 { animation-delay: 6s; }
.banner-slide-3 { animation-delay: 12s; }
.banner-slide-4 { animation-delay: 18s; }

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  animation: homeBannerZoom 24s infinite;
}

@keyframes homeBannerFade {
  0%, 20% { opacity: 1; }
  25%, 95% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes homeBannerZoom {
  0% { transform: scale(1.03); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1.03); }
}

.banner-kicker {
  display: inline-block;
  margin-bottom: 16px;
  color: rgba(255,255,255,0.88);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.banner-promo {
  max-width: 760px;
  margin: -18px auto 26px;
  color: rgba(255,255,255,0.92);
  font-size: 18px;
  line-height: 1.8;
}

.banner-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 28px;
}

.banner-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 118px;
  height: 42px;
  padding: 0 20px;
  border: 1px solid rgba(255,255,255,0.68);
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.1);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  backdrop-filter: blur(8px);
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.banner-action.primary,
.banner-action:hover {
  background: var(--primary-600);
  border-color: var(--primary-600);
}

.banner-action:hover {
  transform: translateY(-1px);
}

.banner-dots {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 42px;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.banner-dots span {
  width: 26px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255,255,255,0.45);
}

/* 首页内容资料要求：快捷入口排序 */
.quick-access-section {
  background: #fff;
  padding: 34px 0 58px;
}

.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.quick-entry {
  display: flex;
  min-height: 156px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: 24px 22px;
  border: 1px solid #e3edf0;
  border-radius: 8px;
  background: linear-gradient(180deg, #fff 0%, #f8fbfc 100%);
  color: #172f3a;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(20, 70, 86, 0.05);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.quick-entry:hover {
  transform: translateY(-3px);
  border-color: rgba(43,143,163,0.35);
  box-shadow: 0 14px 34px rgba(20,70,86,0.1);
}

.quick-entry i {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(43,143,163,0.1);
  color: var(--primary-700);
  font-size: 18px;
}

.quick-entry strong {
  font-size: 18px;
  line-height: 1.3;
}

.quick-entry span {
  color: #5d7078;
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 1180px) {
  .quick-access-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 38px;
    letter-spacing: 2px;
  }
  .banner-promo {
    font-size: 15px;
    margin-top: -20px;
  }
  .banner-actions {
    flex-wrap: wrap;
  }
  .quick-access-grid {
    grid-template-columns: 1fr;
  }
  .quick-entry {
    min-height: auto;
  }
}


/* 主视觉轮播升级：左右滑动切换，替代淡入淡出 */
.home-hero .banner-slide {
  opacity: 0;
  transform: translateX(100%) scale(1.035);
  animation-duration: 28s;
  animation-timing-function: cubic-bezier(.76, 0, .24, 1);
  animation-iteration-count: infinite;
  will-change: transform, opacity;
}

.home-hero .banner-slide-1,
.home-hero .banner-slide-3 {
  animation-name: heroSlideLeftStrong;
}

.home-hero .banner-slide-2,
.home-hero .banner-slide-4 {
  animation-name: heroSlideRightStrong;
}

.home-hero .banner-slide-1 { animation-delay: 0s; }
.home-hero .banner-slide-2 { animation-delay: 7s; }
.home-hero .banner-slide-3 { animation-delay: 14s; }
.home-hero .banner-slide-4 { animation-delay: 21s; }

.home-hero .banner-slide img {
  animation: heroImageDrift 28s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes heroSlideLeftStrong {
  0% { opacity: 0; transform: translateX(100%) scale(1.045); }
  4%, 21% { opacity: 1; transform: translateX(0) scale(1.01); }
  25% { opacity: 0; transform: translateX(-100%) scale(1.035); }
  100% { opacity: 0; transform: translateX(-100%) scale(1.035); }
}

@keyframes heroSlideRightStrong {
  0% { opacity: 0; transform: translateX(-100%) scale(1.045); }
  4%, 21% { opacity: 1; transform: translateX(0) scale(1.01); }
  25% { opacity: 0; transform: translateX(100%) scale(1.035); }
  100% { opacity: 0; transform: translateX(100%) scale(1.035); }
}

@keyframes heroImageDrift {
  0% { transform: scale(1.04) translateX(0); }
  50% { transform: scale(1.09) translateX(-1.5%); }
  100% { transform: scale(1.04) translateX(0); }
}

.home-hero .banner-dots span {
  position: relative;
  overflow: hidden;
}

.home-hero .banner-dots span::after {
  content: '';
  position: absolute;
  inset: 0;
  width: 0;
  background: #fff;
  animation: heroDotProgress 28s linear infinite;
}

.home-hero .banner-dots span:nth-child(1)::after { animation-delay: 0s; }
.home-hero .banner-dots span:nth-child(2)::after { animation-delay: 7s; }
.home-hero .banner-dots span:nth-child(3)::after { animation-delay: 14s; }
.home-hero .banner-dots span:nth-child(4)::after { animation-delay: 21s; }

@keyframes heroDotProgress {
  0%, 24.9% { width: 0; }
  4%, 21% { width: 100%; }
  25%, 100% { width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero .banner-slide,
  .home-hero .banner-slide img,
  .home-hero .banner-dots span::after {
    animation: none !important;
  }
  .home-hero .banner-slide-1 {
    opacity: 1;
    transform: none;
  }
}


/* 修复新版首页轮播：图片铺满 Banner 容器，不再沿用旧视频 top 偏移 */
.home-hero {
  padding-top: 0;
  background: #0f2f38;
}

.home-hero .banner-slider,
.home-hero .banner-slide {
  top: 0;
  height: 100%;
}

.home-hero .banner-overlay {
  top: 0;
}

.home-hero .banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
