@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap');

:root{
  --teal:#0AB1B7;
  --deep:#087f83;
  --ink:#173638;
  --muted:#647879;
  --pale:#e9faf9;
  --line:#dcebea
}

*{
  box-sizing:border-box
}

body{
  margin:0;
  color:var(--ink);
  font:15px 'DM Sans',Arial;
  line-height:1.65
}

a{
  text-decoration:none;
  color:inherit
}

.site-header{
  height:76px;
  padding:0 6%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-bottom:1px solid var(--line);
  background:white;
  position:sticky;
  top:0;
  z-index:5
}

.brand{
  display:flex;
  gap:10px;
  align-items:center
}

.mark{
  background:var(--teal);
  color:white;
  padding:8px 11px;
  border-radius:10px;
  font-weight:800
}

.brand strong{
  display:block;
  font:800 15px Manrope;
  letter-spacing:.08em
}

.brand small{
  display:block;
  font-size:11px;
  color:var(--muted)
}

nav{
  display:flex;
  gap:25px;
  align-items:center;
  font-size:13px;
  font-weight:700
}

nav a:hover,
nav a.active{
  color:var(--deep)
}

.login{
  border:1px solid var(--teal);
  border-radius:8px;
  padding:8px 18px
}

.hero{
  background:linear-gradient(110deg,#dff7f8,#f5fcfc,#fff);
  padding:70px 8%;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  align-items:center;
  gap:30px
}

.eyebrow{
  font-size:10px;
  letter-spacing:.18em;
  color:var(--deep);
  font-weight:800
}

.hero h1{
  font:800 clamp(35px,5vw,56px)/1.15 Manrope;
  letter-spacing:-.04em;
  margin:12px 0
}

.hero h1 em{
  color:var(--teal);
  font-style:normal
}

.hero p{
  color:var(--muted);
  max-width:540px
}

.btn{
  display:inline-block;
  padding:11px 17px;
  border-radius:8px;
  background:var(--teal);
  color:white;
  font-size:12px;
  font-weight:700;
  margin:8px 8px 0 0
}

.btn.alt{
  background:white;
  color:var(--deep);
  border:1px solid var(--line)
}

.hero-art{
  background:#c9eeee;
  border-radius:45% 45% 15px 15px;
  height:230px;
  display:grid;
  place-items:center;
  color:var(--deep);
  font:800 45px Manrope
}

.wrap{
  padding:55px 8%
}

.heading{
  display:flex;
  justify-content:space-between;
  gap:25px;
  align-items:end;
  margin-bottom:25px
}

.heading h2,
.wrap h1{
  font:800 30px Manrope;
  margin:5px 0
}

.heading p{
  color:var(--muted);
  max-width:430px;
  font-size:13px
}


/* =========================
   3 CARD
   ========================= */

.cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  align-items:start;
}

.card{
  border:1px solid var(--line);
  border-radius:12px;
  padding:20px;
  background:white;
  min-width:0;
}

.card h3{
  font:700 16px Manrope;
  margin:8px 0
}

.card p{
  font-size:13px;
  color:var(--muted)
}

.symbol{
  background:var(--pale);
  color:var(--deep);
  width:42px;
  height:42px;
  border-radius:10px;
  display:grid;
  place-items:center;
  font-size:22px
}

.tint{
  background:#f5fbfa
}

.subnav{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin:20px 0
}

.subnav a{
  padding:8px 12px;
  background:var(--pale);
  border-radius:8px;
  color:var(--deep);
  font-size:12px;
  font-weight:700
}

.info{
  background:#173e40;
  color:white;
  padding:35px 8%;
  display:flex;
  justify-content:space-between;
  gap:25px
}

.info p{
  font-size:13px;
  color:#d0e3e2
}

footer{
  background-color:#0AB1B7;
  color:white;
  padding:40px 8%
}

.list{
  padding-left:20px;
  color:var(--muted)
}

.auth{
  min-height:calc(100vh - 130px);
  background:var(--pale);
  display:grid;
  place-items:center;
  padding:25px
}

.authbox{
  background:white;
  padding:30px;
  border:1px solid var(--line);
  border-radius:15px;
  width:min(100%,430px)
}

label{
  font-size:12px;
  font-weight:700;
  display:block;
  margin:12px 0 5px
}

input,
select{
  width:100%;
  padding:12px;
  border:1px solid var(--line);
  border-radius:8px;
  font:14px 'DM Sans'
}

.authbox button{
  width:100%;
  border:0;
  cursor:pointer
}

.small{
  font-size:11px;
  color:var(--muted);
  text-align:center
}


/* =========================
   LOGO
   ========================= */

.brand-logo{
  width:35px !important;
  height:35px !important;
  max-width:35px !important;
  max-height:35px !important;
  object-fit:contain;
  margin-right:6px;
  flex-shrink:0
}


/* =========================
   FOOTER
   ========================= */

.footer-container{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:30px;
  max-width:1200px;
  margin:0 auto
}

.footer-column{
  flex:1
}

.footer-column h3{
  margin-bottom:18px;
  font-size:20px
}

.footer-column p{
  line-height:1.6;
  margin-bottom:15px
}

.footer-column ul{
  list-style:none;
  padding:0;
  margin:0
}

.footer-column ul li{
  margin-bottom:10px
}

.footer-column a{
  color:white;
  text-decoration:none
}

.footer-column a:hover{
  text-decoration:underline
}


/* =========================
   GERAKAN LITERASI
   ========================= */

.literasi-gallery{
  position:relative;
  width:100%;
  margin:0 0 20px
}

.literasi-gallery-track{
  display:flex;
  gap:12px;
  overflow-x:auto;
  overflow-y:hidden;
  scroll-behavior:smooth;
  scrollbar-width:thin;
  padding-bottom:8px
}

.literasi-photo{
  flex:0 0 100%;
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:12px;
  display:block
}

.literasi-nav{
  display:flex;
  justify-content:space-between;
  margin-top:10px
}

.literasi-nav button{
  border:1px solid #d6d6d6;
  background:white;
  color:#333;
  width:38px;
  height:38px;
  border-radius:50%;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  transition:0.2s ease
}


.rekomendasi-slide {
  flex:0 0 100%;
  width:100%;
  min-width:100%;
  box-sizing:border-box;
  display:flex;
  align-items:flex-start;
  gap:20px;
  text-align:left;
}

.rekomendasi-slide {
  flex:0 0 100%;
  width:100%;
  min-width:100%;
  box-sizing:border-box;
  display:flex;
  align-items:flex-start;
  gap:16px;
  text-align:left;
}

.rekomendasi-slide img {
  width:150px;
  height:200px;
  object-fit:cover;
  display:block;
  flex-shrink:0;
  margin:0;
  border-radius:8px;
}

.rekomendasi-slide p {
  margin:0;
  padding:0;
  font-size:13px;
  line-height:1.55;
  color:var(--muted);
  text-align:justify;
  flex:1;
  min-width:0;
}

.cards > .card:nth-child(2) .rekomendasi-nav{
  display:flex;
  justify-content:space-between;
  margin-top:8px;
}

.cards > .card:nth-child(2) .rekomendasi-nav button{
  border:1px solid #d6d6d6;
  background:white;
  color:#333;
  width:38px;
  height:38px;
  padding:0;
  border-radius:50%;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  transition:0.2s ease;
}

.cards > .card:nth-child(2) .rekomendasi-nav button:hover{
  background:#f2f2f2;
}


@media(max-width:700px){

  .site-header{
    padding:0 5%;
    height:auto;
    min-height:70px;
    flex-wrap:wrap
  }

  nav{
    gap:12px;
    flex-wrap:wrap;
    padding:10px 0
  }

  .hero{
    grid-template-columns:1fr;
    padding:45px 6%
  }

  .hero-art{
    height:140px
  }

  .wrap{
    padding:42px 6%
  }

  .heading{
    display:block
  }

  .cards{
    grid-template-columns:1fr
  }

  .info,
  footer{
    display:block
  }

  .info{
    padding:30px 6%
  }

}

/* =========================
   FOOTER LEBIH RAPAT
   ========================= */

footer {
  margin-top: 30px;
  padding: 25px 0 15px;
}

.footer-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 35px;
  align-items: start;
}

.footer-column {
  margin: 0;
  padding: 0;
}

.footer-column h3 {
  margin: 0 0 10px;
  font-size: 17px;
  line-height: 1.2;
}

.footer-column p {
  margin: 0 0 8px;
  padding: 0;
  line-height: 1.35;
  font-size: 14px;
}

.footer-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-column ul li {
  margin: 0 0 5px;
  padding: 0;
  line-height: 1.3;
}

.footer-column ul li a {
  line-height: 1.3;
}

.footer-column a {
  text-decoration: none;
}

.footer-column a:hover {
  text-decoration: underline;
}


/* Jarak khusus bagian jam buka */
.footer-column p strong {
  line-height: 1.2;
}


/* Tampilan HP */
@media (max-width: 768px) {

  footer {
    padding: 20px 0 12px;
  }

  .footer-container {
    width: 90%;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-column h3 {
    margin-bottom: 8px;
  }

  .footer-column p {
    margin-bottom: 6px;
    line-height: 1.3;
  }

}



.teks-home {
  white-space: pre-wrap;
  text-align: justify;
} 


/* =========================
   PERBAIKAN KOLOM PASSWORD LOGIN
   ========================= */

.authbox .password-wrapper {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 18px;
}

.authbox .password-wrapper input#password {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: 44px;
  box-sizing: border-box;
  padding: 12px 48px 12px 12px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 14px 'DM Sans', Arial, sans-serif;
  pointer-events: auto;
  opacity: 1;
}

.authbox .password-wrapper input#password:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(10, 177, 183, 0.12);
}

.authbox .password-wrapper .toggle-password {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 8px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px !important;
  min-width: 34px;
  height: 34px;
  margin: 0;
  padding: 6px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #647879;
  cursor: pointer;
}

.authbox .password-wrapper .toggle-password:hover {
  background: #e9faf9;
  color: #087f83;
}

.authbox .password-wrapper .toggle-password svg {
  display: block;
  width: 22px;
  height: 22px;
  pointer-events: none;
}

.authbox .password-wrapper .toggle-password:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 2px;
}
