/*
 Theme Name: Dobtive Mundana Child v33
 Theme URI: https://wowthemes.net/themes/mundana-wordpress-theme/
 Description: Child theme untuk Mundana. Fix All Stories (order by publish date) + remove offset 5 + header/footer improvements.
 Author: Your Name
 Template: mundana
 Version: 2.0.0
 Text Domain: dobtive-mundana-child
*/

/* =========================================================
   HEADER (Dark + Sticky) + Mega Menu + Expand Search
   ========================================================= */
:root{
  --mc-black:#0b0b0b;
  --mc-white:#ffffff;
  --mc-white-90:rgba(255,255,255,.92);
  --mc-white-80:rgba(255,255,255,.82);
  --mc-border:rgba(255,255,255,.12);
  --mc-accent:#e53935; /* underline merah seperti contoh */
}

/* Header container */
.mc-header{
  position:sticky;
  top:0;
  z-index:9999;
  background:var(--mc-black);
  border-bottom:1px solid var(--mc-border);
}
/* Admin bar support */
body.admin-bar .mc-header{ top:32px; }
@media (max-width: 782px){
  body.admin-bar .mc-header{ top:46px; }
}

/* Mega panel overlay (tidak mendorong konten) */
.mc-header{ overflow:visible; }
.mc-mega{
  position:absolute;
  left:0;
  right:0;
  top:100%;
}
@media (max-width: 991px){
  #mcNavCollapse{
    background:var(--mc-black);
    border-top:1px solid var(--mc-border);
  }
}
.mc-header .container{ max-width: 1200px; }
.mc-header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  min-height:64px;
}

/* Logo */
.mc-brand{
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.mc-brand .blog-logo img{
  height:48px;
  width:auto;
  display:block;
}

/* Nav */
.mc-nav-wrap{
  flex:1 1 auto;
  display:flex;
  align-items:center;
  justify-content:flex-start;
}
.mc-nav{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0;
  padding:0;
  list-style:none;
  overflow:hidden;
}
.mc-nav > li{ position:relative; }
.mc-nav > li > a{
  display:inline-flex;
  align-items:center;
  color:var(--mc-white-80);
  font-weight:500;
  font-size:15px;
  padding:18px 0 16px;
  border-bottom:2px solid transparent;
}
.mc-nav > li > a:hover{ color:var(--mc-white); }
.mc-nav > li.current-menu-item > a,
.mc-nav > li.current-menu-ancestor > a,
.mc-nav > li:hover > a{
  color:var(--mc-white);
  border-bottom-color:var(--mc-accent);
}

/* Sembunyikan submenu default di desktop (kita pakai mega panel) */
@media (min-width: 992px){
  .mc-nav .sub-menu{ display:none !important; }
  /* Hide mobile submenu toggle button that can leak into desktop */
  .mc-submenu-toggle{ display:none !important; }
}

/* Right actions */
.mc-actions{
  margin-left:14px;
  display:flex;
  align-items:center;
  gap:10px;
  flex:0 0 auto;
}
.mc-icon-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:var(--mc-white-90);
}
.mc-icon-btn:hover{
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.16);
  color:var(--mc-white);
  text-decoration:none;
}
.mc-login-btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  border-radius:12px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--mc-white);
  font-weight:600;
}
.mc-login-btn:hover{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.18);
  color:var(--mc-white);
  text-decoration:none;
}

/* Expand search */
.mc-search{
  position:relative;
  display:flex;
  align-items:center;
  gap:8px;
  flex-direction: row-reverse;
}
.mc-search-form{
  position:relative;
  display:flex;
  align-items:center;
}
.mc-search-input{
  width:0;
  opacity:0;
  pointer-events:none;
  padding:10px 12px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  color:var(--mc-white);
  outline:none;
  transition:width .22s ease, opacity .18s ease;
}
.mc-search.is-open .mc-search-input{
  width:min(70vw, 260px);
  opacity:1;
  pointer-events:auto;
}
.mc-search-input::placeholder{ color:rgba(255,255,255,.60); }

.mc-actions{ position:relative; z-index:10000; overflow:visible; }
.mc-header, .mc-header .container, .mc-header-inner{ overflow:visible; }

/* Mega panel */
.mc-mega{
  display:none;
  background:rgba(11,11,11,.98);
  border-bottom:1px solid var(--mc-border);
}
.mc-mega.is-open{ display:block; }
.mc-mega-inner{
  display:flex;
  gap:28px;
  padding:18px 0 22px;
}
.mc-mega-left{
  width:240px;
  padding-right:10px;
}
.mc-mega-left ul{
  list-style:none;
  padding:0;
  margin:0;
}
.mc-mega-left a{
  display:block;
  padding:8px 0;
  color:var(--mc-white-80);
}
.mc-mega-left a:hover{ color:var(--mc-white); text-decoration:none; }

.mc-mega-right{
  flex:1 1 auto;
}
.mc-mega-title{
  font-size:14px;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--mc-white);
  margin:0 0 12px;
  position:relative;
}
.mc-mega-title:after{
  content:"";
  display:block;
  width:26px;
  height:2px;
  background:var(--mc-accent);
  margin-top:8px;
}
.mc-mega-posts{
  display:grid;
  grid-template-columns:repeat(3, minmax(0,1fr));
  gap:14px;
}
.mc-mega-post{
  display:block;
  border-radius:14px;
  overflow:hidden;
  background:rgba(255,255,255,.03);
  border:1px solid rgba(255,255,255,.08);
}
.mc-mega-post:hover{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
  text-decoration:none;
}
.mc-mega-post img{
  width:100%;
  height:120px;
  object-fit:cover;
  display:block;
}
.mc-mega-post-title{
  padding:10px 10px 12px;
  color:var(--mc-white-90);
  font-weight:600;
  font-size:14px;
  line-height:1.25;
}

/* Mobile: collapse nav + mega off */
.mc-mobile-toggler{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:38px;
  height:38px;
  border-radius:10px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:var(--mc-white-90);
}
@media (max-width: 991px){
  /* Mobile header layout: top row (logo + actions + hamburger), menu full-width below */
  .mc-header-inner{ flex-wrap: wrap; }
  .mc-brand{ order: 1; }
  .mc-actions{ order: 2; margin-left: auto; }
  .mc-mobile-toggler{ order: 3; }
  .mc-nav-wrap{ order: 4; flex: 0 0 100%; width: 100%; }
  #mcNavCollapse{ margin-top: 10px; border-radius: 12px; overflow: hidden; }
  .mc-nav{ 
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:10px 0 16px;
  }
  .mc-nav > li{ width:100%; }
  .mc-nav > li > a{
    width:100%;
    padding:12px 14px;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .mc-nav > li.menu-item-has-children{ position:relative; }
  .mc-nav > li.menu-item-has-children > a{ padding-right:52px; }
  .mc-submenu-toggle{
    position:absolute;
    right:10px;
    top:6px;
    width:38px;
    height:38px;
    border:0;
    background:transparent;
    color:var(--mc-white-80);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:10px;
  }
  .mc-submenu-toggle:focus{ outline:2px solid rgba(255,255,255,.22); outline-offset:2px; }
  .mc-submenu-toggle i{ transition: transform .18s ease; }
  .mc-nav li.mc-submenu-open > .mc-submenu-toggle i{ transform: rotate(180deg); }
  .mc-nav .sub-menu{
    display:none;
    padding:0 14px 10px 26px;
    margin:0;
  }
  .mc-nav li.mc-submenu-open > .sub-menu{ display:block; }

  /* Mobile search: expand inline to the left (default) */
  .mc-search-form{ position:relative; }

  .mc-nav .sub-menu a{
    display:block;
    padding:8px 0;
    color:var(--mc-white-80);
  }
  
  .mc-mega{ display:none !important; }
  .mc-mega.is-open{ display:none !important; }
  .mc-mega-posts{ grid-template-columns:1fr; }
}

/* =========================================================
   FOOTER (full hitam) - versi responsif (sudah)
   ========================================================= */
.footer-sections{
    background:var(--mc-black);
    color:rgba(255,255,255,.88);
    font-size:15px;
}
.footer-sections a{color:rgba(255,255,255,.92); text-decoration:none}
.footer-sections a:hover{color:#fff; text-decoration:none}
.footer-sections .footer-divider{ border-top:1px solid rgba(255,255,255,.14); }

/* GRID base (section 1/2) */
.footer-card-grid{
    display:grid;
    gap:12px;
    align-items:stretch;
    padding-left:0;
    margin:0;
    list-style:none;
    justify-items:center;
}
.footer-card-grid > li{ width:100%; }

.footer-card-link{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    padding:12px 10px;
    border-radius:14px;
    background:rgba(255,255,255,.03);
    border:1px solid rgba(255,255,255,.08);
    transition:transform .08s ease, background .12s ease, border-color .12s ease;
}
.footer-card-link:hover{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.14);
    transform:translateY(-1px);
}
.footer-card-link i{ font-size:18px; line-height:1; }
.footer-card-text{ display:flex; flex-direction:column; line-height:1.25; }
.footer-card-title{ font-weight:700; font-size:14px; color:#fff; }
.footer-card-sub{ font-size:13px; opacity:.88; margin-top:2px; }

.footer-top-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
@media (max-width: 767px){
    .footer-top-grid{ grid-template-columns:repeat(1, minmax(0,1fr)); }
}

.footer-social-grid{ grid-template-columns:repeat(6, minmax(0,1fr)); }
@media (max-width: 767px){
    .footer-social-grid{ grid-template-columns:repeat(3, minmax(0,1fr)); }
}

/* SECTION 3: 5 kolom responsif */
.footer-main-grid{
    display:grid;
    grid-template-columns:repeat(5, minmax(0,1fr));
    gap:14px;
    justify-items:center;
}
@media (max-width: 991px){
    .footer-main-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); }
}
@media (max-width: 575px){
    .footer-main-grid{ grid-template-columns:repeat(1, minmax(0,1fr)); }
}
.footer-main-card{
    width:100%;
    height:100%;
    padding:8px 4px;
    border-radius:0;
    background:transparent;
    border:0;
    box-shadow:none;
    transition:none;
}
.footer-main-card:hover{ background:transparent; border:0; transform:none; }
.footer-section-title{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:#fff;
    margin:0 0 12px;
}

/* Widget title di footer (Badges/Kontak/Tambahan) harus sama seperti Menu/Informasi */
.footer-main-grid .widget-title,
.footer-main-grid .widgettitle{
    font-size:13px;
    text-transform:uppercase;
    letter-spacing:.06em;
    color:#fff;
    margin:0 0 12px;
}

/* Hilangkan gaya kotak/card bawaan widget di area footer */
.footer-main-grid .widget{
    background:transparent !important;
    border:0 !important;
    box-shadow:none !important;
    padding:0 !important;
    margin:0 0 12px;
}

.footer-main-grid .widget:last-child{ margin-bottom:0; }
.footer-menu, .footer-menu ul{ list-style:none; padding:0; margin:0; }
.footer-menu li{ margin:.35rem 0; }
.footer-menu a{ color:rgba(255,255,255,.92); }
.footer-menu a:hover{ color:#fff; text-decoration:underline; }

.footer-badges img{
    max-width:72px;
    height:auto;
    margin-right:10px;
    margin-bottom:10px;
}
.footer-contact p{ margin:0 0 6px; opacity:.95; }
.footer-contact a{ word-break:break-word; }

/* Footer bawaan Mundana: rapat + putih */
.footer-sections .footer{
    background:transparent;
    margin:0 !important;
    padding:16px 0 !important;
}
.footer-sections .footer-meta__text,
.footer-sections .footer-meta__credit{
    color:rgba(255,255,255,.86) !important;
}
.footer-sections .footer-meta__credit a,
.footer-sections .footer-meta__text a{
    color:rgba(255,255,255,.92) !important;
}
.footer-sections .footer-follow-links a{
    color:rgba(255,255,255,.92) !important;
}

/* ----------------------------
   HOME CATEGORY SECTION (Widget)
   Layout: 1 feature + 4 small cards (2x2)
   Responsive + dark style
   ---------------------------- */

.mc-home-sections{
    /* keep consistent spacing with theme */
}

.mc-home-widget{
    margin-bottom: 24px;
}

.mc-home-widget-title{
    margin: 0 0 12px 0;
    color: #fff;
    font-weight: 700;
    letter-spacing: .3px;
}

.mc-home-category{
    background: #0b0b0b;
    border-radius: 10px;
    padding: 14px;
}

/* Home Category Section (widget) */
.mc-home-sections{ padding-top: 10px; padding-bottom: 0; }

.mc-home-category{
    background:#fff;
    color:#111;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 22px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.mc-home-category a{ color: inherit; text-decoration: none; }
.mc-home-category a:hover .mc-hc-title{ text-decoration: underline; }

.mc-home-category__grid{
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 16px;
    align-items: stretch;
}

.mc-hc-side{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.mc-hc-card{
    background:#fff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,.08);
    display: flex;
    flex-direction: column;
    transition: transform .12s ease, box-shadow .12s ease;
}
.mc-hc-card:hover{
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(0,0,0,.10);
}

.mc-hc-media{ width:100%; }
.mc-hc-img{
    width:100%;
    height:auto;
    display:block;
    aspect-ratio: 16/9;
    object-fit: cover;
    transform:none;
}
.mc-hc-card--feature .mc-hc-img{ aspect-ratio: 16/9; }

.mc-hc-img--placeholder{
    width:100%;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,.06);
}

.mc-hc-body{
    padding: 12px 14px 14px;
}

.mc-hc-meta{
    display:flex;
    gap: 10px;
    align-items:center;
    margin-bottom: 8px;
    font-size: 12px;
    color: rgba(0,0,0,.65);
}

.mc-hc-badge{
    background: rgba(0,0,0,.06);
    border: 1px solid rgba(0,0,0,.08);
    color:#111;
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 12px;
}

.mc-hc-time{
    font-size: 12px;
    white-space: nowrap;
}

.mc-hc-title{
    margin: 0;
    font-weight: 800;
    line-height: 1.2;
    font-size: 26px;
    color:#111;
    text-shadow:none;
}

.mc-hc-title--small{
    font-size: 15px;
    font-weight: 800;
}

.mc-hc-excerpt{
    margin-top: 10px;
    font-size: 14px;
    color: rgba(0,0,0,.70);
}

.mc-hc-empty{
    color: rgba(0,0,0,.65);
    padding: 10px 0;
}

@media (max-width: 991px){
    .mc-home-category__grid{
        grid-template-columns: 1fr;
    }
    .mc-hc-title{
        font-size: 22px;
    }
}

@media (max-width: 575px){
    .mc-hc-side{
        grid-template-columns: 1fr;
    }
}
.mc-hc-card{
        min-height: 150px;
    }
    .mc-hc-card--feature{
        min-height: 240px;
    }
    .mc-hc-title{
        font-size: 20px;
    }
}


/* =========================================================
   Home Sections Widget - Layout V2 (Tirto-like)
   ========================================================= */
.mc-home-category--v2{
    background: transparent;
    box-shadow: none;
    border: 0;
    padding: 0;
    margin-bottom: 32px;
    color: #111;
}

.mc-home-category--v2 a{ color: inherit; text-decoration: none; }

.mc-hs-grid{
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.mc-hs-feature{
    padding-right: 28px;
    border-right: 1px solid rgba(0,0,0,.10);
}

.mc-hs-col{
    padding-left: 28px;
    border-left: 1px solid rgba(0,0,0,.10);
}

.mc-hs-col--a{
    padding-left: 0;
    border-left: 0;
}

.mc-hs-item{
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,.10);
}
.mc-hs-item:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.mc-hs-thumb{
    width: 100%;
    margin-bottom: 12px;
}
.mc-hs-img{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
}
.mc-hs-img--placeholder{
    width:100%;
    aspect-ratio: 16/9;
    background: rgba(0,0,0,.06);
    border-radius: 4px;
}

.mc-hs-meta{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 8px;
    font-size: 14px;
}
.mc-hs-cat a{
    color: #1f4bd6;
    font-weight: 600;
}
.mc-hs-time{
    color: rgba(0,0,0,.60);
    font-weight: 500;
}
.mc-hs-sep{
    color: rgba(0,0,0,.30);
}

.mc-hs-title{
    margin: 0;
    line-height: 1.2;
    font-weight: 800;
    color: #111;
}
.mc-hs-title--feature{
    font-size: clamp(26px, 2.4vw, 40px);
}
.mc-hs-title--small{
    font-size: 18px;
    font-weight: 800;
}

.mc-hs-excerpt{
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0,0,0,.70);
    max-width: 52ch;
}

.mc-hs-empty{
    color: rgba(0,0,0,.70);
    padding: 8px 0;
}

/* Responsive */
@media (max-width: 991px){
    .mc-hs-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .mc-hs-feature{
        padding-right: 0;
        border-right: 0;
        border-bottom: 1px solid rgba(0,0,0,.10);
        padding-bottom: 18px;
        margin-bottom: 6px;
    }
    .mc-hs-col{
        padding-left: 0;
        border-left: 0;
    }
}

@media (max-width: 575px){
    .mc-hs-meta{
        font-size: 13px;
    }
    .mc-hs-title--small{
        font-size: 16px;
    }
    .mc-hs-excerpt{
        font-size: 16px;
    }
}


/* =========================================================
   Home Sections Widget - Layout V3 (3 kolom: 1 + 2 + 2)
   ========================================================= */
.mc-home-category--v3{
    background: transparent;
    border: 0;
    padding: 0;
    margin-bottom: 32px;
    color: #111;
}
.mc-home-category--v3 a{ color: inherit; text-decoration: none; }

.mc-h3-grid{
    display: grid;
    grid-template-columns: 2.2fr 1fr 1fr;
    gap: 28px;
    align-items: start;
}

.mc-h3-col{
    min-width: 0;
}
.mc-h3-col--2,
.mc-h3-col--3{
    padding-left: 28px;
    border-left: 1px solid rgba(0,0,0,.12);
}

.mc-h3-feature{ }

.mc-h3-item{
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid rgba(0,0,0,.12);
}
.mc-h3-item:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.mc-h3-thumb-link{
    display: block;
}
.mc-h3-img{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 0;
}
.mc-h3-img--feature{
    border-radius: 0;
}
.mc-h3-img--placeholder{
    width: 100%;
    aspect-ratio: 16 / 9;
    background: rgba(0,0,0,.06);
}

.mc-h3-meta{
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 14px;
    line-height: 1.2;
}
.mc-h3-cat{
    color: #1f4bd6;
    font-weight: 700;
}
.mc-h3-time{
    color: rgba(0,0,0,.65);
    font-weight: 600;
}
.mc-h3-sep{
    color: rgba(0,0,0,.25);
}

.mc-h3-title{
    margin: 0;
    color: #111;
    line-height: 1.2;
    font-weight: 900;
}
.mc-h3-title-link:hover{ text-decoration: underline; }

.mc-h3-title--feature{
    font-size: clamp(26px, 2.4vw, 40px);
}
.mc-h3-title--small{
    font-size: 18px;
    font-weight: 900;
}

.mc-h3-excerpt{
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.5;
    color: rgba(0,0,0,.70);
    max-width: 52ch;
}

.mc-h3-empty{
    color: rgba(0,0,0,.70);
    padding: 8px 0;
}

/* Responsive */
@media (max-width: 991px){
    .mc-h3-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .mc-h3-col--2,
    .mc-h3-col--3{
        padding-left: 0;
        border-left: 0;
    }
    .mc-h3-col--2{
        border-top: 1px solid rgba(0,0,0,.12);
        padding-top: 18px;
    }
    .mc-h3-col--3{
        border-top: 1px solid rgba(0,0,0,.12);
        padding-top: 18px;
    }
    .mc-h3-excerpt{ font-size: 16px; }
}

@media (max-width: 575px){
    .mc-h3-meta{ font-size: 13px; }
    .mc-h3-title--small{ font-size: 16px; }
}


/* =========================================================
   Home Sections Widget - Layout (3 columns, 1 + 2 + 2)
   Target: like reference screenshot (white bg, black text)
   ========================================================= */

.mc-hs2-wrap{
    background: #fff;
    color: #111;
    margin: 26px 0 34px;
}

.mc-hs2-grid{
    display: grid;
    grid-template-columns: 2.15fr 2fr;
    gap: 0;
    align-items: start;
}

.mc-hs2-col{
    padding: 0 26px;
}

.mc-hs2-col--featured{
    padding-left: 0;
    padding-right: 26px;
    border-right: 1px solid rgba(0,0,0,.10);
}

.mc-hs2-col--col2{
    border-right: 1px solid rgba(0,0,0,.10);
}

.mc-hs2-col--col3{
    padding-right: 0;
}

/* Side grid (kolom 2 & 3 digabung jadi 1 grid supaya baris selalu sejajar walau judul beda panjang) */
.mc-hs2-sidegrid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.mc-hs2-sidegrid > .mc-hs2-post:nth-child(odd){
    padding: 0 26px 0 26px;
    border-right: 1px solid rgba(0,0,0,.10);
}
.mc-hs2-sidegrid > .mc-hs2-post:nth-child(even){
    padding: 0 0 0 26px;
}

@media (max-width: 991px){
    .mc-hs2-sidegrid{
        grid-template-columns: 1fr;
        gap: 0;
    }
    .mc-hs2-sidegrid > .mc-hs2-post:nth-child(odd),
    .mc-hs2-sidegrid > .mc-hs2-post:nth-child(even){
        padding: 0;
        border-right: 0;
    }
}


.mc-hs2-post{
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 0px solid rgba(0,0,0,.10);
}

.mc-hs2-col--col2 .mc-hs2-post:last-child,
.mc-hs2-col--col3 .mc-hs2-post:last-child{
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
}

.mc-hs2-thumb-link{
    position: relative;
    display: block;
    margin-bottom: 12px;
}

.mc-hs2-img{
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 4px;
}

/* ================================
   HS2: beda ukuran gambar featured vs side
   ================================ */

/* Kolom kiri (featured) — lebih besar */
.mc-hs2-col--featured .mc-hs2-img{
  height: 360px;           /* atur sesuai selera */
  object-fit: cover;
}

/* Kolom kanan (side / grid) — lebih kecil */
.mc-hs2-sidegrid .mc-hs2-img{
  height: 140px;           /* atur sesuai selera */
  object-fit: cover;
}

/* Responsif */
@media (max-width: 991px){
  .mc-hs2-col--featured .mc-hs2-img{ height: 240px; }
  .mc-hs2-sidegrid .mc-hs2-img{ height: 180px; }
}

@media (max-width: 575px){
  .mc-hs2-col--featured .mc-hs2-img{ height: 200px; }
  .mc-hs2-sidegrid .mc-hs2-img{ height: 160px; }
}


.mc-hs2-img--placeholder{
    background: rgba(0,0,0,.06);
}

.mc-hs2-pin{
    position: absolute;
    left: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(0,0,0,.65);
    backdrop-filter: blur(4px);
}
.mc-hs2-pin:before{
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 12px;
    height: 12px;
    transform: rotate(20deg);
    border-radius: 2px;
    background: #fff;
    clip-path: polygon(45% 0, 55% 0, 60% 40%, 95% 60%, 90% 70%, 60% 55%, 55% 100%, 45% 100%, 40% 55%, 10% 70%, 5% 60%, 40% 40%);
}

.mc-hs2-meta{
    display: flex;
    gap: 14px;
    align-items: center;
    font-size: 14px;
    line-height: 1;
    margin-bottom: 10px;
}

.mc-hs2-cat{
    color: #1f4bd6;
    font-weight: 700;
}
.mc-hs2-cat:hover{ text-decoration: underline; }

.mc-hs2-time{
    color: rgba(0,0,0,.60);
    font-weight: 600;
}
.mc-hs2-time:before{
    content: "|";
    color: rgba(0,0,0,.25);
    margin-right: 14px;
}

.mc-hs2-title {
    margin: 0;
    font-weight: 900;
    line-height: 1.2;
    color: #111;
    font-size: 18px;
}

.mc-hs2-title--feature {
    font-size: clamp(28px, 1.4vw, 44px);
}

.mc-hs2-title-link {
    color: inherit;
    text-decoration: none; /* Hapus underline bawaan */
    position: relative;
    display: inline-block; /* Agar garis mengikuti lebar teks */
}

/* Membuat garis */
.mc-hs2-title-link {
    color: inherit;
    text-decoration: none;
    display: inline; 
    background-image: linear-gradient(currentColor, currentColor); 
    background-position: 0% 100%; 
    background-repeat: no-repeat;
    background-size: 0% 2px; 
    transition: background-size 0.3s ease-in-out;
    padding-bottom: 2px; 
}

.mc-hs2-title-link:hover {
    background-size: 100% 2px;
}

/* Saat Hover */
.mc-hs2-title-link:hover::after {
    transform: scaleX(1); /* Garis memanjang penuh */
    transform-origin: bottom left; /* Titik asal animasi saat mouse masuk */
}

.mc-hs2-excerpt{
    margin-top: 10px;
    font-size: 18px;
    line-height: 1.55;
    color: rgba(0,0,0,.70);
    max-width: 52ch;
}

.mc-hs2-empty{
    color: rgba(0,0,0,.70);
    padding: 8px 0;
}

/* Responsive */
@media (max-width: 991px){
    .mc-hs2-grid{
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .mc-hs2-col{
        padding: 0;
        border: 0 !important;
    }
    .mc-hs2-post{
        padding-bottom: 18px;
        margin-bottom: 18px;
    }
    .mc-hs2-title{
        font-size: 18px;
    }
    .mc-hs2-title--feature{
        font-size: 30px;
    }
}

@media (max-width: 575px){
    .mc-hs2-meta{
        font-size: 13px;
    }
    .mc-hs2-excerpt{
        font-size: 16px;
    }
}


/* =========================================================
   Home Below Hero: Berita Utama (3) + Editor's Picks (carousel 3)
   ========================================================= */
.mc-home-below-hero{ margin-top: 18px; margin-bottom: 18px; }
.mc-home-below-hero-widget{
  background: #fff;
  color:#111;
  padding: 18px 0;
}
.mc-home-below-hero-widget .mc-bh-inner{ width:100%; }

.mc-bh-grid{
  display:grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 24px;
  align-items: start;
}

.mc-bh-head{
  display:flex;
  align-items:center;
  justify-content: space-between;
  margin: 0 0 12px 0;
}
.mc-bh-title{
  font-weight: 900;
  font-size: 20px;
  margin: 0;
  letter-spacing: .2px;
  color:#111;
}
.mc-bh-title--picks{
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: .8px;
  background: #2a58a8;
  color:#fff;
  padding: 10px 14px;
  border-radius: 6px 6px 0 0;
  display:inline-block;
}

.mc-bu-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  border-top: 0;
}
.mc-bu-card{
  padding-right: 18px;
  border-right: 1px solid rgba(0,0,0,.10);
}
.mc-bu-card:last-child{
  padding-right:0;
  border-right:0;
}
.mc-bu-thumb{
  width:100%;
  margin-bottom: 10px;
}
.mc-bu-img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 16/9;
  height: clamp(120px, 10vw, 160px);
  object-fit: cover;
  border-radius: 4px;
}
.mc-bu-img--placeholder{
  width:100%;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.06);
  border-radius: 4px;
}
.mc-bu-meta{
  display:flex;
  gap: 10px;
  align-items:center;
  margin-bottom: 6px;
  font-size: 14px;
}
.mc-bu-cat{
  color:#1f4bd6;
  font-weight: 600;
}
.mc-bu-time{
  color: rgba(0,0,0,.60);
  font-weight: 500;
}
.mc-bu-sep{ color: rgba(0,0,0,.30); }

.mc-bu-title{
  font-weight: 800;
  font-size: 16px;
  line-height: 1.2;
  margin: 0;
  color:#111;
}

.mc-ep-wrap{
  border-radius: 6px;
  overflow:hidden;
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
}
.mc-ep-header{
  padding: 0;
}
.mc-ep-body{
  position: relative;
  padding: 14px;
}
.mc-ep-track{
  display:flex;
  gap: 14px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.mc-ep-track::-webkit-scrollbar{ display:none; }

.mc-ep-item{
  flex: 0 0 calc(50% - 7px);
  scroll-snap-align: start;
}
.mc-ep-card{
  display:block;
}
.mc-ep-thumb{
  width:100%;
  margin-bottom: 10px;
}
.mc-ep-img{
  width:100%;
  height:auto;
  display:block;
  aspect-ratio: 16/9;
  height: clamp(110px, 9vw, 150px);
  object-fit: cover;
  border-radius: 4px;
}
.mc-ep-img--placeholder{
  width:100%;
  aspect-ratio: 16/9;
  background: rgba(0,0,0,.06);
  border-radius: 4px;
}
.mc-ep-title{
  margin:0;
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color:#111;
}

.mc-ep-nav{
  position:absolute;
  top: 34px;
  transform: translateY(0);
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background: rgba(255,255,255,.85);
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
}
.mc-ep-nav--prev{ left: 6px; }
.mc-ep-nav--next{ right: 6px; }
.mc-ep-nav:hover{ background: #fff; }

.mc-ep-dots{
  display:flex;
  gap: 8px;
  justify-content: center;
  padding: 10px 0 0;
}
.mc-ep-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.20);
  cursor:pointer;
}
.mc-ep-dot.is-active{ background: rgba(0,0,0,.60); }

@media (max-width: 991px){
  .mc-bh-grid{ grid-template-columns: 1fr; }
  .mc-bu-grid{ grid-template-columns: 1fr; }
  .mc-bu-card{
    padding-right:0;
    border-right:0;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(0,0,0,.10);
    margin-bottom: 14px;
  }
  .mc-bu-card:last-child{
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .mc-ep-item{ flex-basis: 70%; }
}
@media (max-width: 575px){
  .mc-ep-item{ flex-basis: 88%; }
  .mc-bu-title, .mc-ep-title{ font-size: 17px; }
  .mc-bu-meta{ font-size: 13px; }
}


/* =========================================================
   Home Flash News (3 kolom)
   ========================================================= */
.mc-home-flash-news{ margin: 22px 0 40px; }

.mc-flash{
    background:#fff;
    color:#111;
}

.mc-flash-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:16px;
    padding: 0 2px;
}
.mc-flash-title{
    margin:0;
    font-size:34px;
    font-weight:800;
    letter-spacing:-.02em;
}
.mc-flash-more{
    font-size:20px;
    font-weight:600;
    color:#1f4bd6;
    text-decoration:none;
    white-space:nowrap;
}
.mc-flash-more:hover{ text-decoration:underline; }
.mc-flash-more--text{ color:#1f4bd6; }

.mc-flash-rule{
    border-top: 2px dashed rgba(0,0,0,.18);
    margin: 12px 0 18px;
}

.mc-flash-grid{
    display:grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.mc-flash-col{
    padding: 0 22px;
    border-left: 1px solid rgba(0,0,0,.10);
}
.mc-flash-col:first-child{
    border-left:0;
    padding-left: 0;
}
.mc-flash-col:last-child{
    padding-right: 0;
}

.mc-flash-item{
    display:flex;
    gap:18px;
    align-items:flex-start;
    justify-content:space-between;
    padding: 18px 0;
    border-bottom: 1px solid rgba(0,0,0,.10);
}
.mc-flash-item:last-child{ border-bottom:0; }

.mc-flash-meta{
    display:flex;
    gap:10px;
    align-items:center;
    font-size:18px;
    margin-bottom:8px;
}
.mc-flash-cat{
    font-weight:700;
    color:#1f4bd6;
    text-decoration:none;
}
.mc-flash-cat:hover{ text-decoration:underline; }
.mc-flash-sep{ color: rgba(0,0,0,.25); }
.mc-flash-time{ color: rgba(0,0,0,.60); font-weight:500; }

.mc-flash-h {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

.mc-flash-h a {
    color: #111;
    text-decoration: none; /* Hapus underline bawaan */
	
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%; /* Posisi: Kiri Bawah */
    background-repeat: no-repeat;
    background-size: 0% 1.5px; 
    transition: background-size 0.3s ease-in-out;
    padding-bottom: 1px; 
}

.mc-flash-h a:hover {
    background-size: 100% 1.5px; 
}

.mc-flash-thumb{
    flex:0 0 auto;
    width: 110px;
    height: 72px;
    border-radius: 4px;
    overflow:hidden;
    background: rgba(0,0,0,.06);
    display:block;
}
.mc-flash-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.mc-flash-thumb--ph{ display:block; width:100%; height:100%; background: rgba(0,0,0,.08); }

/* Responsive */
@media (max-width: 1199px){
    .mc-flash-title{ font-size: 30px; }
    .mc-flash-more{ font-size: 18px; }
    .mc-flash-h{ font-size: 22px; }
    .mc-flash-meta{ font-size: 16px; }
}
@media (max-width: 991px){
    .mc-flash-grid{ grid-template-columns: repeat(2, 1fr); }
    .mc-flash-col{
        padding: 0 16px;
        border-left: 0;
    }
    .mc-flash-col:first-child{ padding-left: 0; }
    .mc-flash-col:nth-child(2){ padding-right: 0; }
}
@media (max-width: 575px){
    .mc-flash-grid{ grid-template-columns: 1fr; }
    .mc-flash-col{ padding: 0; }
    .mc-flash-item{ gap: 12px; }
    .mc-flash-thumb{ width: 96px; height: 64px; }
    .mc-flash-title{ font-size: 26px; }
    .mc-flash-h{ font-size: 20px; }
}


/* =========================================================
   HOME INFOGRAFIK (5 items)
   - desktop: 5 kolom
   - tablet:  3 kolom
   - mobile:  grid 2 kolom (lebih mirip section lain, tidak terlalu besar)
   ========================================================= */
.mc-ig{
  margin-top: 48px;
  margin-bottom: 48px;
}
.mc-ig-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 2px dotted rgba(0,0,0,.15);
}
.mc-ig-title{
  margin:0;
  font-size: 26px;
  line-height: 1.1;
  font-weight: 800;
  color:#111;
}
.mc-ig-more{
  font-size: 18px;
  font-weight: 700;
  color: var(--mc-link, #0d6efd);
  text-decoration:none;
  white-space:nowrap;
}
.mc-ig-more:hover{ text-decoration:underline; }
.mc-ig-more--disabled{ opacity:.55; cursor:default; }

.mc-ig-grid{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 22px;
}
.mc-ig-card{
  padding: 0 18px;
  border-left: 1px solid rgba(0,0,0,.12);
}
.mc-ig-card:first-child{ border-left: 0; padding-left:0; }
.mc-ig-card:last-child{ padding-right:0; }

.mc-ig-thumb{
  display:block;
  width:100%;
  aspect-ratio: 3 / 4;
  overflow:hidden;
  background: rgba(0,0,0,.06);
}
.mc-ig-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
.mc-ig-thumb--ph{
  display:block;
  width:100%;
  height:100%;
  background: linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}

.mc-ig-meta{
  display:flex;
  align-items:center;
  gap: 10px;
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.2;
}
.mc-ig-cat{
  color: var(--mc-link, #0d6efd);
  font-weight: 700;
  text-decoration:none;
}
.mc-ig-cat:hover{ text-decoration:underline; }
.mc-ig-sep{
  color: rgba(0,0,0,.35);
  font-weight: 700;
}
.mc-ig-date{
  color: rgba(0,0,0,.65);
  font-weight: 600;
}

.mc-ig-h {
    margin: 10px 0 0;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 800;
}

.mc-ig-h a {
    color: #111;
    text-decoration: none; /* Hapus underline bawaan */

    /* Setup Animasi Garis */
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0% 100%; /* Posisi: Kiri Bawah */
    background-repeat: no-repeat;
    
    /* Awal: Lebar 0%, Tebal 1.5px */
    background-size: 0% 1.5px; 
    
    transition: background-size 0.3s ease-in-out;
    
    /* Jarak sedikit antara teks dan garis */
    padding-bottom: 1px; 
}

.mc-ig-h a:hover {
    /* Hover: Lebar menjadi 100% */
    background-size: 100% 1.5px;
}

/* Tablet: 3 kolom */
@media (max-width: 991px){
  .mc-ig-title{ font-size: 34px; }
  .mc-ig-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 28px; }
  .mc-ig-card{ padding: 0 14px; }
  .mc-ig-card:nth-child(3n+1){ border-left:0; padding-left:0; }
  .mc-ig-card:nth-child(3n){ padding-right:0; }
}

/* Mobile: tampilan ringkas seperti section list lainnya (thumb kiri, teks kanan) */
@media (max-width: 767px){
  .mc-ig-head{ padding-bottom: 12px; }
  .mc-ig-title{ font-size: 30px; }
  .mc-ig-more{ font-size: 16px; }

  .mc-ig-grid{ display:block; margin-top: 18px; }

  .mc-ig-card{
    display:flex;
    align-items:flex-start;
    gap: 12px;
    border-left: 0;
    padding: 0 0 14px;
    margin: 0 0 14px;
    border-bottom: 1px solid rgba(0,0,0,.12);
  }
  .mc-ig-card:last-child{
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .mc-ig-thumb{
    flex: 0 0 clamp(110px, 33vw, 140px);
    width: clamp(110px, 33vw, 140px);
    border-radius: 10px;
    aspect-ratio: 16 / 10;
  }

  .mc-ig-body{ flex:1; min-width:0; }
  .mc-ig-meta{ margin-top: 2px; font-size: 12px; }
  .mc-ig-h{ margin-top: 6px; font-size: 15px; }
}



/* ==========================
   Author Page Layout (v1.7.0)
   ========================== */
.mc-author-page { max-width: 1200px; }
.mc-author-sidebar { position: relative; }
@media (min-width: 992px) {
  .mc-author-sidebar { position: sticky; top: 90px; align-self: flex-start; height: fit-content; }
}
.mc-author-card{
  background:#f6f7f8;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  padding:22px;
  text-align:center;
}
.mc-author-avatar{
  width:140px;height:140px;margin:0 auto 12px;
  position:relative;
}
.mc-author-avatar img, .mc-author-avatar .avatar{
  width:140px;height:140px;border-radius:50%;
  object-fit:cover; display:block;
}
.mc-author-badge{
  position:absolute; right:6px; bottom:6px;
  width:32px;height:32px;border-radius:50%;
  background:#52b563; color:#fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 6px 18px rgba(0,0,0,.18);
}
.mc-author-badge-label{
  margin-top:6px;
  font-size:12px; font-weight:700;
  color:#52b563; letter-spacing:.6px;
  text-transform:uppercase;
}
.mc-author-name{
  font-size:28px; line-height:1.15; margin:10px 0 4px;
}
.mc-author-title{ color:rgba(0,0,0,.6); font-size:14px; margin-bottom:14px; }
.mc-author-contact{ display:inline-block; padding:.55rem 1rem; border-radius:8px; }

.mc-author-block{
  margin-top:18px;
  padding:16px 18px;
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  background:#fff;
}
.mc-author-block__title{
  font-weight:800;
  margin-bottom:10px;
  color:rgba(0,0,0,.85);
}
.mc-author-block__text{ color:rgba(0,0,0,.65); }

.mc-author-social{ list-style:none; padding:0; margin:0; }
.mc-author-social li{ margin:0; }
.mc-author-social a{
  display:flex; align-items:center; gap:10px;
  padding:8px 0;
  color:rgba(0,0,0,.7);
  text-decoration:none;
}
.mc-author-social a:hover{ color:#000; text-decoration:none; }
.mc-author-social .mc-ico{ display:inline-flex; width:18px; justify-content:center; opacity:.85; }

.mc-chipset{ display:flex; flex-wrap:wrap; gap:8px; }
.mc-chip{
  display:inline-block;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  background:#f4f5f6;
  font-size:12px;
  color:rgba(0,0,0,.75);
}

.mc-author-main{ padding-top:4px; }
.mc-author-about{ margin-bottom:26px; }
.mc-author-about__title{
  font-weight:900;
  font-size:13px;
  letter-spacing:.8px;
  text-transform:uppercase;
  display:inline-block;
  padding-bottom:8px;
  border-bottom:3px solid #52b563;
  margin-bottom:14px;
}
.mc-author-about__text{ color:rgba(0,0,0,.65); font-size:16px; }

.mc-author-articles__title{ font-weight:900; font-size:34px; margin:0 0 18px; }

.mc-author-post__thumb{
  display:block;
  border-radius:12px;
  overflow:hidden;
  background:#e9ecef;
}
.mc-author-post__thumb img{
  width:100%;
  aspect-ratio: 16 / 9;
  object-fit:cover;
  display:block;
}
.mc-author-post__thumb--placeholder{
  width:100%;
  aspect-ratio:16/9;
  background:linear-gradient(135deg, rgba(0,0,0,.06), rgba(0,0,0,.02));
}
.mc-author-post__body{ padding-top:14px; }
.mc-author-post__meta{
  display:flex; align-items:center; gap:10px;
  font-size:13px;
  color:rgba(0,0,0,.55);
  margin-bottom:8px;
}
.mc-author-post__cat{ color:#52b563; font-weight:700; text-decoration:none; }
.mc-author-post__cat:hover{ text-decoration:underline; }
.mc-author-post__sep{ opacity:.6; }
.mc-author-post__title{ font-size:20px; line-height:1.25; margin:0 0 10px; font-weight:900; }
.mc-author-post__title a{ color:#000; text-decoration:none; }
.mc-author-post__title a:hover{ text-decoration:underline; }
.mc-author-post__excerpt{ color:rgba(0,0,0,.6); font-size:14px; }

.mc-author-pagination ul{ list-style:none; padding:0; margin:10px 0 0; display:flex; gap:8px; flex-wrap:wrap; }
.mc-author-pagination li{ margin:0; }
.mc-author-pagination a, .mc-author-pagination span{
  display:inline-flex;
  min-width:36px; height:36px;
  align-items:center; justify-content:center;
  padding:0 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.08);
  text-decoration:none;
  color:rgba(0,0,0,.75);
  background:#fff;
}
.mc-author-pagination .current{
  background:#111;
  color:#fff;
  border-color:#111;
}



/* =========================
   About Page (/about)
   ========================= */
.mc-about-hero{
  padding: 56px 0 28px;
  background: #fff;
}
.mc-about-hero__inner{
  display:flex;
  align-items:center;
  gap:48px;
}
.mc-about-hero__text{
  flex:1 1 auto;
  min-width: 0;
}
.mc-about-hero__media{
  flex:0 0 420px;
  max-width: 420px;
}
.mc-about-hero__headline{
  font-size: 56px;
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}
.mc-about-hero__subheadline{
  font-size: 18px;
  line-height: 1.7;
  color: #555;
  margin: 0 0 18px;
  max-width: 720px;
}
.mc-about-hero__statement{
  color: #666;
  font-size: 15px;
  line-height: 1.85;
  max-width: 760px;
}
.mc-about-hero__identity{
  margin-top: 18px;
  color: #666;
  font-size: 14px;
}
.mc-accent{ color:#6cc04a; }
.mc-about-hero__img{
  width:100%;
  height:auto;
  display:block;
}
.mc-about-content{
  padding: 6px 0 18px;
}
.mc-about-team{
  padding: 28px 0 70px;
}
.mc-about-team__title{
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 18px;
}
.mc-team-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 48px;
}
.mc-team-card{
  display:flex;
  align-items:center;
  gap: 14px;
}
.mc-team-card__avatar img{
  border-radius: 9999px;
}
.mc-team-card__name{
  font-size: 18px;
  font-weight: 700;
  line-height: 1.2;
  color:#6cc04a;
  text-decoration: none;
}
.mc-team-card__name:hover{
  text-decoration: underline;
}
.mc-team-card__role{
  font-size: 14px;
  color:#666;
  margin-top: 2px;
}
.mc-team-card__social{
  margin-top: 8px;
  display:flex;
  gap: 8px;
  flex-wrap: wrap;
}
.mc-social-link{
  width: 28px;
  height: 28px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border: 1px solid #e6e6e6;
  border-radius: 4px;
  color: #777;
  text-decoration:none;
}
.mc-social-link:hover{
  border-color:#cfcfcf;
  color:#111;
}
.mc-muted{
  color:#666;
}

@media (max-width: 991px){
  .mc-about-hero__inner{
    flex-direction: column;
    align-items: flex-start;
  }
  .mc-about-hero__media{
    flex: 0 0 auto;
    max-width: 520px;
    width: 100%;
  }
  .mc-about-hero__headline{
    font-size: 44px;
  }
  .mc-team-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 28px;
  }
}
@media (max-width: 575px){
  .mc-about-hero{
    padding: 40px 0 18px;
  }
  .mc-about-hero__headline{
    font-size: 34px;
  }
  .mc-about-hero__subheadline{
    font-size: 16px;
  }
  .mc-team-grid{
    grid-template-columns: 1fr;
  }
}

/* ============================== */
/* RELATED LINKS (SINGLE POST) */
/* ============================== */
.mc-related-box {
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  padding: 14px 16px;
  margin: 10px 24px 20px 0;
  max-width: 320px;
}

/* Float on wider screens to mimic the "box left, text right" style */
@media (min-width: 992px) {
  .mc-related-box {
    float: left;
  }
}

@media (max-width: 991px) {
  .mc-related-box {
    float: none;
    max-width: 100%;
    margin: 12px 0 18px 0;
  }
}

.mc-related-box__title {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 10px 0;
}

.mc-related-box__list {
  margin: 0;
  padding-left: 18px;
}

.mc-related-box__list li {
  margin: 0 0 10px 0;
  line-height: 1.35;
}

.mc-related-box__list li:last-child {
  margin-bottom: 0;
}

.mc-related-box__list a {
  text-decoration: none;
}

.mc-related-box__list a:hover {
  text-decoration: underline;
}

/* Extra safety for float layout */
.article-post::after {
  content: "";
  display: table;
  clear: both;
}



/* === Single Post: Author meta block (v1.10.1) === */
.mc-postmeta{
  display:flex;
  align-items:flex-start;
  gap:14px;
  margin: 8px 0 18px;
}
.mc-postmeta-avatar img{
  width:52px;
  height:52px;
  border-radius:999px;
  display:block;
}
.mc-postmeta-body{min-width:0;}
.mc-postmeta-author{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:10px;
  line-height:1.15;
  margin-bottom:4px;
}
.mc-postmeta-author-link{
  font-weight:700;
  text-decoration:none;
}
.mc-postmeta-author-link:hover{ text-decoration:underline; }
.mc-postmeta-extras{
  color:#666;
  font-size:13px;
}
.mc-postmeta-sep{ margin: 0 6px; color:#aaa; }
.mc-postmeta-line{
  display:flex;
  gap:8px;
  align-items:baseline;
  color:#444;
  font-size:13px;
  line-height:1.4;
}
.mc-postmeta-label{
  color:#666;
  min-width: 88px;
}
@media (max-width: 576px){
  .mc-postmeta{ gap:12px; }
  .mc-postmeta-avatar img{ width:44px; height:44px; }
  .mc-postmeta-label{ min-width: 84px; }
}

/* =============================
   Single Post: Related Sections
   ============================= */
.single-post .mc-single-related-wrap{
  margin-top: 34px;
}

/* Section blocks */
.single-post .mc-related-strip,
.single-post .mc-flash{
  margin-top: 28px;
  padding-top: 0;
  border-top: 0;
}

/* Section headers — match "All Stories" style on home */
.single-post .mc-related-head,
.single-post .mc-flash-title-row{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:16px;
  border-bottom: 1px solid rgba(0,0,0,.13);
  margin-bottom: 18px;
}

.single-post .mc-related-title,
.single-post .mc-flash-title-row h2{
  display: inline-block;
  padding-bottom: 10px;
  margin: 0 0 -1px;
  border-bottom: 1px solid rgba(0,0,0,.53);
  font-weight: 700;
  font-size: 1.5em;
  letter-spacing: 0;
  color: #111;
}

.single-post .mc-related-more,
.single-post .mc-flash-title-row a{
  font-size: 14px;
  font-weight: 700;
  text-decoration:none;
}
.single-post .mc-related-more:hover,
.single-post .mc-flash-title-row a:hover{ text-decoration:underline; }

/* Remove the dashed divider (home-style header already has a rule) */
.single-post .mc-flash-divider{ display:none; }

/* Strip grid (5 cards) */
.single-post .mc-related-strip-grid{
  display:grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.single-post .mc-rel-card{ min-width:0; }

.single-post .mc-rel-card__thumb{
  display:block;
  width:100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow:hidden;
  background:#f3f3f3;
}
.single-post .mc-rel-card__thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Requested: meta = 14px */
.single-post .mc-rel-card__meta{
  display:flex;
  gap:10px;
  align-items:baseline;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.2;
}
.single-post .mc-rel-card__cat{
  font-weight:700;
  text-decoration:none;
}
.single-post .mc-rel-card__cat:hover{ text-decoration:underline; }
.single-post .mc-rel-card__time{ color:#666; }
.single-post .mc-rel-card__title{
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.3;
}
.single-post .mc-rel-card__title a{ text-decoration:none; }
.single-post .mc-rel-card__title a:hover{ text-decoration:underline; }

/* Flash news grid (3 cols x 5 rows) */
.single-post .mc-flash-header{ margin-bottom: 0; }
.single-post .mc-flash-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 22px;
  row-gap: 0;
}
.single-post .mc-flash-card{
  display:flex;
  gap: 14px;
  justify-content:space-between;
  padding: 14px 0;
  border-top: 1px solid #e6e6e6;
}
/* Remove top border for the first visual row */
.single-post .mc-flash-card:nth-child(-n+3){
  border-top: 0;
  padding-top: 0;
}
.single-post .mc-flash-content{ min-width:0; }
.single-post .mc-flash-meta{
  display:flex;
  gap: 10px;
  align-items:baseline;
  font-size: 13px;
  line-height: 1.2;
  margin-bottom: 6px;
}
.single-post .mc-flash-cat{
  font-weight:700;
  text-decoration:none;
}
.single-post .mc-flash-cat:hover{ text-decoration:underline; }
.single-post .mc-flash-time{ color:#666; }

/* Requested: Flash card title = 16px */
.single-post .mc-flash-card .mc-flash-title{
  margin: 0;
  font-size: 16px;
  line-height: 1.3;
}
.single-post .mc-flash-card .mc-flash-title a{ text-decoration:none; }
.single-post .mc-flash-card .mc-flash-title a:hover{ text-decoration:underline; }

.single-post .mc-flash-thumb{
  width: 86px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 6px;
  overflow:hidden;
  background:#f3f3f3;
}
.single-post .mc-flash-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

/* Responsive */
@media (max-width: 1199px){
  .single-post .mc-related-strip-grid{ grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 991px){
  .single-post .mc-related-strip-grid{ grid-template-columns: repeat(3, 1fr); }
  .single-post .mc-flash-grid{ grid-template-columns: repeat(2, 1fr); }
  .single-post .mc-flash-card:nth-child(-n+3){ border-top: 1px solid #e6e6e6; padding-top: 14px; }
  .single-post .mc-flash-card:nth-child(-n+2){ border-top: 0; padding-top: 0; }
}
@media (max-width: 576px){
  .single-post .mc-related-title,
  .single-post .mc-flash-title-row h2{ font-size: 1.25em; }

  .single-post .mc-related-strip-grid{ grid-template-columns: repeat(2, 1fr); }
  .single-post .mc-flash-thumb{ width: 76px; height: 52px; }
  .single-post .mc-flash-grid{ grid-template-columns: 1fr; }
  .single-post .mc-flash-card:nth-child(-n+2){ border-top: 1px solid #e6e6e6; padding-top: 14px; }
  .single-post .mc-flash-card:nth-child(-n+1){ border-top: 0; padding-top: 0; }
}

/*
 * Single post – related sections (Section 1, Section 2, Flash News).
 * These sections are rendered right after the <article> in single.php.
 * We "break out" to full width, then constrain the inner content to 1250px
 * for alignment.
 */
.single-post .mc-single-related-wrap{
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  overflow-x: hidden; /* prevent tiny overflow from scrollbar width */
}
.single-post .mc-single-related-inner{
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Single post – author box (placed right after article content) */
.single-post .mc-single-authorbox{
  margin: 28px 0 10px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 14px;
  background: #fff;
}
.single-post .mc-single-authorbox__inner{
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.single-post .mc-single-authorbox__avatar{
  position: relative;
  flex: 0 0 auto;
}
.single-post .mc-single-authorbox__avatar img{
  border-radius: 999px;
}
.single-post .mc-single-authorbox__badge{
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 6px rgba(0,0,0,0.15);
}
.single-post .mc-single-authorbox__content{
  min-width: 0;
  flex: 1;
}
.single-post .mc-single-authorbox__name{
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  margin-bottom: 4px;
}
.single-post .mc-single-authorbox__name a{
  text-decoration: none;
}
.single-post .mc-single-authorbox__meta{
  opacity: 0.85;
  font-size: 14px;
  margin-bottom: 10px;
}
.single-post .mc-single-authorbox__bio{
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 12px;
}
.single-post .mc-single-authorbox__actions{
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}
.single-post .mc-single-authorbox__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
}
.single-post .mc-single-authorbox__social ul{
  margin: 0;
}

@media (max-width: 640px){
  .single-post .mc-single-authorbox__inner{
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Hide parent theme related posts section (we use custom related sections instead) */
.single-post .related-posts,
.single-post #related-posts,
.single-post .relatedposts,
.single-post .related-posts-wrap,
.single-post .related-posts-wrapper,
.single-post .related-posts-area,
.single-post .posts-related,
.single-post .more-from-author,
.single-post .single-related-posts{
  display: none !important;
}

/* ============================
   Single Post: hide parent/plugin related-post blocks (we render custom related sections)
   ============================ */
.single-post #jp-relatedposts,
.single-post .jp-relatedposts,
.single-post .rp4wp-related-posts,
.single-post .yarpp-related,
.single-post .yarpp-related-widget,
.single-post .contextual-related-posts,
.single-post .crp_related,
.single-post #crp_related,
.single-post .related-posts,
.single-post section.related-posts,
.single-post .relatedposts,
.single-post section.relatedposts,
.single-post .related-post,
.single-post .post-related,
.single-post .post-related-posts,
.single-post section.related,
.single-post .related {
  display: none !important;
}


/* =========================================================
   Home section titles — seragam (font, ukuran, dan garis bawah seperti "All Stories")
   Catatan: dibuat CSS-only (tanpa ubah markup widget), jadi aman dari update konten.
   ========================================================= */
.mc-bh-head,
.mc-flash-head,
.mc-ig-head{
    border-bottom: 1px solid rgba(0,0,0,.13);
    padding-bottom: 0;
    margin-bottom: 2rem;
}

.mc-bh-title,
.mc-flash-head .mc-flash-title,
.mc-ig-title{
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: -1px; /* supaya garis tebal menempel ke garis tipis */
    border-bottom: 1px solid rgba(0,0,0,.53);
    font-weight: 700;
    font-size: 1.5em;
    letter-spacing: 0;
    color: #111;
}

.mc-flash-rule{ display:none !important; }

/* reset dotted line bawaan Infografik */
.mc-ig-head{ border-bottom: 1px solid rgba(0,0,0,.13) !important; }


/* =========================================================
   HOME: unify meta typography + section title font (SEO/UX)
   ========================================================= */

/* Make all home meta sizes feel like the original Mundana card meta */
body.home .mc-hs2-meta,
body.home .mc-bu-meta,
body.home .mc-flash-meta,
body.home .mc-ig-meta{
  font-size:13px !important;
  line-height:1.35 !important;
}

/* Unify home section heading font feel (size is controlled elsewhere) */
body.home .mc-bu-title,
body.home .mc-flash-title,
body.home .mc-ig-title{
  font-family: inherit !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
}

/* Add a more proportional gap before footer after All Categories grid */
body.home #allcategories.display-categories{
  margin-bottom: 3rem;
}
#comments {
  margin: 1.5rem 0 5rem 0;
}


/* ======================================================
   Byline / Credits box (Penulis / Editor / Fotografer)
   ====================================================== */
.single-post .mc-bylinebox{
  padding: 16px 18px;
}

.single-post .mc-bylinebox__list{
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.single-post .mc-bylinebox__item{
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.single-post .mc-bylinebox__avatar img{
  border-radius: 999px;
}

.single-post .mc-bylinebox__body{
  min-width: 0;
  flex: 1;
}

.single-post .mc-bylinebox__title{
  font-size: 16px;
  line-height: 1.2;
  font-weight: 800;
  margin-bottom: 4px;
}

.single-post .mc-bylinebox__role{
  font-weight: 700;
  margin-right: 8px;
  opacity: 0.9;
}

.single-post .mc-bylinebox__name{
  font-weight: 800;
  text-decoration: none;
}

.single-post .mc-bylinebox__bio{
  font-size: 13px;
  line-height: 1.55;
  opacity: 0.85;
  margin-bottom: 6px;
}

.single-post .mc-bylinebox__social{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.single-post .mc-bylinebox__x{
  text-decoration: none;
  font-weight: 900;
  line-height: 1;
}

.single-post .mc-bylinebox__xicon{
  display: inline-block;
  transform: translateY(-1px);
}

.single-post .mc-bylinebox__xhandle{
  text-decoration: none;
  opacity: 0.9;
}

@media (max-width: 640px){
  .single-post .mc-bylinebox__item{
    gap: 12px;
  }
}

/* =========================================================
   Categories Grid (Image Cards) - Portrait
   ========================================================= */
.mc-cats-img .mc-cat-card{
  width: 84%;        /* adjust: 78%–90% */
  margin: 0 auto;    /* center */
}

/* 2) Perkecil jarak judul ke gambar */
.mc-cats-img .mc-cat-title{
  margin-bottom: 6px !important; /* lebih rapat dari mb-2 */
  margin-left: 3px;
  line-height: 1.2;
}

/* 3) Perkecil tinggi kotak gambar tapi tetap portrait */
.mc-cats-img .mc-cat-thumb{
  height: 0;
  padding-top: 112%;  /* portrait tapi lebih pendek (coba 108%–118%) */
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  background: #f3f4f6;
}

/* Cover untuk semua device */
.mc-cats-img .mc-cat-thumb img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Hover halus */
/* .mc-cats-img .mc-cat-thumb img{
  transition: transform .25s ease;
}
.mc-cats-img .mc-cat-card:hover .mc-cat-thumb img{
  transform: scale(1.02);
}
 */
/* Optional: lebih “clean” seperti contoh */
.mc-cats-img .mc-cat-count{
  font-size: 13px;
}
