/* ======================================
   GLOBAL
====================================== */
:root{
  --container: 1280px;
  --pad-x: 52px;

  --bg: #ffffff;
  --shadow: 0 4px 14px rgba(0,0,0,0.08);

  --accent: #f79f7e;
  --text: #2b2b2b;

  --hero-bg: #fff3e2;

  --nav-h: 74px; /* tinggi navbar kira-kira */
}

html{ scroll-behavior: smooth; }

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body{
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background: var(--bg);
}


img{ max-width: 100%; display: block; }

/* ================= CENTER IMAGE ================= */
.lined-shapes-wrapper{
  width: 100%;
  display: flex;
  justify-content: center;   /* tengah horizontal */
  align-items: center;
  background: #fff3e2;
}

.lined-shapes-wrapper img{
  max-width: 40%;
  height: auto;
    background: transparent;
}


/* ======================================
   NAVBAR
====================================== */
.navbar{
  position: sticky;
  top: 0;
  z-index: 999;
  width: 100%;
  background: var(--bg);
  box-shadow: var(--shadow);
}

.nav-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px var(--pad-x);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  position: relative;
}

.nav-logo img{
  height: 46px;
}

/* ================= DESKTOP MENU ================= */
.nav-menu{
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-link{
  font-weight: 600;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color .25s ease;
}

.nav-link:hover{ color: var(--accent); }

.nav-link::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}
.nav-link:hover::after{ width: 100%; }

/* ================= TOGGLE ================= */
.nav-toggle{
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  cursor: pointer;
  position: relative;
}

.nav-toggle span{
  position: absolute;
  left: 50%;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transform: translateX(-50%);
  transition: .25s ease;
}

.nav-toggle span:nth-child(1){ top: 14px; }
.nav-toggle span:nth-child(2){ top: 21px; }
.nav-toggle span:nth-child(3){ top: 28px; }

.navbar.nav-open .nav-toggle span:nth-child(1){
  top: 21px;
  transform: translateX(-50%) rotate(45deg);
}
.navbar.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.navbar.nav-open .nav-toggle span:nth-child(3){
  top: 21px;
  transform: translateX(-50%) rotate(-45deg);
}

/* ======================================
   NAVBAR ARTIKEL (VARIAN KHUSUS)
====================================== */

.navbar.navbar-artikel{
  background: #ffffff;
}

/* ======================================
   NAVBAR ARTIKEL – LOGO KIRI
====================================== */

/* tampilkan kembali logo */
.navbar-artikel .nav-logo{
  display: block !important;
}

/* kanan navbar */
.nav-artikel-right{
  display: flex;
  align-items: center;
  gap: 16px;
}

/* jaga logo tidak kegeser */
.navbar-artikel .nav-container{
  justify-content: space-between;
  gap: 14px;
}


/* ================= BREADCRUMB ================= */
.breadcrumb{
  display: flex;
  align-items: center;
  gap: 6px;

  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.breadcrumb a{
  color: #555;
  text-decoration: none;
}

.breadcrumb a:hover{
  text-decoration: underline;
}

.breadcrumb strong{
  font-weight: 700;
  color: #111;
}

/* ================= DROPDOWN ================= */
.nav-sub-dropdown{
  position: relative;
}

.nav-sub-btn{
  border: none;
  border-radius: 999px;
  padding: 10px 20px;

  font-weight: 600;
  font-size: 14px;

  background: #fff;
  cursor: pointer;

  box-shadow: 0 6px 14px rgba(0,0,0,.10);
}

/* menu dropdown */
.nav-sub-menu{
  position: absolute;
  right: 0;
  top: calc(100% + 10px);

  min-width: 160px;
  padding: 10px;

  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(0,0,0,.16);

  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;

  transition: opacity .25s ease, transform .25s ease;
  z-index: 20;
}

.nav-sub-menu.show{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-sub-menu a{
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: #111;
  text-decoration: none;
  border-radius: 12px;
}

.nav-sub-menu a:hover{
  background: rgba(0,0,0,.05);
}

/* ================= SUB TEMA COLOR ================= */
.nav-sub-dropdown[data-sub="Mengenal DSD"]   .nav-sub-btn{ background:#f7e2a4; }
.nav-sub-dropdown[data-sub="Catatan Ruang Abu-Abu"] .nav-sub-btn{ background:#f8c1b0; }
.nav-sub-dropdown[data-sub="Cerita dari Teman"]  .nav-sub-btn{ background:#dbebc2; }
/* ================= MOBILE ================= */
@media(max-width:640px){
  .breadcrumb{ display:none; }

  .nav-sub-btn{
    padding: 8px 16px;
    font-size: 13px;
  }
}


/* ======================================
   FIX ANCHOR OFFSET (ANTI KETUTUP NAV)
====================================== */
#beranda, #profil, #artikel, #kontak{
  scroll-margin-top: calc(var(--nav-h) + 12px);
}

/* ======================================
   HERO / BERANDA
====================================== */
#beranda.hero{
  width: 100%;
  background:     linear-gradient(
      180deg,
      #ffe1c8 0%,
      #ffe1c8 60%,
      #fff3e2 100%
    );
  padding: 120px 0;           /* lebih pendek seperti contoh */
}

.hero-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.hero-text{
  flex: 1;
  max-width: 1000px;
}

.hero-text h1{
  font-family: 'Poppins', sans-serif;
  font-weight: 600;              /* HERO BOLD */
  font-size: 65px;
  line-height: 1.1;
  letter-spacing: -0.6px;        /* biar padat & modern */
  color: #1f1f1f;
  margin-bottom: 12px;
  margin-top: 75px;
}

.hero-text p{
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 1.6;
  color: #4a4a4a;
  max-width: 1560px;
  margin-bottom: 11px;
  
}

/* ======================================
   SECTION DEMO (hapus nanti kalau sudah ada isi)
====================================== */
section{
  padding: 80px var(--pad-x);
}


/* ======================================
   RESPONSIVE: TABLET + MOBILE (hamburger ON)
====================================== */
@media (max-width: 1024px){
  :root{ --pad-x: 22px; }

  /* tampilkan hamburger */
  .nav-toggle{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* menu jadi dropdown */
  .nav-menu{
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--bg);
    box-shadow: var(--shadow);
    border-top: 1px solid rgba(0,0,0,0.06);

    display: grid;
    gap: 8px;
    padding: 14px var(--pad-x);

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease;
  }

  .navbar.nav-open .nav-menu{
    max-height: 360px;
    opacity: 1;
    transform: translateY(0);
    overflow: visible;
  }

  .nav-link{
    font-size: 18px;     /* tablet/mobile aman */
    padding: 10px 0;
  }

  /* ================= HERO TABLET: BERSEBELAHAN ================= */
  .hero-container{
    flex-direction: row;
    align-items: center;
    gap: 20px;
  }

  .hero-text h1{ font-size: 42px; }
  .hero-text p{ font-size: 18px; }

}


/* ======================================
   RESPONSIVE: MOBILE
====================================== */
@media (max-width: 550px){
  :root{ 
    --pad-x: 20px;    /* bikin navbar lebih lebar */
    --nav-h: 68px; 
  }

  /* navbar kembali normal: kiri - kanan */
  .nav-container{
    justify-content: space-between;
    position: relative;
    padding-left: var(--pad-x);
    padding-right: var(--pad-x);
  }

  /* logo tetap di kiri */
  .nav-logo{
    position: left;      /* HAPUS absolute */
    transform: none;
  }

  .nav-logo img{
    height: 40px;
  }

  /* hamburger tetap di kanan */
  .nav-toggle{
    position: relative;      /* ikut flow flex */
  }

  /* ================= HERO MOBILE: GAMBAR DI BAWAH + CENTER ================= */
  .hero-container{
    flex-direction: column;    /* teks atas, gambar bawah */
    align-items: flex-start;   /* teks tetap rapi */
    gap: 14px;
  }

  .hero-text h1{ font-size: 35px; }
  .hero-text p{ font-size: 20px; }

  .hero-illustration{
    width: 100%;
    justify-content: center;   /* gambar center */
  }

  .hero-illustration img{
    margin: 0 auto;
    max-width: 260px;
  }
}

/* ======================================
   PROFIL
====================================== */
#profil.profil{
  background: #fff3e2; /* sama tone seperti contoh */
  padding: 70px 0;
}

.profil-top,
.profil-desc,
.profil-text,
.profil-list li{
  text-align: justify;
  text-justify: inter-word;
}

.profil-container{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* paragraf kecil paling atas */
.profil-top{
  font-size: 18px;
  line-height: 1.7;
  color: #2f2f2f;
  margin-bottom: 14px;
}

/* judul besar */
.profil-title{
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  color: #1f1f1f;
  margin-bottom: 10px;
}

/* deskripsi latar belakang */
.profil-desc{
  font-size: 18px;
  line-height: 1.8;
  color: #2f2f2f;
  margin-bottom: 26px;
}

/* grid bawah: kiri (visi+misi) & kanan (tujuan) */
.profil-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 46px;
  align-items: start;
}

/* subjudul (Visi, Misi, Tujuan) */
.profil-subtitle{
  font-size: 28px;
  font-weight: 600;
  color: #1f1f1f;
  margin: 16px 0 8px;
}

.profil-text{
  font-size: 16px;
  line-height: 1.8;
  color: #2f2f2f;
  max-width: 520px;
}

/* bikin “Tujuan” agak menjorok ke kanan seperti contoh */
.profil-right{
  padding-left: 40px;
}

/* ================= TUJUAN LIST ================= */
.profil-list{
  list-style: none;            /* hilangkan bullet default */
  padding-left: 0;
  margin-top: 8px;
}

.profil-list li{
  position: relative;
  padding-left: 26px;          /* jarak ikon */
  margin-bottom: 12px;

  font-size: 16px;
  line-height: 1.8;
  color: #2f2f2f;
}

/* bullet custom (bulat kecil) */
.profil-list li::before{
  content: "•";
  position: absolute;
  left: 0;
  top: 0;

  font-size: 22px;
  line-height: 1;
  color: var(--accent);        /* pakai warna brand */
}


/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 1024px){
  .profil-title{ font-size: 32px; }
  .profil-subtitle{ font-size: 24px; }
  .profil-right{ padding-left: 20px; }
}

@media (max-width: 700px){
  #profil.profil{ padding: 52px 0; }

  .profil-grid{
    grid-template-columns: 1fr; /* jadi 1 kolom */
    gap: 22px;
  }

  .profil-right{
    padding-left: 0; /* hilangkan menjorok */
  }

  .profil-text{ max-width: 100%; }
}

/* =========================
   ARTIKEL (3 CARD) - RESPONSIVE FIX
========================= */
#artikel {
  padding: 90px 0;
  background: var(--hero-bg);
}

.artikel-container{
  width: min(1150px, 100%);
  margin: 0 auto;
}

.artikel-judul{
  font: 600 42px 'Poppins', cursive;
  color: #2b2b2b;
  text-align: center;
  margin: 0 0 26px;
}

.artikel-list{
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* CARD */
.artikel-card{
  background: var(--card-bg, #9f9f9f);
  border-radius: 26px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 38px 56px;
  position: relative;
  overflow: hidden;

  text-decoration: none;
  color: inherit;

  box-shadow: 0 10px 22px rgba(0,0,0,0.12);
  transform: translateY(0);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.artikel-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.18);
  filter: saturate(1.02);
}

/* TEKS */
.artikel-text{
  position: relative;
  z-index: 2;
  max-width: 62%;
}

.artikel-text h3{
  margin: 0;
  font: 350 28px 'Poppins', sans-serif;
  letter-spacing: .2px;
  color: #2b2b2b;
}

/* tombol "Buka" */
.artikel-btn{
  display: inline-block;
  margin-top: 14px;
  padding: 11px 34px;
  border-radius: 999px;
  font: 700 14px 'Poppins', sans-serif;
  color: #4d4d4d;
  background: var(--btn-bg, #f0bf52);
  box-shadow: 0 10px 18px rgba(0,0,0,0.10);
}

/* ILUSTRASI */
.artikel-img{
  position: absolute;
  right: 34px;
  bottom: -10px;
  height: 200px;
  width: auto;
  z-index: 1;
  opacity: 0.95;
  pointer-events: none;
  user-select: none;
}

/* MODE REVERSE (gambar kiri, teks kanan) */
.artikel-card.reverse .artikel-text{
  margin-left: auto;
  text-align: right;
}
.artikel-card.reverse .artikel-img{
  left: 34px;
  right: auto;
}

/* WARNA TIAP CARD */
.artikel-card.a1{ --card-bg:#f7e2a4; --btn-bg:#ffffff; }
.artikel-card.a2{ --card-bg:#f8c1b0; --btn-bg:#ffffff; }
.artikel-card.a3{ --card-bg:#dbebc2; --btn-bg:#ffffff; }

/* =========================
   TABLET (<= 1024px)
   - teks aman, gambar tidak nutup
========================= */
@media (max-width: 1024px){
  #artikel{ padding: 70px 0; }

  .artikel-container{ width: min(900px, 94%); }

  .artikel-card{
    padding: 24px 28px;
    border-radius: 22px;
    min-height: 150px;
  }

  /* tambah ruang supaya ilustrasi tidak makan teks */
  .artikel-card{ padding-right: 210px; }
  .artikel-card.reverse{ padding-left: 210px; padding-right: 28px; }

  .artikel-text{ max-width: 100%; }

  .artikel-text h3{ font-size: 24px; }

  .artikel-img{
    height: 150px;
    right: 18px;
    bottom: -14px;
  }

  .artikel-card.reverse .artikel-img{
    left: 18px;
    right: auto;
  }
}

/* =========================
   MOBILE (<= 640px)
   - layout stack rapi
   - ilustrasi jadi dekor bawah kanan/kiri
========================= */
@media (max-width: 640px){
  #artikel{ padding: 60px 0; }

  .artikel-judul{ font-size: 34px; }

  .artikel-card{
    padding: 20px 20px 92px; /* bawah extra buat gambar */
    min-height: 0;
    border-radius: 20px;
  }

  /* hilangkan padding khusus ilustrasi tablet */
  .artikel-card{ padding-right: 20px; }
  .artikel-card.reverse{ padding-left: 20px; padding-right: 20px; }

  .artikel-card.reverse .artikel-text{
    margin-left: 0;
    text-align: left;
  }

  .artikel-text h3{
    font-size: 18px;
    line-height: 1.25;
  }

  .artikel-btn{
    padding: 10px 28px;
    font-size: 13px;
  }

  .artikel-img{
    height: 110px;
    right: 14px;
    bottom: -18px;
  }

  .artikel-card.reverse .artikel-img{
    left: 14px;
    right: auto;
  }

  /* ukuran & padding mobile */
  .artikel-card{ padding: 18px 16px 38px; }
  .artikel-text h3{ font-size: 18px; }
  .artikel-img{ height: 110px; bottom: -18px; }

  /* ===== FIX UTAMA: paksa semua gambar ke KANAN (termasuk reverse) ===== */
  .artikel-card .artikel-img,
  .artikel-card.reverse .artikel-img{
    right: 14px !important;
    left: auto !important;
  }

  /* reverse hanya untuk desktop/tablet, di mobile disamakan */
  .artikel-card.reverse .artikel-text{
    margin-left: 0 !important;
    text-align: left !important;
  }
}

/* =========================
   LIST ARTIKEL PER SUB TEMA
========================= */

.list-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:36px;
}

.list-header h2{
  font:700 36px 'Poppins', sans-serif;
  color:#2b2b2b;
  margin:0;
}
/* ======================================
   ARTIKEL LIST – FULL WIDTH + BIG CARD
====================================== */

/* buka lebar container KHUSUS halaman ini */
.section .container{
  width: 100%;
}

/* GRID */
.grid-artikel{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 32px;
}

/* CARD */
.card-artikel{
  background: #ffffff;
  border-radius: 10px;
  padding: 5px;
  min-height: 420px;

  display: flex;
  flex-direction: column;

  text-decoration: none;
  color: #2b2b2b;

  box-shadow: 0 12px 28px rgba(0,0,0,.14);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card-artikel:hover{
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,.20);
}

/* THUMBNAIL 4:3 */
.thumb-artikel{
  width: 100%;
  aspect-ratio: 4 / 3;        /* ⬅️ INI KUNCI 4:3 */
  
  border-radius: 12px;
  background: linear-gradient(135deg,#f9a37c,#f6d87a);

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  margin-bottom: 18px;
}


/* TITLE */
.card-artikel h4{
  font: 700 22px 'Poppins', sans-serif;
  line-height: 1.35;
  margin: 0 0 10px;
    padding: 15px;
}

/* DATE */
.card-artikel p{
  font-size: 16px;
  color: #666;
    padding: 15px;
  margin-top: auto; /* tanggal nempel bawah */
}

/* ================= MOBILE ================= */
@media(max-width: 640px){
  .section .container{
    max-width: 100%;
  }

  .grid-artikel{
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .card-artikel{
    min-height: auto;
  }

  .thumb-artikel{
    height: 220px;
  }
}


/* =========================
   ARTIKEL DETAIL (PUBLIC)
========================= */

.article-wrapper{
  max-width:900px;
  margin:40px auto;
  padding:0 20px;
}

/* META */
.article-meta{
  display:flex;
  justify-content:space-between;
  font-size:14px;
  color:#333;
  margin-bottom:8px;
}
.article-meta span{
  font-weight:600;
}
.divider{
  height:3px;
  background:#222;
  margin-bottom:20px;
}

/* TITLE */
.article-title{
  font-size:32px;
  font-weight:700;
  margin-bottom:25px;
  color:#2b2b2b;
}

/* IMAGE */
.article-image{
  border-radius:20px;
  overflow:hidden;
  margin-bottom:25px;
}
.article-image img{
  width:100%;
  height:320px;
  object-fit:cover;
  background:linear-gradient(90deg,#0a7dbb,#ffb703);
}

/* CONTENT */
.article-content{
  font-size:16px;
  line-height:1.8;
  margin-bottom:30px;
  color:#2b2b2b;
}
.article-content h1,
.article-content h2,
.article-content h3{
  margin-top:20px;
}
.article-content img{
  max-width:100%;
  border-radius:12px;
  margin:15px 0;
}

/* AUTHOR */
.author-box{
  background:#cfe6a8;
  border-radius:12px;
  padding:15px 20px;
}
.author-box strong{
  display:block;
  font-size:15px;
}
.author-box span{
  font-size:14px;
}

/* RESPONSIVE */
@media(max-width:600px){
  .article-title{
    font-size:24px;
  }
  .article-image img{
    height:220px;
  }
}

/* =========================
   BACK BUTTON - ARTIKEL DETAIL
========================= */

.article-back-btn{
  position:absolute;
  top:28px;
  right:28px;

  background:#f0bf52; /* selaras tombol "Buka" */
  color:#111;
  text-decoration:none;

  padding:10px 22px;
  border-radius:999px;

  font:600 14px 'Poppins', sans-serif;
  box-shadow:0 8px 18px rgba(0,0,0,.12);

  transition:transform .2s ease, box-shadow .2s ease;
  z-index:10;
}

.article-back-btn:hover{
  transform:translateY(-2px);
  box-shadow:0 14px 28px rgba(0,0,0,.18);
}

/* supaya absolute bekerja di wrapper */
.article-wrapper{
  position:relative;
}

/* MOBILE */
@media(max-width:600px){
  .article-back-btn{
    top:16px;
    right:16px;
    padding:8px 18px;
    font-size:13px;
  }


.thumb-artikel{
  height:160px;
  border-radius:18px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  margin-bottom:12px;
}
}

/* ======================================
   ARTICLE DETAIL – CONTENT BOX
====================================== */

.article-wrapper{
  max-width: 900px;
  margin: 40px auto;
  padding: 0 20px;
}

/* BOX PUTIH UNTUK BACAAN */
.article-box{
  background: #ffffff;
  border-radius: 22px;
  padding: 32px 36px;
  box-shadow: 0 18px 40px rgba(0,0,0,.10);
}

/* META */
.article-meta{
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.divider{
  height: 3px;
  background: #222;
  margin-bottom: 22px;
}

/* TITLE */
.article-title{
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 26px;
  color: #2b2b2b;
}

/* ======================================
   IMAGE HANDLING
====================================== */

/* container gambar */
.article-image{
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin: 28px 0;
  background: transparent; /* biarkan gambar tentukan */
}

/* gambar fit natural */
.article-image img{
  width: 100%;
  height: auto;
  max-height: 520px;

  object-fit: contain; /* TIDAK POTONG GAMBAR */
  display: block;
  background: transparent;
}

/* ======================================
   CONTENT TEXT
====================================== */

.article-content{
  font-size: 16px;
  line-height: 1.85;
  color: #2b2b2b;
  margin-bottom: 30px;
}

.article-content h1,
.article-content h2,
.article-content h3{
  margin-top: 24px;
}

.article-content img{
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 18px 0;
}

/* ======================================
   AUTHOR BOX
====================================== */

.author-box{
  background: #f1f4ec;
  border-radius: 14px;
  padding: 18px 22px;
  margin-top: 36px;
}

.author-box strong{
  display: block;
  font-size: 15px;
}

.author-box span{
  font-size: 14px;
  color: #444;
  line-height: 1.8;
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 640px){
  .article-box{
    padding: 22px 20px;
  }

  .article-title{
    font-size: 24px;
  }

  .article-image img{
    max-height: 360px;
  }
}

/* ================= KONTAK FULL BLEED ================= */
/* ================= KONTAK – FIX FINAL ================= */
#kontak{
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;

  /* nempel bawah layar */
  min-height: auto;
}

/* CARD FULL BLEED AMAN */
.kontak-card{
  position: relative;
  left: 50%;
  transform: translateX(-50%);

  width: 100vw;          /* full layar */
  max-width: 100%;

  background: #ffe1c8;
  padding: 22px 88px 14px;
  box-sizing: border-box;

  /* radius hanya atas */
  border-radius: 28px 28px 0 0;
}


/* ================= JUDUL ================= */
.kontak-title{
  margin: 0 0 16px 0;
  font: 600 34px 'Poppins', sans-serif;
  color: #1f1f1f;
  padding-bottom: 10px;
  border-bottom: 3px solid rgba(0,0,0,0.7);
}

/* ================= GRID FORM ================= */
.kontak-grid{
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 18px;
  margin-top: 14px;
}

/* kiri */
.kontak-left{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* input */
.kontak-input,
.kontak-textarea{
  width: 100%;
  background: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font: 500 13px 'Poppins', sans-serif;
  box-sizing: border-box;
}

.kontak-textarea{
  min-height: 160px;
  resize: none;
}

/* tombol */
.kontak-btn{
  background: #f6e1a9;
  border: none;
  border-radius: 6px;
  padding: 12px;
  font: 500 14px 'Poppins', sans-serif;
  cursor: pointer;
}

/* ================= FOOTER ================= */
.kontak-footer{
  margin-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

/* sosial */
/* SOCIAL MEDIA RATA KANAN */
.kontak-social{
  margin-left: auto;          /* dorong ke kanan */
  margin-right: 22px;      
  display: flex;
  align-items: center;
  justify-content: flex-end;  /* teks & ikon rata kanan */
  gap: 10px;
  text-align: right;
  
}


.social-ico{
  font-size: 16px;
  color: rgba(0,0,0,0.75);
  text-decoration: none;
}

/* copyright */
.kontak-copy{
  background: #dff6b6;
  padding: 10px 16px;
  border-radius: 999px;
  font: 600 12px 'Poppins', sans-serif;
}

@media (max-width: 900px){

  /* ===== GRID FORM ===== */
  .kontak-grid{
    display: grid;
    grid-template-columns: 1fr;
    grid-template-areas:
      "name"
      "email"
      "msg"
      "btn";
    gap: 14px;
  }

  /* pecah child biar ikut grid */
  .kontak-left{
    display: contents;
  }

  /* mapping area */
  .kontak-input[type="text"]{
    grid-area: name;
  }

  .kontak-input[type="email"]{
    grid-area: email;
  }

  .kontak-right{
    grid-area: msg;
  }

  .kontak-btn{
    grid-area: btn;
    width: 100%;
  }

  /* ===== FOOTER ===== */
  .kontak-footer{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap; /* biar aman kalau sempit */
  }

  /* kiri (copy) */
  .kontak-copy{
    display: flex;
    align-items: center;
    gap: 8px;

    width: auto;
    text-align: left;
    padding: 8px 12px;
    font-size: 11px;
  }

  /* kanan (social) */
  .kontak-social{
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;

    margin: 0;
    font-size: 12px;
  }

    .kontak-card{
    padding: 18px 16px 12px;
  }

}

/*//////////////////////*/

body {
  background: #fff3e2;
  min-height: 100vh;
}

/* WRAPPER */
.login-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* CARD */
.login-card {
  background: #ffffff;
    width: 100%;
  max-width: 420px;   /* ⬅️ lebih ideal */
  padding: 40px 30px; /* ⬅️ lebih proporsional */
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.login-card h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 6px;
}

.login-card h3 {
  color: #f49b7f;
  font-weight: 600;
  margin-bottom: 30px;
}

/* INPUT */
.login-card input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 14px;
}

/* BUTTON */
.login-card button {
  background: #fff2a8;
  border: none;
  padding: 10px 26px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
  transition: 0.3s;
}

.login-card button:hover {
  background: #ffe97c;
}

/* ERROR */
.error {
  background: #ffd6d6;
  color: #c0392b;
  padding: 8px;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 15px;
}

/* FOOTER */
.login-footer {
  margin-top: 18px;
  color: #6a6a6a;
  font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  .login-card {
    padding: 30px 20px;
  }
}

/* ================= TABLET ================= */
@media (max-width: 1024px) {
  .login-card {
    max-width: 380px;
    padding: 30px 25px;
  }
}

/* ================= MOBILE ================= */
@media (max-width: 600px) {

  .login-wrapper {
    padding: 15px;
  }

  .login-card {
    max-width: 100%;
    padding: 25px 20px;
    border-radius: 12px;
  }

  .login-card h2 {
    font-size: 18px;
  }

  .login-card h3 {
    font-size: 14px;
  }

  .login-card input {
    padding: 10px;
    font-size: 14px;
  }

  .login-card button {
    width: 100%;
    padding: 10px;
    font-size: 14px;
  }

  .login-footer {
    font-size: 12px;
    text-align: center;
  }
}
/* =================================
   CKEDITOR FRONTEND RENDER (POPPINS)
================================= */

.ck-content {
  font-family: 'Poppins', sans-serif;   /* ⬅️ KUNCI */
  font-size: 15px;
  line-height: 1.15;
  color: #2b2b2b;
}

/* PARAGRAPH */
.ck-content p {
  margin: 0 0 18px;
  font-family: inherit;
    text-align: justify;
}

/* HEADINGS */
.ck-content h2 {
  font-size: 28px;
  margin: 36px 0 18px;
  font-weight: 700;
  font-family: inherit;
}

.ck-content h3 {
  font-size: 22px;
  margin: 30px 0 16px;
  font-weight: 600;
  font-family: inherit;
}

.ck-content h4 {
  font-size: 18px;
  margin: 26px 0 14px;
  font-weight: 600;
  font-family: inherit;
}

/* BOLD & ITALIC */
.ck-content strong {
  font-weight: 700;
  font-family: inherit;
}

.ck-content em,
.ck-content i {
  font-style: italic;
  font-family: inherit;
}

/* LINK */
.ck-content a {
  color: #1a73e8;
  text-decoration: underline;
  word-break: break-word;
  font-family: inherit;
}

/* ===============================
   TABLE
================================ */
.ck-content figure.table {
  margin: 30px 0;
  overflow-x: auto;
}

.ck-content table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
  font-family: inherit;
  
}

.ck-content table td,
.ck-content table th {
  border: 1px solid #ccc;
  padding: 12px;
  vertical-align: top;
  font-family: inherit;
  text-align: justify;
}

.ck-content table tr:first-child td {
  background: #f5f5f5;
  font-weight: 600;
  font-family: inherit;
    text-align: center;
}

/* ===============================
   BLOCKQUOTE
================================ */
.ck-content blockquote {
  border-left: 4px solid #e0e0e0;
  padding: 16px 20px;
  margin: 30px 0;
  background: #fafafa;
  font-family: inherit;
}

.ck-content blockquote p {
  margin-bottom: 10px;
  font-family: inherit;
}

/* LIST */
.ck-content ul,
.ck-content ol {
  margin: 12px 0 12px 26px;
  padding-left: 20px;
  font-family: inherit;
}

.ck-content li {
  margin-bottom: 6px;
  list-style: disc;
  font-family: inherit;
}

.ck-content ol li {
  list-style: decimal;
}

/* ===============================
   MEDIA (VIDEO)
================================ */
.ck-content figure.media {
  margin: 30px 0;
}

.ck-content .media iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 12px;
}
