/* ====================================================
   GLOBAL PAGE & BLOG STYLING (SEO & Modern UI)
   ==================================================== */

/* Inner Page Hero (Dynamic SEO Title) */
.inner-hero, .single-hero {
    background: var(--grad-deep);
    padding: 120px 0 60px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.inner-hero::after, .single-hero::after {
    content:''; position:absolute; inset:0;
    background: url('https://www.banyumedia.co.id/wp-content/uploads/2021/06/jasa-pasang-iklan-google-ads-indonesia-murah.jpg') center/cover;
    opacity: 0.1; mix-blend-mode: luminosity;
    pointer-events: none;
}
.inner-hero .wrap, .single-hero .wrap {
    position: relative; z-index: 2;
    max-width: 900px; /* Centered narrow width for better readability */
}

/* Breadcrumbs SEO */
.seo-breadcrumbs {
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 600;
}
.seo-breadcrumbs ol {
    list-style: none; padding: 0; margin: 0;
    display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
}
.seo-breadcrumbs li {
    display: flex; align-items: center; gap: 8px;
    color: var(--cyan-soft);
}
.seo-breadcrumbs li a {
    color: #fff; text-decoration: none; transition: .2s;
}
.seo-breadcrumbs li a:hover { color: var(--cyan); }
.seo-breadcrumbs li::after {
    content: '/'; color: rgba(255,255,255,0.3);
}
.seo-breadcrumbs li:last-child::after { display: none; }
.seo-breadcrumbs li span { color: rgba(255,255,255,0.5); }

/* Typography */
.page-title, .post-title {
    font-size: 42px; line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #fff, #D6EAF4);
    -webkit-background-clip: text; color: transparent;
}
.post-meta-top {
    margin-bottom: 16px; display: flex; gap: 16px; justify-content: center; align-items: center;
}
.cat-badge {
    background: var(--brand); color: #fff; padding: 4px 12px; border-radius: 99px;
    font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
}
.cat-badge a { color: #fff; }
.post-date { color: #D6EAF4; font-size: 14px; }

/* Featured Image */
.post-featured-img {
    margin-top: 40px; border-radius: 20px; overflow: hidden;
    box-shadow: var(--shadow-lg);
    transform: translateY(40px); /* Overlap effect */
}
.post-featured-img img { width: 100%; height: auto; display: block; }

/* Content Wrapper */
.inner-content-wrapper {
    background: #fff;
    padding: 60px 0 100px;
}
.single-hero + .inner-content-wrapper { padding-top: 80px; } /* Space for overlap */

/* DIVI CLEANUP & OVERRIDES (Gentle Approach) */
/* We only want to improve typography and buttons, not destroy the layout grid */
.divi-cleanup .et_pb_text_inner {
    font-size: 17px; line-height: 1.8; color: var(--ink);
}
.divi-cleanup .et_pb_text_inner h2 {
    font-size: 28px; color: var(--deep); margin-bottom: 20px;
}
.divi-cleanup .et_pb_text_inner h3 {
    font-size: 22px; color: var(--deep); margin-bottom: 16px;
}
.divi-cleanup .et_pb_button {
    display: inline-flex !important; align-items: center; justify-content: center;
    background: var(--cta) !important; color: #3a2600 !important;
    padding: 14px 28px !important; border-radius: 99px !important;
    font-size: 16px !important; font-weight: 700 !important;
    border: none !important; box-shadow: 0 8px 20px rgba(245,166,35,.35) !important;
    transition: .3s !important;
}
.divi-cleanup .et_pb_button:hover {
    transform: translateY(-2px) !important; background: var(--cta-dark) !important;
}

/* Article Width Constraint (Medium Style) */
.article-wrap { max-width: 800px; margin: 0 auto; }
.post-content p { font-size: 18px; line-height: 1.8; margin-bottom: 24px; color: var(--ink); }
.post-content a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.post-content a:hover { color: var(--cyan); }
.post-content ul, .post-content ol { margin-bottom: 24px; padding-left: 24px; font-size: 18px; line-height: 1.8; }
.post-content li { margin-bottom: 10px; }
.post-content img { border-radius: 16px; box-shadow: var(--shadow); margin: 30px 0; }

/* Table of Contents */
.seo-toc {
    background: var(--tint-2);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 30px;
    margin: 0 0 40px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}
.seo-toc h3 {
    font-size: 20px; color: var(--deep); margin-bottom: 16px;
    display: flex; align-items: center; gap: 10px;
}
.seo-toc ul { list-style: none; padding: 0; margin: 0; font-size: 16px; }
.seo-toc li { margin-bottom: 12px; }
.seo-toc li a { color: var(--muted); text-decoration: none; display: block; transition: .2s; }
.seo-toc li a:hover { color: var(--brand); padding-left: 5px; }
.seo-toc .toc-h3 { padding-left: 20px; font-size: 15px; }

/* Author Bio E-E-A-T */
.author-bio-box {
    margin-top: 60px; padding: 40px;
    background: #fff; border-radius: 24px;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    display: flex; gap: 30px; align-items: center;
}
.bio-avatar img {
    width: 90px; height: 90px; border-radius: 50%;
    object-fit: cover; border: 4px solid var(--tint);
}
.bio-text h4 { font-size: 20px; color: var(--deep); margin-bottom: 10px; }
.bio-text p { font-size: 16px; color: var(--muted); line.height: 1.6; margin: 0; }

@media(max-width: 768px) {
    .page-title, .post-title { font-size: 32px; }
    .author-bio-box { flex-direction: column; text-align: center; padding: 30px 20px; }
}
