*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --black: #111111;
    --dark: #222222;
    --mid: #555555;
    --light: #888888;
    --border: #e0e0e0;
    --bg: #fafafa;
    --white: #ffffff;
    --accent: #c0392b;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-body: 'Lora', Georgia, serif;
    --font-sans: 'Source Sans 3', sans-serif;
}

html { font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--dark);
    line-height: 1.7;
}

a { text-decoration: none; color: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
ul { list-style: none; }

/* ── NAV ── */
nav {
    background: var(--white);
    border-bottom: 2px solid var(--black);
    position: sticky;
    top: 0;
    z-index: 200;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    min-height: 48px;
}

/* Site title (kiri) */
.nav-inner .site-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--black);
    white-space: nowrap;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

/* Link navigasi (kanan) */
.nav-links {
    display: flex;
    align-items: stretch;
}
.nav-links a {
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--dark);
    padding: 14px 16px;
    display: block;
    position: relative;
    transition: color .2s;
    white-space: nowrap;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--accent);
    transition: left .2s, right .2s;
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { left: 0; right: 0; }
.nav-links a.active { color: var(--accent); }
.nav-links a.active::after { left: 0; right: 0; }

/* ── HAMBURGER ── */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    position: relative;
    z-index: 201;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: transform .3s, opacity .3s, width .3s;
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── OVERLAY ── */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 199;
}
.nav-overlay.open { display: block; }
.nav-close {
    display: none;
}
.nav-close ~ .nav-close {
    display: none !important;
}

/* ── CONTAINER ── */
.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── HERO SLIDER ── */
.hero { padding: 40px 0 0; }
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: var(--border);
}
.hero-main {
    position: relative;
    height: 480px;
    overflow: hidden;
    cursor: pointer;
}
.hero-main img { transition: transform .5s ease; }
.hero-main:hover img { transform: scale(1.03); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.72) 0%, rgba(0,0,0,.1) 55%, transparent 100%);
}
.hero-content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 32px;
    color: #fff;
}
.badge {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: var(--accent);
    color: #fff;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.hero-content h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.3rem, 2.5vw, 2rem);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 10px;
    color: #fff;
}
.hero-content p {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255,255,255,.8);
    line-height: 1.6;
    margin-bottom: 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.meta {
    font-family: var(--font-sans);
    font-size: 12px;
    color: rgba(255,255,255,.65);
    letter-spacing: 0.03em;
}
.meta a { color: rgba(255,255,255,.85); }
.meta span { margin: 0 4px; }

.hero-side {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.hero-small {
    position: relative;
    height: 157px;
    overflow: hidden;
    cursor: pointer;
    flex: 1;
}
.hero-small img { transition: transform .5s ease; }
.hero-small:hover img { transform: scale(1.05); }
.hero-small .hero-overlay { background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,0) 60%); }
.hero-small .hero-content { padding: 16px 20px; }
.hero-small .hero-content h2 { font-size: 1rem; margin-bottom: 1px; }
.hero-small .meta { color: rgba(255,255,255,.6); }

/* ── SECTION LABEL ── */
.section-label {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--light);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--black);
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-label::before {
    content: '';
    width: 22px;
    height: 2px;
    background: var(--accent);
    flex-shrink: 0;
}

/* ── MAIN LAYOUT ── */
.main-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    padding: 18px 0;
}

/* ── EDITOR'S PICK ── */
.editors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 8px;
}
.card-big .card-img {
    height: 240px;
    overflow: hidden;
    margin-bottom: 16px;
}
.card-big .card-img img { transition: transform .4s; }
.card-big:hover .card-img img { transform: scale(1.04); }
.card-big h3 {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 10px;
    color: var(--black);
}
.card-big h3 a:hover { color: var(--accent); }
.card-big p {
    font-size: 14px;
    color: var(--mid);
    line-height: 1.65;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-meta {
    font-family: var(--font-sans);
    font-size: 12px;
    color: var(--light);
}
.card-meta a { color: var(--mid); font-weight: 600; }
.card-meta a:hover { color: var(--accent); }
.card-meta span { margin: 0 4px; }

/* ── TRENDING NUMBERS ── */
.trending-list { margin-bottom: 8px; }
.trend-item {
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.trend-num {
    font-family: var(--font-serif);
    font-size: 2.4rem;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
}
.trend-info h4 {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 6px;
}
.trend-info h4 a:hover { color: var(--accent); }

/* ── CATEGORY SECTIONS ── */
.cat-section { margin-bottom: 8px; }
.cat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}
.cat-card .cat-img {
    height: 170px;
    overflow: hidden;
    margin-bottom: 14px;
}
.cat-card .cat-img img { transition: transform .4s; }
.cat-card:hover .cat-img img { transform: scale(1.05); }
.cat-card h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 8px;
}
.cat-card h4 a:hover { color: var(--accent); }
.cat-card p {
    font-size: 13.5px;
    color: var(--mid);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 8px;
}

/* ── RECENT NEWS LIST ── */
.recent-list { margin-bottom: 8px; }
.recent-item {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
}
.recent-thumb { height: 95px; overflow: hidden; }
.recent-thumb img { transition: transform .3s; }
.recent-item:hover .recent-thumb img { transform: scale(1.07); }
.recent-info h4 {
    font-family: var(--font-serif);
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 6px;
}
.recent-info h4 a:hover { color: var(--accent); }
.recent-info p {
    font-size: 16px;
    color: var(--mid);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 6px;
}

/* ── PAGINATION ── */
.pagination {
    display: flex;
    gap: 4px;
    margin-top: 12px;
}
.pagination a {
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 600;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    color: var(--mid);
    transition: all .2s;
}
.pagination a:hover, .pagination a.active {
    background: var(--black);
    border-color: var(--black);
    color: #fff;
}

/* ── SIDEBAR ── */
.sidebar { }
.widget { margin-bottom: 20px; }

/* Popular Posts */
.pop-item {
    display: grid;
    grid-template-columns: 36px 1fr;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: start;
}
.pop-num {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--border);
    line-height: 1;
}
.pop-info h5 {
    font-family: var(--font-serif);
    font-size: .93rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 5px;
}
.pop-info h5 a:hover { color: var(--accent); }

/* Categories Widget */
.cat-widget li {
    border-bottom: 1px solid var(--border);
}
.cat-widget li a {
    font-family: var(--font-sans);
    font-size: 13px;
    color: var(--mid);
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    transition: color .2s;
}
.cat-widget li a:hover { color: var(--accent); }
.cat-widget li a span {
    background: var(--bg);
    border: 1px solid var(--border);
    font-size: 11px;
    padding: 1px 7px;
    border-radius: 10px;
}

/* Newsletter Widget */
.newsletter-widget {
    background: var(--black);
    color: #fff;
    padding: 28px 24px;
}
.newsletter-widget .section-label { color: rgba(255,255,255,.4); border-bottom-color: rgba(255,255,255,.2); }
.newsletter-widget p {
    font-size: 13px;
    color: rgba(255,255,255,.65);
    line-height: 1.65;
    margin-bottom: 18px;
}
.newsletter-widget input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(255,255,255,.07);
    color: #fff;
    font-family: var(--font-sans);
    font-size: 13px;
    margin-bottom: 10px;
    outline: none;
}
.newsletter-widget input::placeholder { color: rgba(255,255,255,.35); }
.newsletter-widget button {
    width: 100%;
    padding: 10px;
    background: var(--accent);
    border: none;
    color: #fff;
    font-family: var(--font-sans);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity .2s;
}
.newsletter-widget button:hover { opacity: .85; }

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.newsletter-msg {
    font-size: 13px;
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 6px;
    display: none;
}

.newsletter-msg.success {
    display: block;
    background: #e6f4ea;
    color: #2d6a4f;
}

.newsletter-msg.error {
    display: block;
    background: #fdecea;
    color: #c0392b;
}

.article-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 5px;
    overflow: hidden;
    margin: 20px 0 28px;
}

.article-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* =====================
   ARTICLE BODY
   ===================== */
.article-body {
    text-align: justify;
    font-size: 16px;
    line-height: 1.3;
    color: var(--text);
    margin: 0 auto;
}

.article-body p {
    margin-bottom: 18px;
}

.article-body h2 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.3;
    margin: 14px 0 0;
}

.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    margin: 6px 0 12px;
}

.article-body blockquote {
    border-left: 3px solid var(--text);
    margin: 0 0;
    padding: 20px 0 0 24px;
    font-size: 20px;
    font-style: italic;
    line-height: 1.7;
    color: var(--text);
}

.article-body strong {
    font-weight: 700;
}

.article-body a {
    color: var(--text);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--accent);
}

@media (max-width: 768px) {
    .article-body {
        font-size: 16px;
    }

    .article-body blockquote {
        font-size: 18px;
    }
}

/* =====================
   COMMENTS
   ===================== */
.comments-section {
    max-width: 850px;
    margin: 20px 0 0;
    padding-top: 10px;
    border-top: 1px solid var(--border);
}

.comments-header h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.comments-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--border);
    color: var(--text);
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    padding: 2px 10px;
    margin-left: 8px;
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 20px;
}

.comment-item {
    display: flex;
    gap: 16px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-muted);
}

.comment-meta strong {
    color: var(--text);
    font-weight: 600;
}

.comment-rating {
    display: flex;
    gap: 2px;
}

.star-filled { color: #f5a623; font-size: 13px; }
.star-empty  { color: var(--border); font-size: 13px; }

.comment-body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text);
    margin: 0;
}

.comments-empty {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 32px;
}

/* FORM */
.comment-form-wrap {
    background: var(--bg-alt, #f9f9f9);
    border-radius: 2px;
    padding: 28px;
    margin-top: 10px;
}

.comment-form-wrap h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.form-group label span {
    color: var(--accent);
}

.form-group input,
.form-group textarea {
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 14px;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* STAR RATING INPUT */
.star-rating {
    display: flex;
    flex-direction: row-reverse;
    gap: 4px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 28px;
    color: var(--border);
    cursor: pointer;
    transition: color 0.15s;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: #f5a623;
}

.btn-submit {
    display: inline-block;
    padding: 11px 28px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-submit:hover { opacity: 0.85; }

.alert-success {
    padding: 12px 16px;
    background: #e6f4ea;
    color: #2d6a4f;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-error {
    padding: 12px 16px;
    background: #fdecea;
    color: #c0392b;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
}

.captcha-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-question {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent);
    background: var(--border);
    padding: 8px 16px;
    border-radius: 6px;
    letter-spacing: 2px;
}

.captcha-eq {
    font-size: 16px;
    font-weight: 600;
    color: var(--text);
}

.captcha-wrap input {
    width: 80px;
    text-align: center;
}

/* ── FOOTER ── */
footer {
    background: var(--black);
    color: rgba(255,255,255,.55);
    padding: 0 0 28px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand .site-title {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 12px;
}
.footer-brand p {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 18px;
}
.footer-brand .social-links a {
    font-size: 14px;
    color: rgba(255,255,255,.4);
    margin-right: 14px;
    transition: color .2s;
}
.footer-brand .social-links a:hover { color: #fff; }
.footer-col h5 {
    font-family: var(--font-sans);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,.8);
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-col ul li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,.05);
}
.footer-col ul li a {
    font-family: var(--font-sans);
    font-size: 13px;
    color: rgba(255,255,255,.5);
    transition: color .2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-sans);
    font-size: 12px;
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }

/* ── SECTION DIVIDER ── */
.divider {
    border: none;
    border-top: 1px solid var(--border);
    margin: 0 0 10px;
}

/* ── SEE ALL ── */
.see-all {
    font-family: var(--font-sans);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--mid);
    border-bottom: 2px solid var(--border);
    padding-bottom: 2px;
    display: inline-block;
    margin-top: 8px;
    transition: color .2s, border-color .2s;
}
.see-all:hover { color: var(--accent); border-color: var(--accent); }

/* ── PLACEHOLDER IMAGES (CSS gradients) ── */
.ph { background: #f5f5f5; width: 100%; height: 100%; }
.ph-1 { background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%); }
.ph-2 { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%); }
.ph-3 { background: linear-gradient(135deg, #2d3436 0%, #636e72 100%); }
.ph-4 { background: linear-gradient(135deg, #b2bec3 0%, #636e72 100%); }
.ph-5 { background: linear-gradient(135deg, #74b9ff 0%, #0984e3 100%); }
.ph-6 { background: linear-gradient(135deg, #fd79a8 0%, #e17055 100%); }
.ph-7 { background: linear-gradient(135deg, #55efc4 0%, #00b894 100%); }
.ph-8 { background: linear-gradient(135deg, #fdcb6e 0%, #e17055 100%); }
.ph-9 { background: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%); }

.highli {
    text-align: justify; 
    border-bottom: 1px solid var(--border);
    padding: 0 0 10px;
}

/* =====================
   SKELETON LOADER
   ===================== */
@keyframes shimmer {
    0%   { background-position: -600px 0; }
    100% { background-position:  600px 0; }
}

.skeleton-hero,
.skeleton-label,
.skeleton-img,
.skeleton-line,
.skeleton-num,
.skeleton-num {
    background: linear-gradient(90deg, #e8e8e8 25%, #f5f5f5 50%, #e8e8e8 75%);
    background-size: 600px 100%;
    animation: shimmer 1.4s infinite linear;
    border-radius: 4px;
}

.skeleton-hero {
    width: 100%;
    height: 340px;
    border-radius: 8px;
    margin-bottom: 40px;
}

.skeleton-section {
    margin-bottom: 40px;
}

.skeleton-label {
    width: 120px;
    height: 14px;
    margin-bottom: 20px;
}

.skeleton-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.skeleton-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.skeleton-img {
    width: 100%;
    height: 180px;
    border-radius: 6px;
}

.skeleton-line {
    height: 13px;
    border-radius: 4px;
}

.skeleton-line.w-30 { width: 30%; }
.skeleton-line.w-40 { width: 40%; }
.skeleton-line.w-60 { width: 60%; }
.skeleton-line.w-70 { width: 70%; }
.skeleton-line.w-80 { width: 80%; }

.skeleton-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.skeleton-list-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.skeleton-num {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    flex-shrink: 0;
}

.skeleton-list-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* =====================
   NAV DROPDOWN
   ===================== */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.nav-arrow {
    font-size: 10px;
    transition: transform 0.2s;
    display: inline-block;
}

.nav-dropdown.open .nav-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    padding-top: 8px;
    background: transparent;
    z-index: 100;
}

.nav-dropdown-menu-inner {
    background: var(--bg);
    border: 1px solid var(--border);
    min-width: 160px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    overflow: hidden;
}

.nav-dropdown.open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    font-size: 11px;
    color: var(--text);
    transition: background 0.15s;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: var(--border);
}

/* =====================
   BREADCRUMB
   ===================== */
.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 14px;
    padding: 2px 0;
    margin-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.15s;
}

.breadcrumb a:hover {
    color: var(--accent);
}

.breadcrumb-sep {
    font-size: 14px;
    color: var(--border);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* SEARCH WIDGET */
.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid #e5e7eb;
    padding: 6px 8px;
    transition: all 0.2s ease;
}

.search-box:focus-within {
    border-color: #111;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05);
}

/* ICON */
.search-icon {
    font-size: 14px;
    margin-left: 10px;
    color: #888;
}

/* INPUT */
.search-box input {
    flex: 1;
    border: none;
    outline: none;
    padding: 1px 10px;
    font-size: 14px;
    background: transparent;
}

@media (max-width: 600px) {
    .skeleton-grid {
        grid-template-columns: 1fr;
    }
    .skeleton-hero {
        height: 200px;
    }
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-side { flex-direction: row; }
    .hero-small { height: 158px; }
    .main-layout { grid-template-columns: 1fr; }
    .editors-grid { grid-template-columns: 1fr; }
    .cat-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1070px) {
    .nav-toggle { display: flex; }

    .nav-dropdown-menu {
        position: static;
        padding-top: 0;
        background: transparent;
    }

    .nav-dropdown-menu-inner {
        border: none;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
        padding-left: 16px;
        border-left: 2px solid var(--border);
        margin: 4px 0 8px;
    }

    .nav-dropdown-menu a {
        padding: 8px 12px;
        font-size: 13px;
    }
    
    .nav-links {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(280px, 80vw);
        height: 100dvh;
        background: var(--white);
        border-left: 2px solid var(--black);
        z-index: 200;
        overflow-y: auto;
        transition: right .3s ease;
        padding-top: 48px;
    }
    .nav-links.open { right: 0; }

    .nav-links a {
        padding: 14px 24px;
        border-bottom: 1px solid var(--border);
        font-size: 13px;
        white-space: normal;
    }
    .nav-links a::after { display: none; }
    .nav-links a:hover,
    .nav-links a.active {
        background: var(--accent);
        color: #fff;
    }
    .nav-close {
        position: absolute;
        top: 0;
        right: 0;
        width: 52px;
        height: 52px;
        background: var(--black);
        border: none;
        color: #fff;
        font-size: 18px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .cat-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }

    .form-row {
        grid-template-columns: 1fr;
    }
}