.kowin-hero-announcements {
  position: relative;
  z-index: 4;
  width: min(var(--wp--style--global--wide-size, 1100px), calc(100% - 32px));
  margin: clamp(18px, 3vw, 32px) auto clamp(28px, 5vw, 54px);
  color: #f7f4ee;
}

.kowin-hero-announcements__inner {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 212, 100, 0.32);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(2, 6, 17, 0.88), rgba(10, 16, 32, 0.82)),
    radial-gradient(circle at 88% 8%, rgba(255, 212, 100, 0.18), transparent 34%);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
}

.kowin-hero-announcements__viewport {
  overflow: hidden;
}

.kowin-hero-announcements__track {
  position: relative;
}

.kowin-hero-announcements__slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 42%);
  align-items: center;
  gap: clamp(20px, 4vw, 38px);
  min-height: 295px;
  padding: clamp(20px, 4vw, 34px);
}

.kowin-hero-announcements__slide[hidden] {
  display: none;
}

.kowin-hero-announcements__slide.has-no-image {
  grid-template-columns: minmax(0, 1fr);
}

.kowin-hero-announcements__copy {
  min-width: 0;
}

.kowin-hero-announcements__eyebrow {
  margin: 0 0 0.55rem;
  color: #ffd56b;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kowin-hero-announcements__title {
  max-width: 820px;
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 3.2vw, 2.8rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: 0;
  word-break: keep-all;
}

.kowin-hero-announcements__subtitle,
.kowin-hero-announcements__body {
  max-width: 760px;
  margin: 0.7rem 0 0;
  color: rgba(247, 244, 238, 0.84);
  font-size: clamp(1rem, 1.55vw, 1.16rem);
  line-height: 1.58;
  word-break: keep-all;
}

.kowin-hero-announcements__body p {
  margin: 0;
}

.kowin-hero-announcements__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.48rem 1.2rem;
  max-width: 880px;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.kowin-hero-announcements__details li {
  position: relative;
  min-width: 0;
  padding-left: 1rem;
  color: rgba(247, 244, 238, 0.9);
  font-size: 0.97rem;
  line-height: 1.42;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

.kowin-hero-announcements__details li::before {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: #ffd56b;
  content: "";
}

.kowin-hero-announcements__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.kowin-hero-announcements__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.72rem 1.05rem;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.kowin-hero-announcements__button:hover,
.kowin-hero-announcements__button:focus-visible {
  transform: translateY(-1px);
}

.kowin-hero-announcements__button--primary {
  border: 1px solid rgba(255, 229, 142, 0.9);
  background: linear-gradient(135deg, #c79212 0%, #e4bb4a 56%, #f5d36d 100%);
  color: #09111e;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.kowin-hero-announcements__button--secondary {
  border: 1px solid rgba(247, 244, 238, 0.32);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.kowin-hero-announcements__media {
  align-self: stretch;
  min-height: 250px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(247, 244, 238, 0.96);
}

.kowin-hero-announcements__image {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
  object-position: 66% 50%;
}

.kowin-hero-announcements__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0 1rem 1rem;
}

.kowin-hero-announcements__nav,
.kowin-hero-announcements__dot {
  border: 0;
  cursor: pointer;
}

.kowin-hero-announcements__nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
}

.kowin-hero-announcements__dots {
  display: flex;
  align-items: center;
  gap: 0.42rem;
}

.kowin-hero-announcements__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  background: rgba(247, 244, 238, 0.34);
}

.kowin-hero-announcements__dot.is-active {
  width: 22px;
  background: #ffd56b;
}

@media (max-width: 781px) {
  .kowin-hero-announcements {
    width: min(100% - 22px, 680px);
    margin-top: 24px;
  }

  .kowin-hero-announcements__slide {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding: 20px;
  }

  .kowin-hero-announcements__media {
    order: -1;
    min-height: 0;
    aspect-ratio: 16 / 11;
  }

  .kowin-hero-announcements__image {
    min-height: 0;
  }

  .kowin-hero-announcements__details {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .kowin-hero-announcements__button {
    transition: none;
  }

  .kowin-hero-announcements__button:hover,
  .kowin-hero-announcements__button:focus-visible {
    transform: none;
  }
}
