.home-page {
  padding-bottom: 0.5rem;
}

/* —— Hero —— */
.home-hero-wrap {
  --home-hero-height: 13rem;
  position: relative;
  width: 100%;
  height: var(--home-hero-height);
  margin-top: 0.75rem;
  border-radius: 1.25rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgb(22 163 74 / 0.18);
}

@media (min-width: 768px) {
  .home-hero-wrap {
    --home-hero-height: 16rem;
    border-radius: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .home-hero-wrap {
    --home-hero-height: 18.5rem;
  }
}

.home-hero-wrap .home-hero,
.home-hero-wrap .home-hero.swiper,
.home-hero-wrap .home-hero .swiper-wrapper,
.home-hero-wrap .home-hero .swiper-slide,
.home-hero-wrap .home-hero__slide {
  width: 100%;
  height: 100%;
}

.home-hero-wrap .home-hero {
  position: absolute;
  inset: 0;
  padding: 0 !important;
  border-radius: 0;
  overflow: hidden;
}

.home-hero-wrap .home-hero .swiper-slide {
  display: block;
  overflow: hidden;
}

.home-hero__slide {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-hero__img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgb(0 0 0 / 0.72) 0%,
    rgb(0 0 0 / 0.35) 45%,
    rgb(22 101 52 / 0.25) 100%
  );
}

.home-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0.75rem 1rem 0.85rem;
  color: #fff;
  z-index: 2;
}

@media (min-width: 768px) {
  .home-hero__content {
    justify-content: center;
    padding: 0.85rem 1.25rem;
    max-width: 34rem;
  }
}

.home-hero__badge {
  display: inline-block;
  width: fit-content;
  margin-bottom: 0.5rem;
  padding: 0.2rem 0.65rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  background: rgb(255 255 255 / 0.15);
  border: 1px solid rgb(255 255 255 / 0.25);
  border-radius: 9999px;
  backdrop-filter: blur(6px);
}

.home-hero__title {
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
  text-shadow: 0 2px 12px rgb(0 0 0 / 0.35);
}

@media (min-width: 768px) {
  .home-hero__title {
    font-size: 1.55rem;
  }
}

@media (min-width: 1024px) {
  .home-hero__title {
    font-size: 1.75rem;
  }
}

.home-hero__subtitle {
  margin-top: 0.35rem;
  max-width: 28rem;
  overflow: hidden;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgb(255 255 255 / 0.88);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

@media (min-width: 768px) {
  .home-hero__subtitle {
    font-size: 1rem;
  }
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 500;
  border-radius: 0.65rem;
  transition: transform 0.15s, background 0.15s, box-shadow 0.15s;
}

.home-hero__cta svg {
  width: 1rem;
  height: 1rem;
}

.home-hero__cta--primary {
  background: rgb(22 163 74);
  color: #fff;
  box-shadow: 0 4px 14px rgb(22 163 74 / 0.45);
}

.home-hero__cta--primary:hover {
  background: rgb(21 128 61);
  transform: translateY(-1px);
}

.home-hero__cta--ghost {
  background: rgb(255 255 255 / 0.12);
  color: #fff;
  border: 1px solid rgb(255 255 255 / 0.35);
  backdrop-filter: blur(4px);
}

.home-hero__cta--ghost:hover {
  background: rgb(255 255 255 / 0.22);
}

.home-hero__nav {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 10;
  display: flex;
  gap: 0.5rem;
}

.home-hero__nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.95);
  color: rgb(39 39 42);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.15);
  transition: transform 0.15s;
}

.dark .home-hero__nav-btn {
  background: rgb(39 39 42 / 0.9);
  color: #fff;
}

.home-hero__nav-btn:hover {
  transform: scale(1.06);
}

.home-hero__nav-btn svg {
  width: 1.1rem;
  height: 1.1rem;
}

/* —— Sections —— */
.home-section {
  margin-top: 0.85rem;
}

.home-section--last {
  margin-bottom: 1rem;
}

.home-section__head {
  margin-bottom: 0.45rem;
}

.home-section__title-wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.home-section__accent {
  width: 4px;
  height: 1.75rem;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgb(22 163 74), rgb(74 222 128));
}

.home-section__accent--gold {
  background: linear-gradient(180deg, rgb(217 119 6), rgb(250 204 21));
}

.home-section__accent--violet {
  background: linear-gradient(180deg, rgb(109 40 217), rgb(167 139 250));
}

.home-section__title {
  font-size: 1.25rem;
  font-weight: 600;
}

@media (min-width: 1024px) {
  .home-section__title {
    font-size: 1.75rem;
  }
}

.home-section__desc {
  margin-top: 0.15rem;
  margin-right: 1.15rem;
  font-size: 0.8125rem;
  color: rgb(107 114 128);
}

.dark .home-section__desc {
  color: rgb(161 161 170);
}

/* —— Leadership banner —— */
.home-hero-wrap > .section-loader,
.home-banner-slot > .section-loader {
  height: 100%;
  min-height: 100%;
}

.home-banner-slot {
  min-height: 10rem;
}

.home-banner {
  width: min(100%, 56rem);
  margin-inline: auto;
  border-radius: 1.25rem;
  overflow: hidden;
  background: rgb(243 244 246);
  box-shadow: 0 8px 30px rgb(0 0 0 / 0.12);
  border: 1px solid rgb(229 231 235);
}

.dark .home-banner {
  background: rgb(39 39 42);
  border-color: rgb(63 63 70);
}

.home-banner__img {
  display: block;
  width: 100%;
  height: 16rem;
  object-fit: cover;
  object-position: center 18%;
}

@media (min-width: 768px) {
  .home-banner__img {
    height: 22rem;
  }
}

/* —— Home feeds —— */
.home-section__head--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  flex-wrap: wrap;
}

.feed-status {
  width: 100%;
  margin: 0;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgb(107 114 128);
}

.dark .feed-status {
  color: rgb(161 161 170);
}

.home-latest__toolbar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.home-latest__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: #fff;
  color: rgb(39 39 42);
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.08);
}

.dark .home-latest__nav {
  background: rgb(63 63 70);
  color: #fff;
}

.home-latest__nav svg,
.home-latest__all svg {
  width: 1rem;
  height: 1rem;
}

.home-latest__nav.swiper-button-disabled {
  opacity: 0.4;
}

.home-latest__all {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-right: 0.25rem;
  padding: 0.45rem 0.8rem;
  border-radius: 9999px;
  background: rgb(22 163 74);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
}

.home-latest__all:hover {
  background: rgb(21 128 61);
}

.home-latest {
  overflow: hidden;
}

.home-latest .swiper-slide {
  display: flex;
  height: auto;
}

.home-latest .swiper-slide > .home-post {
  width: 100%;
}

.home-post {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid rgb(244 244 245);
  border-radius: 1.15rem;
  background: #fff;
  color: inherit;
  box-shadow: 0 10px 28px rgb(0 0 0 / 0.06);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.dark .home-post {
  border-color: rgb(63 63 70);
  background: rgb(39 39 42);
  box-shadow: none;
}

.home-post:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgb(0 0 0 / 0.1);
}

.home-post:focus-visible {
  outline: 2px solid rgb(22 163 74);
  outline-offset: 3px;
}

.home-post__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  background: rgb(243 244 246);
}

.dark .home-post__media {
  background: rgb(63 63 70);
}

.home-post__title {
  margin: 0;
  padding: 0.8rem 0.9rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
}

.home-post__image,
.home-post__fallback {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.home-post:hover .home-post__image {
  transform: scale(1.06);
}

.home-post__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  background: rgb(240 253 244);
  color: rgb(22 101 52);
  font-size: 0.75rem;
  text-align: center;
}

.dark .home-post__fallback {
  background: rgb(63 63 70);
  color: rgb(161 161 170);
}

.home-post__text {
  margin: 0.55rem 0.85rem 0.75rem;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgb(107 114 128);
}

.dark .home-post__text {
  color: rgb(161 161 170);
}

.home-post__meta {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  padding: 0.65rem 0.9rem 0.8rem;
  border-top: 1px solid rgb(243 244 246);
  color: rgb(156 163 175);
  font-size: 0.72rem;
}

.home-post__meta time {
  direction: ltr;
}

.dark .home-post__meta {
  border-top-color: rgb(63 63 70);
}

.home-post__meta svg {
  width: 1rem;
  height: 1rem;
}
