/*
Theme Name: LensaNewsBanten
Theme URI: https://example.com/
Author: LensaNewsBanten
Author URI: https://example.com/
Description: Theme portal berita modern, responsif, dan ringan untuk WordPress.
Version: 1.8.0
Requires at least: 6.5
Tested up to: 6.9
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lensanewsbanten
Tags: news, blog, custom-logo, custom-menu, featured-images, threaded-comments
*/

:root {
    --lnb-color-primary: #0877c9;
    --lnb-color-text: #202124;
    --lnb-color-muted: #686d73;
    --lnb-color-border: #e5e7eb;
    --lnb-color-surface: #ffffff;
    --lnb-color-dark: #111111;
    --lnb-container: 1200px;
    --lnb-radius: 8px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    background: #f5f6f7;
    color: var(--lnb-color-text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1.65;
}
a { color: var(--lnb-color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }
button, input { font: inherit; }

.lnb-container {
    width: min(var(--lnb-container), calc(100% - 32px));
    margin-inline: auto;
}
.lnb-site-header {
    background: var(--lnb-color-dark);
    color: #fff;
}
.lnb-header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 78px;
}
.lnb-brand a, .lnb-brand .custom-logo-link { color: #fff; }
.lnb-brand-name { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 800; }
.lnb-brand-name span { color: #f36b32; }
.lnb-tagline { margin: 3px 0 0; color: #c9c9c9; font-size: 12px; }
.lnb-nav-wrap { background: #1c1c1c; border-top: 1px solid #333; }
.lnb-nav { display: flex; align-items: center; min-height: 46px; }
.lnb-nav ul {
    display: flex; flex-wrap: wrap; gap: 0;
    list-style: none; padding: 0; margin: 0;
}
.lnb-nav li a {
    display: block; padding: 11px 14px; color: #fff;
    font-weight: 700; font-size: 14px;
}
.lnb-nav li a:hover, .lnb-nav .current-menu-item > a { background: var(--lnb-color-primary); text-decoration: none; }
.lnb-main { padding-block: 28px 48px; min-height: 55vh; }
.lnb-placeholder {
    padding: 28px; background: var(--lnb-color-surface);
    border: 1px solid var(--lnb-color-border); border-radius: var(--lnb-radius);
}
.lnb-placeholder h2 { margin-top: 0; }
.lnb-site-footer { background: #111; color: #ddd; padding: 28px 0; }
.lnb-site-footer p { margin: 0; font-size: 14px; }
.screen-reader-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.screen-reader-text:focus {
    clip: auto; width: auto; height: auto; margin: 0; padding: 12px;
    background: #fff; color: #000; z-index: 100000;
}
@media (max-width: 700px) {
    .lnb-header-main { min-height: 68px; }
    .lnb-brand-name { font-size: 25px; }
    .lnb-nav ul { width: 100%; overflow-x: auto; flex-wrap: nowrap; }
    .lnb-nav li { flex: 0 0 auto; }
    .lnb-nav li a { padding: 10px 12px; }
    .lnb-main { padding-top: 18px; }
}


/* Homepage portal berita */
.lnb-home { padding-top: 22px; }
.lnb-breaking {
    display: flex; align-items: center; gap: 16px; overflow: hidden;
    margin-bottom: 24px; background: #171717; color: #fff; border-radius: 7px;
    min-height: 46px; padding: 8px 14px;
}
.lnb-breaking-label {
    flex: 0 0 auto; background: var(--lnb-color-primary); color: #fff;
    padding: 5px 10px; border-radius: 4px; font-size: 12px;
}
.lnb-breaking-track { display: flex; align-items: center; gap: 16px; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.lnb-breaking-track a { color: #fff; font-size: 13px; font-weight: 600; }
.lnb-breaking-track span { color: #999; }
.lnb-home-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(270px, .9fr); gap: 28px; align-items: start; }
.lnb-section { margin-bottom: 34px; }
.lnb-section-heading {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    border-bottom: 2px solid #202124; margin-bottom: 16px; padding-bottom: 9px;
}
.lnb-section-heading h1, .lnb-section-heading h2 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; }
.lnb-section-heading > a { font-size: 13px; font-weight: 700; white-space: nowrap; }
.lnb-headline-card, .lnb-news-card { background: #fff; border: 1px solid var(--lnb-color-border); border-radius: 8px; overflow: hidden; }
.lnb-headline-image { display: block; position: relative; background: #ddd; aspect-ratio: 16 / 9; overflow: hidden; }
.lnb-headline-image img, .lnb-card-image img, .lnb-news-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s ease; }
.lnb-headline-card:hover img, .lnb-news-card:hover img, .lnb-news-row:hover img { transform: scale(1.025); }
.lnb-headline-badge { position: absolute; top: 14px; left: 14px; background: var(--lnb-color-primary); color: #fff; padding: 6px 14px; border-radius: 20px; font-weight: 800; font-size: 13px; }
.lnb-headline-content { padding: 18px 20px 20px; }
.lnb-headline-content h2 { margin: 8px 0; font-size: clamp(22px, 3vw, 31px); line-height: 1.25; }
.lnb-headline-content h2 a, .lnb-news-row h3 a, .lnb-news-card h3 a, .lnb-popular h3 a { color: #202124; }
.lnb-headline-content p, .lnb-news-row p { color: var(--lnb-color-muted); margin: 8px 0 0; font-size: 14px; }
.lnb-meta { display: flex; flex-wrap: wrap; gap: 9px; color: var(--lnb-color-muted); font-size: 12px; }
.lnb-meta a { font-weight: 700; }
.lnb-news-list { display: grid; gap: 16px; }
.lnb-news-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--lnb-color-border); }
.lnb-news-thumb { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 6px; background: #e5e5e5; }
.lnb-news-row h3 { margin: 5px 0; font-size: 18px; line-height: 1.35; }
.lnb-popular ol { list-style: none; margin: 0; padding: 0; }
.lnb-popular li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--lnb-color-border); }
.lnb-popular-number { color: #8b8b8b; font-size: 25px; line-height: 1; font-weight: 800; }
.lnb-popular h3 { margin: 0 0 6px; font-size: 15px; line-height: 1.4; }
.lnb-popular-category { font-size: 11px; }
.lnb-ad-placeholder { min-height: 250px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; margin: 24px 0; background: #ededed; border: 1px dashed #b9b9b9; color: #777; text-align: center; }
.lnb-ad-placeholder span { font-size: 13px; font-weight: 800; letter-spacing: .08em; }
.lnb-ad-placeholder small { font-size: 11px; }
.lnb-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lnb-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #ddd; }
.lnb-card-content { padding: 12px; }
.lnb-card-content h3 { margin: 6px 0 0; font-size: 16px; line-height: 1.4; }
.lnb-no-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 110px; background: #222; color: #fff; font-weight: 800; }
@media (max-width: 850px) {
    .lnb-home-grid { grid-template-columns: minmax(0, 1fr); }
    .lnb-home-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .lnb-home-sidebar .lnb-popular { grid-column: 1 / -1; }
    .lnb-ad-placeholder { margin: 0; min-height: 180px; }
}
@media (max-width: 600px) {
    .lnb-breaking { align-items: flex-start; flex-direction: column; gap: 7px; }
    .lnb-breaking-track { width: 100%; }
    .lnb-section-heading h1, .lnb-section-heading h2 { font-size: 19px; }
    .lnb-headline-content { padding: 14px; }
    .lnb-headline-content h2 { font-size: 22px; }
    .lnb-news-row { grid-template-columns: 112px minmax(0, 1fr); gap: 11px; }
    .lnb-news-row h3 { font-size: 15px; }
    .lnb-news-row p { display: none; }
    .lnb-home-sidebar { display: block; }
    .lnb-ad-placeholder { min-height: 140px; margin: 20px 0; }
    .lnb-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .lnb-card-content { padding: 9px; }
    .lnb-card-content h3 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Single article */
.lnb-single-grid { display: grid; grid-template-columns: minmax(0, 780px) minmax(260px, 1fr); gap: 30px; align-items: start; }
.lnb-article { min-width: 0; background: #fff; padding: 26px; border: 1px solid var(--lnb-color-border); border-radius: 8px; }
.lnb-breadcrumb { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 18px; color: #777; font-size: 12px; }
.lnb-article-categories { margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.lnb-article-title { margin: 0 0 12px; color: #171717; font-size: clamp(28px, 4vw, 40px); line-height: 1.2; letter-spacing: -.025em; }
.lnb-article-excerpt { margin: 0 0 18px; color: #656a70; font-size: 18px; line-height: 1.55; }
.lnb-article-byline { display: flex; align-items: center; gap: 11px; padding: 16px 0; border-top: 1px solid var(--lnb-color-border); border-bottom: 1px solid var(--lnb-color-border); }
.lnb-author-avatar img { display: block; border-radius: 50%; }
.lnb-author-details { display: flex; flex-direction: column; gap: 2px; font-size: 13px; }
.lnb-author-details strong a { color: #202124; }
.lnb-author-details span, .lnb-reading-time { color: #777; font-size: 11px; }
.lnb-reading-time { margin-left: auto; white-space: nowrap; }
.lnb-article-figure { margin: 22px 0; }
.lnb-article-featured-image { display: block; width: 100%; height: auto; border-radius: 6px; }
.lnb-article-figure figcaption { padding-top: 8px; color: #777; font-size: 12px; line-height: 1.5; }
.lnb-share-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 14px 0; border-bottom: 1px solid var(--lnb-color-border); }
.lnb-share-bar > strong { margin-right: 4px; font-size: 13px; }
.lnb-share-button { display: inline-flex; align-items: center; justify-content: center; padding: 7px 11px; border-radius: 4px; background: #ededed; color: #222; font-size: 12px; font-weight: 700; }
.lnb-share-button:hover { text-decoration: none; filter: brightness(.95); }
.lnb-share-whatsapp { background: #e4f5e9; color: #176b36; }
.lnb-share-facebook { background: #e8efff; color: #2452a5; }
.lnb-share-x { background: #e9e9e9; color: #111; }
.lnb-share-telegram { background: #e4f3fb; color: #1477a8; }
.lnb-article-content { padding-top: 18px; color: #292929; font-family: Georgia, "Times New Roman", serif; font-size: 18px; line-height: 1.85; overflow-wrap: break-word; }
.lnb-article-content > * { max-width: 100%; }
.lnb-article-content p { margin: 0 0 1.35em; }
.lnb-article-content h2, .lnb-article-content h3, .lnb-article-content h4 { font-family: Arial, Helvetica, sans-serif; line-height: 1.35; margin: 1.5em 0 .65em; }
.lnb-article-content blockquote { margin: 1.5em 0; padding: 10px 20px; border-left: 4px solid var(--lnb-color-primary); background: #f5f7f9; font-size: 19px; }
.lnb-article-content img { height: auto; }
.lnb-article-tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 18px 0; border-top: 1px solid var(--lnb-color-border); font-size: 13px; }
.lnb-article-tags a { display: inline-block; padding: 4px 9px; background: #f0f2f4; border-radius: 3px; }
.lnb-article-author-box { display: flex; gap: 14px; align-items: flex-start; padding: 18px; margin: 10px 0 28px; background: #f5f6f7; border-radius: 7px; }
.lnb-article-author-box img { border-radius: 50%; }
.lnb-article-author-box p { margin: 5px 0 0; color: #666; font-size: 13px; }
.lnb-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.lnb-related-card img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 5px; }
.lnb-related-card h3 { margin: 8px 0 4px; font-size: 14px; line-height: 1.4; }
.lnb-related-card a { color: #222; }
.lnb-related-card > span { color: #777; font-size: 11px; }
.lnb-sidebar-story { display: grid; grid-template-columns: 92px 1fr; gap: 11px; padding: 12px 0; border-bottom: 1px solid var(--lnb-color-border); }
.lnb-sidebar-thumb img { display: block; width: 92px; height: 68px; object-fit: cover; border-radius: 4px; }
.lnb-sidebar-story h3 { margin: 0 0 5px; font-size: 13px; line-height: 1.4; }
.lnb-sidebar-story h3 a { color: #222; }
.lnb-sidebar-story span { color: #777; font-size: 11px; }
.lnb-comments-section { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--lnb-color-border); }
.lnb-comments-title { font-size: 21px; }
.lnb-comment-list { padding-left: 22px; }
.lnb-comment-list .comment { margin: 14px 0; }
.lnb-comment-list .comment-body { padding: 12px; background: #f7f7f7; border-radius: 5px; }
.lnb-comments .comment-respond { margin-top: 24px; }
.lnb-comments label { display: block; margin-bottom: 5px; font-weight: 700; font-size: 13px; }
.lnb-comments input:not([type="submit"]), .lnb-comments textarea { width: 100%; max-width: 100%; padding: 10px; border: 1px solid #ccc; border-radius: 4px; }
.lnb-comments input[type="submit"] { padding: 10px 17px; border: 0; border-radius: 4px; background: var(--lnb-color-primary); color: #fff; font-weight: 700; cursor: pointer; }
@media (max-width: 900px) {
    .lnb-single-grid { grid-template-columns: minmax(0, 1fr); }
    .lnb-single-sidebar { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
}
@media (max-width: 600px) {
    .lnb-article { padding: 16px; }
    .lnb-article-title { font-size: 28px; }
    .lnb-article-excerpt { font-size: 16px; }
    .lnb-article-content { font-size: 17px; line-height: 1.8; }
    .lnb-article-byline { flex-wrap: wrap; }
    .lnb-reading-time { margin-left: 55px; }
    .lnb-related-grid { grid-template-columns: 1fr; }
    .lnb-related-card { display: grid; grid-template-columns: 112px 1fr; gap: 10px; align-items: start; }
    .lnb-related-card img { aspect-ratio: 4 / 3; }
    .lnb-related-card h3 { margin-top: 0; }
    .lnb-single-sidebar { display: block; }
}


/* Category, archive and search pages */
.lnb-archive-page { padding-top: 24px; }
.lnb-archive-header { margin-bottom: 25px; padding: 22px 24px; background: #fff; border: 1px solid var(--lnb-color-border); border-radius: 8px; }
.lnb-eyebrow { color: var(--lnb-color-primary); font-size: 11px; font-weight: 800; letter-spacing: .1em; }
.lnb-archive-header h1 { margin: 7px 0 8px; color: #171717; font-size: clamp(28px, 4vw, 36px); line-height: 1.2; }
.lnb-archive-header p, .lnb-archive-description { margin: 0; color: #666; font-size: 14px; line-height: 1.65; }
.lnb-archive-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; }
.lnb-featured-archive-card { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px; margin-bottom: 28px; padding: 14px; background: #fff; border: 1px solid var(--lnb-color-border); border-radius: 8px; }
.lnb-featured-archive-image img { display: block; width: 100%; height: 100%; min-height: 220px; max-height: 320px; object-fit: cover; border-radius: 5px; }
.lnb-featured-archive-copy { align-self: center; padding: 8px; }
.lnb-featured-archive-copy > span, .lnb-card-meta { color: #777; font-size: 11px; }
.lnb-featured-archive-copy h2 { margin: 9px 0; font-size: clamp(20px, 2.5vw, 27px); line-height: 1.3; }
.lnb-featured-archive-copy h2 a, .lnb-archive-card h2 a { color: #202124; }
.lnb-featured-archive-copy p, .lnb-archive-card p { color: #666; font-size: 13px; line-height: 1.6; }
.lnb-read-more { color: var(--lnb-color-primary); font-size: 12px; font-weight: 800; }
.lnb-archive-list { display: flex; flex-direction: column; gap: 0; }
.lnb-archive-card { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 17px; padding: 17px 0; border-bottom: 1px solid var(--lnb-color-border); }
.lnb-archive-thumb img { display: block; width: 190px; height: 120px; object-fit: cover; border-radius: 5px; }
.lnb-archive-card h2 { margin: 6px 0; font-size: 19px; line-height: 1.35; }
.lnb-archive-card p { margin: 5px 0 8px; }
.lnb-card-meta a { color: var(--lnb-color-primary); }
.lnb-pagination { margin: 25px 0; }
.lnb-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.lnb-pagination .page-numbers { display: inline-flex; min-width: 34px; min-height: 34px; align-items: center; justify-content: center; padding: 5px 10px; border: 1px solid var(--lnb-color-border); border-radius: 4px; color: #333; font-size: 13px; }
.lnb-pagination .page-numbers.current { background: var(--lnb-color-primary); border-color: var(--lnb-color-primary); color: #fff; }
.lnb-no-results { padding: 24px; background: #fff; border: 1px solid var(--lnb-color-border); border-radius: 7px; }
.lnb-search-form { display: flex; width: 100%; max-width: 360px; gap: 6px; }
.lnb-search-form .search-field { min-width: 0; flex: 1; padding: 10px 12px; border: 1px solid #d7d7d7; border-radius: 4px; font: inherit; }
.lnb-search-form button { padding: 9px 14px; border: 0; border-radius: 4px; background: var(--lnb-color-primary); color: #fff; font-weight: 700; cursor: pointer; }
.lnb-header-search { margin-left: auto; }
.lnb-search-inline { margin-top: 15px; }
@media (max-width: 900px) {
    .lnb-archive-layout { grid-template-columns: minmax(0, 1fr); }
    .lnb-archive-sidebar { display: none; }
}
@media (max-width: 600px) {
    .lnb-archive-header { padding: 17px; }
    .lnb-featured-archive-card { grid-template-columns: 1fr; gap: 10px; }
    .lnb-featured-archive-image img { min-height: 0; aspect-ratio: 16 / 9; }
    .lnb-featured-archive-copy { padding: 5px; }
    .lnb-archive-card { grid-template-columns: 112px minmax(0, 1fr); gap: 11px; }
    .lnb-archive-thumb img { width: 112px; height: 88px; }
    .lnb-archive-card h2 { margin-top: 4px; font-size: 15px; }
    .lnb-archive-card p { display: none; }
    .lnb-header-search { width: 100%; margin: 12px 0 0; }
    .lnb-header-search .lnb-search-form { max-width: none; }
}


/* LensaNewsBanten red-white identity, accessibility and motion */
:root {
    --lnb-color-primary: #c8102e;
    --lnb-color-text: #242424;
    --lnb-color-muted: #666666;
    --lnb-color-border: #e8dfe1;
    --lnb-color-surface: #ffffff;
    --lnb-color-dark: #8f0d22;
}
body { background: #fff; }
.lnb-site-header { background: #fff; color: #202020; border-bottom: 1px solid #eadde0; }
.lnb-brand a, .lnb-brand .custom-logo-link { color: #202020; }
.lnb-brand-name span { color: #c8102e; }
.lnb-tagline { color: #777; }
.lnb-nav-wrap { background: #c8102e; border-top: 0; }
.lnb-nav li a { color: #fff; }
.lnb-nav li a:hover, .lnb-nav .current-menu-item > a { background: #8f0d22; }
.lnb-section-heading { border-bottom-color: #c8102e; }
.lnb-site-footer { background: #8f0d22; color: #fff; }
.lnb-header-main { flex-wrap: wrap; padding-block: 10px; }
.lnb-nav-shell { display: flex; align-items: center; gap: 12px; }
.lnb-menu-toggle { display: none; border: 1px solid rgba(255,255,255,.45); border-radius: 4px; background: transparent; color: #fff; padding: 7px 11px; font-weight: 700; cursor: pointer; }
.lnb-preloader { position: fixed; inset: 0; z-index: 999999; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 15px; background: #fff; opacity: 1; visibility: visible; transition: opacity .35s ease, visibility .35s ease; }
.lnb-preloader.is-hidden { opacity: 0; visibility: hidden; }
.lnb-loader-mark { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 12px; background: #c8102e; color: #fff; font-size: 30px; font-weight: 900; animation: lnb-pulse 1s ease-in-out infinite alternate; }
.lnb-loader-line { width: 110px; height: 4px; overflow: hidden; border-radius: 10px; background: #f1d9de; position: relative; }
.lnb-loader-line:after { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; background: #c8102e; animation: lnb-loading 1s ease-in-out infinite; }
.lnb-reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.lnb-reveal.is-visible { opacity: 1; transform: none; }
.lnb-page-leaving { opacity: .88; transition: opacity .15s ease; }
.lnb-news-card, .lnb-headline-card, .lnb-archive-card { transition: box-shadow .2s ease, transform .2s ease; }
.lnb-news-card:hover, .lnb-archive-card:hover { box-shadow: 0 8px 24px rgba(120,0,20,.09); }
.lnb-breaking-label, .lnb-headline-badge { background: #c8102e; }
.lnb-share-whatsapp { background: #e4f5e9; color: #176b36; }
@keyframes lnb-pulse { from { transform: scale(.94); } to { transform: scale(1.04); } }
@keyframes lnb-loading { 0% { left: -40%; } 100% { left: 110%; } }
@media (max-width: 700px) {
    .lnb-nav-shell { flex-wrap: wrap; padding-block: 8px; }
    .lnb-menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
    .lnb-nav { display: none; width: 100%; padding: 0; }
    .lnb-nav.is-open { display: block; }
    .lnb-nav ul { display: flex; flex-direction: column; width: 100%; overflow: visible; }
    .lnb-nav li a { padding: 11px 12px; border-top: 1px solid rgba(255,255,255,.15); }
    .lnb-header-main { align-items: center; }
}
@media (prefers-reduced-motion: reduce) {
    .lnb-preloader, .lnb-reveal, .lnb-page-leaving, .lnb-news-card, .lnb-headline-card, .lnb-archive-card { animation: none !important; transition: none !important; transform: none !important; }
}


/* LensaNewsBanten 1.5.0 — header, footer, navigation and page motion */
.lnb-header-main { gap:18px; }
.lnb-brand { flex:0 1 auto; min-width:0; }
.lnb-brand .custom-logo-link { display:inline-flex; align-items:center; max-width:100%; }
.lnb-brand .custom-logo { display:block; width:auto; height:auto; max-width:min(340px,34vw); max-height:92px; object-fit:contain; }
.lnb-nav-shell { width:min(var(--lnb-container),calc(100% - 32px)); margin-inline:auto; }
.lnb-nav { width:auto; margin:0; }
.lnb-menu-toggle { display:inline-flex; align-items:center; gap:9px; min-height:44px; border:1px solid rgba(255,255,255,.55); border-radius:6px; padding:8px 14px; font-size:15px; }
.lnb-menu-toggle:hover,.lnb-menu-toggle[aria-expanded="true"] { background:#8f0d22; }
.lnb-nav ul { align-items:stretch; }
.lnb-nav .sub-menu { display:none; position:absolute; z-index:30; min-width:190px; flex-direction:column; background:#8f0d22; box-shadow:0 8px 20px rgba(0,0,0,.16); }
.lnb-nav li { position:relative; }
.lnb-nav li:hover > .sub-menu,.lnb-nav li:focus-within > .sub-menu { display:flex; }
.lnb-site-footer { padding:0; }
.lnb-footer-grid { display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:36px; padding-top:38px; padding-bottom:34px; }
.lnb-footer-brand { display:inline-block; margin-bottom:8px; color:#fff; font-size:24px; font-weight:800; }
.lnb-footer-grid h2 { margin:0 0 13px; color:#fff; font-size:17px; }
.lnb-footer-grid p { margin:0 0 10px; color:rgba(255,255,255,.82); font-size:14px; }
.lnb-footer-motto { font-weight:700; }
.lnb-footer-grid ul { list-style:none; margin:0; padding:0; }
.lnb-footer-grid li { margin:0 0 7px; }
.lnb-footer-grid a:not(.lnb-footer-brand) { color:#fff; }
.lnb-footer-grid a:hover { color:#ffdce2; }
.lnb-footer-contact-link { display:inline-block; margin-top:5px; font-weight:700; }
.lnb-footer-bottom { background:rgba(0,0,0,.18); }
.lnb-footer-bottom-inner { display:flex; align-items:center; justify-content:space-between; gap:18px; padding-top:16px; padding-bottom:16px; }
.lnb-footer-bottom p { margin:0; font-size:13px; color:rgba(255,255,255,.9); }
.lnb-back-top { border:1px solid rgba(255,255,255,.5); border-radius:5px; background:transparent; color:#fff; padding:6px 11px; cursor:pointer; font-weight:700; }
.lnb-back-top:hover { background:#fff; color:#8f0d22; }
.lnb-main > * { animation:lnb-enter .55s both; }
.lnb-main > *:nth-child(2) { animation-delay:.06s; }
.lnb-main > *:nth-child(3) { animation-delay:.12s; }
.lnb-main > *:nth-child(4) { animation-delay:.18s; }
.lnb-main > *:nth-child(5) { animation-delay:.24s; }
@keyframes lnb-enter { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
@media (max-width:700px) {
 .lnb-header-main { display:flex; flex-direction:column; align-items:stretch; gap:12px; padding-top:12px; padding-bottom:14px; }
 .lnb-brand { text-align:center; }
 .lnb-brand .custom-logo { max-width:min(245px,72vw); max-height:76px; margin-inline:auto; }
 .lnb-header-search { width:100%; }
 .lnb-nav-shell { display:flex; flex-direction:column; align-items:stretch; gap:0; padding-top:8px; padding-bottom:8px; }
 .lnb-menu-toggle { align-self:flex-start; }
 .lnb-nav { display:none; width:100%; padding:6px 0 0; }
 .lnb-nav.is-open { display:block; }
 .lnb-nav ul,.lnb-nav .sub-menu { display:flex; flex-direction:column; width:100%; overflow:visible; position:static; box-shadow:none; }
 .lnb-nav li a { padding:10px 12px; border-top:1px solid rgba(255,255,255,.15); }
 .lnb-footer-grid { grid-template-columns:1fr 1fr; gap:24px 18px; padding-top:28px; padding-bottom:24px; }
 .lnb-footer-about { grid-column:1/-1; }
 .lnb-footer-bottom-inner { align-items:flex-start; }
 .lnb-footer-bottom p { max-width:78%; }
}
@media (max-width:390px) { .lnb-footer-grid { grid-template-columns:1fr; } .lnb-footer-about { grid-column:auto; } .lnb-footer-bottom-inner { flex-direction:column; } }
@media (prefers-reduced-motion:reduce) { .lnb-main > *,.lnb-reveal { animation:none!important; opacity:1!important; transform:none!important; transition:none!important; } }

/* v1.6.0 — footer menu integration and site-wide motion */
.lnb-footer-nav .menu,.lnb-footer-menu{list-style:none;margin:0;padding:0}
.lnb-footer-nav .menu li,.lnb-footer-menu li{margin:0 0 9px}
.lnb-footer-nav .menu a,.lnb-footer-menu a{display:inline-block;color:#fff;text-decoration:none;transition:color .2s ease,transform .2s ease}
.lnb-footer-nav .menu a:hover,.lnb-footer-menu a:hover{color:#ffd6de;transform:translateX(4px)}
.lnb-footer-nav .menu .sub-menu{display:none}
.lnb-main .lnb-reveal{opacity:0;transform:translateY(22px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.lnb-main .lnb-reveal.is-visible{opacity:1;transform:translateY(0)}
.lnb-main .lnb-reveal:nth-child(2n){transition-delay:.04s}
.lnb-main .lnb-reveal:nth-child(3n){transition-delay:.08s}
.lnb-main .lnb-reveal:nth-child(4n){transition-delay:.12s}
.lnb-page-leaving .lnb-main{opacity:0;transform:translateY(7px);transition:opacity .18s ease,transform .18s ease}
.lnb-main{transition:opacity .2s ease,transform .2s ease}
.lnb-preloader .lnb-loader-mark{animation:lnb-loader-pulse .9s ease-in-out infinite alternate}
.lnb-preloader .lnb-loader-line{animation:lnb-loader-progress 1.1s ease-in-out infinite}
@keyframes lnb-loader-pulse{from{transform:scale(.92);opacity:.65}to{transform:scale(1.08);opacity:1}}
@keyframes lnb-loader-progress{0%{transform:scaleX(.15);transform-origin:left}50%{transform:scaleX(1);transform-origin:left}100%{transform:scaleX(.15);transform-origin:right}}
@media(prefers-reduced-motion:reduce){.lnb-main .lnb-reveal,.lnb-main .lnb-reveal.is-visible,.lnb-page-leaving .lnb-main,.lnb-preloader .lnb-loader-mark,.lnb-preloader .lnb-loader-line{opacity:1!important;transform:none!important;animation:none!important;transition:none!important}}


/* Berita lama dan navigasi arsip homepage */
.lnb-older-news { margin-top: 42px; }
.lnb-older-caption { color: #777; font-size: 13px; }
.lnb-older-pagination { margin-top: 26px; }
.lnb-older-pagination ul { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 0; margin: 0; list-style: none; }
.lnb-older-pagination li { margin: 0; }
.lnb-older-pagination a, .lnb-older-pagination span { display: inline-flex; min-width: 40px; min-height: 40px; align-items: center; justify-content: center; padding: 8px 13px; border: 1px solid #e5e5e5; border-radius: 6px; color: #252525; background: #fff; text-decoration: none; font-weight: 600; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .2s ease; }
.lnb-older-pagination a:hover, .lnb-older-pagination .current { color: #fff; background: #c8102e; border-color: #c8102e; transform: translateY(-2px); }
@media (max-width: 600px) { .lnb-older-news { margin-top: 28px; } .lnb-older-caption { display: block; margin-top: 4px; } }
