:root{
  --blue:#154360;
  --text:#0f2f4a;
  --muted:rgba(15,47,74,.78);
  --shadow:0 14px 34px rgba(0,0,0,.10);
  --border:1px solid rgba(15,47,74,.14);
  --radius:16px;
}

.container{width:min(1200px,92%);margin:0 auto}
.layout{display:grid;grid-template-columns:280px 1fr;gap:16px;align-items:start}
.content{min-width:0}

/* Background body: overlay putih dikurangi (lebih transparan) */
body{
  background:
    linear-gradient(rgba(255,255,255,.55), rgba(255,255,255,.55)),
    url("/assets/img/gedung-aak.jpg") center/cover fixed no-repeat;
}

.page{padding:16px 0 26px}

/* HERO */
.hero{
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  min-height:360px;
  border:var(--border);
  box-shadow:var(--shadow);
  background: transparent;
}
.hero-overlay{
  position:absolute;inset:0;
  background: linear-gradient(rgba(255,255,255,.50), rgba(255,255,255,.50));
}
.hero-inner{
  position: relative;
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  text-align: center;

  /* background khusus kotak hero */
  background:
    linear-gradient(
      rgba(255,255,255,.75),
      rgba(255,255,255,.75)
    ),
    url("/assets/img/aakpekalongan.png") center/cover no-repeat;

  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
}


/* Hilangkan kotak putih welcome */
.welcome-box{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  max-width: 900px;
  margin-bottom: 14px;
}
.welcome-box h2{margin:0;font-size:16px;font-weight:900;color:var(--text);text-shadow:0 1px 0 rgba(255,255,255,.7)}
.welcome-box h3{margin:10px 0 8px;font-size:28px;font-weight:1000;color:var(--blue);text-shadow:0 1px 0 rgba(255,255,255,.7)}
.welcome-box p{margin:0;font-size:14px;font-weight:800;color:rgba(15,47,74,.92);text-shadow:0 1px 0 rgba(255,255,255,.7)}

/* ===== LOGO Y-HUB (REVISI FINAL) ===== */
.hero-logo{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 18px;   /* jarak dari teks */
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  padding: 0 !important;
}

.hero-logo img{
  width: 300px;        /* diperbesar */
  max-width: 300vw;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}


/* BOXES */
.boxes{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}
.box{
  background: rgba(191,232,255,.88);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 14px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.box:hover{
  transform: translateY(-4px);
  box-shadow: 0 22px 50px rgba(0,0,0,.14);
  background: rgba(191,232,255,.96);
}
.box.full{grid-column:1 / -1}
.box-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}
.box-head h4{margin:0;font-size:15px;color:var(--blue);font-weight:1000}
.box-link{font-weight:900;font-size:12px;color:var(--blue)}
.muted{color:var(--muted);font-size:12px;line-height:1.6}

/* list */
.list{margin:0;padding-left:16px}
.list li{margin:10px 0}
.badge{
  display:inline-block;
  font-size:11px;
  color:#0f2f4a;
  background:rgba(255,255,255,.55);
  padding:2px 8px;
  border-radius:999px;
  margin-right:8px;
  font-weight:900;
}

/* Ticker Info Terbaru */
.ticker{
  position:relative;
  overflow:hidden;
  border-radius:14px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(15,47,74,.14);
  padding: 10px 12px;
}
.ticker-track{
  display:inline-block;
  white-space:nowrap;
  will-change: transform;
  animation: tickerMove 22s linear infinite;
}
.ticker:hover .ticker-track{ animation-play-state: paused; }
@keyframes tickerMove{
  0%{ transform: translateX(100%); }
  100%{ transform: translateX(-100%); }
}

.readmore{
  display:inline-block;
  margin-top:8px;
  font-weight:1000;
  color: var(--blue);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px){
  .layout{grid-template-columns:1fr}
  .boxes{grid-template-columns:1fr}
}
/* ===== BOX MOTIVASI DENGAN GAMBAR ===== */
.box-motivasi{
  overflow:hidden;
}

.box-img{
  height: 220px;
  border-radius: 14px;
  margin-bottom: 12px;
  background: center/cover no-repeat;
  border: 1px solid rgba(15,47,74,.14);
}

.quote-daily{
  font-weight: 1000;
  font-size: 14px;
  line-height: 1.5;
  color: #0f2f4a;
  margin-top: 6px;
}

.quote-date{
  margin-top: 8px;
  font-size: 12px;
  font-weight: 800;
  color: rgba(15,47,74,.75);
}
