/* ============================================================
   assets/css/style.css — MADING DIGITAL GLOBAL STYLES
   ============================================================ */

/* ---- Base ---- */
body {
    margin: 0;
    background-color: #f3f4f6;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---- Font helpers ---- */
.font-heading {
    font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
    letter-spacing: -0.01em;
}
.font-body {
    font-family: 'Merriweather', Georgia, serif;
    line-height: 1.75;
}

/* ---- 3D Buttons (Editor/Admin only) ---- */
.btn-3d {
    transition: all 0.1s ease;
    position: relative;
    top: 0;
}
.btn-3d:active { top: 3px; box-shadow: 1px 1px 0px 0px #000 !important; }
.btn-3d-red { background-color: #b91c1c; color: #fff; border: 2px solid #000; box-shadow: 4px 4px 0px 0px #000; }
.btn-3d-red:hover { background-color: #dc2626; }
.btn-3d-black { background-color: #111827; color: #fff; border: 2px solid #000; box-shadow: 4px 4px 0px 0px #000; }
.btn-3d-black:hover { background-color: #1f2937; }
.btn-3d-gray { background-color: #e5e7eb; color: #111827; border: 2px solid #000; box-shadow: 4px 4px 0px 0px #000; }
.btn-3d-gray:hover { background-color: #f3f4f6; }

/* ---- Scrollbar hide ---- */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* ---- Article Cards (Frontend) ---- */
.article-card {
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}
.article-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: #d1d5db;
}

.card-image-wrap {
    position: relative;
    overflow: hidden;
    background: #f3f4f6;
}
.card-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.article-card:hover .card-image-wrap img {
    transform: scale(1.04);
}

/* Gradient overlay hanya di bawah gambar */
.card-image-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

/* Badge kategori */
.cat-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    background: rgba(0,0,0,0.75);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
    backdrop-filter: blur(4px);
}

/* ---- Hero ---- */
.hero-card {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #1f2937;
    min-height: 300px;
}
.hero-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}
.hero-card .hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0.35) 55%, transparent 100%);
    z-index: 2;
}

/* ---- Trending ---- */
.trending-item {
    flex: 0 0 250px;
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #1f2937;
    height: 170px;
}
.trending-item img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.88;
}
.trending-item .trending-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.875rem;
    background: linear-gradient(to top, rgba(0,0,0,0.72) 0%, transparent 100%);
    z-index: 2;
}

/* ---- Populer ---- */
.populer-item {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f3f4f6;
}
.populer-item:last-child { border-bottom: none; }
.populer-rank {
    font-size: 1.25rem;
    font-weight: 900;
    color: #e5e7eb;
    line-height: 1;
    min-width: 1.5rem;
    text-align: center;
    transition: color 0.15s;
}
.populer-thumb {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 0.375rem;
    object-fit: cover;
    flex-shrink: 0;
    background: #f3f4f6;
}

/* ---- Tags ---- */
.tag-pill {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 9999px;
    background: #f3f4f6;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    transition: all 0.15s;
    text-decoration: none;
    display: inline-block;
}
.tag-pill:hover {
    background: #fef2f2;
    color: #b91c1c;
    border-color: #fecaca;
}

/* ---- Section Title ---- */
.section-title {
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.section-title .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #b91c1c;
    flex-shrink: 0;
}

/* ---- Sidebar ---- */
.sidebar-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding: 1rem;
}
.sidebar-title {
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #111827;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* ---- Nav ---- */
.nav-link {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    padding: 0.75rem 0.875rem;
    border-bottom: 2px solid transparent;
    color: #4b5563;
    transition: all 0.15s;
    white-space: nowrap;
    text-decoration: none;
}
.nav-link:hover, .nav-link.active {
    color: #b91c1c;
    border-bottom-color: #b91c1c;
}

/* ---- Pagination ---- */
.page-btn {
    padding: 0.375rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 0.375rem;
    border: 1px solid #e5e7eb;
    background: #fff;
    color: #374151;
    transition: all 0.15s;
    cursor: pointer;
}
.page-btn:hover { background: #f9fafb; border-color: #d1d5db; }
.page-btn.active { background: #b91c1c; color: #fff; border-color: #b91c1c; }
.page-btn:disabled { opacity: .45; cursor: not-allowed; }

/* ---- Newsletter ---- */
.newsletter-box {
    background: #111827;
    border-radius: 0.75rem;
    padding: 1.25rem;
    color: #fff;
}

/* ---- Kanal Button ---- */
.kanal-btn {
    display: block;
    padding: 0.5rem;
    text-align: center;
    border-radius: 0.5rem;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #374151;
    transition: all 0.15s;
    text-decoration: none;
}
.kanal-btn:hover {
    background: #fef2f2;
    border-color: #fecaca;
    color: #b91c1c;
}

/* ---- Skeleton ---- */
.skeleton {
    background: linear-gradient(90deg, #f3f4f6 25%, #e5e7eb 50%, #f3f4f6 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 0.5rem;
}
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ---- Line Clamp ---- */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---- Search Suggest ---- */
#search-suggest {
    position: absolute;
    right: 0;
    top: calc(100% + 4px);
    width: 18rem;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    z-index: 50;
    max-height: 16rem;
    overflow-y: auto;
    display: none;
}
#search-suggest:not(.hidden) { display: block; }

/* ---- Medium Editor (Admin/Editor only) ---- */
.medium-editor-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: 800;
    border: none;
    outline: none;
    width: 100%;
    color: #111827;
    font-family: 'Inter', sans-serif;
    background: transparent;
}
.medium-editor-title::placeholder { color: #d1d5db; }
.medium-editor-subtitle {
    font-size: 1.5rem;
    line-height: 1.3;
    font-weight: 400;
    border: none;
    outline: none;
    width: 100%;
    margin-top: 0.5rem;
    color: #6b7280;
    font-family: 'Merriweather', serif;
    font-style: italic;
    background: transparent;
}
.medium-editor-subtitle::placeholder { color: #d1d5db; }
.medium-editor-body {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #374151;
    font-family: 'Merriweather', serif;
    min-height: 50vh;
    outline: none;
    white-space: pre-wrap;
    padding-bottom: 100px;
}
.medium-editor-body[placeholder]:empty:before {
    content: attr(placeholder);
    color: #9ca3af;
    font-style: italic;
    pointer-events: none;
}
.medium-editor-body h2 {
    font-size: 1.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    margin-top: 1.5rem;
    color: #111827;
}
.medium-editor-body h3 {
    font-size: 1.3rem;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    margin-top: 1rem;
    color: #1f2937;
}
.medium-editor-body blockquote {
    border-left: 4px solid #b91c1c;
    padding-left: 1rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #4b5563;
    background: #fef2f2;
    padding: 1rem;
}
.medium-editor-body img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.5rem;
    display: block;
}

/* ---- Star Rating ---- */
.star-rating svg {
    cursor: pointer;
    transition: transform 0.1s, color 0.2s;
}
.star-rating svg:hover { transform: scale(1.15); }
.star-rating svg.active { color: #eab308; fill: #eab308; }
.star-rating svg.inactive { color: #d1d5db; fill: #d1d5db; }

/* ---- Modal ---- */
#custom-modal-overlay { backdrop-filter: blur(4px); }

/* ---- Responsive Tweaks ---- */
@media (max-width: 768px) {
    .hero-card { min-height: 240px; }
    .hero-card .hero-content { padding: 1rem; }
    .trending-item { flex: 0 0 220px; height: 150px; }
}

/* ---- Mading Digital V6 UI Polish ---- */
.nav-dropdown { display: inline-flex; align-items: stretch; }
.nav-submenu {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    min-width: 180px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 .75rem .75rem;
    box-shadow: 0 16px 35px rgba(15,23,42,.12);
    z-index: 80;
    overflow: hidden;
}
.nav-dropdown:hover .nav-submenu { display: block; }
.nav-submenu a {
    display: block;
    padding: .7rem .9rem;
    font-size: .72rem;
    font-weight: 800;
    color: #374151;
    text-decoration: none;
    border-bottom: 1px solid #f3f4f6;
    white-space: nowrap;
}
.nav-submenu a:hover { background: #fef2f2; color: #b91c1c; }

.title-ad-banner {
    max-width: 560px;
    min-width: 260px;
    height: 46px;
    border-radius: .85rem;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #fff;
    box-shadow: 0 8px 22px rgba(15,23,42,.07);
}
.title-ad-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }

.realtime-clock { letter-spacing: .08em; }
.prayer-widget {
    background: linear-gradient(135deg,#111827,#1f2937);
    color: #fff;
    border-radius: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 16px 30px rgba(15,23,42,.16);
}
.prayer-widget-compact { padding: .65rem .9rem; border-radius: .85rem; min-width: 260px; }
.prayer-head { display:flex; align-items:center; justify-content:space-between; gap:.75rem; font-size:.68rem; text-transform:uppercase; font-weight:900; color:#fecaca; }
.prayer-head b { color:#fff; font-size:.72rem; }
.prayer-times { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:.4rem; margin-top:.75rem; }
.prayer-times span { background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.08); border-radius:.65rem; padding:.45rem .35rem; text-align:center; font-size:.68rem; font-weight:800; }
.prayer-times small { display:block; color:#9ca3af; font-size:.58rem; font-weight:700; text-transform:uppercase; margin-bottom:.15rem; }

.md-animate { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease, filter .65s ease; }
.md-animate.is-visible { opacity: 1; transform: none; filter: none; }
.md-anim-fade .md-animate, .md-anim-fade { transform: none; }
.md-anim-slide-left { transform: translateX(-22px); }
.md-anim-slide-right { transform: translateX(22px); }
.md-anim-zoom { transform: scale(.96); }
.md-anim-pop { transform: translateY(18px) scale(.97); }
.md-anim-float.is-visible { animation: mdFloat 4s ease-in-out infinite; }
@keyframes mdFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@media (prefers-reduced-motion: reduce) {
    .md-animate { opacity:1; transform:none; transition:none; }
    .md-anim-float.is-visible { animation:none; }
}

/* ---- Mading Digital V7: slideshow, scroll up, media channels ---- */
.hero-slideshow { box-shadow: 0 18px 42px rgba(15,23,42,.18); }
.hero-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 38px; height: 38px; border-radius: 999px;
    border: 1px solid rgba(255,255,255,.35); background: rgba(17,24,39,.58);
    color: #fff; font-size: 1.6rem; line-height: 1; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    backdrop-filter: blur(8px); transition: all .2s ease;
}
.hero-nav:hover { background: #b91c1c; transform: translateY(-50%) scale(1.05); }
.hero-prev { left: .85rem; }
.hero-next { right: .85rem; }
.hero-dots { position: absolute; left: 0; right: 0; bottom: .75rem; z-index: 5; display:flex; justify-content:center; gap:.35rem; }
.hero-dots button { width: 8px; height: 8px; border-radius:999px; background: rgba(255,255,255,.45); border:0; transition:all .2s ease; }
.hero-dots button.active { width: 24px; background:#ef4444; }
.footer-social-icon { width: 2.35rem; height: 2.35rem; border-radius: .8rem; display:inline-flex; align-items:center; justify-content:center; background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.1); color:#9ca3af; transition:all .2s ease; }
.footer-social-icon:hover { transform: translateY(-3px); background:#fff; color:#111827; box-shadow:0 10px 25px rgba(0,0,0,.22); }
#md-scroll-up {
    position: fixed; right: 1.15rem; bottom: 1.15rem; z-index: 999;
    width: 46px; height: 46px; border-radius: 999px; border: 2px solid #111827;
    background: linear-gradient(135deg,#b91c1c,#ef4444); color: #fff;
    font-weight: 900; font-size: 1.35rem; box-shadow: 4px 4px 0 #111827, 0 15px 35px rgba(185,28,28,.25);
    opacity: 0; pointer-events: none; transform: translateY(18px) scale(.92); transition: all .25s ease;
}
#md-scroll-up.show { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
#md-scroll-up:hover { transform: translateY(-4px) scale(1.04); }
.photo-masonry { column-count: 3; column-gap: 1rem; }
.photo-card { break-inside: avoid; margin-bottom: 1rem; overflow:hidden; border-radius: 1rem; background:#fff; border:1px solid #e5e7eb; box-shadow:0 10px 26px rgba(15,23,42,.06); }
.photo-card img { width:100%; display:block; transition:transform .35s ease; }
.photo-card:hover img { transform:scale(1.04); }
.flipbook-shell { perspective: 1600px; }
.flipbook-card { transform-style: preserve-3d; transition: transform .7s ease; }
.flipbook-card:hover { transform: rotateY(-10deg) translateY(-3px); }
.flipbook-cover { position:relative; overflow:hidden; border-radius:1rem; min-height: 260px; background:linear-gradient(135deg,#111827,#374151); }
.flipbook-cover:after { content:''; position:absolute; left:0; top:0; bottom:0; width:16px; background:linear-gradient(90deg,rgba(0,0,0,.25),rgba(255,255,255,.18)); }
@media (max-width: 900px) { .photo-masonry { column-count: 2; } }
@media (max-width: 640px) { .photo-masonry { column-count: 1; } .hero-nav { width:34px; height:34px; } }

/* ============================================================
   V9: PWA RESPONSIVE FLEX, CONTACT POPUP, EVENT BALLOON, PREMIUM
   ============================================================ */
html { scroll-behavior: smooth; }
body { -webkit-tap-highlight-color: transparent; }
img, video, iframe { max-width: 100%; }
.title-ad-banner img { max-height: 44px; object-fit: cover; border-radius: 12px; border: 1px solid #e5e7eb; }
.footer-social-icon { width: 2.5rem; height: 2.5rem; display: inline-flex; align-items: center; justify-content: center; border-radius: .85rem; background: rgba(255,255,255,.08); color: #d1d5db; border: 1px solid rgba(255,255,255,.1); transition: .2s ease; }
.footer-social-icon:hover { background: rgba(255,255,255,.14); transform: translateY(-2px) scale(1.05); color: #fff; }
.premium-sidebar-box { background: linear-gradient(135deg,#fff7ed,#ffffff); border-color:#fed7aa; }
.md-modal-backdrop { position: fixed; inset: 0; background: rgba(2,6,23,.65); backdrop-filter: blur(8px); display: none; align-items: center; justify-content: center; z-index: 99999; padding: 1rem; }
.md-modal-backdrop.show { display: flex; }
.md-modal-card { width: min(94vw, 520px); background: white; border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.28); overflow: hidden; border: 1px solid rgba(255,255,255,.4); animation: mdModalPop .2s ease-out; }
@keyframes mdModalPop { from { opacity:0; transform: translateY(14px) scale(.98);} to { opacity:1; transform: translateY(0) scale(1);} }
.md-modal-head { background: linear-gradient(135deg,#991b1b,#dc2626); color: white; padding: 1.25rem 1.35rem; display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.md-modal-title { font-weight: 900; letter-spacing: -.02em; font-size: 1.15rem; }
.md-modal-close { width: 2.25rem; height: 2.25rem; border-radius: 999px; background: rgba(255,255,255,.16); display:flex; align-items:center; justify-content:center; font-weight:900; }
.md-modal-body { padding: 1.35rem; }
.md-form-field { width:100%; border:1px solid #e5e7eb; border-radius: 14px; padding:.8rem .9rem; font-size:.875rem; outline:none; background:#f9fafb; transition:.15s; }
.md-form-field:focus { border-color:#dc2626; background:#fff; box-shadow:0 0 0 4px rgba(220,38,38,.08); }
.md-form-label { display:block; font-size:.72rem; font-weight:900; text-transform:uppercase; letter-spacing:.04em; color:#64748b; margin-bottom:.35rem; }
.md-form-grid { display:grid; gap:.9rem; }
.md-btn-primary { display:inline-flex; align-items:center; justify-content:center; gap:.5rem; background:#111827; color:#fff; border-radius: 14px; padding:.8rem 1rem; font-size:.8rem; font-weight:900; transition:.15s; }
.md-btn-primary:hover { background:#b91c1c; transform: translateY(-1px); }
.md-event-balloon { position: fixed; right: 1.15rem; bottom: 5.4rem; z-index: 9998; width: min(92vw, 330px); background: #0f172a; color: white; border-radius: 22px; box-shadow: 0 18px 50px rgba(15,23,42,.32); border: 1px solid rgba(255,255,255,.12); overflow:hidden; transform: translateY(14px); opacity:0; pointer-events:none; transition:.25s ease; }
.md-event-balloon.show { transform: translateY(0); opacity:1; pointer-events:auto; }
.md-event-balloon .balloon-inner { padding: 1rem; display:flex; gap:.8rem; align-items:flex-start; }
.md-event-balloon .balloon-icon { width:2.65rem; height:2.65rem; border-radius: 1rem; background:#dc2626; display:flex; align-items:center; justify-content:center; flex-shrink:0; box-shadow:0 0 0 6px rgba(220,38,38,.18); }
.md-event-balloon h4 { font-size:.92rem; font-weight:900; line-height:1.2; margin:0 0 .2rem; }
.md-event-balloon p { font-size:.74rem; color:#cbd5e1; line-height:1.45; margin:0; }
.md-event-balloon a { margin-top:.65rem; display:inline-flex; background:white; color:#111827; border-radius: 999px; padding:.45rem .75rem; font-size:.7rem; font-weight:900; }
.md-event-close { position:absolute; right:.6rem; top:.55rem; width:1.6rem; height:1.6rem; border-radius:999px; color:#94a3b8; background:rgba(255,255,255,.07); display:flex; align-items:center; justify-content:center; font-weight:900; }
.membership-hero { background: radial-gradient(circle at 20% 10%, rgba(248,113,113,.35), transparent 28%), linear-gradient(135deg,#0f172a,#111827 55%,#7f1d1d); }
.membership-card { background: rgba(255,255,255,.96); border:1px solid rgba(255,255,255,.5); box-shadow:0 24px 80px rgba(0,0,0,.18); }
@media (display-mode: standalone) { .pwa-hide-standalone { display:none!important; } }
@media (max-width: 768px) {
  header.sticky { position: sticky; }
  .title-ad-banner { display:none!important; }
  .nav-link { padding: .8rem .7rem; font-size:.68rem; }
  main { padding-left: .9rem!important; padding-right: .9rem!important; }
  .hero-card { min-height: 280px!important; border-radius: 1.1rem!important; }
  .hero-content h2 { font-size: 1.25rem!important; }
  .article-card { border-radius: 1rem!important; }
  .md-event-balloon { right:.75rem; left:.75rem; width:auto; bottom:4.8rem; }
  #md-scroll-up { right:.8rem!important; bottom:.9rem!important; }
  footer .grid { gap:1.4rem; }
}


/* ============================================================
   V10 PREMIUM, E-MAGAZINE, SIDEBAR & COLORFUL HOME
   ============================================================ */
.md-home-colorful{background:radial-gradient(circle at top left,#fff7ed 0,#f8fafc 28%,#eef2ff 58%,#f0fdf4 100%)}
.md-home-colorful .section-title .dot{box-shadow:0 0 0 5px rgba(185,28,28,.08)}
.sidebar-accent-latest{background:linear-gradient(180deg,#ffffff 0%,#f0fdf4 100%);border-color:#bbf7d0!important}
.member-top-btn{display:inline-flex;align-items:center;gap:.35rem;padding:.35rem .75rem;border-radius:999px;background:#fef3c7;color:#92400e!important;border:1px solid rgba(245,158,11,.35);font-weight:900;transition:.2s}
.member-top-btn:hover{background:#f59e0b;color:#fff!important}
.premium-paywall-card{background:#dceeff;border:1px solid #111827;border-radius:18px;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.12);margin:2rem 0}.premium-paywall-inner{max-width:680px;margin:auto;padding:2.2rem 1.5rem;text-align:left}.premium-paywall-inner h2{text-align:center;font-weight:900;font-size:1.65rem;color:#1f2937}.premium-paywall-inner p{text-align:center;color:#334155;margin:.5rem 0 1rem}.premium-paywall-inner ul{display:grid;gap:.7rem;margin:1.2rem 0;color:#0f172a}.premium-paywall-inner li{list-style:none}.premium-price-grid{display:grid;gap:1rem}.premium-package{background:#fff;border-radius:10px;padding:1rem;display:flex;align-items:center;justify-content:space-between;gap:1rem;border:1px solid #e5e7eb}.premium-package.best{border-color:#facc15;position:relative}.premium-package.best span{position:absolute;top:-.7rem;left:1rem;background:#facc15;border-radius:6px;padding:.2rem .55rem;font-size:.7rem;font-weight:900}.premium-package b{display:block;color:#f97316;font-size:1.1rem}.premium-package small{display:block;color:#0f172a}.paywall-btn{background:#3baa1d;color:#fff!important;border-radius:7px;padding:.65rem 1rem;font-weight:900;font-size:.8rem}.paywall-btn.outline{background:#fff;color:#3baa1d!important;border:1px solid #3baa1d}.premium-login-link{font-weight:900;color:#075db3;text-decoration:underline}.premium-popup-modal{position:fixed;inset:0;background:rgba(15,23,42,.55);z-index:99999;display:none;align-items:center;justify-content:center;padding:1rem}.premium-popup-modal.show{display:flex}.premium-popup-panel{width:min(640px,96vw);max-height:92vh;overflow:auto}.magazine-card{background:#fff;border:1px solid #e5e7eb;border-radius:20px;overflow:hidden;box-shadow:0 10px 30px rgba(15,23,42,.08);transition:.25s}.magazine-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(15,23,42,.13)}.magazine-cover{aspect-ratio:3/4;background:linear-gradient(135deg,#111827,#b91c1c);display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;overflow:hidden}.magazine-cover img{width:100%;height:100%;object-fit:cover}.exclusive-badge{display:inline-flex;align-items:center;gap:.35rem;background:#111827;color:#facc15;border-radius:999px;padding:.35rem .8rem;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.05em}
.category-move-btn{display:inline-flex;align-items:center;justify-content:center;width:1.7rem;height:1.7rem;border-radius:.45rem;background:#f3f4f6;border:1px solid #d1d5db;font-weight:900;margin-right:.25rem}.category-move-btn:hover{background:#111827;color:#fff}.contrib-landing{background:linear-gradient(135deg,#111827,#7f1d1d);color:#fff;border-radius:24px;padding:2rem;box-shadow:0 20px 55px rgba(15,23,42,.24)}
@media(max-width:768px){.premium-package{align-items:flex-start;flex-direction:column}.premium-paywall-inner{padding:1.4rem 1rem}.premium-paywall-inner h2{font-size:1.3rem}}


/* ============================================================
   V11: Membership prices, WhatsApp CS balloon, fixed side ads
   ============================================================ */
.premium-plan-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.premium-plan-mini{position:relative;border:1px solid #e5e7eb;border-radius:14px;padding:.75rem;background:#fff;cursor:pointer;transition:.2s ease;box-shadow:0 8px 20px rgba(15,23,42,.05)}.premium-plan-mini:hover{transform:translateY(-2px);border-color:#ef4444;box-shadow:0 14px 28px rgba(239,68,68,.12)}.premium-plan-mini.best{border-color:#facc15;background:linear-gradient(135deg,#fff,#fff7cc)}.premium-plan-mini strong{display:block;font-size:.78rem;color:#0f172a}.premium-plan-mini b{display:block;font-size:.95rem;color:#f97316;margin-top:.15rem}.premium-plan-mini .mini-badge{position:absolute;right:.55rem;top:-.55rem;background:#facc15;color:#111827;border-radius:999px;padding:.15rem .45rem;font-size:.62rem;font-weight:900}.premium-price-grid{grid-template-columns:1fr}.premium-package.best b{font-size:1.18rem}.md-cs-whatsapp{position:fixed;right:1.1rem;bottom:1.1rem;z-index:10001;display:inline-flex;align-items:center;gap:.55rem;background:#16a34a;color:#fff!important;border-radius:999px;padding:.75rem 1rem;font-size:.82rem;font-weight:900;box-shadow:0 16px 35px rgba(22,163,74,.28),0 0 0 5px rgba(22,163,74,.12);border:2px solid rgba(255,255,255,.9);opacity:0;transform:translateY(16px) scale(.92);pointer-events:none;transition:.25s ease}.md-cs-whatsapp.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}.md-cs-whatsapp:hover{transform:translateY(-3px) scale(1.03);background:#15803d}.md-cs-icon{width:1.9rem;height:1.9rem;border-radius:999px;background:rgba(255,255,255,.16);display:inline-flex;align-items:center;justify-content:center;font-size:1rem}.md-customer-service-active #md-scroll-up{bottom:5.9rem}.md-customer-service-active .md-event-balloon{bottom:9.7rem}.md-floating-ads{position:fixed;inset:0;z-index:9990;pointer-events:none;opacity:0;transition:.25s ease}.md-floating-ads.show{opacity:1}.md-floating-ad{position:fixed;top:7.25rem;width:142px;min-height:210px;border-radius:18px;overflow:visible;pointer-events:auto;filter:drop-shadow(0 18px 35px rgba(15,23,42,.24));animation:mdSideFloat 3.5s ease-in-out infinite}.md-floating-ad-left{left:1rem}.md-floating-ad-right{right:1rem;animation-delay:.55s}.md-floating-ad a{display:block;border-radius:18px;overflow:hidden;background:#fff;border:2px solid rgba(255,255,255,.9)}.md-floating-ad img{display:block;width:100%;height:240px;object-fit:cover}.md-floating-ad-close{position:absolute;right:-.55rem;top:-.55rem;width:1.8rem;height:1.8rem;border-radius:999px;background:#111827;color:#fff;border:2px solid #fff;font-size:1.05rem;font-weight:900;line-height:1;z-index:2;cursor:pointer}.md-floating-ad-placeholder{height:240px;background:linear-gradient(135deg,#b91c1c,#f97316);color:#fff;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:.8rem}.md-floating-ad-placeholder b{font-size:1rem;line-height:1.1}.md-floating-ad-placeholder small{font-size:.66rem;margin-top:.35rem;opacity:.9}@keyframes mdSideFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}@media(max-width:1280px){.md-floating-ad{width:116px}.md-floating-ad img,.md-floating-ad-placeholder{height:200px}}@media(max-width:1100px){.md-floating-ad{display:none}.md-cs-whatsapp{right:.8rem;bottom:.8rem}.md-customer-service-active #md-scroll-up{bottom:5.35rem}.md-customer-service-active .md-event-balloon{bottom:9rem}}@media(max-width:640px){.premium-plan-mini-grid{grid-template-columns:1fr}.md-cs-whatsapp{font-size:.72rem;padding:.62rem .75rem}.md-cs-icon{width:1.65rem;height:1.65rem}.md-customer-service-active .md-event-balloon{bottom:7.9rem}}

/* ============================================================
   V12: Search, centered floating ads, ask-us balloon
   ============================================================ */
.search-suggest-item{display:flex;align-items:center;gap:.65rem;padding:.65rem .75rem;border-bottom:1px solid #f1f5f9;text-decoration:none;color:#0f172a;background:#fff;transition:.18s ease}.search-suggest-item:hover{background:#fff7ed}.search-suggest-item img,.search-suggest-thumb{width:44px;height:34px;border-radius:9px;object-fit:cover;flex-shrink:0;background:linear-gradient(135deg,#b91c1c,#f97316);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:.62rem;font-weight:900}.search-suggest-item b{display:block;font-size:.74rem;line-height:1.25;color:#0f172a}.search-suggest-item small{display:block;font-size:.62rem;color:#64748b;margin-top:.15rem}.search-suggest-more{width:100%;padding:.65rem .75rem;background:#f8fafc;color:#b91c1c;font-size:.72rem;font-weight:900;text-align:center;border:0;cursor:pointer}.search-suggest-more:hover{background:#fee2e2}
.md-floating-ad{top:50%!important;transform:translateY(-50%);animation:mdSideFloatCenter 3.8s ease-in-out infinite}.md-floating-ad-left{left:1.15rem}.md-floating-ad-right{right:1.15rem;animation-delay:.55s}@keyframes mdSideFloatCenter{0%,100%{transform:translateY(-50%)}50%{transform:translateY(calc(-50% - 10px))}}.md-floating-ad img,.md-floating-ad-placeholder{height:250px}.md-event-balloon{right:1.15rem}.md-floating-ad-left::after{content:'Live';position:absolute;left:50%;bottom:-.72rem;transform:translateX(-50%);background:#dc2626;color:#fff;border-radius:999px;padding:.18rem .55rem;font-size:.58rem;font-weight:900;letter-spacing:.04em;border:2px solid #fff;box-shadow:0 8px 18px rgba(220,38,38,.22)}
#md-ask-us{position:fixed;left:1.05rem;bottom:1.05rem;z-index:10002;display:inline-flex;align-items:center;gap:.55rem;background:#0f172a;color:#fff;border:2px solid rgba(255,255,255,.92);border-radius:999px;padding:.72rem 1rem;font-size:.82rem;font-weight:900;box-shadow:0 18px 38px rgba(15,23,42,.28),0 0 0 5px rgba(15,23,42,.08);opacity:0;transform:translateY(14px) scale(.94);pointer-events:none;transition:.25s ease}#md-ask-us.show{opacity:1;transform:translateY(0) scale(1);pointer-events:auto}#md-ask-us:hover{background:#b91c1c;transform:translateY(-3px) scale(1.03)}.md-ask-us-icon{width:1.85rem;height:1.85rem;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.14);font-size:1rem;font-weight:1000}
@media(max-width:1100px){#md-ask-us{left:.8rem;bottom:.8rem}.md-floating-ad{display:none!important}}@media(max-width:640px){#md-ask-us{font-size:.72rem;padding:.62rem .75rem}.md-ask-us-icon{width:1.6rem;height:1.6rem}.md-customer-service-active #md-scroll-up{bottom:5.4rem}}


/* ============================================================
   V13: hilangkan top ad, ikon Tanya Kami baru, floating ads 300x600 simetris
   ============================================================ */
.title-ad-banner{display:none!important}
.md-floating-ad{width:300px!important;height:600px!important;top:50%!important;transform:translateY(-50%)!important;animation:none!important;border-radius:24px!important;}
.md-floating-ad-left{left:max(16px,calc((100vw - 1280px)/2 - 330px))!important;right:auto!important;}
.md-floating-ad-right{right:max(16px,calc((100vw - 1280px)/2 - 330px))!important;left:auto!important;}
.md-floating-ad a{height:100%;border-radius:24px!important;}
.md-floating-ad img,.md-floating-ad-placeholder{width:300px!important;height:600px!important;max-height:600px!important;object-fit:cover;border-radius:24px!important;}
.md-floating-ad-placeholder{background:linear-gradient(160deg,#111827,#b91c1c,#f97316);}
.md-floating-ad-close{right:.65rem!important;top:.65rem!important;background:rgba(17,24,39,.88)!important;}
.md-floating-ad-left::after{content:'Iklan';bottom:-.9rem!important;background:#111827!important;}
.md-ask-us-icon{font-size:1.05rem!important;background:linear-gradient(135deg,rgba(255,255,255,.22),rgba(255,255,255,.08))!important;}
@media(max-width:1880px){.md-floating-ad{width:240px!important;height:480px!important}.md-floating-ad img,.md-floating-ad-placeholder{width:240px!important;height:480px!important}.md-floating-ad-left{left:.75rem!important}.md-floating-ad-right{right:.75rem!important}}
@media(max-width:1500px){.md-floating-ad{display:none!important}}

/* ============================================================
   V14 PWA + LOGO MOBILE FIX
   ============================================================ */
.site-logo-img,
header img[alt="Mading Digital"]{
  display:block;
  height:auto;
  max-height:40px;
  max-width:240px;
  object-fit:contain;
}
.footer-logo-img,
footer img[alt="Mading Digital"]{
  max-height:38px;
  max-width:220px;
  object-fit:contain;
}
.site-logo-preview{max-width:260px;object-fit:contain;}
@media(max-width:768px){
  .site-logo-img,
  header img[alt="Mading Digital"]{
    max-height:34px!important;
    max-width:170px!important;
  }
  .footer-logo-img,
  footer img[alt="Mading Digital"]{
    max-height:34px!important;
    max-width:180px!important;
  }
  header .h-14{height:3.4rem!important;}
}
.md-pwa-install{position:fixed;left:1rem;bottom:1rem;z-index:10002;display:none;align-items:center;gap:.55rem;background:#111827;color:#fff!important;border-radius:999px;padding:.72rem 1rem;font-size:.78rem;font-weight:900;box-shadow:0 18px 45px rgba(15,23,42,.28);border:2px solid rgba(255,255,255,.95);transition:.22s ease}.md-pwa-install.show{display:inline-flex}.md-pwa-install:hover{transform:translateY(-3px);background:#b91c1c}.md-pwa-install .pwa-icon{width:1.75rem;height:1.75rem;border-radius:999px;background:rgba(255,255,255,.14);display:flex;align-items:center;justify-content:center}.md-pwa-install .pwa-close{margin-left:.25rem;width:1.45rem;height:1.45rem;border-radius:999px;background:rgba(255,255,255,.16);display:flex;align-items:center;justify-content:center;font-weight:900}
@media(max-width:640px){.md-pwa-install{left:.75rem;right:.75rem;bottom:.75rem;justify-content:center}.md-customer-service-active .md-pwa-install{bottom:5.4rem}}
