:root{
  --navy: #0d1b3e;
  --navy-2: #0d3b66;
  --accent: #d4af37;
  --teal: #1a936f;
  --light-bg: #f5f7fb;
  --text-dark: #1c1c1c;
}

body{
  font-family: 'Poppins', sans-serif;
  color: var(--text-dark);
  background: var(--light-bg);
}
h1,h2,h3,h4,h5,.headline-font{
  font-family: 'Merriweather', serif;
}
a{ text-decoration:none; }

/* Topbar */
.topbar{
  background: var(--navy);
  color: #cfd8ea;
}
.topbar a{ color:#cfd8ea; }
.topbar a:hover{ color: var(--accent); }

/* Navbar */
.main-navbar{
  background: linear-gradient(90deg, var(--navy) 0%, var(--navy-2) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,.15);
}
.navbar-brand .brand-name{
  font-family:'Merriweather', serif;
  font-weight:800;
  font-size:1.6rem;
  color:#fff;
  letter-spacing:.5px;
}
.navbar-brand .brand-tagline{
  font-size:.68rem;
  color: var(--accent);
  letter-spacing:2px;
  text-transform:uppercase;
  margin-top:-4px;
}
.main-navbar .nav-link{
  color:#e8ecf7;
  font-weight:500;
  font-size:.92rem;
  padding:.5rem .8rem !important;
  transition:.2s;
}
.main-navbar .nav-link:hover{ color: var(--accent); }
.btn-search{ background: var(--accent); color:#1c1c1c; border:none; }
.btn-search:hover{ background:#c49b23; color:#fff; }

/* Hero Slider */
.hero-slider{
  position:relative;
}
.hero-slider .carousel-item{
  height: 62vh;
  min-height:380px;
  background-size:cover;
  background-position:center;
}
.hero-slider .carousel-item::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(13,27,62,.15) 0%, rgba(13,27,62,.92) 100%);
}
.hero-caption{
  position:absolute;
  bottom:0; left:0; right:0;
  z-index:2;
  padding: 3rem 0 2.5rem;
}
.hero-caption .badge-tag{
  background: var(--accent);
  color:#1c1c1c;
  font-weight:600;
  letter-spacing:1px;
  text-transform:uppercase;
  font-size:.72rem;
}
.hero-caption h1{
  color:#fff;
  font-weight:800;
  font-size:2.2rem;
  max-width:800px;
  line-height:1.25;
}
.hero-caption p{
  color:#dfe4f2;
  max-width:700px;
}
.hero-slider .carousel-control-prev, .hero-slider .carousel-control-next{ width:5%; }
.hero-slider .carousel-indicators [data-bs-target]{
  background-color: var(--accent);
  width:10px; height:10px; border-radius:50%;
}
.inspiring-tag{
  position:absolute;
  top:1.2rem; right:1.5rem;
  z-index:3;
  background: rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.4);
  color:#fff;
  padding:.35rem 1rem;
  border-radius:30px;
  font-size:.78rem;
  letter-spacing:2px;
  text-transform:uppercase;
  backdrop-filter: blur(4px);
}

/* Section titles */
.section-title{
  display:flex;
  align-items:center;
  gap:.6rem;
  margin-bottom:1.4rem;
  font-weight:700;
  font-size:1.35rem;
  color: var(--navy);
}
.section-title::before{
  content:"";
  width:6px; height:26px;
  background: var(--accent);
  display:inline-block;
  border-radius:3px;
}
.section-title a.see-all{
  margin-left:auto;
  font-size:.82rem;
  font-weight:600;
  color: var(--navy-2);
}
.section-title a.see-all:hover{ color: var(--accent); }

/* Cards */
.news-card{
  background:#fff;
  border-radius:.6rem;
  overflow:hidden;
  box-shadow: 0 2px 12px rgba(13,27,62,.06);
  transition: transform .2s, box-shadow .2s;
  height:100%;
}
.news-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(13,27,62,.14);
}
.news-card img{
  width:100%; height:190px; object-fit:cover;
}
.news-card .card-body{ padding:1rem 1.1rem 1.2rem; }
.news-card .cat-badge{
  display:inline-block;
  background: var(--navy-2);
  color:#fff;
  font-size:.68rem;
  padding:.2rem .6rem;
  border-radius:20px;
  font-weight:600;
  letter-spacing:.5px;
  text-transform:uppercase;
  margin-bottom:.5rem;
}
.news-card h3{
  font-size:1.02rem;
  line-height:1.4;
  font-weight:700;
  color:var(--text-dark);
  margin-bottom:.4rem;
}
.news-card h3 a{ color:inherit; }
.news-card h3 a:hover{ color: var(--navy-2); }
.news-card .meta{
  font-size:.76rem;
  color:#888;
}

.news-card-horizontal{
  display:flex;
  gap:.9rem;
  background:#fff;
  border-radius:.5rem;
  padding:.6rem;
  box-shadow: 0 2px 8px rgba(13,27,62,.05);
  margin-bottom:.8rem;
}
.news-card-horizontal img{
  width:100px; height:75px; object-fit:cover; border-radius:.4rem; flex-shrink:0;
}
.news-card-horizontal h4{
  font-size:.88rem;
  font-weight:600;
  line-height:1.35;
  margin-bottom:.25rem;
}
.news-card-horizontal h4 a{ color: var(--text-dark); }
.news-card-horizontal h4 a:hover{ color: var(--navy-2); }
.news-card-horizontal .meta{ font-size:.72rem; color:#999; }

/* Sidebar */
.widget{
  background:#fff;
  border-radius:.6rem;
  padding:1.2rem;
  box-shadow: 0 2px 12px rgba(13,27,62,.06);
  margin-bottom:1.5rem;
}
.widget-title{
  font-weight:700;
  font-size:1.05rem;
  color:var(--navy);
  margin-bottom:1rem;
  padding-bottom:.6rem;
  border-bottom:2px solid var(--light-bg);
}
.popular-item{
  display:flex;
  gap:.7rem;
  align-items:flex-start;
  padding:.55rem 0;
  border-bottom:1px dashed #e6e9f0;
}
.popular-item:last-child{ border-bottom:none; }
.popular-num{
  font-family:'Merriweather', serif;
  font-weight:800;
  font-size:1.4rem;
  color: var(--accent);
  min-width:28px;
}
.tag-pill{
  display:inline-block;
  background: var(--light-bg);
  color: var(--navy-2);
  font-size:.75rem;
  padding:.3rem .8rem;
  border-radius:20px;
  margin:0 .3rem .5rem 0;
}
.tag-pill:hover{ background: var(--navy-2); color:#fff; }

/* Category pill nav */
.cat-strip{
  background:#fff;
  border-bottom:1px solid #e9ecf3;
}
.cat-strip .nav-link{
  color: var(--navy);
  font-weight:600;
  font-size:.85rem;
  padding:.7rem 1rem;
  white-space:nowrap;
}
.cat-strip .nav-link.active, .cat-strip .nav-link:hover{ color: var(--accent); }

/* Article detail */
.article-header{ padding: 2.5rem 0 1.5rem; background:#fff; }
.article-cat{
  background: var(--navy-2); color:#fff; font-size:.75rem; padding:.3rem .8rem; border-radius:20px; text-transform:uppercase; font-weight:600; letter-spacing:.5px;
}
.article-title{ font-weight:800; font-size:2rem; margin:1rem 0; color:var(--navy); line-height:1.3;}
.article-content{ font-size:1.08rem; line-height:1.9; color:#2b2b2b; }
.article-content p{ margin-bottom:1.3rem; }
.article-content img{ max-width:100%; border-radius:.5rem; }
.article-image-main{ width:100%; max-height:520px; object-fit:cover; border-radius:.6rem; }
.author-box{
  background: var(--light-bg);
  border-radius:.6rem;
  padding:1rem 1.2rem;
  display:flex;
  align-items:center;
  gap:.8rem;
}

/* Footer */
.site-footer{
  background: var(--navy);
  color:#c7cee0;
}
.footer-brand{ color:#fff; font-weight:800; }
.footer-title{ color:#fff; font-weight:700; margin-bottom:1rem; }
.footer-links a{ color:#c7cee0; line-height:2.1; }
.footer-links a:hover{ color: var(--accent); }
.text-light-50{ color:#aab3ce; }
.social-btn{
  width:36px; height:36px; border-radius:50%;
  background: rgba(255,255,255,.08);
  color:#fff;
  display:flex; align-items:center; justify-content:center;
}
.social-btn:hover{ background: var(--accent); color:#1c1c1c; }
.footer-bottom{
  background: rgba(0,0,0,.25);
  color:#9aa4c2;
}

/* Breadcrumb */
.breadcrumb-wrap{ background:#fff; padding:.8rem 0; border-bottom:1px solid #e9ecf3; }

/* Share bar */
.share-bar{ position:relative; }
.share-bar-compact{ padding:0; }
.share-btn{
  width:36px; height:36px;
  border-radius:50%;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: var(--light-bg);
  color: var(--navy-2);
  border:none;
  font-size:1rem;
  transition:.2s;
  cursor:pointer;
}
.share-btn:hover{ transform: translateY(-2px); color:#fff; }
.share-btn.share-fb:hover{ background:#1877f2; }
.share-btn.share-x:hover{ background:#000; }
.share-btn.share-wa:hover{ background:#25d366; }
.share-btn.share-tg:hover{ background:#26a5e4; }
.share-btn.share-copy:hover{ background: var(--accent); color:#1c1c1c; }
.copy-feedback{ font-weight:600; }

/* Pagination */
.pagination .page-link{ color: var(--navy-2); }
.pagination .page-item.active .page-link{ background: var(--navy-2); border-color: var(--navy-2); }

@media (max-width: 768px){
  .hero-caption h1{ font-size:1.4rem; }
  .hero-slider .carousel-item{ height:48vh; }
}

/* Iklan sidebar (tanpa frame, gambar memanjang 1:2 = 300x600) */
.sidebar-ads{margin-bottom:1.5rem;}
.sidebar-ads .ad-item{margin-bottom:1rem;}
.sidebar-ads .ad-item:last-child{margin-bottom:0;}
.sidebar-ads .ad-img{
  display:block;
  width:100%;
  aspect-ratio:1 / 2;   /* ubah rasio di sini, mis. 3 / 5 atau 1 / 1.6 */
  object-fit:cover;
  border-radius:.4rem;
}

/* Caption foto berita */
.article-figure{margin:0 0 1.5rem;}
.article-figure .article-image-main{display:block;}
.article-caption{
  margin-top:.5rem;
  font-size:.85rem;
  line-height:1.5;
  color:#6c757d;
  font-style:italic;
  padding-left:.75rem;
  border-left:3px solid #c9a227;
}
