/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f3f4f6;
  color: #111827;
  line-height: 1.6;
}

/* ================= GLOBAL ================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 0 16px;
}

img {
  width: 100%;
  display: block;
  border-radius: 6px;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ================= HEADER ================= */
.header {
  background: #111827;
}

/* HEADER INNER */
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 68px;
}

/* BRAND */
.brand h1 {
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  white-space: nowrap;
}

.tagline {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: 2px;
  color: #dc2626; /* merah berita */
}

/* NAV */
.nav ul {
  display: flex;
  gap: 18px;
  list-style: none;
}

.nav a {
  font-size: 13px;
  font-weight: 600;
  color: #e5e7eb;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.nav a:hover {
  color: #ffffff;
  border-bottom: 2px solid #dc2626;
}

/* HEADER DIVIDER / HALL */
.header-divider {
  height: 4px;
  background: linear-gradient(
    to right,
    #dc2626 0%,
    #dc2626 30%,
    #1f2937 30%,
    #1f2937 100%
  );
}

.header-divider {
  pointer-events: none;
}

.header {
  position: relative;
  z-index: 10;
}


/* ================= HERO ================= */
.hero {
  background: linear-gradient(135deg, #020617, #111827);
  color: #ffffff;
  padding: 36px 0;
  text-align: center;
}

.hero h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.hero p {
  font-size: 14px;
  color: #d1d5db;
}

/* ================= SECTION ================= */
section {
  margin-top: 36px;
}

/* section h3 {
  font-size: 18px;
  margin-bottom: 16px;
  padding-left: 10px;
  border-left: 4px solid #dc2626;
} */

.section-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
  padding-left: 14px;
  border-left: 6px solid #dc2626;
  text-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* ================= HEADLINE ================= */
.headline-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.headline-content {
  padding: 16px;
}

.headline-content h4 {
  font-size: 18px;
  margin-bottom: 8px;
}

.headline-content p {
  font-size: 14px;
  color: #4b5563;
  margin-bottom: 10px;
}

.headline-content a {
  font-size: 14px;
  font-weight: 700;
  color: #dc2626;
}

/* ================= NEWS GRID ================= */
.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.news-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 14px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.12);
}

.news-card h4 {
  font-size: 15px;
  margin: 10px 0 6px;
}

.news-card p {
  font-size: 13px;
  color: #4b5563;
}

/* ================= CTA ================= */
.cta {
  margin-top: 56px;
  background: #020617;
  color: #ffffff;
  text-align: center;
  padding: 42px 16px;
}

.cta h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.cta p {
  font-size: 14px;
  color: #d1d5db;
  margin-bottom: 18px;
}

.btn {
  display: inline-block;
  background: #dc2626;
  color: #ffffff;
  padding: 10px 26px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #b91c1c;
}

/* ================= FOOTER ================= */
.footer {
  background: #020617;
  color: #9ca3af;
  text-align: center;
  padding: 18px;
  font-size: 13px;
  margin-top: 40px;
}

/* ================= TABLET ================= */
@media (min-width: 600px) {
  .brand h1 {
    font-size: 20px;
  }

  .nav a {
    font-size: 14px;
  }

  .hero h2 {
    font-size: 26px;
  }

  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================= DESKTOP ================= */
@media (min-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .headline-card img {
    height: 380px;
    object-fit: cover;
  }

  section h3 {
    font-size: 20px;
  }
}

.news-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.news-card {
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}


/* ================= footerrrrrrrr ================= */

/* ===== FOOTER NEWS PRO ===== */

.footer-news {
  background: #0b1220;
  color: #d1d5db;
  font-size: 14px;
}

.footer-top {
  padding: 50px 20px;
}

.footer-wrap {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1.4fr;
  gap: 40px;
}

.footer-brand h3 {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 12px;
}

.footer-brand p {
  line-height: 1.8;
  color: #cbd5f5;
}

.footer-col h4 {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #cbd5f5;
  text-decoration: none;
}

.footer-col a:hover {
  color: #ef4444;
}

.footer-ig {
  display: inline-block;
  margin-bottom: 12px;
  font-weight: 600;
  color: #ef4444;
  text-decoration: none;
}

.footer-ig:hover {
  text-decoration: underline;
}

.footer-small {
  font-size: 13px;
  color: #9ca3af;
  line-height: 1.6;
}

.footer-divider {
  height: 1px;
  background: #1f2937;
}

.footer-bottom {
  padding: 18px 20px;
}

.footer-bottom-wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom p {
  font-size: 13px;
  color: #9ca3af;
}

.footer-disclaimer {
  max-width: 600px;
  text-align: right;
}

/* MOBILE */
@media (max-width: 768px) {
  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom-wrap {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer {
    text-align: center;
  }
}


/* ================= artikel konten ================= */


.article-content {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 16.5px;
  line-height: 1.85;
  color: #1f2937;
}

.article-content p {
  margin-bottom: 1.4em;
}

.article-content h2 {
  font-size: 22px;
  margin: 36px 0 14px;
  color: #111827;
}

.article-content ul {
  margin: 16px 0 20px 24px;
}

.article-content li {
  margin-bottom: 8px;
}



/* ================= layout news pro ================= */

/* ================= artikel detail ================= */

/* ================= ARTICLE DETAIL ================= */

.article-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin: 36px auto;
}

/* MAIN ARTICLE */
.article-main {
  background: #ffffff;
  padding: 36px 32px;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}

/* TITLE */
#article-title {
  font-size: 30px;
  line-height: 1.35;
  margin-bottom: 14px;
  color: #020617;
}

/* META */
.article-meta {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 22px;
}

/* IMAGE */
.article-image {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 28px;
  object-fit: cover;
}

/* CONTENT TYPOGRAPHY */
.article-content {
  font-family: "Merriweather", Georgia, serif;
  font-size: 17.5px;
  line-height: 1.95;
  color: #1f2937;
}

.article-content p {
  margin-bottom: 1.8em;
}

/* HEADING */
.article-content h2 {
  font-size: 24px;
  line-height: 1.4;
  margin: 3em 0 1.4em;
  color: #020617;
  position: relative;
  padding-left: 14px;
}

.article-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 70%;
  background: #dc2626;
  border-radius: 3px;
}

/* LIST */
.article-content ul {
  margin: 1.6em 0 2em 2.2em;
}

.article-content li {
  margin-bottom: 0.6em;
}

/* SIDEBAR */
.article-sidebar {
  background: #ffffff;
  padding: 26px 22px;
  border-radius: 12px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.06);
}

.article-sidebar h4 {
  font-size: 16px;
  margin-bottom: 18px;
  padding-left: 10px;
  border-left: 4px solid #dc2626;
}

/* RELATED ITEM */
.related-item {
  margin-bottom: 20px;
}

.related-item a {
  text-decoration: none;
  color: inherit;
}

.related-item img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 8px;
}

.related-item h5 {
  font-size: 14px;
  line-height: 1.45;
  color: #020617;
}

/* HOVER */
.related-item h5:hover {
  color: #dc2626;
}

/* ================= DESKTOP ================= */

@media (min-width: 992px) {
  .article-layout {
    grid-template-columns: 3fr 1.3fr;
  }
}


/* cta artikel */

.article-cta {
  margin-top: 50px;
  padding: 24px;
  border-radius: 10px;
  background: #f9fafb;
  border-left: 5px solid #dc2626;
}

.article-cta p {
  margin-bottom: 10px;
}

.article-cta a {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: #dc2626;
  text-decoration: none;
}

/* === FIX MOBILE: rapetin judul & spacing artikel === */
@media (max-width: 600px) {
  .article-main {
    padding: 22px 18px;   /* sebelumnya 36px 32px */
  }

  #article-title {
    font-size: 24px;      /* sebelumnya 30px */
    line-height: 1.15;    /* rapet tapi tetap enak dibaca */
    margin-bottom: 10px;
    letter-spacing: -0.2px;
  }

  .article-meta {
    margin-bottom: 14px;  /* sebelumnya 22px */
  }

  .article-image {
    margin-bottom: 18px;  /* sebelumnya 28px */
  }

  .article-content {
    font-size: 16.5px;    /* biar nyaman di HP */
    line-height: 1.8;
  }

  .article-content h2 {
    margin: 2.2em 0 1em;  /* sebelumnya 3em 0 1.4em */
    font-size: 20px;      /* sebelumnya 24px */
  }
}


/* === PATCH DETAIL ARTICLE (tempel paling bawah) === */
.article-meta{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  font-size:13px;
  color:#6b7280;
}
.article-meta .meta-dot{
  color:#9ca3af;
}

.article-image{
  border-radius:14px;
  box-shadow:0 12px 28px rgba(0,0,0,0.12);
}

@media (max-width: 600px){
  .article-content h2{
    margin: 2em 0 0.9em !important;
    font-size: 20px !important;
  }
}

