/* Home page only; load after style.css */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #0f766e;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}
.hero__slide.hero__slide--active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgb(0 72 65 / 70%) 0%, rgb(33 37 36 / 85%) 100%);
  pointer-events: none;
}
.hero__content {
  z-index: 2;
  padding: 3rem 1.5rem;
  position: relative;
}
.hero__captions {
  position: relative;
  min-height: 200px;
  margin-bottom: 0.5rem;
}
.hero__caption {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  width: 100%;
  padding: 0 1.5rem;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}
.hero__caption--active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero__content--animate .hero__label,
.hero__content--animate .hero__title,
.hero__content--animate .hero__sub {
  animation: heroFadeIn 0.45s ease forwards;
}
.hero__content--animate .hero__label { animation-delay: 0.05s; opacity: 0; }
.hero__content--animate .hero__title { animation-delay: 0.1s; opacity: 0; }
.hero__content--animate .hero__sub { animation-delay: 0.16s; opacity: 0; }
@keyframes heroFadeIn {
  to { opacity: 1; }
}
.hero__cta { transition: transform 0.2s, box-shadow 0.2s; margin-top: 0.5rem; display: inline-block; }
.hero__cta:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2); }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.animate-in { animation: fadeInUp 0.7s ease backwards; }
.animate-in:nth-child(1) { animation-delay: 0.1s; }
.animate-in:nth-child(2) { animation-delay: 0.2s; }
.animate-in:nth-child(3) { animation-delay: 0.3s; }
.animate-in:nth-child(4) { animation-delay: 0.4s; }
.animate-in:nth-child(5) { animation-delay: 0.5s; }
.animate-in:nth-child(6) { animation-delay: 0.6s; }
.animate-in:nth-child(7) { animation-delay: 0.7s; }
.hero__label {
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.95;
}
.hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.2);
}
.hero__sub { max-width: 32rem; opacity: 0.95; }
.hero__nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.hero__nav:hover {
  background: rgba(255, 255, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.hero__nav--prev { left: 1rem; }
.hero__nav--next { right: 1rem; }
.hero__nav--prev::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}
.hero__nav--next::after {
  content: '';
  display: block;
  width: 12px;
  height: 12px;
  margin: 0 auto;
  border-right: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
}
.hero__dots {
  position: absolute;
  z-index: 3;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}
.hero__dot:hover { background: rgba(255, 255, 255, 0.7); transform: scale(1.15); }
.hero__dot.hero__dot--active {
  background: #fff;
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3); }
  50% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.15); }
}
.tracking { letter-spacing: 0.02em; }

.value-line { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }

.intro-p { font-size: 1.0625rem; }

.bento-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  color: var(--bs-primary);
}
.bento-card__img {
  overflow: hidden;
  background: #f1f5f9;
}
.bento-card__img img {
  transition: transform 0.4s ease;
  object-fit: contain;
  object-position: center;
}
.bento-card:hover .bento-card__img img { transform: scale(1.04); }

.object-fit-contain { object-fit: contain; object-position: center; }

.news-stack__item:hover { color: var(--bs-primary); }

/* Match scroll area height to Facebook embed column (data-height="500") */
:root {
  --home-news-fb-height: 500px;
}

@media (min-width: 992px) {
  .home-news-scroll {
    max-height: var(--home-news-fb-height);
    overflow-y: auto;
    overflow-x: hidden;
    min-height: 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-gutter: stable;
  }

  .home-fb-aside {
    height: var(--home-news-fb-height);
    min-height: 320px;
  }
}

.news-stack__body {
  display: block;
}

.news-stack__date {
  display: block;
}

.news-stack__title {
  display: block;
}

.news-stack__detail-row {
  display: block;
  width: 100%;
  text-align: right;
}

.news-stack__excerpt {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-base { letter-spacing: 0.06em; }
.home-about-strip {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.12), transparent 24%),
    radial-gradient(circle at 88% 78%, rgba(20, 184, 166, 0.12), transparent 22%),
    linear-gradient(180deg, #f8fafc 0%, #eefaf7 100%);
}

.home-about-shell {
  position: relative;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(15, 118, 110, 0.08) 0%, rgba(255, 255, 255, 0.96) 36%, rgba(236, 253, 245, 0.96) 100%);
  border: 1px solid rgba(13, 148, 136, 0.12);
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.08);
}

.home-about-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 40%),
    url('/img/home/page_about_capital_myanmar_back.png') center/cover no-repeat;
  opacity: 0.08;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.home-about-visual,
.home-about-content {
  position: relative;
  z-index: 1;
}

.home-about-visual {
  min-height: 100%;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.home-about-visual__main,
.home-about-visual__floating {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
}

.home-about-visual__main {
  width: min(100%, 360px);
  aspect-ratio: 4 / 5;
  min-height: 420px;
  transform: rotate(-4deg);
}

.home-about-visual__floating {
  position: absolute;
  width: 165px;
  height: 130px;
  animation: homeFloat 5.8s ease-in-out infinite;
}

.home-about-visual__floating--one {
  right: 0;
  top: 1.75rem;
  animation-delay: -1.2s;
  z-index: 2;
}

.home-about-visual__floating--two {
  left: 0;
  bottom: 1rem;
  animation-delay: -2.2s;
  z-index: 2;
}

.home-about-visual__floating--illustration {
  width: 180px;
  height: auto;
}

.home-about-visual__floating--landscape {
  width: 190px;
  height: 118px;
}

.home-about-visual__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.home-about-visual__img--contain {
  object-fit: contain;
  object-position: center;
  background: linear-gradient(180deg, #f8fafc 0%, #eefaf7 100%);
  padding: 0.1rem;
}

.home-about-content {
  padding: 2.5rem 2rem 2.5rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
}

.home-about-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bs-primary);
}

.home-about-title {
  font-size: clamp(1.8rem, 3vw, 3rem);
  font-weight: 700;
  color: #0f172a;
  line-height: 1.08;
}

.home-about-text {
  font-size: 1.02rem;
  line-height: 1.8;
  color: #475569;
  max-width: 58ch;
}

.home-about-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.home-about-point {
  min-width: 120px;
  padding: 0.95rem 1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
}

.home-about-point__num {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f766e;
}

.home-about-point__label {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: #64748b;
}

.home-about-btn {
  align-self: flex-start;
  box-shadow: 0 12px 24px rgba(13, 148, 136, 0.2);
}

.home-about-strip .btn-primary:hover { background: #0f766e; color: #fff; }

@keyframes homeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (max-width: 991.98px) {
  .home-about-content {
    padding: 1.25rem 1.5rem 2rem;
  }

  .home-about-visual {
    min-height: 460px;
  }
}

@media (max-width: 767.98px) {
  .home-about-shell {
    border-radius: 24px;
  }

  .home-about-visual {
    min-height: 400px;
    padding: 1.25rem;
  }

  .home-about-visual__main {
    min-height: 280px;
    width: min(100%, 300px);
    transform: none;
  }

  .home-about-visual__floating {
    width: 116px;
    height: 86px;
  }

  .home-about-visual__floating--one {
    top: 0.75rem;
    right: 0;
  }

  .home-about-visual__floating--two {
    left: 0;
    bottom: 0.5rem;
  }

  .home-about-visual__floating--illustration {
    width: 130px;
    height: auto;
  }

  .home-about-visual__floating--landscape {
    width: 132px;
    height: 82px;
  }
}
