/* Featured News Carousel Styles */
.art.feat {
  grid-column: 1 / -1;
}
.feat-stage {
  position: relative;
  aspect-ratio: 24/9;
  overflow: hidden;
  border-radius: 4px;
  background: #0d1e3a;
}
.feat-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.75s ease,
    visibility 0.75s;
}
.feat-slide.on {
  opacity: 1;
  visibility: visible;
}
.feat-slide > img {
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  object-position: center center;
  display: block;
  filter: grayscale(0.22) contrast(1.05);
  transition: transform 0s;
}
.feat-slide.on > img {
  transform: scale(1);
  transition: transform calc(var(--feat-dur, 4000ms) + 1.5s) linear;
}
.feat-slide > img.port {
  object-position: center 14%;
}
.feat-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.68) 30%,
      rgba(0, 0, 0, 0.3) 58%,
      rgba(0, 0, 0, 0.18) 100%
    ),
    linear-gradient(
      to right,
      rgba(0, 0, 0, 0.62) 0%,
      rgba(0, 0, 0, 0.22) 46%,
      transparent 76%
    );
}
.feat-in {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(20px, 2.5vw, 48px);
}
.feat-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 30px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
}
.pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #1fb1d5;
  flex: 0 0 auto;
}
.feat-slide h2 {
  font-family: "Open Sans", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(22px, 3vw, 40px)!important;
  line-height: 1.08;
  letter-spacing: -0.045em;
  max-width: 30ch;
  color: #fff;
  text-shadow:
    0 1px 3px rgba(0, 0, 0, 0.7),
    0 2px 18px rgba(0, 0, 0, 0.5);
}
.feat-read {
  margin-top: clamp(16px, 1.9vw, 24px);
  display: inline-flex;
  align-items: center;
  gap: 14px;
  align-self: flex-start;
  text-decoration: none;
}
.feat-read .arrow {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.feat-read .arrow svg {
  width: 15px;
  height: 15px;
}
.feat-read:hover .arrow {
  background: #1fb1d5;
  border-color: #1fb1d5;
  color: #0b0b0d;
}
.feat-read .lbl {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #fff;
}
.feat-read .sep {
  color: #939ba1;
}
.feat-read .rt {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #939ba1;
}

/* The queue: what rotates in next, and how long is left */
.feat-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 12px;
  padding: 6px;
}
.fchip {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  overflow: hidden;
  cursor: pointer;
  padding: 14px 15px 17px!important;
  border-radius: 10px!important;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.028);
  color: rgba(255, 255, 255, 0.58)!important;
  font-family: "Open Sans", system-ui, sans-serif;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.fchip:hover {
  background: rgba(255, 255, 255, 0.07)!important;
  border-color: rgba(255, 255, 255, 0.26)!important;
  color: #fff!important;
  box-shadow: none!important;
}
.fchip:focus{
  box-shadow: none!important;
}
.fchip .n {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease;
}
.fchip .lbl { 
    font-size: 14.5px; 
    line-height: 1.36; 
    font-weight: 500; 
    letter-spacing: -0.01em; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
    text-overflow: ellipsis; 
    min-height: 34px;
}
.fchip.on {
  background: rgba(31, 177, 213, 0.1);
  border-color: rgba(31, 177, 213, 0.48);
  color: #fff!important;
}
.fchip.on .n {
  background: #1fb1d5;
  border-color: #1fb1d5;
  color: #0b0b0d;
}
.fchip .bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: rgba(255, 255, 255, 0.07);
}
.fchip .bar i {
  display: block;
  height: 100%;
  width: 0;
  background: #1fb1d5;
}
.fchip.on .bar i {
  animation: fbar var(--feat-dur) linear forwards;
}

@keyframes fbar {
  from {
    width: 0;
  }
  to {
    width: 100%;
  }
}
@media (max-width: 900px) {
  .feat-stage {
    aspect-ratio: 4/5;
  }
  .feat-slide h2 {
    font-size: clamp(20px, 5.4vw, 28px);
    max-width: none;
  }
  .feat-read .arrow {
    width: 38px;
    height: 38px;
  }
}
@media (max-width: 1100px) {
  .feat-nav {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .feat-nav {
    grid-template-columns: repeat(1, 1fr);
  }
}
