/*
Theme Name: Cyberlidik.com Ultra Pro Max v5.4
Theme URI: https://cyberlidik.com/
Author: Manus AI
Author URI: https://manus.im/
Description: Versi 5.4. Fixed Editor & Investigasi Baru grids, taller single post hero image, & Montserrat Mastery.
Version: 5.4.0
Text Domain: cyberlidik
*/

:root {
    --primary: #0062ff;
    --orange: #ff9f1c;
    --dark: #0f172a;
    --bg-light: #ffffff;
    --bg-gray: #f4f7fa;
    --text-main: #1e293b;
    --text-muted: #475569;
    --header-bg: rgba(15, 23, 42, 0.85);
    --glass-border: rgba(255, 255, 255, 0.2);
    --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --radius-xl: 24px;
    --radius-lg: 16px;
    --radius-md: 10px;
}

/* RESET & BASE */
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
body { 
    font-family: 'Montserrat', sans-serif !important; 
    background-color: var(--bg-gray); 
    color: var(--text-main); 
    line-height: 1.5;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }
img { max-width: 100%; height: auto; display: block; }

.container { width: 92%; margin: 0 auto; }

/* 1. APPLE GLASS FLOATING HEADER */
.trending-bar {
    background: #000;
    color: #fff;
    padding: 8px 0;
    font-size: 0.65rem;
    font-weight: 800;
    position: relative;
    z-index: 1001;
}

.site-header {
    position: fixed;
    top: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 500px;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 10px 20px;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    top: 10px;
    width: 96%;
    max-width: 100%;
    border-radius: 15px;
    background: rgba(15, 23, 42, 0.95);
}

.header-inner { display: flex; justify-content: space-between; align-items: center; }
.logo img { height: 22px; width: auto; }

.action-icons { display: flex; gap: 12px; }
.icon-btn { 
    width: 36px; height: 36px; 
    background: rgba(255,255,255,0.1); 
    border-radius: 50%; 
    display: flex; align-items: center; justify-content: center; 
    font-size: 0.9rem; color: #fff;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}
.icon-btn:active { transform: scale(0.9); background: rgba(255,255,255,0.2); }
.icon-btn.menu-trigger { background: var(--orange); color: #000; font-weight: 900; }

/* 2. PREMIUM HERO SLIDER */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/5;
    background: #000;
    overflow: hidden;
}
.slider-track { display: flex; height: 100%; transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
.slide { min-width: 100%; height: 100%; position: relative; }
.slide img { width: 100%; height: 100%; object-fit: cover; opacity: 0.85; }
.slide-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 60px 25px 40px;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    color: #fff;
}
.slide-content .tag { 
    background: var(--orange); color: #000; 
    padding: 4px 12px; border-radius: 4px; 
    font-size: 0.65rem; font-weight: 900; 
    text-transform: uppercase; margin-bottom: 12px; display: inline-block;
}
.slide-content h2 { font-size: 1.7rem; line-height: 1.2; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 10px; }

.slider-dots {
    position: absolute;
    bottom: 25px; left: 25px;
    display: flex; gap: 8px;
}
.dot { width: 6px; height: 6px; background: rgba(255,255,255,0.3); border-radius: 50%; transition: 0.3s; }
.dot.active { background: var(--orange); width: 25px; border-radius: 3px; }

/* 3. CATEGORY PILLS - COMPACT */
.category-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 20px 0;
}
.cat-pill-item {
    background: #fff;
    padding: 12px 5px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 800;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    text-transform: uppercase;
    color: var(--dark);
    border: 1px solid rgba(0,0,0,0.02);
}
.cat-pill-item:active { transform: scale(0.95); background: var(--bg-gray); }

/* 4. SOROTAN EDITOR GRID FIXED */
.editors-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}
.editor-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--card-shadow);
    border: 1px solid rgba(0,0,0,0.03);
}

/* 5. INVESTIGASI BARU GRID FIXED */
.section-dark {
    background: #0b0f19;
    padding: 40px 0;
    margin: 40px 0;
}
.investigasi-baru-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 768px) {
    .investigasi-baru-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.investigasi-baru-card {
    background: #131b2e;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 6. SINGLE POST ULTRA-COMPACT (ZERO GAP & TALLER HERO) */
.single-post-wrap { 
    background: #fff; 
    margin: 0;
    padding: 0;
}
.single-hero-pro { 
    width: 100%; 
    aspect-ratio: 4/3; /* Taller hero image extending downwards */
    background: #000;
    position: relative;
    z-index: 1;
}
.single-hero-pro img { width: 100%; height: 100%; object-fit: cover; }

.single-header-content { 
    padding: 25px 20px 15px; 
    position: relative;
    z-index: 2;
    background: #fff;
    margin-top: -30px; /* Overlap effect */
    border-radius: 30px 30px 0 0;
}
.single-cat-pro {
    background: var(--orange); color: #000;
    padding: 4px 12px; border-radius: 6px;
    font-size: 0.7rem; font-weight: 900;
    text-transform: uppercase; margin-bottom: 12px; display: inline-block;
}
.single-title-pro {
    font-size: 1.7rem; line-height: 1.25; font-weight: 900;
    color: var(--dark); letter-spacing: -0.02em;
}
.single-meta-pro {
    display: flex; align-items: center; gap: 12px;
    margin-top: 20px; padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}
.author-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--dark); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 900; font-size: 0.8rem;
}
.author-info p { margin: 0; }
.author-name { font-size: 0.85rem; font-weight: 800; color: var(--dark); }
.post-date { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }

.single-body-pro {
    padding: 20px 20px 60px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #1e293b;
}
.single-body-pro p { margin-bottom: 25px; }

/* BUTTON OPTIMIZATION */
.btn-premium {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--primary);
    color: #fff;
    padding: 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(0, 98, 255, 0.2);
    transition: 0.2s;
}
.btn-premium:active { transform: scale(0.97); filter: brightness(0.9); }

/* FOOTER PREMIUM */
.site-footer {
    background: #050810;
    color: #fff;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-social { 
    display: flex; 
    justify-content: center; 
    gap: 12px; 
    margin-bottom: 30px; 
}
.social-item {
    width: 40px; 
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 800;
    color: #fff;
    transition: 0.2s;
    border: 1px solid rgba(255,255,255,0.1);
}
.social-item:active { transform: scale(0.95); background: var(--orange); color: #000; }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 25px 0;
    margin-bottom: 25px;
}
.footer-col h4 {
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.05em;
    color: var(--orange);
    margin-bottom: 12px;
    text-transform: uppercase;
}
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col ul li {
    margin-bottom: 8px;
}
.footer-col ul li a {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: 0.2s;
}
.footer-col ul li a:active { color: var(--orange); }
.footer-bottom {
    text-align: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
}

/* MODALS */
.modal {
    position: fixed;
    inset: 0;
    background: rgba(5, 8, 16, 0.99);
    z-index: 2000;
    display: none;
    flex-direction: column;
    padding: 60px 25px;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.close-btn { align-self: flex-end; font-size: 3rem; margin-bottom: 40px; color: #fff; cursor: pointer; }
.modal-menu a { font-size: 2rem; font-weight: 900; display: block; margin-bottom: 30px; color: #fff; }

/* SECTIONS */
.section-title { font-size: 1.2rem; font-weight: 900; margin: 40px 0 25px; text-transform: uppercase; border-left: 5px solid var(--orange); padding-left: 15px; }
.news-card { background: #fff; border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 30px; box-shadow: var(--card-shadow); }

/* =========================================================
   CyberLidik — Footer dan halaman informasi
   Tempelkan blok ini ke style.css child theme aktif.
   ========================================================= */

:root {
    --cl-footer-bg: #303273;
    --cl-footer-bg-deep: #292c67;
    --cl-footer-line: rgba(255, 255, 255, 0.12);
    --cl-footer-text: #f7f7fb;
    --cl-footer-muted: #c9cbe0;
    --cl-footer-accent: #f28a28;
    --cl-page-ink: #232641;
    --cl-page-muted: #656b80;
    --cl-page-border: #e9ebf2;
    --cl-page-accent: #303273;
}

/* Footer */
.cl-footer {
    box-sizing: border-box;
    width: 100%;
    margin-top: auto;
    color: var(--cl-footer-text);
    background: var(--cl-footer-bg);
    font-family: inherit;
    line-height: 1.6;
}

.cl-footer *,
.cl-footer *::before,
.cl-footer *::after,
.cl-page-shell *,
.cl-page-shell *::before,
.cl-page-shell *::after {
    box-sizing: border-box;
}

.cl-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 160ms ease, background-color 160ms ease, opacity 160ms ease;
}

.cl-footer a:hover,
.cl-footer a:focus-visible {
    color: #ffffff;
    opacity: 0.82;
}

.cl-footer a:focus-visible,
.cl-page-shell a:focus-visible {
    outline: 3px solid rgba(242, 138, 40, 0.7);
    outline-offset: 3px;
}

.cl-footer__inner {
    width: min(100% - 32px, 920px);
    margin: 0 auto;
    padding: 38px 0 27px;
    text-align: center;
}

.cl-footer__brand {
    display: flex;
    min-height: 76px;
    align-items: center;
    justify-content: center;
}

.cl-footer__logo {
    display: inline-flex;
    max-width: 100%;
    align-items: center;
    justify-content: center;
}

.cl-footer__logo .custom-logo {
    display: block;
    width: auto;
    max-width: min(255px, 75vw);
    height: auto;
    max-height: 66px;
}

.cl-footer__logo-text {
    display: inline-flex;
    align-items: baseline;
    color: #0b0c15;
    font-size: clamp(1.45rem, 7vw, 2.25rem);
    font-style: italic;
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 1;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.1);
}

.cl-footer__logo-text::before {
    content: "‹";
    display: inline-block;
    margin-right: 4px;
    color: #05060c;
    font-size: 2.15em;
    font-style: normal;
    line-height: 0.5;
    transform: translateY(4px);
}

.cl-footer__logo-text span {
    color: var(--cl-footer-accent);
}

.cl-footer__logo-text small {
    margin-left: 3px;
    color: #e9ebf2;
    font-size: 0.34em;
    font-style: normal;
    letter-spacing: -0.02em;
}

.cl-footer__separator {
    height: 1px;
    margin: 28px auto 30px;
    background: var(--cl-footer-line);
}

.cl-footer__contact {
    display: grid;
    gap: 22px;
    text-align: left;
}

.cl-footer__contact-block {
    min-width: 0;
    color: var(--cl-footer-muted);
    font-size: 0.95rem;
}

.cl-footer__contact-block address,
.cl-footer__contact-block p {
    margin: 0;
}

.cl-footer__contact-block address {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
    font-style: normal;
}

.cl-footer__contact-block strong {
    color: #ffffff;
    font-weight: 700;
}

.cl-footer__contact-block a {
    overflow-wrap: anywhere;
}

.cl-footer__contact-block--details {
    display: grid;
    gap: 13px;
}

.cl-footer__contact-block--details p {
    display: grid;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 8px;
}

.cl-footer__contact-block--details p > a,
.cl-footer__phone {
    grid-column: 2;
}

.cl-footer__phone {
    color: #ffffff !important;
    font-size: 1.08rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.cl-footer__nav {
    padding: 0 0 2px;
}

.cl-footer__nav-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.cl-footer__nav-list li {
    display: inline-flex;
    align-items: center;
    color: var(--cl-footer-muted);
    font-size: 0.91rem;
}

.cl-footer__nav-list li:not(:last-child)::after {
    content: "|";
    margin: 0 9px;
    color: rgba(255, 255, 255, 0.45);
}

.cl-footer__nav-list a {
    padding: 4px 0;
}

.cl-footer__social,
.cl-footer__apps {
    margin-top: 37px;
}

.cl-footer__social h2,
.cl-footer__apps h2 {
    margin: 0 0 16px;
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.3;
}

.cl-footer__social-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 12px;
}

.cl-footer__social-link {
    display: inline-flex;
    width: 74px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--cl-footer-muted) !important;
    font-size: 0.68rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
}

.cl-footer__social-icon {
    display: inline-flex;
    width: 42px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.cl-footer__social-icon svg {
    width: 19px;
    height: 19px;
    fill: #ffffff;
}

.cl-footer__social-link:hover .cl-footer__social-icon,
.cl-footer__social-link:focus-visible .cl-footer__social-icon {
    background: rgba(255, 255, 255, 0.34);
}

.cl-footer__app-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.cl-footer__app-badge {
    display: inline-flex;
    min-width: 166px;
    min-height: 49px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 6px 13px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 9px;
    background: #050505;
    color: #ffffff !important;
    text-align: left;
}

.cl-footer__app-badge:hover,
.cl-footer__app-badge:focus-visible {
    background: #171717;
    opacity: 1;
}

.cl-footer__app-badge svg {
    width: 25px;
    height: 25px;
    flex: 0 0 25px;
}

.cl-footer__app-badge span {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.cl-footer__app-badge small {
    font-size: 0.53rem;
    font-weight: 400;
    letter-spacing: 0.03em;
}

.cl-footer__app-badge strong {
    font-size: 1.02rem;
    font-weight: 700;
}

.cl-footer__separator--bottom {
    margin-bottom: 22px;
}

.cl-footer__copyright {
    color: #b9bbd1;
    font-size: 0.68rem;
    letter-spacing: 0.06em;
    line-height: 1.7;
    text-transform: uppercase;
}

.cl-footer__copyright p {
    margin: 0;
}

/* Shared page template */
.cl-page-shell {
    min-height: 60vh;
    padding: 44px 16px 68px;
    background: #ffffff;
    color: var(--cl-page-ink);
}

.cl-page-shell__inner {
    width: min(100%, 820px);
    margin: 0 auto;
}

.cl-page-shell__eyebrow {
    margin: 0 0 10px;
    color: var(--cl-page-accent);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.cl-page-shell h1 {
    margin: 0 0 26px;
    color: var(--cl-page-ink);
    font-size: clamp(2rem, 7vw, 3.1rem);
    line-height: 1.12;
}

.cl-page-shell h2 {
    margin: 34px 0 11px;
    color: var(--cl-page-accent);
    font-size: clamp(1.25rem, 4vw, 1.6rem);
    line-height: 1.25;
}

.cl-page-shell h3 {
    margin: 24px 0 8px;
    color: var(--cl-page-ink);
    font-size: 1.08rem;
    line-height: 1.35;
}

.cl-page-shell p,
.cl-page-shell li {
    color: #4f566a;
    font-size: 1rem;
    line-height: 1.8;
}

.cl-page-shell p {
    margin: 0 0 16px;
}

.cl-page-shell ul,
.cl-page-shell ol {
    margin: 0 0 18px;
    padding-left: 1.35rem;
}

.cl-page-shell li + li {
    margin-top: 7px;
}

.cl-page-shell a {
    color: var(--cl-page-accent);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.cl-page-shell__intro {
    margin-bottom: 30px;
    padding: 22px 20px;
    border-left: 4px solid var(--cl-footer-accent);
    background: #f5f6fb;
}

.cl-page-shell__intro p:last-child {
    margin-bottom: 0;
}

.cl-page-shell__meta {
    display: block;
    margin-top: -13px;
    margin-bottom: 24px;
    color: var(--cl-page-muted);
    font-size: 0.84rem;
}

.cl-page-shell__contact-card {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid var(--cl-page-border);
    border-radius: 10px;
    background: #fbfbfd;
}

.cl-page-shell__contact-card p:last-child {
    margin-bottom: 0;
}

.cl-page-shell__table-wrap {
    overflow-x: auto;
    margin: 18px 0 25px;
    border: 1px solid var(--cl-page-border);
    border-radius: 8px;
}

.cl-page-shell__table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
}

.cl-page-shell__table th,
.cl-page-shell__table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--cl-page-border);
    text-align: left;
    vertical-align: top;
}

.cl-page-shell__table th {
    width: 34%;
    color: var(--cl-page-ink);
    background: #f5f6fb;
    font-size: 0.9rem;
}

.cl-page-shell__table td {
    color: #4f566a;
}

.cl-page-shell__table tr:last-child th,
.cl-page-shell__table tr:last-child td {
    border-bottom: 0;
}

@media (min-width: 640px) {
    .cl-footer__inner {
        padding-top: 48px;
    }

    .cl-footer__contact {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
        gap: 32px;
    }

    .cl-page-shell {
        padding-top: 68px;
    }
}

@media (min-width: 860px) {
    .cl-footer__inner {
        width: min(100% - 64px, 960px);
    }

    .cl-footer__separator {
        margin-top: 31px;
        margin-bottom: 34px;
    }
}

@media (max-width: 370px) {
    .cl-footer__inner {
        width: min(100% - 24px, 920px);
    }

    .cl-footer__nav-list li {
        font-size: 0.84rem;
    }

    .cl-footer__nav-list li:not(:last-child)::after {
        margin-right: 6px;
        margin-left: 6px;
    }

    .cl-footer__app-badge {
        min-width: min(100%, 166px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cl-footer a {
        transition: none;
    }
}

.screen-reader-text {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    word-wrap: normal !important;
}
