.prestasi-terbaru {
  display: flex;
  gap: 5px;
  border-bottom: 1px solid #e5e7eb;
}

.prestasi-terbaru a {
  text-decoration: none;
  padding: 10px;
}

.img-unila {
  width: 100%;
  object-fit: cover;
  height: 200px;
}

.judul-unila {
  margin: 0;
  font-size: 16px;
  color: #000;
  font-weight: bold;
}

.deskripsi-unila-lanjutan {
  color: #797979;
  font-size: 14px;
  margin-top: 0;
}

.prestasi-lanjutan {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.prestasi-lanjutan>* {
  width: calc(50% - 8px);
}

.prestasi-lanjutan a {
  text-decoration: none;
}

.info-microweb {
  display: flex;
  align-items: center;
  gap: 5px;
}

.editor,
.editor-kkn {
  font-size: 12px;
  color: #45b4f5;
}

.tanggal {
  color: #797979;
  margin: 0;
}

.judul-unila-lanjutan {
  font-size: 14px;
  color: #000;
  font-weight: bold;
}

.hero-slider {
  padding: 10px calc((100% - 1200px) / 2);
  overflow: hidden;
  box-sizing: border-box;
  position: relative;
  contain: layout paint;
  height: calc(100vh * 0.60);
  margin-top: 10px;
}

.slider-dekstop {
  padding: 10px;
  height: 100%;
}

#slider {
  margin: 0;
}

.hero-track {
  display: flex;
  gap: 12px;
  height: 100%;
}

.hero-left,
.hero-box {
  position: relative;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  contain: layout paint;
}

.hero-right h2 {
  font-size: 14px;
}

/* IMG */
.hero-left img,
.hero-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.hero-content {
  padding: 10px;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  position: relative;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.6),
      transparent);
}


/* kiri */
.hero-left {
  width: 45%;
}

/* kanan */
.hero-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 0;
}

/* kanan atas */
.hero-right-top {
  display: flex;
  gap: 12px;
  flex: 1;
}

/* kanan bawah */
.hero-right-bottom {
  display: flex;
  flex: 1;
}

/* card kanan */
.hero-box {
  flex: 1;
}

.hero-track a {
  text-decoration: none;
}

.footer-left img {
  width: 80%;
  box-sizing: border-box;
}

.footer-right a,
.footer-center p {
  font-size: 14px;
  line-height: 1.2;
  hyphens: auto;
}

.footer-right h3 {
  font-size: 14px;
}

.hero-category {
  background-color: #DC0000;
  padding: 5px 10px;
  color: #fff;
  width: fit-content;
  font-size: 12px;
}

.editor-slider,
.tanggal-slider {
  color: #fff;
  font-size: 12px;
  margin-top: 0;
}

.ekonomi {
  padding: 0 20px 20px 20px;
}

.ekonomi a {
  text-decoration: none;
}

.deskripsi {
  color: #797979;
  font-size: 15px;
  margin-top: 0;
}

.img-microweb-terbaru {
  width: 100%;
  height: 250px;
  object-fit: cover;
  justify-items: center;
}

.info-microweb {
  display: flex;
  align-items: center;
  gap: 5px;
}

.judul-ekonomi {
  font-size: 15px;
  font-weight: bold;
  color: #000;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slider-mobile {
  display: none;
}

.news {
  padding: 10px calc((100% - 1200px) / 2);
}

.news-padding {
  padding: 10px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.news-ticker {
  display: flex;
  align-items: center;
  color: #fff;
  font-size: 13px;
  overflow: hidden;
  width: 65%;
}

.ticker-label {
  color: #fff;
  padding: 10px;
  background: #DC0000;
  font-weight: bold;
  white-space: nowrap;
  font-size: 12px;
}

.ticker-content {
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
}

.ticker-text {
  display: inline-block;
  animation: slideIn 0.5s ease;
}

.ticker-content a {
  text-decoration: none;
  color: #585858;
  font-weight: bold;
}

.search-beranda {
  display: flex;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 4px;
  overflow: hidden;
  flex: 1;
  background: #fff;
}

.search-input {
  flex: 1;
  border: none;
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  border: none;
  background: transparent;
  padding: 0 10px;
  cursor: pointer;
  color: #555;
  font-size: 16px;
}

.search-btn:hover {
  color: #000;
}

@keyframes slideIn {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 847px) {
  .hero-slider {
    height: calc(100vh * 0.40);
  }

  .info-microweb {
    display: block;
  }

  .footer-right a,
  .footer-center p {
    font-size: 12px;
  }

}

@media (max-width: 768px) {
  .berita-terbaru {
    margin-bottom: 15px;
  }

  .prestasi-terbaru a {
    padding: 0;
  }

  .search-beranda {
    max-width: 100%;
  }

  .hero-slider {
    display: none;
  }

  .slider-mobile {
    display: block;
  }

  .hero-flex {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .hero-main {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 10px;
    z-index: 1;
  }

  .hero-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .hero-sub {
    display: flex;
    gap: 12px;
  }

  .hero-item {
    flex: 1;
    height: 200px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
  }

  .hero-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .img-unila {
    height: 150px;
  }

  .hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(0, 0, 0, .75),
        rgba(0, 0, 0, .25));
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
    text-decoration: none;
  }

  .hero-main .hero-category {
    font-size: 11px;
    opacity: .9;
    margin-bottom: 4px;
  }

  .hero-main .hero-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    margin: 0 0 6px;
  }

  .hero-main .hero-meta {
    font-size: 12px;
    opacity: .85;
    display: flex;
    gap: 8px;
  }

  .hero-item .hero-title {
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    margin: 0;
  }

  .hero-item .hero-category,
  .hero-item .hero-meta {
    display: none;
  }

  /* Clamp judul */
  .hero-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .news {
    padding: 10px;
  }

  .news-ticker {
    width: 100%;
  }

  .search-beranda {
    display: none;
  }
}