/* ============================================================
   GD SEO THEME - Main CSS v2.0
   Fully integrated with GD SEO Content Engine Plugin
   ============================================================ */

/* --- CSS Variables (overridden by Customizer via wp_head) --- */
:root {
    --gd-primary:    #0f172a;
    --gd-accent:     #3b82f6;
    --gd-accent-dark:#2563eb;
    --gd-bg:         #f8fafc;
    --gd-surface:    #ffffff;
    --gd-border:     #e2e8f0;
    --gd-text:       #1e293b;
    --gd-text-light: #4b5563;
    --gd-font-main:  system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --gd-radius:     10px;
    --gd-shadow:     0 2px 12px rgba(0,0,0,0.06);
    --gd-shadow-md:  0 4px 24px rgba(0,0,0,0.10);
    --gd-transition: 0.22s cubic-bezier(.4,0,.2,1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

html, body {
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--gd-font-main);
    background: var(--gd-bg);
    color: var(--gd-text);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; height: auto; display: block; }

/* Global Word Wrap for mobile headings */
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6,
.entry-title,
.site-title {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* Bulletproof media scaling in content */
.entry-content img {
    max-width: 100% !important;
    height: auto !important;
}
.entry-content figure,
.entry-content video,
.entry-content iframe {
    max-width: 100% !important;
    height: auto !important;
}
.entry-content table {
    display: block;
    overflow-x: auto;
    width: 100%;
    max-width: 100% !important;
}
a { color: var(--gd-accent); text-decoration: none; transition: color var(--gd-transition); }
a:hover { color: var(--gd-accent-dark); }
ul, ol { padding-left: 1.5rem; }

/* --- Container --- */
.container {
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 40px);
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
    background: var(--gd-surface);
    border-bottom: 1px solid var(--gd-border);
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 1px 8px rgba(0,0,0,0.05);
    transition: box-shadow var(--gd-transition);
}
.site-header.scrolled { box-shadow: var(--gd-shadow-md); }

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 68px;
}

/* Logo & Branding */
.site-branding { flex-shrink: 0; }
.site-branding .custom-logo { height: 44px; width: auto; }
.site-title { font-size: 1.35rem; font-weight: 700; line-height: 1.2; }
.site-title a { color: var(--gd-primary); text-decoration: none; }
.site-description { font-size: 0.8rem; color: var(--gd-text-light); margin-top: 2px; }

/* Navigation */
.main-navigation { display: flex; align-items: center; gap: 8px; }
.main-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 4px; }
.main-navigation ul li a {
    display: block;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gd-text);
    transition: background var(--gd-transition), color var(--gd-transition);
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
    background: #f1f5f9;
    color: var(--gd-accent);
}

/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--gd-border);
    border-radius: 6px;
    padding: 8px 10px;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
}
.hamburger-icon,
.hamburger-icon::before,
.hamburger-icon::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gd-primary);
    border-radius: 2px;
    transition: transform var(--gd-transition);
    position: relative;
}
.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    position: absolute;
    left: 0;
}
.hamburger-icon::before { top: -6px; }
.hamburger-icon::after  { top: 6px; }

/* Header CTA Button (from plugin WA number) */
.header-wa-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #25d366;
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    transition: background var(--gd-transition), transform var(--gd-transition);
    flex-shrink: 0;
}
.header-wa-btn:hover { background: #1ebe5c; transform: translateY(-1px); }
.header-wa-btn svg { flex-shrink: 0; }

/* ============================================================
   LAYOUT - Post Grid & Sidebar
   ============================================================ */
.gd-layout-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 40px;
    padding-bottom: 60px;
    align-items: start;
}
.gd-layout-wrapper.has-sidebar {
    grid-template-columns: 1fr 340px;
}

/* Post Grid (index) */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 28px;
    margin-bottom: 40px;
}
.site-main.container { padding-top: 40px; padding-bottom: 60px; }

/* ============================================================
   CARDS
   ============================================================ */
.gd-card {
    background: var(--gd-surface);
    border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius);
    box-shadow: var(--gd-shadow);
    overflow: hidden;
    transition: box-shadow var(--gd-transition), transform var(--gd-transition);
}
.gd-single-article {
    padding: 32px;
    box-sizing: border-box;
}
.gd-card:hover {
    box-shadow: var(--gd-shadow-md);
    transform: translateY(-3px);
}

/* Grid Item Card */
.grid-item.gd-card { display: flex; flex-direction: column; }
.grid-item .post-thumbnail { aspect-ratio: 16/9; overflow: hidden; }
.grid-item .post-thumbnail img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.grid-item:hover .post-thumbnail img { transform: scale(1.04); }
.grid-item .post-content-wrap { padding: 20px; flex: 1; display: flex; flex-direction: column; }

.entry-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gd-accent);
    margin-bottom: 8px;
}
.entry-cat a { color: inherit; }

.entry-title { font-size: 1.05rem; font-weight: 700; line-height: 1.4; margin-bottom: 10px; }
.entry-title a { color: var(--gd-primary); transition: color var(--gd-transition); }
.entry-title a:hover { color: var(--gd-accent); }

.entry-summary { font-size: 0.9rem; color: var(--gd-text-light); flex: 1; }
.entry-summary p { margin-bottom: 0; }

/* Read More */
.gd-read-more {
    display: inline-block;
    margin-top: 14px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gd-accent);
}
.gd-read-more:hover { text-decoration: underline; }

/* ============================================================
   SINGLE POST (Article)
   ============================================================ */
.entry-content {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--gd-text);
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--gd-primary);
    margin-top: 2em;
    margin-bottom: 0.6em;
}
.entry-content h1 { font-size: 1.9rem; }
.entry-content h2 { font-size: 1.45rem; border-left: 4px solid var(--gd-accent); padding-left: 12px; }
.entry-content h3 { font-size: 1.15rem; }
.entry-content p  { margin-bottom: 1.15em; text-align: justify; }
.entry-content ul,
.entry-content ol { margin-bottom: 1.15em; }
.entry-content li { margin-bottom: 0.4em; }
.entry-content strong { font-weight: 700; color: var(--gd-primary); }
.entry-content img { border-radius: var(--gd-radius); margin: 1.5em auto; }
.entry-content blockquote {
    border-left: 4px solid var(--gd-accent);
    margin: 1.5em 0;
    padding: 14px 20px;
    background: #f0f7ff;
    border-radius: 0 var(--gd-radius) var(--gd-radius) 0;
    font-style: italic;
    color: var(--gd-text-light);
}
.entry-content a {
    color: var(--gd-accent);
    text-decoration: underline;
    text-decoration-color: rgba(59,130,246,0.35);
    text-underline-offset: 3px;
    transition: color var(--gd-transition);
}
.entry-content a:hover { color: var(--gd-accent-dark); }

/* FAQ Section (from plugin) */
.entry-content h2:has(+ p),
.entry-content h2 {  }

/* Highlight "Ringkasan Singkat" TL;DR block from plugin */
.entry-content p:has(> strong:first-child) {
    background: #f0f7ff;
    border: 1px solid #bfdbfe;
    border-radius: var(--gd-radius);
    padding: 14px 18px;
    margin: 1.5em 0;
    font-size: 0.97rem;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.gd-breadcrumb {
    font-size: 0.82rem;
    color: var(--gd-text-light);
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}
.gd-breadcrumb a { color: var(--gd-text-light); }
.gd-breadcrumb a:hover { color: var(--gd-accent); }
.gd-breadcrumb span { opacity: 0.5; }

/* ============================================================
   SIDEBAR
   ============================================================ */
.widget-area { display: flex; flex-direction: column; gap: 24px; }
.widget {
    background: var(--gd-surface);
    border: 1px solid var(--gd-border);
    border-radius: var(--gd-radius);
    padding: 20px;
    box-shadow: var(--gd-shadow);
}
.widget-title {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gd-primary);
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gd-accent);
}
.widget ul { list-style: none; padding: 0; }
.widget ul li { padding: 6px 0; border-bottom: 1px solid var(--gd-border); font-size: 0.9rem; }
.widget ul li:last-child { border-bottom: none; }
.widget ul li a { color: var(--gd-text); }
.widget ul li a:hover { color: var(--gd-accent); }

/* Related Articles Sidebar Widget */
.gd-related-widget .related-post-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--gd-border); align-items: flex-start; }
.gd-related-widget .related-post-item:last-child { border-bottom: none; }
.gd-related-widget .related-thumb { width: 72px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.gd-related-widget .related-title { font-size: 0.84rem; font-weight: 600; line-height: 1.4; color: var(--gd-primary); }
.gd-related-widget .related-title a { color: inherit; }
.gd-related-widget .related-title a:hover { color: var(--gd-accent); }
.gd-related-widget .related-date { font-size: 0.75rem; color: var(--gd-text-light); margin-top: 4px; }

/* ============================================================
   PAGE HEADER & ARCHIVE
   ============================================================ */
.page-header {
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gd-border);
}
.page-title { font-size: 1.7rem; font-weight: 800; color: var(--gd-primary); }
.archive-description { font-size: 0.95rem; color: var(--gd-text-light); margin-top: 8px; }

/* ============================================================
   PAGINATION
   ============================================================ */
.navigation.pagination { margin-top: 40px; }
.nav-links { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border: 1px solid var(--gd-border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gd-text);
    transition: background var(--gd-transition), color var(--gd-transition), border-color var(--gd-transition);
}
.page-numbers:hover,
.page-numbers.current {
    background: var(--gd-accent);
    color: #fff;
    border-color: var(--gd-accent);
}

/* ============================================================
   TAGS
   ============================================================ */
.gd-tag {
    display: inline-block;
    margin: 3px 4px 3px 0;
    padding: 4px 12px;
    background: #f1f5f9;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--gd-text-light) !important;
    text-decoration: none !important;
    transition: background var(--gd-transition), color var(--gd-transition);
}
.gd-tag:hover { background: var(--gd-accent); color: #fff !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
    background: var(--gd-primary);
    color: #cbd5e1;
    margin-top: 60px;
}
.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 50px 0 36px;
}
.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col p { font-size: 0.9rem; line-height: 1.7; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { padding: 5px 0; font-size: 0.9rem; }
.footer-col ul li a { color: #94a3b8; transition: color var(--gd-transition); }
.footer-col ul li a:hover { color: #fff; }
.footer-col .widget-title { color: #fff; border-bottom-color: rgba(255,255,255,0.15); font-size: 0.9rem; }

.site-info {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 18px 0;
    font-size: 0.82rem;
    color: #64748b;
    text-align: center;
}

/* ============================================================
   FLOATING WHATSAPP BUTTON
   ============================================================ */
.gd-floating-wa {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.45);
    z-index: 9999;
    transition: transform var(--gd-transition), box-shadow var(--gd-transition);
    animation: wa-pulse 2.5s infinite;
}
.gd-floating-wa:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 28px rgba(37,211,102,0.6);
}
@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.45); }
    50%       { box-shadow: 0 4px 28px rgba(37,211,102,0.7); }
}

/* ============================================================
   SKIP LINK
   ============================================================ */
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 6px; top: 6px; z-index: 99999; }

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 2px solid var(--gd-accent);
    outline-offset: 3px;
    border-radius: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
    .gd-layout-wrapper.has-sidebar { grid-template-columns: 1fr; }
    .widget-area { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }
    .main-navigation #primary-menu {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: var(--gd-surface);
        border-bottom: 1px solid var(--gd-border);
        padding: 12px 20px 20px;
        flex-direction: column;
        gap: 4px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    }
    .main-navigation #primary-menu.is-open { display: flex; }
    .main-navigation #primary-menu li { width: 100%; }
    .main-navigation #primary-menu li a { padding: 10px 14px; }
    
    /* Compact WA Button on Mobile */
    .header-wa-btn {
        padding: 8px 10px;
        gap: 0;
    }
    .header-wa-btn span { display: none; }
    
    /* Hide Tagline on Mobile for cleaner header */
    .site-description { display: none; }
    .site-title { font-size: 1.15rem; }
    .header-container { gap: 10px; }

    .post-grid { grid-template-columns: 1fr; }
    .page-title { font-size: 1.35rem; }
    .entry-content h2 { font-size: 1.2rem; }
    .gd-single-article { padding: 20px 16px; }
    .widget-area { grid-template-columns: 1fr; }
    .gd-floating-wa { bottom: 18px; right: 18px; width: 50px; height: 50px; }
}

/* ============================================================
   CLASSIC SHORTCODES STYLING (Responsive)
   ============================================================ */
.gd-classic-hero {
    background: var(--hero-bg, var(--gd-primary));
    color: #ffffff;
    padding: 50px 40px;
    text-align: center;
    border-radius: var(--gd-radius);
    margin: 30px 0;
    box-shadow: var(--gd-shadow);
}
.gd-classic-hero h1 {
    color: #ffffff !important;
    font-size: 2rem !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    font-weight: 800;
    line-height: 1.3;
}
.gd-classic-hero p {
    font-size: 1.05rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto 25px !important;
    line-height: 1.6;
}
.gd-hero-button {
    display: inline-block;
    background: var(--hero-accent, var(--gd-accent));
    color: #ffffff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform var(--gd-transition);
}
.gd-hero-button:hover {
    transform: translateY(-2px);
}

.gd-classic-cta {
    background: var(--cta-bg, var(--gd-primary));
    color: #ffffff;
    padding: 30px;
    border-radius: var(--gd-radius);
    margin: 30px 0;
    box-shadow: var(--gd-shadow);
}
.gd-classic-cta h3 {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-weight: 700;
}
.gd-classic-cta p {
    font-size: 0.95rem;
    opacity: 0.88;
    margin-bottom: 20px !important;
    line-height: 1.5;
}
.gd-cta-button {
    display: inline-block;
    background: var(--cta-accent, var(--gd-accent));
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: transform var(--gd-transition);
}
.gd-cta-button:hover {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .gd-classic-hero {
        padding: 30px 20px;
        margin: 20px 0;
    }
    .gd-classic-hero h1 {
        font-size: 1.45rem !important;
    }
    .gd-classic-hero p {
        font-size: 0.92rem;
        margin-bottom: 20px !important;
    }
    .gd-hero-button {
        padding: 10px 20px;
        font-size: 0.88rem;
    }
    .gd-classic-cta {
        padding: 20px;
        margin: 20px 0;
    }
    .gd-classic-cta h3 {
        font-size: 1.15rem !important;
    }
    .gd-classic-cta p {
        font-size: 0.88rem;
        margin-bottom: 15px !important;
    }
    .gd-cta-button {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .footer-widgets { grid-template-columns: 1fr; gap: 28px; }
    .entry-content h1 { font-size: 1.4rem; }
}

/* ============================================================
   BANNER SLIDER
   ============================================================ */
.gd-slider-container { overflow: hidden; }
.gd-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 3/1;
    min-height: 200px;
    border-radius: var(--gd-radius);
    overflow: hidden;
    box-shadow: var(--gd-shadow);
    background: #000;
}
.gd-slides-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}
.gd-slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    z-index: 1;
}
.gd-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}
.gd-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gd-slide-caption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    padding: 30px clamp(16px, 4vw, 40px) 24px;
    color: #fff;
    z-index: 3;
}
.gd-slide-caption h3 {
    font-size: clamp(1.1rem, 3.5vw, 1.8rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.gd-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: #fff;
    border: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: background 0.2s, transform 0.2s;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.gd-slider-btn:hover { background: var(--gd-accent); transform: translateY(-50%) scale(1.05); }
.gd-slider-btn.prev { left: 16px; }
.gd-slider-btn.next { right: 16px; }

.gd-slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.gd-slider-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    border: none;
    padding: 0;
    outline: none;
}
.gd-slider-dot.active { background: #fff; transform: scale(1.15); }

/* ============================================================
   TABLE OF CONTENTS (DAFTAR ISI) STYLE
   ============================================================ */
.gd-toc {
    background: #f8fafc !important;
    border: 1px solid var(--gd-border, #e2e8f0) !important;
    border-left: 4px solid var(--gd-accent, #3b82f6) !important;
    border-radius: 8px !important;
    padding: 20px !important;
    margin: 24px 0 !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

.gd-toc p {
    font-weight: 700 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 1.1rem !important;
    color: var(--gd-primary, #0f172a) !important;
}

.gd-toc ul {
    margin: 0 !important;
    padding-left: 0 !important;
    list-style-type: none !important;
}

.gd-toc ul li {
    margin-bottom: 8px !important;
    padding-left: 20px !important;
    position: relative !important;
    line-height: 1.5 !important;
}

.gd-toc ul li::before {
    content: "📌" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    font-size: 0.9rem !important;
}

.gd-toc ul li a {
    color: var(--gd-text-light, #4b5563) !important;
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: color var(--gd-transition, 0.22s) !important;
}

.gd-toc ul li a:hover {
    color: var(--gd-accent, #3b82f6) !important;
    text-decoration: underline !important;
}



/* v2.8.1 - GD SEO generated content fallback & calmer single layout */
.single .gd-slider-container,
.page .gd-slider-container { display: none; }
.gd-theme-backup-content,
.gd-seo-generated-content {
    max-width: 860px;
    color: var(--gd-text, #1f2937);
    font-size: 1rem;
    line-height: 1.85;
}
.gd-empty-content-alert {
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #7c2d12;
    padding: 18px 20px;
    border-radius: 12px;
    line-height: 1.65;
    margin: 18px 0;
}
.gd-single-article .entry-content:empty::before {
    content: 'Konten kosong. Buka editor atau generate ulang artikel.';
    display: block;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #7c2d12;
    padding: 16px;
    border-radius: 12px;
}

/* ============================================================
   v2.8.3 - SEO Article UX Update
   Lightweight, readable, SEO-friendly article layout
   ============================================================ */
:root {
    --gd-article-text: #172033;
    --gd-article-muted: #64748b;
    --gd-article-border: #e5eaf2;
    --gd-article-soft: #f8fafc;
    --gd-article-primary: #2563eb;
    --gd-article-navy: #10213d;
    --gd-wa: #25d366;
}

body.single-post .gd-layout-wrapper,
body.single .gd-layout-wrapper {
    gap: 28px;
}

body.single-post .gd-visible-article,
body.single .gd-visible-article {
    max-width: 820px !important;
    padding: clamp(24px, 4vw, 42px) !important;
    border-radius: 20px !important;
    border: 1px solid var(--gd-article-border) !important;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06) !important;
}

body.single-post .gd-visible-article .entry-title,
body.single .gd-visible-article .entry-title {
    font-size: clamp(2rem, 4vw, 3rem) !important;
    letter-spacing: -0.035em !important;
    line-height: 1.13 !important;
    color: #0f172a !important;
}

.gd-entry-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    color: var(--gd-article-muted);
    font-size: .94rem;
    margin-bottom: 24px;
    align-items: center;
}
.gd-entry-meta a { color: var(--gd-article-primary); text-decoration: none; }
.gd-entry-meta a:hover { text-decoration: underline; }

body.single-post .post-thumbnail,
body.single .post-thumbnail {
    max-height: 480px;
    background: var(--gd-article-soft);
}
body.single-post .post-thumbnail img,
body.single .post-thumbnail img {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
}

body.single-post .gd-visible-content,
body.single .gd-visible-content {
    font-size: 18px !important;
    line-height: 1.78 !important;
    color: var(--gd-article-text) !important;
}
body.single-post .gd-visible-content p,
body.single .gd-visible-content p {
    margin-bottom: 1.18em !important;
}
body.single-post .gd-visible-content h2,
body.single .gd-visible-content h2 {
    font-size: clamp(1.55rem, 3vw, 2.1rem) !important;
    line-height: 1.25 !important;
    margin-top: 2.1em !important;
    padding-top: .25em !important;
    letter-spacing: -0.025em !important;
}
body.single-post .gd-visible-content h3,
body.single .gd-visible-content h3 {
    font-size: clamp(1.18rem, 2vw, 1.42rem) !important;
    line-height: 1.34 !important;
    margin-top: 1.55em !important;
}
body.single-post .gd-visible-content ul,
body.single-post .gd-visible-content ol,
body.single .gd-visible-content ul,
body.single .gd-visible-content ol {
    padding-left: 1.35em;
    margin-bottom: 1.25em;
}
body.single-post .gd-visible-content li,
body.single .gd-visible-content li { margin-bottom: .45em; }

.gd-article-toc {
    background: #f8fafc;
    border: 1px solid var(--gd-article-border);
    border-radius: 16px;
    padding: 18px 20px;
    margin: 0 0 28px 0;
}
.gd-toc-title {
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 10px;
    font-size: 1.03rem;
}
.gd-article-toc ol {
    margin: 0;
    padding-left: 1.25em;
    color: var(--gd-article-muted);
}
.gd-article-toc li { margin: 7px 0; }
.gd-article-toc .gd-toc-sub { margin-left: 14px; font-size: .94rem; }
.gd-article-toc a {
    color: #334155;
    text-decoration: none;
}
.gd-article-toc a:hover { color: var(--gd-article-primary); text-decoration: underline; }

.gd-inline-wa-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, #10213d 0%, #18385f 100%);
    color: #fff;
    border-radius: 16px;
    padding: 18px 20px;
    margin: 26px 0;
    box-shadow: 0 10px 24px rgba(16, 33, 61, 0.14);
}
.gd-inline-wa-cta strong {
    display: block;
    font-size: 1.12rem;
    color: #fff;
    margin-bottom: 4px;
}
.gd-inline-wa-cta p {
    margin: 0 !important;
    color: rgba(255,255,255,.84) !important;
    font-size: .96rem;
    line-height: 1.55 !important;
}
.gd-inline-wa-cta a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    background: var(--gd-wa);
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 800;
    padding: 11px 16px;
    border-radius: 11px;
    box-shadow: 0 6px 14px rgba(37, 211, 102, .18);
}
.gd-inline-wa-cta a:hover { filter: brightness(.97); transform: translateY(-1px); }

.gd-related-section {
    margin: 42px 0 16px;
    padding-top: 26px;
    border-top: 1px solid var(--gd-article-border);
}
.gd-related-section h2 {
    font-size: 1.35rem;
    margin: 0 0 18px;
    color: #0f172a;
}
.gd-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.gd-related-card {
    background: #fff;
    border: 1px solid var(--gd-article-border);
    border-radius: 16px;
    overflow: hidden;
    padding: 14px;
    transition: transform .18s ease, box-shadow .18s ease;
}
.gd-related-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15,23,42,.08);
}
.gd-related-thumb {
    display: block;
    margin: -14px -14px 12px;
    background: #f1f5f9;
}
.gd-related-thumb img {
    width: 100%;
    aspect-ratio: 16/10;
    object-fit: cover;
    display: block;
}
.gd-related-card h3 {
    font-size: .98rem;
    line-height: 1.4;
    margin: 0 0 8px;
}
.gd-related-card h3 a { color: #0f172a; text-decoration: none; }
.gd-related-card h3 a:hover { color: var(--gd-article-primary); }
.gd-related-card span { color: var(--gd-article-muted); font-size: .86rem; }

.widget-area .gd-cta-sidebar {
    position: sticky;
    top: 92px;
}
.widget-area .widget {
    border-radius: 18px;
    border: 1px solid var(--gd-article-border);
    box-shadow: 0 10px 26px rgba(15,23,42,.05);
}

.gd-breadcrumb {
    font-size: .92rem;
    margin-bottom: 24px;
    color: #94a3b8;
}
.gd-breadcrumb a { color: #475569; text-decoration: none; }
.gd-breadcrumb a:hover { color: var(--gd-article-primary); }

@media (max-width: 1024px) {
    .gd-related-grid { grid-template-columns: 1fr; }
    .gd-inline-wa-cta { align-items: stretch; flex-direction: column; }
    .gd-inline-wa-cta a { width: 100%; min-width: 0; }
    .widget-area .gd-cta-sidebar { position: static; }
}

@media (max-width: 640px) {
    body.single-post .gd-visible-article,
    body.single .gd-visible-article {
        padding: 22px !important;
        border-radius: 16px !important;
    }
    body.single-post .gd-visible-content,
    body.single .gd-visible-content { font-size: 16.5px !important; }
    .gd-article-toc { padding: 16px; }
}

/* ============================================================
   v2.8.4 - No Duplicate TOC & Image Fix
   ============================================================ */
.gd-single-featured-image {
    margin: 0 0 26px 0;
    overflow: hidden;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
.gd-single-featured-image img {
    width: 100%;
    max-height: 460px;
    height: auto;
    display: block;
    object-fit: cover;
}
.gd-visible-content > figure:first-child,
.gd-visible-content > p:first-child:has(img),
.gd-visible-content img:first-child {
    margin-top: 0;
}
.gd-visible-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
}
.gd-visible-content figure img {
    display: block;
}
.gd-article-toc + .gd-visible-content .gd-toc,
.gd-article-toc + .gd-visible-content .table-of-contents {
    display: none;
}
@supports not selector(:has(*)) {
    .gd-visible-content > p:first-child img { margin-top: 0; }
}


/* ============================================================
   v2.8.5 - Core Web Vitals Update
   ============================================================ */
html { text-rendering: optimizeLegibility; }
.site-header { contain: layout paint; }
.site-branding .custom-logo { width: auto; max-height: 44px; aspect-ratio: auto; }

/* Reserve stable space for primary article media to reduce CLS */
.gd-single-featured-image {
    aspect-ratio: 16 / 9;
    min-height: 220px;
    max-height: 460px;
}
.gd-single-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gd-visible-content > figure:first-child,
.gd-visible-content > p:first-child:has(img) {
    display: block;
    min-height: min(58vw, 520px);
}
.gd-visible-content img.gd-lcp-img {
    width: 100%;
    max-height: 520px;
    object-fit: contain;
    background: #f8fafc;
}
.gd-visible-content p:has(img.gd-lcp-img),
.gd-visible-content figure:has(img.gd-lcp-img) {
    min-height: min(58vw, 520px);
}

/* Prevent floating widgets from changing layout; keep tap target stable */
.gd-floating-wa, #gd-back-to-top, #gd-reading-progress {
    contain: layout paint style;
}
.gd-floating-wa {
    width: 52px;
    height: 52px;
    animation: none;
    box-shadow: 0 8px 22px rgba(37,211,102,0.28);
}
.gd-floating-wa:hover { transform: translateY(-2px); }

/* Remove heavy above-the-fold motion on mobile */
@media (max-width: 768px) {
    .gd-single-featured-image { min-height: 190px; }
    .gd-visible-content > figure:first-child,
    .gd-visible-content > p:first-child:has(img),
    .gd-visible-content p:has(img.gd-lcp-img),
    .gd-visible-content figure:has(img.gd-lcp-img) {
        min-height: min(75vw, 460px);
    }
    .gd-visible-content img.gd-lcp-img { max-height: 460px; }
    .gd-floating-wa { bottom: 16px; right: 16px; width: 48px; height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important;
    }
}

/* ============================================================
   v2.8.6 - Lightweight Internal Content Links
   ============================================================ */
.gd-content-links-box {
    margin: 22px 0 30px;
    padding: 18px;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(135deg, #f8fbff 0%, #f1f7ff 100%);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}
.gd-content-links-head {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-size: 1.02rem;
    margin-bottom: 4px;
}
.gd-content-links-desc {
    color: #64748b;
    font-size: .92rem;
    margin: 0 0 14px;
    line-height: 1.5;
}
.gd-content-links-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}
.gd-content-link-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 13px;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.gd-content-link-item:hover {
    border-color: #60a5fa;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
}
.gd-content-link-title {
    color: #0f172a;
    font-weight: 750;
    font-size: .94rem;
    line-height: 1.35;
}
.gd-content-link-meta {
    color: #64748b;
    font-size: .78rem;
}
@media (max-width: 768px) {
    .gd-content-links-list { grid-template-columns: 1fr; }
    .gd-content-links-box { padding: 15px; margin: 18px 0 24px; }
}


/* v2.8.7 - Footer SEO Links, Author Box, Last Updated, Mobile CTA */
.gd-seo-footer-links{max-width:1180px;margin:0 auto 22px;padding:20px 24px;border-top:1px solid rgba(226,232,240,.75);border-bottom:1px solid rgba(226,232,240,.75)}
.gd-seo-footer-links strong{display:block;font-weight:800;color:#0f172a;margin-bottom:12px;font-size:1rem}.gd-seo-footer-link-list{display:flex;flex-wrap:wrap;gap:10px 14px}.gd-seo-footer-link-list a{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#f1f5f9;color:#334155;text-decoration:none;font-weight:700;font-size:.9rem}.gd-seo-footer-link-list a:hover{background:#dbeafe;color:#1d4ed8}.gd-last-updated{color:#64748b}.gd-author-box{margin:32px 0 0;padding:22px;border-radius:18px;background:#f8fafc;border:1px solid #e2e8f0;display:flex;gap:16px;align-items:flex-start}.gd-author-avatar{border-radius:999px}.gd-author-copy span{display:block;color:#64748b;font-size:.86rem;font-weight:700;text-transform:uppercase;letter-spacing:.03em}.gd-author-copy strong{display:block;color:#0f172a;font-size:1.12rem;margin:2px 0 6px}.gd-author-copy p{margin:0;color:#475569;line-height:1.65;font-size:.98rem}.gd-mobile-sticky-wa{display:none;position:fixed;left:14px;right:14px;bottom:14px;z-index:9999;text-align:center;background:#25d366;color:#fff;text-decoration:none;font-weight:900;padding:13px 18px;border-radius:14px;box-shadow:0 12px 28px rgba(22,163,74,.28)}
@media(max-width:768px){.gd-mobile-sticky-wa{display:block}.gd-floating-wa{display:none!important}.site-footer{padding-bottom:74px}.gd-author-box{padding:18px;gap:12px}.gd-seo-footer-links{padding:18px 16px}.gd-seo-footer-link-list a{font-size:.86rem;padding:7px 10px}}

/* v2.8.8 - Landing Page Template Modes + Per-page Layout Control */
body.gd-layout-hide-header .site-header,
body.gd-layout-hide-footer .site-footer,
body.gd-layout-hide-sidebar #secondary,
body.gd-layout-hide-breadcrumb .gd-breadcrumb,
body.gd-layout-hide-cta .gd-mid-article-cta,
body.gd-layout-hide-cta .gd-inline-wa-cta,
body.gd-layout-hide-cta .gd-mobile-sticky-wa,
body.gd-layout-hide-related .gd-content-links-box,
body.gd-layout-hide-related .gd-related-posts-section,
body.gd-layout-hide-toc .gd-toc-box { display:none!important; }

.gd-canvas-slim .gd-visible-article,
.gd-slim-canvas .gd-visible-article { max-width: 760px!important; margin-left:auto!important; margin-right:auto!important; }
.gd-canvas-boxed .gd-visible-article,
.gd-boxed-canvas .gd-visible-article { max-width: 980px!important; margin-left:auto!important; margin-right:auto!important; }
.gd-canvas-wide .gd-visible-article { max-width: 1180px!important; margin-left:auto!important; margin-right:auto!important; }
.gd-canvas-full .gd-visible-article { max-width: none!important; width:100%!important; border-radius:0!important; }
.gd-canvas-full.container,
.gd-canvas-full .container { max-width:none!important; width:100%!important; }

.gd-landing-template { background:#f8fafc; padding: 34px 0 52px; min-height: 70vh; }
.gd-template-blank-canvas .gd-landing-template { padding: 0; background:#fff; min-height:100vh; }
.gd-template-blank-canvas .gd-landing-container { max-width: 1180px; margin: 0 auto; padding: 24px 16px; }
.gd-landing-canvas-article { background:#fff; border:1px solid #e2e8f0; border-radius:22px; box-shadow:0 14px 44px rgba(15,23,42,.07); padding: clamp(22px,4vw,42px)!important; }
.gd-blank-article { box-shadow:none!important; border:0!important; border-radius:0!important; padding:clamp(18px,4vw,40px)!important; }
.gd-slim-article { max-width:760px!important; }
.gd-boxed-article { max-width:960px!important; }
.gd-landing-header .entry-title { margin-top:0; }
.gd-landing-content > :first-child { margin-top:0; }
.gd-landing-content > :last-child { margin-bottom:0; }
.gd-landing-content .wp-block-button__link,
.gd-landing-content .button,
.gd-landing-content a[class*="btn"] { border-radius:12px; font-weight:800; }

.gd-redirect-shell { min-height:100vh; display:flex; align-items:center; justify-content:center; padding:24px; background:linear-gradient(135deg,#0f172a,#1e3a5f); }
.gd-redirect-card { width:min(540px,100%); background:#fff; border-radius:24px; padding:34px; text-align:center; box-shadow:0 24px 80px rgba(0,0,0,.22); }
.gd-redirect-card h1 { margin:0 0 12px; font-size:clamp(1.6rem,4vw,2.25rem); color:#0f172a; }
.gd-redirect-card p { color:#64748b; margin:0 0 22px; }
.gd-redirect-button { display:inline-flex; align-items:center; justify-content:center; background:#2563eb; color:#fff!important; text-decoration:none; font-weight:850; padding:13px 22px; border-radius:12px; }

@media(max-width:768px){
  .gd-landing-template{padding:18px 0 36px}.gd-landing-canvas-article{border-radius:16px!important;padding:20px!important}.gd-template-blank-canvas .gd-landing-container{padding:14px 10px}
}

/* ============================================================
   v2.8.9 - Smart Footer UX
   Plugin-first footer display; no pixel/tracking scripts here.
   ============================================================ */
.gd-smart-footer {
    background: #0f1b31;
    color: #dbe7f6;
    padding: 54px 0 0;
    margin-top: 56px;
}
.gd-smart-footer-grid {
    display: grid;
    grid-template-columns: minmax(240px, 1.3fr) repeat(3, minmax(180px, 1fr));
    gap: 34px;
    align-items: start;
}
.gd-smart-footer h4,
.gd-smart-footer-brand h4,
.gd-smart-footer-col h4 {
    color: #ffffff;
    font-size: 1.05rem;
    line-height: 1.35;
    margin: 0 0 14px;
    font-weight: 900;
}
.gd-smart-footer-brand p,
.gd-smart-footer-col p,
.gd-footer-muted,
.gd-footer-address {
    color: #b8c7dc;
    line-height: 1.72;
    margin: 0 0 16px;
    font-size: .96rem;
}
.gd-footer-address {
    margin-top: 16px;
    font-size: .88rem;
    color: #91a2b8;
}
.gd-footer-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 15px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff !important;
    text-decoration: none !important;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(37, 211, 102, .18);
}
.gd-footer-wa:hover { filter: brightness(.96); transform: translateY(-1px); }
.gd-smart-footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
}
.gd-smart-footer-list li { margin: 0; padding: 0; }
.gd-smart-footer-list a,
.gd-footer-menu a {
    color: #cbd8ea;
    text-decoration: none;
    font-weight: 650;
    font-size: .94rem;
    line-height: 1.45;
}
.gd-smart-footer-list a:hover,
.gd-footer-menu a:hover { color: #ffffff; text-decoration: underline; text-underline-offset: 4px; }
.gd-smart-footer-chips,
.gd-smart-footer-seo-list {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.gd-smart-footer-chips span,
.gd-smart-footer-seo-list a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.08);
    color: #e5edf8;
    text-decoration: none;
    font-weight: 750;
    font-size: .88rem;
    border: 1px solid rgba(255,255,255,.08);
}
.gd-smart-footer-seo-list a:hover {
    background: rgba(37, 211, 102, .16);
    border-color: rgba(37, 211, 102, .28);
    color: #ffffff;
}
.gd-smart-footer-seo {
    margin-top: 34px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.10);
}
.gd-smart-footer-seo strong {
    display: block;
    color: #ffffff;
    font-size: .96rem;
    margin-bottom: 12px;
    font-weight: 900;
}
.gd-smart-footer-bottom {
    margin-top: 30px;
    padding: 22px 0;
    border-top: 1px solid rgba(255,255,255,.10);
    color: #8ea0b8;
    font-size: .91rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
/* Hide legacy footer SEO link block when smart footer is active to avoid duplicate chips. */
.gd-smart-footer .gd-seo-footer-links { display: none !important; }
@media (max-width: 960px) {
    .gd-smart-footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 768px) {
    .gd-smart-footer {
        padding-top: 42px;
        padding-bottom: 76px;
        margin-top: 42px;
    }
    .gd-smart-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .gd-smart-footer-brand p,
    .gd-smart-footer-col p { font-size: .94rem; }
    .gd-smart-footer-chips span,
    .gd-smart-footer-seo-list a {
        min-height: 32px;
        padding: 7px 10px;
        font-size: .84rem;
    }
    .gd-smart-footer-bottom {
        align-items: flex-start;
        justify-content: flex-start;
        padding-bottom: 18px;
    }
    .gd-mobile-sticky-wa {
        left: 18px;
        right: 18px;
        bottom: 12px;
        border-radius: 16px;
        padding: 12px 14px;
        min-height: 52px;
        font-size: .98rem;
        box-shadow: 0 10px 24px rgba(37, 211, 102, .24);
    }
}


/* ============================================================
   v2.8.10 - Compact Smart Footer UX
   Tujuan: footer lebih ringkas, tidak terlalu banyak chip/link, tetap plugin-first.
   ============================================================ */
.gd-smart-footer {
    padding: 42px 0 0;
    margin-top: 44px;
}
.gd-smart-footer-grid {
    grid-template-columns: minmax(260px, 1.25fr) minmax(260px, 1fr) minmax(240px, .9fr) minmax(260px, 1fr);
    gap: 28px;
}
.gd-smart-footer h4,
.gd-smart-footer-brand h4,
.gd-smart-footer-col h4 {
    margin-bottom: 10px;
}
.gd-smart-footer-brand p,
.gd-smart-footer-col p,
.gd-footer-muted,
.gd-footer-address {
    margin-bottom: 12px;
    line-height: 1.62;
}
.gd-footer-wa {
    min-height: 40px;
    padding: 9px 14px;
    max-width: 310px;
    line-height: 1.35;
}
.gd-smart-footer-chips,
.gd-smart-footer-seo-list {
    gap: 8px;
}
.gd-smart-footer-chips span,
.gd-smart-footer-seo-list a {
    min-height: 30px;
    padding: 6px 10px;
    font-size: .84rem;
}
.gd-smart-footer-list {
    gap: 7px;
}
.gd-smart-footer-list a,
.gd-footer-menu a {
    font-size: .9rem;
}
.gd-smart-footer-bottom {
    margin-top: 24px;
    padding: 18px 0;
}
.gd-smart-footer-seo {
    margin-top: 22px;
    padding-top: 18px;
}
@media (max-width: 960px) {
    .gd-smart-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .gd-smart-footer { padding-top: 34px; margin-top: 34px; }
    .gd-smart-footer-grid { gap: 22px; }
    .gd-smart-footer h4,
    .gd-smart-footer-brand h4,
    .gd-smart-footer-col h4 { font-size: 1rem; }
    .gd-footer-wa { width: auto; max-width: 100%; }
    .gd-smart-footer-chips span,
    .gd-smart-footer-seo-list a { font-size: .82rem; padding: 6px 9px; }
}


/* ============================================================
   v2.8.11 - Minimal Footer Cleanup
   Footer lebih pendek, CTA tidak dominan, dan link bantuan dibatasi.
   ============================================================ */
.gd-smart-footer {
    padding: 34px 0 0;
    margin-top: 36px;
}
.gd-smart-footer-grid {
    grid-template-columns: minmax(220px, 1.1fr) minmax(180px, .85fr) minmax(170px, .8fr) minmax(220px, 1fr);
    gap: 24px;
    align-items: start;
}
.gd-smart-footer-brand p,
.gd-footer-address {
    max-width: 300px;
}
.gd-footer-wa.gd-footer-wa-minimal {
    display: inline-flex;
    min-height: 0;
    width: auto;
    max-width: none;
    padding: 0;
    margin: 2px 0 8px;
    border-radius: 0;
    background: transparent !important;
    color: #86efac !important;
    box-shadow: none !important;
    font-weight: 800;
    text-decoration: none;
}
.gd-footer-wa.gd-footer-wa-minimal::before { content: '↗ '; }
.gd-footer-wa.gd-footer-wa-minimal:hover {
    transform: none;
    filter: none;
    color: #bbf7d0 !important;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.gd-smart-footer-chips {
    gap: 7px;
}
.gd-smart-footer-chips span,
.gd-smart-footer-seo-list a {
    min-height: 28px;
    padding: 5px 9px;
    font-size: .8rem;
    line-height: 1.25;
}
.gd-smart-footer-list {
    gap: 8px;
}
.gd-smart-footer-list li:nth-child(n+5) { display: none; }
.gd-smart-footer-list a,
.gd-footer-menu a {
    font-size: .88rem;
    line-height: 1.45;
}
.gd-smart-footer-bottom {
    margin-top: 20px;
    padding: 16px 0;
}
@media (max-width: 960px) {
    .gd-smart-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .gd-smart-footer { padding-top: 28px; margin-top: 30px; }
    .gd-smart-footer-grid { grid-template-columns: 1fr; gap: 18px; }
    .gd-smart-footer-brand p,
    .gd-footer-address { max-width: 100%; }
    .gd-smart-footer h4,
    .gd-smart-footer-brand h4,
    .gd-smart-footer-col h4 { margin-bottom: 8px; }
    .gd-smart-footer-chips span,
    .gd-smart-footer-seo-list a { font-size: .78rem; padding: 5px 8px; }
    .gd-smart-footer-bottom { font-size: .82rem; }
}


/* ============================================================
   v2.8.12 - Accessibility & Micro Performance Polish
   ============================================================ */
.gd-slider-dot:focus-visible,
.gd-slider-btn:focus-visible,
.menu-toggle:focus-visible,
.gd-footer-wa:focus-visible,
.gd-mobile-sticky-wa:focus-visible,
#gd-back-to-top:focus-visible {
    outline: 3px solid #60a5fa !important;
    outline-offset: 3px !important;
}
.gd-slider-dot { outline: 0; }
.gd-slider-dot:focus-visible { box-shadow: 0 0 0 4px rgba(96,165,250,.35); }
.gd-slider-btn:hover,
.gd-floating-wa:hover,
.grid-item:hover .post-thumbnail img,
.gd-content-link-item:hover,
.gd-smart-footer-chips span:hover { will-change: transform; }
.gd-floating-wa { animation: none !important; }
.gd-mobile-sticky-wa { min-height: 52px; line-height: 1.2; }
.gd-smart-footer a,
.site-footer a { text-underline-offset: 3px; }
.gd-smart-footer a:hover,
.site-footer a:hover { text-decoration: underline; }
@media (max-width: 768px) {
    .gd-smart-footer a,
    .gd-smart-footer-chips span,
    .gd-footer-wa-minimal {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
    }
    #gd-back-to-top {
        width: 42px !important;
        height: 42px !important;
        right: 16px !important;
        bottom: 84px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    .gd-slider-dot,
    .gd-slider-btn,
    .gd-floating-wa,
    .gd-mobile-sticky-wa,
    #gd-back-to-top,
    .grid-item .post-thumbnail img {
        transition: none !important;
        transform: none !important;
    }
}


/* ============================================================
   v2.8.13 - Accessibility Fix
   Tujuan: menaikkan Lighthouse Accessibility tanpa mengganggu speed.
   ============================================================ */
.screen-reader-text,
.skip-link.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.skip-link.screen-reader-text:focus {
    position: fixed !important;
    top: 12px;
    left: 12px;
    width: auto;
    height: auto;
    margin: 0;
    padding: 10px 14px;
    clip: auto;
    overflow: visible;
    white-space: normal;
    z-index: 100000;
    background: #ffffff;
    color: #0f172a;
    border: 3px solid #2563eb;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, .25);
    font-weight: 800;
}
.gd-a11y-v2813 a:focus-visible,
.gd-a11y-v2813 button:focus-visible,
.gd-a11y-v2813 input:focus-visible,
.gd-a11y-v2813 select:focus-visible,
.gd-a11y-v2813 textarea:focus-visible {
    outline: 3px solid #2563eb !important;
    outline-offset: 3px !important;
    box-shadow: 0 0 0 5px rgba(37,99,235,.18) !important;
}
.gd-slider-btn,
.gd-slider-dot,
.menu-toggle,
.search-submit,
#gd-back-to-top {
    min-width: 44px;
    min-height: 44px;
}
.gd-slider-dot {
    border: 2px solid rgba(255,255,255,.75);
    background: rgba(15,23,42,.42);
}
.gd-slider-dot.active,
.gd-slider-dot[aria-current="true"] {
    background: #ffffff;
    border-color: #ffffff;
}
.gd-hero-cta .cta-desc,
.gd-hero-cta .cta-trust span {
    color: #e2e8f0 !important;
}
.gd-hero-cta .cta-btn-wa {
    min-height: 52px;
    color: #ffffff !important;
}
.gd-smart-footer-brand p,
.gd-footer-muted,
.gd-footer-address {
    color: #cbd5e1 !important;
}
.gd-smart-footer-list a,
.gd-footer-menu a,
.gd-smart-footer-seo-list a {
    color: #e2e8f0 !important;
}
.gd-smart-footer-chips span {
    color: #f8fafc !important;
    background: rgba(148,163,184,.22) !important;
    border-color: rgba(226,232,240,.18) !important;
}
.gd-footer-wa.gd-footer-wa-minimal {
    color: #bbf7d0 !important;
}
.gd-footer-wa.gd-footer-wa-minimal:hover,
.gd-footer-wa.gd-footer-wa-minimal:focus-visible {
    color: #dcfce7 !important;
}
.search-form {
    display: flex;
    gap: 8px;
    align-items: stretch;
}
.search-field {
    min-height: 44px;
}
.search-submit {
    cursor: pointer;
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto !important; }
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}


/* ============================================================
   v2.8.14 - Related Content Placement Fix
   Related content is now intended to appear after the main content/CTA,
   so it feels like a natural next-read section instead of interrupting the intro.
   ============================================================ */
.gd-seo-single-post > .gd-content-links-box {
    margin-top: 30px;
    margin-bottom: 28px;
}
.gd-content-links-box .gd-content-links-head strong {
    font-size: 1.02rem;
}
.gd-content-links-box .gd-content-links-desc {
    margin-bottom: 12px;
}
@media (max-width: 768px) {
    .gd-seo-single-post > .gd-content-links-box {
        margin-top: 24px;
        margin-bottom: 24px;
    }
}


/* v2.8.15 - CTA density: keep article CTAs calmer and easier to read. */
.gd-cta-density-control .gd-inline-wa-cta {
    font-size: .96rem;
}
.gd-cta-density-control .gd-inline-wa-cta p {
    opacity: .92;
}
@media (max-width: 720px) {
    .gd-inline-wa-cta { padding: 16px; margin: 22px 0; }
    .gd-inline-wa-cta strong { font-size: 1rem; }
    .gd-inline-wa-cta p { font-size: .92rem; }
}
