:root {
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --border-soft: #e2e8f0;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
}

.judul {
  min-height: calc(100vh - var(--app-header-height));
  padding: clamp(48px, 7vh, 72px) clamp(24px, 4vw, 56px) clamp(42px, 6vh, 62px);
  position: relative;
  overflow: hidden;
  background-color: #0f172a;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}

.judul::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url(../img/GRAHA-POLINEMA1-slider-01.webp) center/cover no-repeat;
  opacity: 0.4;
  transform: scale(1.04);
}

.judul::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(15, 23, 42, 0.92) 35%, rgba(15, 23, 42, 0.56) 100%),
    radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.28), transparent 30%);
}

.hero-inner,
.hero-panel {
  position: relative;
  z-index: 2;
}

.hero-inner {
  max-width: 760px;
  color: #f8fafc;
}

.hero-kicker {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #bfdbfe;
  margin-bottom: 14px;
}

.judul h2 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  font-weight: 800;
}

.judul p {
  margin: 20px 0 0;
  font-size: clamp(0.96rem, 1.85vw, 1.14rem);
  max-width: 600px;
  line-height: 1.8;
  color: #dbeafe;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 11px 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.hero-btn-primary {
  background-color: var(--accent);
  color: #ffffff;
}

.hero-btn-primary:hover {
  background-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.3);
}

.hero-btn-secondary {
  background-color: rgba(255, 255, 255, 0.1);
  color: #f8fafc;
  border: 1px solid rgba(191, 219, 254, 0.4);
}

.hero-btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.hero-panel {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background: rgba(248, 250, 252, 0.08);
  border: 1px solid rgba(191, 219, 254, 0.26);
  border-radius: 20px;
  padding: 20px;
  color: #f8fafc;
}

.hero-panel h3 {
  margin: 0;
  font-size: 1.04rem;
}

.hero-panel p {
  margin: 8px 0 16px;
  font-size: 0.87rem;
  color: rgba(248, 250, 252, 0.85);
  line-height: 1.65;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-stat {
  border: 1px solid rgba(191, 219, 254, 0.23);
  border-radius: 12px;
  padding: 10px;
  background: rgba(248, 250, 252, 0.06);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-label {
  color: rgba(219, 234, 254, 0.9);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-weight: 600;
}

.hero-stat strong {
  font-size: 1.08rem;
  color: #ffffff;
}

.dashboard-container {
  margin: 0 auto;
  max-width: 1180px;
  display: grid;
  grid-template-columns: minmax(260px, 320px) 1fr;
  gap: clamp(20px, 3vw, 44px);
  padding: clamp(46px, 7vh, 70px) clamp(24px, 4vw, 56px);
  align-items: stretch;
}

.about-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-brand-card {
  width: 100%;
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f3f8ff 100%);
  padding: 24px 20px;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.dashboard-container .logo-disciplink {
  width: min(250px, 100%);
  height: auto;
  object-fit: contain;
}

.about-brand-card p {
  margin: 0;
  color: #5b6777;
  font-size: 0.86rem;
  line-height: 1.6;
}

.about-copy {
  border: 1px solid var(--border-soft);
  border-radius: 20px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: clamp(22px, 3vw, 30px);
  box-shadow: 0 14px 26px rgba(15, 23, 42, 0.06);
}

.about-copy h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.dashboard-container p {
  margin: 14px 0 0;
  font-size: 0.97rem;
  line-height: 1.84;
  max-width: 760px;
  color: var(--text-secondary);
}

.news {
  margin: 0 auto;
  max-width: 1180px;
  padding: 0 clamp(24px, 4vw, 56px) 44px;
}

.news-header {
  margin-bottom: 24px;
}

.news h2 {
  margin: 0;
  font-size: clamp(1.74rem, 3vw, 2.2rem);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.news-header p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  max-width: 620px;
  line-height: 1.75;
  font-size: 0.95rem;
}

.info-overview {
  padding-bottom: 38px;
}

.info-overview-header {
  max-width: 760px;
}

.info-overview-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 18px;
}

.info-card {
  border: 1px solid var(--border-soft);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.info-card h3 {
  margin: 0;
  font-size: clamp(1.05rem, 2.1vw, 1.26rem);
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.info-card > p {
  margin: 10px 0 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.72;
}

.info-steps {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.info-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid #dbeafe;
  background: #ffffff;
}

.info-steps span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eff6ff;
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
}

.info-steps strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.94rem;
}

.info-steps li p {
  margin: 4px 0 0;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #5b6777;
}

.info-links {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.info-links a {
  text-decoration: none;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 11px 12px;
  color: #1e3a8a;
  background: #ffffff;
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-links a:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 10px 18px rgba(59, 130, 246, 0.18);
}

.news-empty {
  border: 1px dashed #bfdbfe;
  border-radius: 16px;
  padding: 28px 20px;
  text-align: center;
  color: #475569;
  background: #f8fbff;
}

.news-empty i {
  font-size: 1.5rem;
  color: #2563eb;
  margin-bottom: 8px;
}

.news-empty p {
  margin: 0;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 20px;
  margin-bottom: 74px;
  align-items: start;
}

.news-content {
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  padding: 14px;
  display: flex;
  flex-direction: column;
  grid-column: span 4;
  overflow: hidden;
  min-height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.news-content:hover {
  transform: translateY(-4px);
  border-color: #bfdbfe;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09);
}

.news-content img {
  width: 100%;
  height: 186px;
  object-fit: cover;
  border-radius: 13px;
  margin-bottom: 14px;
}

.news-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-content h3 {
  margin: 0;
  font-size: 1.04rem;
  color: var(--text-primary);
  line-height: 1.4;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-title-link {
  text-decoration: none;
  color: inherit;
}

.news-title-link:hover {
  color: var(--accent-dark);
}

.news-content h5 {
  margin: 0;
  font-size: 0.73rem;
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.news-date {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 600;
}

.news-content p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  margin-top: auto;
  align-self: flex-start;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.news-read-more:hover {
  color: var(--accent-dark);
}

.news-content:first-child {
  grid-column: span 12;
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  background: linear-gradient(130deg, #ffffff 0%, #f8fbff 100%);
}

.news-content:first-child img {
  height: 250px;
  margin-bottom: 0;
}

.news-content:first-child .news-text {
  gap: 10px;
}

.news-content:first-child h3 {
  font-size: 1.34rem;
  line-clamp: 3;
  -webkit-line-clamp: 3;
}

.news-content:first-child p {
  line-clamp: 5;
  -webkit-line-clamp: 5;
}

.reveal-up {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: no-preference) {
  .judul::before {
    animation: heroZoom 14s ease-in-out infinite alternate;
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.04);
  }
  to {
    transform: scale(1.1);
  }
}

@media screen and (max-width: 1200px) {
  .judul {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-panel {
    max-width: 480px;
  }
}

@media screen and (max-width: 992px) {
  .dashboard-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-logo-wrap {
    justify-content: center;
  }

  .about-brand-card {
    max-width: 380px;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 16px;
  }

  .info-overview-grid {
    grid-template-columns: 1fr;
  }

  .news-content,
  .news-content:first-child {
    grid-column: span 1;
    display: flex;
  }

  .news-content:first-child img {
    min-height: unset;
    margin-bottom: 14px;
  }
}

@media screen and (max-width: 768px) {
  .judul {
    min-height: 76vh;
  }

  .hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 56px;
  }

  .info-steps li {
    grid-template-columns: 30px 1fr;
    gap: 10px;
    padding: 10px;
  }

  .info-steps span {
    width: 30px;
    height: 30px;
  }
}
