/* Iliauni News Hero v33 — clean rewrite */
.hero-section,
.hero-news-carousel,
.hero-sidebar {
  --hero-brand: #A61832;
  --hero-brand-hover: #8E142B;
  --hero-ink: #152033;
  --hero-muted: #6F6A64;
  --hero-line: #E7E1DA;
  --hero-page: #F7F4F0;
  --hero-h: 560px;
}

.hero-section {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 0 !important;
  padding: 12px 0 !important;
  margin: 0 !important;
  background: var(--hero-page) !important;
}

.hero-main {
  flex: 1 1 74% !important;
  width: 74% !important;
  max-width: 74% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: transparent !important;
}

.hero-sidebar {
  flex: 0 0 26% !important;
  width: 26% !important;
  max-width: 26% !important;
  min-width: 280px !important;
  margin: 0 !important;
  padding: 18px 14px 14px !important;
  background: #fff !important;
  border-left: 1px solid var(--hero-line) !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important;
}

.hero-news-carousel,
.elementor-element-hero-news-carousel {
  --swiper-padding-bottom: 0px !important;
  --swiper-pagination-spacing: 0px !important;
  --page-title-display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hero-news-carousel > .elementor-widget-container,
.hero-news-carousel .swiper,
.hero-news-carousel .elementor-loop-container,
.hero-news-carousel .swiper-wrapper,
.hero-news-carousel .swiper-slide {
  height: var(--hero-h) !important;
  min-height: var(--hero-h) !important;
  max-height: var(--hero-h) !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.hero-news-carousel .hero-slide,
.hero-news-carousel .elementor-element-hero-slide {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  align-items: stretch !important;
  width: 100% !important;
  height: var(--hero-h) !important;
  min-height: var(--hero-h) !important;
  max-height: var(--hero-h) !important;
  overflow: hidden !important;
  padding: 32px !important;
  box-sizing: border-box !important;
  background-color: #1e2433 !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
}

.hero-news-carousel .hero-slide::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  pointer-events: none !important;
  background: linear-gradient(105deg, rgba(21,32,51,0.28) 0%, rgba(166,24,50,0.10) 55%, rgba(166,24,50,0.04) 100%) !important;
}
.hero-news-carousel .hero-slide::after { content: none !important; display: none !important; }

.hero-news-carousel .hero-slide > .elementor-element,
.hero-news-carousel .hero-slide > .e-con {
  position: relative !important;
  z-index: 2 !important;
}

.hero-news-carousel .hero-content,
.hero-news-carousel .elementor-element-hero-content {
  position: relative !important;
  z-index: 8 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: flex-start !important;
  flex: 0 0 auto !important;
  gap: 10px !important;
  width: fit-content !important;
  max-width: min(40rem, 92%) !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 14px 16px !important;
  border-radius: 4px !important;
  background: rgba(21, 32, 51, 0.90) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.28) !important;
  --width: fit-content !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.hero-news-carousel .hero-kicker,
.hero-news-carousel .hero-kicker .elementor-widget-container {
  width: auto !important;
  max-width: 100% !important;
}
.hero-news-carousel .hero-kicker .elementor-heading-title {
  display: inline-block !important;
  margin: 0 !important;
  padding: 5px 12px !important;
  border-radius: 3px !important;
  background: #A61832 !important;
  color: #fff !important;
  font-size: 12px !important;
  line-height: 1.3 !important;
}

.hero-news-carousel .hero-slide-title,
.hero-news-carousel .elementor-element-hero-title,
.hero-news-carousel .elementor-page-title {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  width: 100% !important;
  max-width: 36rem !important;
  height: auto !important;
  min-height: 1.3em !important;
  max-height: none !important;
  overflow: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
  z-index: 9 !important;
}

.hero-news-carousel .hero-slide-title .elementor-widget-container,
.hero-news-carousel .elementor-element-hero-title .elementor-widget-container {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  height: auto !important;
  overflow: visible !important;
  width: 100% !important;
}

.hero-news-carousel .hero-slide-title .elementor-heading-title,
.hero-news-carousel .hero-slide-title h2,
.hero-news-carousel .elementor-element-hero-title .elementor-heading-title,
.hero-news-carousel .elementor-element-hero-title h2 {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 26px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  margin: 0 !important;
  padding: 0 !important;
  height: auto !important;
  min-height: 1.3em !important;
  max-height: none !important;
  overflow: visible !important;
  white-space: normal !important;
  word-wrap: break-word !important;
  background: transparent !important;
  text-shadow: none !important;
  -webkit-line-clamp: unset !important;
  -webkit-box-orient: unset !important;
  line-clamp: unset !important;
}

.hero-news-carousel .hero-slide-title .elementor-heading-title a,
.hero-news-carousel .elementor-element-hero-title .elementor-heading-title a {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  text-decoration: none !important;
  background: transparent !important;
}

.hero-news-carousel .hero-bottom,
.hero-news-carousel .elementor-element-hero-bottom {
  position: relative !important;
  z-index: 8 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  margin-top: auto !important;
  flex: 0 0 auto !important;
  min-height: 56px !important;
  visibility: visible !important;
  opacity: 1 !important;
  background: transparent !important;
}

.hero-news-carousel .hero-slide-date .elementor-icon-list-icon { display: none !important; }
.hero-news-carousel .hero-slide-date,
.hero-news-carousel .hero-slide-date .elementor-icon-list-text,
.hero-news-carousel .hero-slide-date time {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-size: 14px !important;
  text-shadow: 0 1px 6px rgba(0,0,0,0.55) !important;
}

.hero-news-carousel .hero-slide-cta .elementor-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 56px !important;
  height: 56px !important;
  min-width: 56px !important;
  min-height: 56px !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: #A61832 !important;
  color: #fff !important;
  box-shadow: 0 6px 18px rgba(166,24,50,0.4) !important;
}
.hero-news-carousel .hero-slide-cta .elementor-button-text { display: none !important; }
.hero-news-carousel .hero-slide-cta .elementor-button-icon,
.hero-news-carousel .hero-slide-cta .elementor-button-icon svg {
  display: block !important;
  width: 18px !important;
  height: 18px !important;
  color: #fff !important;
  fill: #fff !important;
}

.hero-news-carousel .swiper-pagination,
.hero-news-carousel .swiper-pagination-bullets {
  position: absolute !important;
  left: 28px !important;
  bottom: 18px !important;
  top: auto !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: none !important;
  z-index: 12 !important;
  display: flex !important;
  gap: 10px !important;
  background: transparent !important;
}
.hero-news-carousel .swiper-pagination-bullet {
  width: 48px !important;
  height: 6px !important;
  margin: 0 !important;
  border-radius: 2px !important;
  background: rgba(255,255,255,0.55) !important;
  opacity: 1 !important;
}
.hero-news-carousel .swiper-pagination-bullet-active {
  width: 64px !important;
  background: #fff !important;
}

.hero-sidebar .sb-heading .elementor-heading-title {
  margin: 0 0 4px !important;
  color: var(--hero-ink) !important;
  font-size: 15px !important;
}
.hero-sidebar .sb-loop .elementor-loop-container,
.hero-sidebar .sb-loop .elementor-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
}
.hero-sidebar .sb-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 0 12px !important;
  border-bottom: 1px solid var(--hero-line) !important;
}
.hero-sidebar .sb-item:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
.hero-sidebar .sb-thumb {
  flex: 0 0 96px !important;
  width: 96px !important;
  height: 72px !important;
  min-width: 96px !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  background: #EDE9E4 !important;
  border: 1px solid var(--hero-line) !important;
}
.hero-sidebar .sb-img,
.hero-sidebar .sb-img .elementor-widget-container,
.hero-sidebar .sb-img a {
  display: block !important;
  width: 96px !important;
  height: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}
.hero-sidebar .sb-img img {
  display: block !important;
  width: 96px !important;
  height: 72px !important;
  max-width: none !important;
  object-fit: cover !important;
}
.hero-sidebar .sb-title .elementor-heading-title {
  margin: 0 !important;
  color: var(--hero-ink) !important;
  font-size: 13.5px !important;
  line-height: 1.35 !important;
  display: -webkit-box !important;
  -webkit-box-orient: vertical !important;
  -webkit-line-clamp: 2 !important;
  overflow: hidden !important;
}
.hero-sidebar .sb-title .elementor-heading-title a { color: var(--hero-ink) !important; text-decoration: none !important; }
.hero-sidebar .sb-title .elementor-heading-title a:hover { color: var(--hero-brand) !important; }
.hero-sidebar .sb-date .elementor-icon-list-text,
.hero-sidebar .sb-date time { color: var(--hero-muted) !important; font-size: 12px !important; }
.hero-sidebar .sb-date .elementor-icon-list-icon,
.hero-sidebar .sb-cat { display: none !important; }
.hero-sidebar .sb-all .elementor-button {
  width: 100% !important;
  justify-content: center !important;
  background: #fff !important;
  color: var(--hero-ink) !important;
  border: 1px solid var(--hero-line) !important;
  border-radius: 10px !important;
  font-size: 13px !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}

@media (max-width: 1200px) {
  .hero-main { flex-basis: 72% !important; width: 72% !important; max-width: 72% !important; }
  .hero-sidebar { flex-basis: 28% !important; width: 28% !important; max-width: 28% !important; min-width: 260px !important; }
}
@media (max-width: 1100px) {
  .hero-section, .hero-news-carousel, .hero-sidebar { --hero-h: 520px; }
}
@media (max-width: 900px) {
  .hero-section { flex-direction: column !important; }
  .hero-main, .hero-sidebar { flex: 1 1 auto !important; width: 100% !important; max-width: 100% !important; min-width: 0 !important; }
  .hero-sidebar { border-left: 0 !important; border-top: 1px solid var(--hero-line) !important; }
  .hero-section, .hero-news-carousel, .hero-sidebar { --hero-h: 480px; }
}
@media (max-width: 767px) {
  .hero-section, .hero-news-carousel, .hero-sidebar { --hero-h: 440px; }
  .hero-news-carousel .hero-slide { padding: 20px 16px !important; }
  .hero-news-carousel .hero-content { max-width: 100% !important; }
  .hero-news-carousel .hero-slide-title .elementor-heading-title,
  .hero-news-carousel .elementor-element-hero-title .elementor-heading-title { font-size: 20px !important; }
}
