


/* Container Utama */
.page-article {
  background-color: transparent;
  border-right: 1px solid var(--psg-border);
  padding: 20px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 13px;
  margin-bottom: 25px;
  color: var(--psg-gray);
}

.breadcrumb a {
  color: var(--psg-red);
  text-decoration: none;
}

.breadcrumb .sep {
  margin: 0 8px;
}

/* Artikel Headline */
.article-title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  color: var(--psg-text);
  margin-bottom: 15px;
}

.article-meta {
  margin-bottom: 30px;
  font-size: 14px;
  color: var(--psg-gray);
}

.author-name {
  color: var(--psg-red);
  font-weight: 600;
}
.post-date {
  margin-top: 0.5rem;
}

/* Foto Rasio 4:3 */
.featured-media {
  margin: 0 0 30px 0;
}

.image-wrapper-43 {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--psg-border);
}

.image-wrapper-43 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

figcaption {
  font-size: 14px;
  color: var(--psg-gray);
  margin-top: 10px;
  font-style: italic;
  line-height: 1.4;
}

/* Isi Artikel */
.article-body-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--psg-text);
}

.article-body-content h2,h3 {
  font-size: 24px;
  line-height: 1.5;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* FAQ & Related */
.article-faq {
    margin-top: 40px;
}

.section-heading {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 24px;
    padding-top: 30px;
    border-top: 1px solid var(--x-border);
    color: var(--x-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Container FAQ Toggle */
.faq-container {
    display: flex;
    flex-direction: column;
    gap: 16px; /* Jarak antar kotak FAQ */
}

.faq-item {
    background: var(--x-widget);
    border: 1px solid var(--x-border);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Styling Summary (Pertanyaan) */
.faq-item summary {
    padding: 16px 20px; /* Spasi dalam agar pertanyaan tidak sesak */
    font-weight: 700;
    color: var(--x-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.2s ease;
}

.faq-item summary:hover {
    background: var(--psg-hover);
}

/* Icon Panah Toggle */
.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--x-blue);
    font-weight: 400;
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    content: '-';
    transform: rotate(180deg);
}

/* Styling Content (Jawaban) */
.faq-content {
    padding: 0 20px 20px 20px; /* Spasi dalam saat terbuka */
    color: var(--x-dim);
    line-height: 1.6;
    font-size: 0.95rem;
}


/* --- Desktop (Default) --- */
.related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 Kolom di layar besar */
    gap: 20px;
    margin-top: 20px;
}

.related-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--x-border);
    transition: opacity 0.3s ease;
}

.related-item h4 {
    color: var(--x-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    margin-top: 1rem;
}

/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: 1fr; /* Paksa menjadi 1 Kolom saja */
        gap: 25px; /* Jarak antar artikel dibuat lebih lebar agar tidak rapat */
    }

    .related-item {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid var(--x-border); /* Tambahkan garis pemisah antar artikel di mobile */
        padding-bottom: 15px;
    }

    .related-item:last-child {
        border-bottom: none; 
    }

    .related-item h4 {
        font-size: 16px; /
    }
}

/* --- Kotak Baca Juga: The Modern Indicator --- */
.read-also-card {
    background: var(--x-widget);
    border-left: 5px solid var(--x-blue);
    padding: 20px 25px;
    margin: 35px 0;
    position: relative;
    transition: background 0.3s ease;
}

.read-also-card:hover {
    background: rgba(176, 28, 19, 0.05); 
}

.read-also-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.read-also-header span {
    color: var(--x-blue);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* Garis tipis dekoratif di samping teks "Baca Juga" */
.read-also-header::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--x-border);
}

.read-also-body a {
    color: var(--x-text);
    font-size: 1.15rem;
    font-weight: 700;
    text-decoration: none;
    line-height: 1.4;
    display: block;
}

.read-also-body a:hover {
    color: var(--x-blue);
}

.read-also-body p {
    color: var(--x-dim) !important;
    font-size: 0.9rem !important;
    margin-top: 6px !important;
    margin-bottom: 0 !important;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    .read-also-card {
        padding: 15px 20px;
        margin: 25px 0;
    }
    .read-also-body a {
        font-size: 1.05rem;
    }
}


/* --- FAQ Toggle (Updated Colors) --- */
.faq-item {
    background: var(--x-widget);
    border: 1px solid var(--x-border);
    border-radius: 8px;
    margin-bottom: 10px;
}

.faq-item summary {
    padding: 12px 15px;
    font-weight: 600;
    color: var(--x-text);
    cursor: pointer;
    list-style: none;
}

.faq-item summary::after {
    color: var(--x-dim);
}

.faq-content {
    padding: 0 15px 15px 15px;
    color: var(--x-dim);
    font-size: 0.95rem;
    border-top: 1px solid var(--x-border);
    padding-top: 10px;
    margin-top: 5px;
}


/* --- FAQ Toggle (Accordion) --- */
.faq-container { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
    background: var(--psg-card);
    border: 1px solid var(--psg-border);
    border-radius: 8px;
    padding: 5px;
}
.faq-item summary {
    padding: 12px 15px;
    font-weight: 600;
    color: var(--psg-text);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.faq-item summary::after {
    content: '▼';
    font-size: 10px;
    transition: 0.3s;
}
.faq-item[open] summary::after { transform: rotate(180deg); }
.faq-content {
    padding: 0 15px 15px 15px;
    color: var(--psg-gray);
    font-size: 0.95rem;
    line-height: 1.5;
}



/* --- Responsive (Mobile) --- */
@media (max-width: 768px) {
    /* Perkecil judul utama artikel */
    .article-title {
        font-size: 28px !important; /* Paksa ke 30px sesuai permintaan */
        line-height: 1.25;
        margin-bottom: 15px;
    }

    /* Sinkronisasi dengan Artikel Terkait 1 Kolom */
    .related-grid {
        grid-template-columns: 1fr; 
        gap: 25px;
    }

    .related-item {
        display: flex;
        flex-direction: column;
        border-bottom: 1px solid var(--x-border);
        padding-bottom: 20px;
    }

    /* Penyesuaian Meta (Penulis & Tanggal) agar tidak terlalu renggang */
    .article-meta {
        font-size: 13px;
        margin-bottom: 20px;
    }
}