/*
Theme Name: Nomina
Theme URI: https://baturetnostudio.com/nomina
Author: Baturetno Studio
Author URI: https://baturetnostudio.com
Description: Nomina adalah tema WordPress portal berita modern yang responsif, ringan, dan SEO friendly. Dilengkapi headline slider, berita pilihan, berita rekomendasi, indeks berita, dark mode, widget skor bola, prakiraan cuaca, harga emas, dan banyak lagi.
Version: 1.7.1
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nomina
Tags: blog, news, custom-logo, custom-menu, featured-images, footer-widgets, right-sidebar, left-sidebar, two-columns, translation-ready, block-styles, wide-blocks, sticky-post, theme-options

Nomina WordPress Theme, Copyright 2026 Baturetno Studio
Nomina is distributed under the terms of the GNU GPL v2 or later.

Normalize/Reset style is based on "Normalize.css"
Copyright 2012-2019 Nicolas Gallagher and Jonathan Neal
*/

/* ==========================================================================
   0. CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  --nm-bg: #fff;
  --nm-text: #333;
  --nm-heading: #000;
  --nm-primary: #1b5daf;
  --nm-primary-text: #1b5daf;
  --nm-surface: #f7f7f7;
  --nm-surface-border: #f7f7f7;
  --nm-accent: #f51700;
  --nm-accent-alt: #f36329;
  --nm-muted: #999;
  --nm-meta: #8c8c8c;
  --nm-border: #ccc;
  --nm-dark-panel: #051323;
  --nm-submenu: #164a8c;
  --nm-nav-hover: #2d54a7;
  --nm-radius: 10px;
  --nm-radius-sm: 6px;
  --nm-font-heading: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --nm-font-body: 'Arial', 'Helvetica Neue', Helvetica, sans-serif;
  --nm-container: 1100px;
  --nm-content: 790px;
  --nm-sidebar: 300px;
}

[data-theme='dark'] {
  --nm-bg: #081c34;
  --nm-text: #e8eef7;
  --nm-heading: #fff;
  --nm-primary: #164a8c;
  --nm-primary-text: #fff;
  --nm-surface: #0e2f58;
  --nm-surface-border: #0e2f58;
  --nm-muted: #9fb3cc;
  --nm-meta: #9fb3cc;
  --nm-border: #1d3f6b;
  --nm-dark-panel: #04101d;
  --nm-submenu: #0e2f58;
  --nm-nav-hover: #1f5ea8;
}

/* ==========================================================================
   1. CSS Reset / Normalize
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--nm-bg);
  color: var(--nm-text);
  font-family: var(--nm-font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; }

h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-family: var(--nm-font-heading);
  color: var(--nm-heading);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
}

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: var(--nm-primary-text); text-decoration: none; }
a:hover, a:focus { text-decoration: underline; }

img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
figure { margin: 0; max-width: 100%; }

button, input, select, textarea { font-family: inherit; font-size: 100%; margin: 0; }
button { cursor: pointer; }

table { border-collapse: collapse; border-spacing: 0; }

iframe { max-width: 100%; border: 0; }

embed, object, video { max-width: 100%; }

/* Accessibility helpers */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  background-color: #fff;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, .6);
  clip: auto !important;
  clip-path: none;
  color: var(--nm-primary-text);
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}
.skip-link { position: absolute; left: -9999px; }
.clr { clear: both; }
.clearfix::after { content: ''; display: table; clear: both; }

/* ==========================================================================
   2. WordPress Core Classes
   ========================================================================== */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float: right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }

.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }

.gallery { text-align: center; margin-bottom: 20px; }
.gallery-item { display: inline-block; vertical-align: top; }
.gallery figure.gallery-item img { width: 100%; height: auto; }
.gallery-columns-2 figure.gallery-item { width: 48%; margin-right: 4px; }
.gallery-columns-3 figure.gallery-item { width: 32%; margin-right: 4px; }
.gallery-columns-4 figure.gallery-item { width: 23%; margin-right: 4px; }
.gallery-columns-5 figure.gallery-item { width: 18%; margin-right: 4px; }

.sticky { display: block; }
.bypostauthor { display: block; }

table, tr, td, th { border: 1px solid var(--nm-border); }
table { margin-top: 20px; width: 100%; }
td, th { padding: 8px; }

/* Editor / block support */
.wp-block-image img { max-width: 100%; }
.wp-block-quote { border-left: 4px solid var(--nm-accent); padding-left: 20px; margin: 20px 0; font-style: italic; }
.wp-block-pullquote { border-top: 4px solid var(--nm-primary); border-bottom: 4px solid var(--nm-primary); padding: 20px 0; }
.wp-block-table { width: 100%; }
.wp-block-separator { border: 0; border-bottom: 2px solid var(--nm-border); margin: 30px auto; max-width: 100px; }
.wp-block-button__link { background: var(--nm-primary); color: #fff; padding: 12px 24px; border-radius: 4px; }
.sticky-label { background: var(--nm-accent); color: #fff; font-family: var(--nm-font-heading); font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 3px; text-transform: uppercase; letter-spacing: .5px; }

/* ==========================================================================
   3. Header
   ========================================================================== */
.site-header { position: relative; z-index: 20; }
.header-fixed { width: 100%; margin: 0 auto; background-color: var(--nm-bg); }
.header-fixed.is-stuck { position: fixed; top: 0; left: 0; right: 0; z-index: 60; box-shadow: 0 2px 12px rgba(0, 0, 0, .12); }
.header-shrink { width: 100%; max-width: var(--nm-container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; box-sizing: border-box; overflow: hidden; }

.site-branding { flex: 0 1 auto; padding: 10px 0; min-width: 0; }
.site-branding img { display: block; width: 100%; max-width: 400px; height: auto; }
.site-title { font-family: var(--nm-font-heading); font-size: 26px; font-weight: 700; margin: 0; line-height: 1.1; }
.site-title a { color: var(--nm-heading); }
.site-description { font-size: 12px; color: var(--nm-muted); margin: 2px 0 0; font-family: var(--nm-font-heading); }

.header-right { display: flex; align-items: center; gap: 18px; flex: 0 1 auto; min-width: 0; }
.media-social-header { display: flex; align-items: center; gap: 8px; }
.media-social-header a { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; transition: transform .2s ease, opacity .2s ease; }
.media-social-header a:hover { transform: translateY(-2px); opacity: .8; text-decoration: none; }
.media-social-header img { width: 18px; height: 18px; display: block; }

/* Search form */
form.search-form { position: relative; display: flex; align-items: center; margin: 0; }
.search-form .search-field {
  padding: 10px 15px;
  border: 1px solid #284a9a;
  border-right: 0;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  font-family: var(--nm-font-heading);
  font-size: 13px;
  height: 42px;
  width: 100%;
  max-width: 200px;
  box-sizing: border-box;
  background: var(--nm-bg);
  color: var(--nm-text);
}
.search-form .search-field:focus { outline: none; border-color: var(--nm-accent); }
.search-submit {
  height: 42px;
  width: 60px;
  border: 0;
  background-color: var(--nm-primary);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M15.5 14h-.79l-.28-.27a6.5 6.5 0 1 0-.7.7l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0A4.5 4.5 0 1 1 14 9.5 4.5 4.5 0 0 1 9.5 14z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 18px 18px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  color: #fff;
  font-size: 0;
  flex-shrink: 0;
  transition: background-color .2s ease;
}
.search-submit:hover { background-color: var(--nm-accent); }

/* Hamburger */
.hamburger-button { width: 34px; padding: 6px 4px; cursor: pointer; display: none; flex-shrink: 0; }
.hamburger-button > div { height: 3px; background: var(--nm-heading); margin-bottom: 5px; border-radius: 2px; transition: all .25s ease; }
.hamburger-button > div:last-child { margin-bottom: 0; }
.hamburger-button.is-open .line-satu { transform: translateY(8px) rotate(45deg); }
.hamburger-button.is-open .line-dua { opacity: 0; }
.hamburger-button.is-open .line-tiga { transform: translateY(-8px) rotate(-45deg); }

/* Primary navigation */
.fluid-nav { width: 100%; background: var(--nm-primary); }
.menu-utama {
  list-style: none;
  background: var(--nm-primary);
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  padding: 0 10px;
  width: 100%;
  max-width: var(--nm-container);
  margin: 0 auto;
  font-size: 0;
  scrollbar-color: #eee var(--nm-accent);
}
.menu-utama::-webkit-scrollbar { height: 10px; }
.menu-utama::-webkit-scrollbar-track { background: var(--nm-accent); }
.menu-utama::-webkit-scrollbar-thumb { background: #eee; }
.menu-utama::-webkit-scrollbar-thumb:hover { background: #eee; }
/* Edge fades hint that the menu scrolls horizontally (only when it overflows). */
.fluid-nav { position: relative; }
.fluid-nav.is-scrollable::after { content: ''; position: absolute; top: 0; right: 0; bottom: 10px; width: 26px; pointer-events: none; background: linear-gradient(to right, rgba(27, 93, 175, 0), var(--nm-primary)); }
.fluid-nav.is-scrollable.at-start::before { content: ''; position: absolute; top: 0; left: 0; bottom: 10px; width: 18px; pointer-events: none; background: linear-gradient(to left, rgba(27, 93, 175, 0), var(--nm-primary)); z-index: 2; }
.fluid-nav.is-scrollable.at-end::after { display: none; }
.menu-utama > li { position: relative; display: inline-block; margin: 0 0 0 -2px; vertical-align: top; }
.menu-utama > li > a {
  display: block;
  font-family: var(--nm-font-heading);
  font-size: 12px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 15px 9px 12px 9px;
  border-bottom: 4px solid transparent;
  text-transform: uppercase;
  letter-spacing: .2px;
  transition: background-color .18s ease;
}
.menu-utama > li.menu-item-has-children > a { padding-right: 22px; }
.menu-utama > li.menu-item-has-children > a::after {
  content: '';
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-45%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
}
.menu-utama > li > a:hover,
.menu-utama > li > a:focus { text-decoration: none; background: var(--nm-nav-hover); }
.menu-utama > .current-menu-item > a,
.menu-utama > .current_page_item > a,
.menu-utama > .current-menu-parent > a,
.menu-utama > .current-menu-ancestor > a { background-color: var(--nm-accent); }

.menu-utama > li > ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--nm-submenu);
  border-top: 3px solid var(--nm-accent);
  z-index: 90;
  display: none;
  text-align: left;
  min-width: 200px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  padding: 0;
}
.menu-utama > li > ul.sub-menu > li { display: block; position: relative; }
.menu-utama > li > ul.sub-menu > li a {
  display: block;
  color: #fff;
  font-family: var(--nm-font-heading);
  font-size: 12px;
  text-decoration: none;
  font-weight: 700;
  padding: 10px 20px;
  text-transform: uppercase;
}
.menu-utama > li > ul.sub-menu > li a:hover { opacity: .75; background: rgba(255, 255, 255, .08); }
.menu-utama > li > ul.sub-menu > li > ul.sub-menu { position: absolute; top: 0; left: 100%; background: var(--nm-submenu); border-top: 3px solid var(--nm-accent); display: none; min-width: 190px; }
.menu-utama > li > ul.sub-menu > li:hover > ul.sub-menu { display: block; }
.menu-utama li.menu-item-has-children:hover > ul.sub-menu,
.menu-utama li.menu-item-has-children:focus-within > ul.sub-menu { display: block; }

/* Mobile slide-out menu */
.mobile-menu-kiri-wrap {
  position: fixed;
  background: var(--nm-bg);
  top: 0;
  left: 0;
  z-index: 100;
  display: none;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform .3s ease;
}
.mobile-menu-kiri-wrap.is-open { display: block; transform: translateX(0); }
.mobile-menu-kiri-wrap .mobile-menu-head { display: flex; align-items: center; justify-content: space-between; padding: 10px 15px; border-bottom: 1px solid var(--nm-border); }
.mobile-menu-kiri-wrap .mobile-menu-head img { max-width: 200px; height: auto; display: block; }
.close-button-hamburger { font-size: 26px; line-height: 1; cursor: pointer; color: var(--nm-heading); padding: 4px 10px; background: none; border: 0; }
.mobile-menu-kiri-wrap form.search-form { display: flex; margin: 0; padding: 20px; border-top: 3px solid #0173b0; width: 100%; }
.mobile-menu-kiri-wrap form.search-form .search-field { max-width: 100%; flex: 1 1 auto; }
ul.mobile-menu-kiri { list-style: none; margin: 0; padding: 0; }
.mobile-menu-kiri li a { display: block; padding: 16px 20px; text-transform: uppercase; font-family: var(--nm-font-heading); border-bottom: 1px solid var(--nm-border); font-size: 14px; font-weight: 700; color: var(--nm-heading); position: relative; }
.mobile-menu-kiri li.current-menu-item > a { color: var(--nm-accent); }
.mobile-menu-kiri li.menu-item-has-children > a::after { content: ''; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--nm-muted); border-bottom: 2px solid var(--nm-muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.mobile-menu-kiri li.active > a::after { transform: translateY(-30%) rotate(-135deg); }
ul.mobile-menu-kiri li > ul.sub-menu { display: none; background: var(--nm-surface); }
ul.mobile-menu-kiri li.active > ul.sub-menu { display: block; }
.mobile-menu-kiri .sub-menu li a { padding-left: 45px; font-size: 13px; border-bottom: 1px solid var(--nm-border); text-transform: none; }
.mobile-menu-kiri .sub-menu .sub-menu li a { padding-left: 65px; }

/* News ticker */
.marquee-baru { width: 100%; overflow: hidden; background: var(--nm-bg); z-index: 5; position: relative; border-bottom: 1px solid var(--nm-surface-border); }
.marquee-baru .inner-wrap { width: 100%; max-width: var(--nm-container); margin: 0 auto; padding: 7px 10px; overflow: hidden; display: flex; align-items: center; gap: 10px; }
.marquee-baru .marquee-label { flex-shrink: 0; background: var(--nm-accent); color: #fff; font-family: var(--nm-font-heading); font-size: 11px; font-weight: 700; text-transform: uppercase; padding: 4px 10px; border-radius: 3px; letter-spacing: .5px; }
.marquee-baru .inner { width: 100%; display: flex; overflow: hidden; position: relative; }
.marquee-baru .inner .marquee-track { display: flex; align-items: center; animation: nm-marquee 40s linear infinite; }
.marquee-baru .inner:hover .marquee-track { animation-play-state: paused; }
.marquee-baru .inner .marquee-track > * { white-space: nowrap; padding: 0; }
.marquee-baru .inner a { font-family: var(--nm-font-heading); color: var(--nm-heading); font-size: 12px; margin-right: 2em; text-decoration: none; font-weight: 700; }
.marquee-baru .inner a:hover { color: #385798; text-decoration: underline; }
@keyframes nm-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Header banner + side rails */
#sidebar-header { width: 100%; max-width: var(--nm-container); text-align: center; margin: 5px auto 0 auto; padding: 0; }
.sidebar-header-wrap { text-align: center; }
.sidebar-header-wrap > div { text-align: center; max-width: var(--nm-container); width: 100%; height: auto; margin: 0 auto; }
.sidebar-header-wrap img { width: 100%; max-width: 100%; height: auto; margin: 0 auto; display: block; }
.judul-sidebar-header { text-align: center; padding: 10px; color: var(--nm-muted); font-size: 12px; text-transform: uppercase; margin: 0; }

#sidebar-banner-160x600-kanan,
#sidebar-banner-160x600-kiri { position: fixed; top: 123px; margin-top: 70px; z-index: 0; }
#sidebar-banner-160x600-kanan { right: 47%; margin-right: -678px; }
#sidebar-banner-160x600-kiri { left: 47%; margin-left: -678px; }
.sidebar-banner-160x600-kanan-wrap,
.sidebar-banner-160x600-kiri-wrap { width: 160px; }
.sidebar-banner-160x600-kanan-wrap img,
.sidebar-banner-160x600-kiri-wrap img { display: block; width: 160px; height: auto; }

#sidebar-banner-bawah { position: fixed; bottom: 0; width: 100%; z-index: 40; background-color: var(--nm-bg); text-align: center; }
.sidebar-banner-bawah-wrap { width: 100%; max-width: 728px; margin: 0 auto; position: relative; }
.sidebar-banner-bawah-wrap img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.close-button-sidebar-bawah { position: absolute; right: 0; top: -24px; padding: 4px 10px; background: #000; color: #fff; font-weight: 700; font-size: 12px; border: 0; border-radius: 4px 4px 0 0; }

/* ==========================================================================
   4. Layout
   ========================================================================== */
#content-wrap { padding: 0; background: var(--nm-bg); width: 100%; max-width: var(--nm-container); margin: 0 auto; display: flex; gap: 10px; align-items: flex-start; }
#content-left-wrap { width: 100%; max-width: var(--nm-content); min-width: 0; flex: 1 1 auto; }
#content-right-wrap { width: 100%; max-width: var(--nm-sidebar); flex: 0 0 var(--nm-sidebar); }
#sidebar-right { width: 100%; position: sticky; top: 90px; }
#sidebar-left { width: 100%; max-width: var(--nm-sidebar); }
.layout-left-sidebar #content-wrap { flex-direction: row-reverse; }

/* ==========================================================================
   5. Headline Slider
   ========================================================================== */
.slider-container { width: 100%; max-width: var(--nm-content); margin: 5px auto 0 auto; }
.nomina-slider { position: relative; overflow: hidden; border-radius: 0; }
.nomina-slider .slides { position: relative; margin: 0; padding: 0; list-style: none; }
.nomina-slider .slide { position: relative; display: none; }
.nomina-slider .slide.is-active { display: block; }
.nomina-slider .slide img { width: 100%; height: auto; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
/* Keep the slide a stable 16:9 box even when a post has no featured image. */
.nomina-slider .slide .nomina-thumb-placeholder { width: 100%; aspect-ratio: 16 / 9; min-height: 0; height: auto; }
.judul-headline { display: none; }
.nomina-slider .slide-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 50px 24px 22px; background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .4) 35%, rgba(0, 0, 0, .88) 100%); }
.nomina-slider .slide-caption a.slider-kategori { display: inline-block; color: #fff; font-size: 14px; text-decoration: none; text-transform: uppercase; margin-bottom: 8px; font-family: var(--nm-font-heading); font-weight: 700; letter-spacing: .5px; }
.nomina-slider .slide-caption a.slider-kategori:hover { text-decoration: underline; }
.nomina-slider .slide-caption h2 { margin: 0; }
.nomina-slider .slide-caption h2 a { display: block; text-decoration: none; color: #fff; font-size: 30px; font-weight: 800; font-family: var(--nm-font-heading); line-height: 1.24; text-shadow: 0 2px 4px rgba(0, 0, 0, .6); }
.nomina-slider .slide-caption h2 a:hover { color: #fff; text-decoration: underline; }
.nomina-slider .slide-caption .tanggal { display: none; }

.slider-nav { display: none; }
.slider-dots { display: none; }

/* Headline thumbnail strip (4 cards below slider) */
.headline-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; margin-top: 2px; background: #fff; }
[data-theme='dark'] .headline-thumbs { background: var(--nm-bg); }
.headline-thumb { display: flex; flex-direction: column; background: #000; text-decoration: none; overflow: hidden; position: relative; transition: opacity .2s ease; }
.headline-thumb-img-wrap { display: block; width: 100%; aspect-ratio: 16 / 10; overflow: hidden; background: #111; flex-shrink: 0; }
.headline-thumb-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.headline-thumb:hover .headline-thumb-img-wrap img { transform: scale(1.06); }
.headline-thumb-title { background: #000; color: #fff; font-size: 12.5px; padding: 10px 8px; font-family: var(--nm-font-heading); line-height: 1.35; font-weight: 700; text-align: center; flex: 1 1 auto; display: flex; align-items: center; justify-content: center; min-height: 68px; }
.headline-thumb:hover .headline-thumb-title { text-decoration: underline; }

/* ==========================================================================
   6. Homepage Sections
   ========================================================================== */
.nm-section-title { font-family: var(--nm-font-heading); font-size: 18px; font-weight: 700; color: var(--nm-heading); padding: 10px 0; margin: 20px 0 0; text-transform: uppercase; }
.nm-section-title::after { content: ''; display: block; width: 75px; height: 3px; background: var(--nm-accent); margin-top: 6px; }
.nm-section-title.is-inverse { color: #fff; }

/* Berita Terkini list */
#news-feed { margin-bottom: 25px; }
.news-feed-list { display: flex; gap: 24px; align-items: flex-start; padding: 0; margin-bottom: 26px; border: 0; }
.news-feed-thumb { flex: 0 0 290px; width: 290px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; margin: 0; background: var(--nm-surface); display: block; }
.news-feed-thumb img,
.news-feed-thumb .newsfeed-image { border-radius: 14px; transition: transform .45s ease; display: block; width: 100%; height: 100%; object-fit: cover; }
.news-feed-thumb:hover img,
.news-feed-thumb:hover .newsfeed-image { transform: scale(1.05); }
.news-feed-thumb .nomina-thumb-placeholder { border-radius: 14px; width: 100%; height: 100%; aspect-ratio: 16 / 10; }
.news-feed-link { display: flex; gap: 24px; align-items: flex-start; color: inherit; text-decoration: none; }
.news-feed-link:hover { text-decoration: none; }
.news-feed-link figure { flex: 0 0 290px; width: 290px; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 14px; margin: 0; background: var(--nm-surface); }
.news-feed-link figure img,
.news-feed-link figure .newsfeed-image { border-radius: 14px; transition: transform .45s ease; display: block; width: 100%; height: 100%; object-fit: cover; }
.news-feed-link:hover figure img,
.news-feed-link:hover figure .newsfeed-image { transform: scale(1.05); }
.news-feed-link figure .nomina-thumb-placeholder { border-radius: 14px; width: 100%; height: 100%; aspect-ratio: 16 / 10; }
.news-feed-text-block { flex: 1 1 auto; min-width: 0; padding: 2px 0; }
.news-feed-text-block .kategori { display: inline-block; margin: 0 0 8px; font-size: 13px; font-family: var(--nm-font-heading); font-weight: 800; text-transform: uppercase; letter-spacing: .4px; }
.news-feed-text-block .kategori a { color: var(--nm-accent); text-decoration: none; }
.news-feed-text-block .kategori a:hover { text-decoration: underline; }
.news-feed-text-block h2,
.news-feed-text-block .news-feed-judul { font-family: var(--nm-font-heading); font-size: 23px; font-weight: 800; line-height: 1.3; margin: 0 0 10px; }
.news-feed-text-block h2 a,
.news-feed-text-block .news-feed-judul a { color: var(--nm-heading); text-decoration: none; transition: color .2s ease; }
.news-feed-text-block h2 a:hover,
.news-feed-text-block .news-feed-judul a:hover,
.news-feed-link:hover h2,
.news-feed-link:hover .news-feed-judul { color: var(--nm-primary-text); text-decoration: underline; }
.news-feed-text-block .tanggal { color: #71717a; font-size: 13px; margin: 0; font-family: var(--nm-font-heading); }
[data-theme='dark'] .news-feed-text-block .tanggal { color: var(--nm-muted); }
.news-feed-text-block .excerpt { display: none; }

/* Berita Pilihan (dark panel carousel) */
#berita-pilihan { padding: 30px 15px 15px 15px; background: var(--nm-dark-panel); margin: 25px 0 15px 0; position: relative; border-radius: 4px; }
#berita-pilihan .judul-berita-pilihan { font-family: var(--nm-font-heading); font-size: 14px; font-weight: 700; margin: 0; position: absolute; background: var(--nm-accent); color: #fff; padding: 8px 10px; text-align: center; z-index: 4; top: -15px; left: 25px; text-transform: uppercase; }
#berita-pilihan .nomina-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 30px) / 3); gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
#berita-pilihan .nomina-carousel::-webkit-scrollbar { display: none; }
.berita-pilihan-box { scroll-snap-align: start; }
.berita-pilihan-box img { height: 140px; width: 100%; object-fit: cover; margin-bottom: 10px; display: block; border-radius: 3px; }
.berita-pilihan-box .kategori-berita-pilihan { font-size: 12px; color: var(--nm-accent); font-weight: 700; display: block; margin-bottom: 5px; font-family: var(--nm-font-heading); text-transform: uppercase; }
.berita-pilihan-box h3 { margin: 0; }
.berita-pilihan-box h3 a { font-size: 14px; color: #fff; font-family: var(--nm-font-heading); font-weight: 700; line-height: 1.35; }
.berita-pilihan-box h3 a:hover { text-decoration: underline; }

.carousel-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: 12px; }
.carousel-nav button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--nm-bg); color: var(--nm-heading); font-size: 18px; line-height: 1; box-shadow: 0 0 8px rgba(0, 0, 0, .2); display: flex; align-items: center; justify-content: center; }
.carousel-nav button:hover { background: var(--nm-accent); color: #fff; }
[data-theme='dark'] .carousel-nav button { background: #164a8c; color: #fff; }
[data-theme='dark'] .carousel-nav button:hover { background: var(--nm-accent); }
[data-theme='dark'] .slider-nav button { background: rgba(0, 0, 0, .55); color: #fff; }
[data-theme='dark'] .slider-nav button:hover { background: var(--nm-accent); }
[data-theme='dark'] .tagname a { background: #1d3f6b; color: #e8eef7; }
[data-theme='dark'] .tagname a:hover { background: var(--nm-primary); color: #fff; }
[data-theme='dark'] .page-numbers { background: #1d3f6b; color: #e8eef7; }
[data-theme='dark'] .page-numbers:hover, [data-theme='dark'] .page-numbers.current { background: var(--nm-accent); color: #fff; }
[data-theme='dark'] .nm-cat-card, [data-theme='dark'] .category-box { background: var(--nm-surface); }
[data-theme='dark'] .nomina-shop-card { background: var(--nm-surface); }
[data-theme='dark'] .nomina-weather-card { background: var(--nm-surface); }

/* Berita Rekomendasi */
#berita-rekomendasi { position: relative; margin-bottom: 20px; }
#berita-rekomendasi .judul-berita-rekomendasi { font-family: var(--nm-font-heading); font-size: 18px; font-weight: 700; color: var(--nm-heading); padding: 20px 0 10px; margin: 0; text-transform: uppercase; }
#berita-rekomendasi .judul-berita-rekomendasi::after { content: ''; width: 75px; height: 3px; background: var(--nm-accent); display: block; margin-top: 6px; }
#berita-rekomendasi .nomina-carousel { display: grid; grid-auto-flow: column; grid-auto-columns: 255px; gap: 15px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
#berita-rekomendasi .nomina-carousel::-webkit-scrollbar { display: none; }
.berita-rekomendasi-box { scroll-snap-align: start; width: 255px; height: 380px; background-color: var(--nm-surface); position: relative; overflow: hidden; border-radius: 4px; }
.berita-rekomendasi-box img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.berita-rekomendasi-box:hover img { transform: scale(1.06); }
.berita-rekomendasi-box .text-berita-rekomendasi { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; background: linear-gradient(0deg, rgba(0, 0, 0, .95) 40%, rgba(0, 0, 0, 0) 100%); }
.kategori-berita-rekomendasi { color: #fff; font-family: var(--nm-font-heading); padding: 5px 8px; background: var(--nm-accent); border-radius: 4px; display: inline-block; font-weight: 700; font-size: 11px; text-transform: uppercase; }
.berita-rekomendasi-box h3 { font-size: 18px; color: #fff; line-height: 1.2; margin: 12px 0 0; font-family: var(--nm-font-heading); }
.berita-rekomendasi-box h3 a { color: #fff; }
.berita-rekomendasi-box h3 a:hover { text-decoration: underline; }

/* Category block (Berita per kategori) */
.nm-category-block { margin-bottom: 25px; }
.nm-category-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 20px 0 12px; }
.nm-category-head .nm-category-name { display: inline-block; background: var(--nm-primary); color: #fff; font-family: var(--nm-font-heading); font-size: 14px; font-weight: 700; padding: 8px 14px; border-radius: 3px; text-transform: uppercase; }
.nm-category-head .nm-category-name:hover { background: var(--nm-accent); text-decoration: none; }
.nm-category-head .nm-more { font-family: var(--nm-font-heading); font-size: 12px; font-weight: 700; color: var(--nm-accent); text-transform: uppercase; white-space: nowrap; }
.nm-category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.nm-cat-card { background: var(--nm-surface); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .25s ease, transform .25s ease; }
.nm-cat-card:hover { box-shadow: 0 6px 18px rgba(0, 0, 0, .14); transform: translateY(-3px); }
.nm-cat-card img { width: 100%; height: 150px; object-fit: cover; display: block; }
.nm-cat-card .nm-cat-card-body { padding: 12px; flex: 1 1 auto; display: flex; flex-direction: column; }
.nm-cat-card .kategori { color: var(--nm-accent); font-size: 10px; font-weight: 700; text-transform: uppercase; font-family: var(--nm-font-heading); margin-bottom: 6px; display: block; }
.nm-cat-card h3 { font-size: 14px; line-height: 1.4; margin: 0 0 8px; }
.nm-cat-card h3 a { color: var(--nm-heading); }
.nm-cat-card .tanggal { font-size: 11px; color: var(--nm-muted); margin-top: auto; }

/* News feed section heading */
.news-feed-judul-block { background: transparent; font-family: var(--nm-font-heading); font-size: 22px; font-weight: 800; color: var(--nm-heading); padding: 0; margin: 30px 0 24px; text-transform: uppercase; letter-spacing: .3px; line-height: 1.2; }
.news-feed-judul-block span { display: inline-block; position: relative; padding-bottom: 8px; }
.news-feed-judul-block span::after { content: ''; position: absolute; bottom: 0; left: 0; width: 90px; height: 3.5px; background: var(--nm-accent); border-radius: 2px; }

/* Indeks berita */
.nomina-indeks-berita { font-family: var(--nm-font-heading); }
.nomina-indeks-list { margin-top: 5px; }
.nomina-indeks-item { display: flex; gap: 15px; padding: 18px 0; border-bottom: 1px solid var(--nm-border); align-items: flex-start; }
.nomina-indeks-thumb { flex-shrink: 0; display: block; }
.nomina-indeks-thumb img { width: 200px; height: 135px; object-fit: cover; border-radius: 6px; display: block; }
.nomina-indeks-text { flex: 1 1 auto; min-width: 0; }
.nomina-indeks-title { display: block; font-size: 18px; font-weight: 700; color: var(--nm-heading); line-height: 1.3; margin-bottom: 8px; }
.nomina-indeks-title:hover { color: var(--nm-primary-text); text-decoration: none; }
.nomina-indeks-meta { font-size: 12px; color: var(--nm-muted); margin: 0 0 8px; }
.nomina-indeks-meta-pemisah { margin: 0 6px; }
.nomina-indeks-excerpt { font-size: 13px; color: var(--nm-text); line-height: 1.5; margin: 0; }
.nomina-indeks-kosong { font-size: 14px; color: var(--nm-muted); padding: 30px 0; text-align: center; }
.nomina-indeks-pagination { margin-top: 25px; text-align: center; }
.nomina-indeks-filter { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 25px; padding-bottom: 20px; border-bottom: 1px solid var(--nm-border); }
.nomina-indeks-input-keyword { flex: 1 1 220px; padding: 10px 12px; border: 1px solid var(--nm-border); border-radius: 4px; font-family: var(--nm-font-heading); font-size: 13px; background: var(--nm-bg); color: var(--nm-text); }
.nomina-indeks-input-kategori { flex: 0 1 200px; padding: 10px 12px; border: 1px solid var(--nm-border); border-radius: 4px; font-family: var(--nm-font-heading); font-size: 13px; background: var(--nm-bg); color: var(--nm-text); }
.nomina-indeks-input-tanggal { flex: 0 1 170px; padding: 9px 12px; border: 1px solid var(--nm-border); border-radius: 4px; font-family: var(--nm-font-heading); font-size: 13px; background: var(--nm-bg); color: var(--nm-text); }
.nomina-indeks-filter-submit { padding: 10px 22px; border: 0; border-radius: 4px; background: var(--nm-primary); color: #fff; font-family: var(--nm-font-heading); font-weight: 700; font-size: 13px; cursor: pointer; }
.nomina-indeks-filter-submit:hover { opacity: .9; }
.nomina-indeks-filter-reset { font-family: var(--nm-font-heading); font-size: 13px; color: var(--nm-accent); font-weight: 700; text-decoration: underline; }

/* Score widget + theme toggle icon */
.nomina-score-widget { font-family: var(--nm-font-heading); }
.nomina-theme-icon { display: block; line-height: 1; font-size: 15px; }

.nomina-homepage-indeks-btn { display: inline-block; padding: 8px 20px; border: 2px solid var(--nm-accent); border-radius: 4px; background: var(--nm-bg); color: var(--nm-accent); font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; letter-spacing: .5px; text-decoration: none; text-transform: uppercase; }
.nomina-homepage-indeks-btn::after { content: '\2192'; display: inline-block; margin-left: 8px; }
.nomina-homepage-indeks-btn:hover { background: var(--nm-accent); color: #fff; text-decoration: none; }

/* ==========================================================================
   7. Archive / Category / Search
   ========================================================================== */
.page-header { padding: 20px 0 10px; }
.page-title { font-family: var(--nm-font-heading); font-size: 24px; font-weight: 700; color: var(--nm-heading); margin: 0; }
.page-title span { color: var(--nm-accent); }
.archive-description { font-size: 14px; color: var(--nm-text); margin-top: 10px; line-height: 1.6; }
.archive-description p { margin-bottom: 8px; }

#category-content-wrap { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 15px; }
.category-box { display: flex; flex-direction: column; background: var(--nm-surface); border-radius: 6px; overflow: hidden; }
.category-box .img-category-desktop { display: block; }
.category-box img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .5s ease; }
.category-box:hover img { transform: scale(1.05); }
.category-text-wrap { padding: 14px; flex: 1 1 auto; display: flex; flex-direction: column; }
.category-text-wrap .kategori-mobile { color: var(--nm-accent); font-size: 11px; font-weight: 700; text-transform: uppercase; font-family: var(--nm-font-heading); margin: 0 0 6px; }
.category-text-wrap h2 { font-size: 17px; line-height: 1.35; margin: 0 0 8px; font-family: var(--nm-font-heading); }
.category-text-wrap h2 a { color: var(--nm-heading); }
.category-text-wrap h2 a:hover { color: var(--nm-primary-text); }
.category-text-wrap .tanggal-mobile { display: block; color: var(--nm-muted); font-size: 11px; margin: 0 0 8px; }
.category-text-wrap .excerpt { font-size: 13px; color: var(--nm-text); line-height: 1.55; margin: 0; }
.category-text-wrap .baca-selengkapnya { margin-top: auto; padding-top: 10px; font-family: var(--nm-font-heading); font-size: 12px; font-weight: 700; color: var(--nm-accent); text-transform: uppercase; }
.img-category-mobile { display: none; }

/* Pagination */
.next-wrap, .nomina-pagination { padding: 20px; text-align: center; }
.nav-links, .nomina-pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 16px;
  background: #999;
  color: #fff;
  font-size: 14px;
  font-family: var(--nm-font-heading);
  font-weight: 700;
  border-radius: 50px;
  text-decoration: none;
  margin: 0 2px 8px 2px;
}
.page-numbers:hover { background: var(--nm-primary); color: #fff; text-decoration: none; }
.page-numbers.current, .nav-links .current { background: var(--nm-primary); color: #fff; }
.page-numbers.dots { background: transparent; color: var(--nm-muted); }

/* ==========================================================================
   8. Single Post / Page
   ========================================================================== */
#single-content-wrap { width: 100%; max-width: var(--nm-container); margin: 0 auto 20px; padding: 10px 0; background: var(--nm-bg); display: flex; gap: 10px; align-items: flex-start; }
#single-content { width: 100%; max-width: var(--nm-content); flex: 1 1 auto; min-width: 0; }
.wrap-kategori-tanggal { padding: 0; }
.single-kategori { margin: 5px 0 12px 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.single-kategori a { font-family: var(--nm-font-heading); font-size: 12px; font-weight: 700; color: #fff; background: var(--nm-primary); padding: 4px 10px; border-radius: 3px; text-transform: uppercase; }
.single-kategori a:hover { background: var(--nm-accent); text-decoration: none; }
#single-content h1 { font-family: var(--nm-font-heading); font-size: 26px; font-weight: 700; margin: 5px 0; line-height: 1.25; color: var(--nm-heading); }
#single-content h2.subtitle { font-size: 18px; line-height: 1.5; margin: 10px 0 0; font-weight: 400; color: var(--nm-text); font-family: var(--nm-font-body); }

.container-single-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 10px 0; margin: 15px 0; border-top: 1px solid var(--nm-border); border-bottom: 1px solid var(--nm-border); }
.foto-penulis { margin: 0; flex-shrink: 0; }
.foto-penulis img { width: 32px; height: 32px; border-radius: 50%; display: block; }
.group-penulis-dan-tanggal { display: flex; flex-direction: column; flex: 1 1 auto; min-width: 0; }
.nama-penulis { text-transform: capitalize; font-family: var(--nm-font-heading); font-size: 12px; margin: 0; }
.nama-penulis a { color: var(--nm-primary-text); font-weight: 700; }
.nama-penulis span { color: var(--nm-accent); font-weight: 700; }
.tanggal-single { font-family: var(--nm-font-heading); font-size: 12px; color: var(--nm-meta); margin: 3px 0 0; }
.single-media-social { display: flex; align-items: center; gap: 6px; }
.single-media-social a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: var(--nm-primary); color: #fff; font-size: 11px; font-weight: 700; text-decoration: none; transition: background .2s ease; }
.single-media-social a:hover { background: var(--nm-accent); }
.single-media-social a img { width: 15px; height: 15px; }
.single-media-social .copied { font-size: 11px; color: var(--nm-accent); font-weight: 700; margin: 0 0 0 4px; opacity: 0; transition: opacity .25s ease; }
.single-media-social .copied.is-visible { opacity: 1; }
.media-sosial-mobile { display: none; }

.nomina-donasi-box { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 15px; padding: 18px 20px; border-radius: 10px; margin: 0 0 20px; font-family: var(--nm-font-heading); font-size: 14px; line-height: 1.5; background: var(--nm-surface); }
.nomina-donasi-text { flex: 1 1 auto; min-width: 0; }
.nomina-donasi-icon { margin-right: 8px; font-size: 20px; vertical-align: middle; }
.nomina-donasi-btn { display: inline-block; padding: 10px 22px; border-radius: 8px; font-weight: 700; font-family: var(--nm-font-heading); font-size: 14px; text-decoration: none; white-space: nowrap; background: var(--nm-primary); color: #fff; }
.nomina-donasi-btn:hover { opacity: .85; text-decoration: none; color: #fff; }

.foto-utama { margin: 0 0 10px; }
.foto-utama img { border-radius: var(--nm-radius); margin-bottom: 10px; width: 100%; height: auto; display: block; }
.caption-photo { font-size: 12px; line-height: 1.4; color: var(--nm-meta); font-family: var(--nm-font-body); margin: 0 0 15px; }

.enlarge-font-wrap { display: flex; justify-content: flex-end; align-items: flex-end; gap: 4px; margin: 0 0 15px; padding: 5px 0; }
.enlarge-font-wrap button { border: 0; background: transparent; cursor: pointer; color: var(--nm-muted); font-weight: 700; line-height: 1; }
.enlarge-font-wrap button.active { color: var(--nm-heading); text-decoration: underline; text-underline-offset: 4px; }
.enlarge-font-wrap button#decreasetext { font-size: 15px; }
.enlarge-font-wrap button#resettext { font-size: 18px; }
.enlarge-font-wrap button#increasetext { font-size: 22px; }

#single-article-text { width: 100%; font-family: var(--nm-font-body); font-size: 16px; line-height: 1.7; color: var(--nm-text); }
#single-article-text p { margin: 16px 0; }
#single-article-text h2 { font-size: 22px; margin: 28px 0 12px; }
#single-article-text h3 { font-size: 19px; margin: 24px 0 10px; }
#single-article-text h4 { font-size: 17px; margin: 20px 0 10px; }
#single-article-text a { color: var(--nm-primary-text); }
#single-article-text a:hover { text-decoration: underline; }
#single-article-text ul, #single-article-text ol { margin: 16px 0 16px 22px; }
#single-article-text ul { list-style: disc; }
#single-article-text ol { list-style: decimal; }
#single-article-text li { margin-bottom: 8px; }
#single-article-text img { height: auto; border-radius: 6px; }
#single-article-text blockquote { border-left: 4px solid var(--nm-accent); padding: 5px 0 5px 20px; margin: 20px 0; font-style: italic; color: var(--nm-meta); }
#single-article-text iframe { max-width: 100%; }
#single-article-text .wp-caption-text { font-size: 12px; color: var(--nm-meta); }

/* In-article ad slot */
.ad-middle { margin: 25px 0; }
.ad-middle .ad-title, .ad-middle .scroll-to-resume { text-align: center; background: var(--nm-primary); color: #fff; font-size: 12px; padding: 4px; margin: 0; }
.ad-middle .ad-content { width: 100%; max-width: 380px; margin: 0 auto; text-align: center; }
.ad-middle .ad-content img { display: block; width: 100%; max-width: 380px; height: auto; margin: 0 auto; }

/* Tags */
.tagname { background: var(--nm-surface); border-top: 2px solid var(--nm-border); padding: 20px; margin-top: 30px; font-family: var(--nm-font-heading); border-radius: 0 0 6px 6px; }
.tagname .tagname-label { display: inline-block; background-color: var(--nm-primary); color: #fff; padding: 8px 12px; font-weight: 700; border-radius: 50px; margin: 0 6px 10px 0; font-size: 12px; }
.tagname a { display: inline-block; padding: 8px 12px; background: #ccc; color: #222; font-family: var(--nm-font-heading); text-transform: capitalize; margin: 0 4px 10px 0; border-radius: 50px; font-size: 12px; font-weight: 700; }
.tagname a:hover { background: var(--nm-primary); color: #fff; text-decoration: none; }

/* Author box */
.nomina-author-box { display: flex; gap: 15px; align-items: flex-start; padding: 18px; background: var(--nm-surface); border-radius: 8px; margin: 25px 0; }
.nomina-author-box img { width: 64px; height: 64px; border-radius: 50%; flex-shrink: 0; }
.nomina-author-box .author-name { font-family: var(--nm-font-heading); font-size: 15px; font-weight: 700; margin: 0 0 6px; }
.nomina-author-box .author-bio { font-size: 13px; line-height: 1.6; margin: 0; color: var(--nm-text); }

/* Related + latest posts on single */
.desktop-berita-terbaru { margin-top: 35px; }
.desktop-berita-terbaru .berita-terbaru,
.mobile-berita-terbaru .berita-terbaru,
.related-post-wrap .berita-terkait {
  font-family: var(--nm-font-heading);
  font-size: 19px;
  font-weight: 800;
  margin: 0 0 18px;
  color: var(--nm-heading);
  text-transform: uppercase;
  letter-spacing: .3px;
  line-height: 1.2;
}
.desktop-berita-terbaru .berita-terbaru::after,
.mobile-berita-terbaru .berita-terbaru::after,
.related-post-wrap .berita-terkait::after {
  content: '';
  display: block;
  width: 75px;
  height: 3.5px;
  background: var(--nm-accent);
  margin-top: 8px;
  border-radius: 2px;
}
.nm-latest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.nm-latest-item {
  display: flex;
  flex-direction: column;
  background: var(--nm-surface);
  border-radius: 10px;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
  border: 1px solid var(--nm-border);
}
.nm-latest-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}
.nm-latest-item .nm-latest-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111;
  position: relative;
}
.nm-latest-item .nm-latest-thumb img,
.nm-latest-item .nm-latest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.nm-latest-item:hover .nm-latest-thumb img,
.nm-latest-item:hover .nm-latest-img {
  transform: scale(1.06);
}
.nm-latest-item .nomina-thumb-placeholder {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
}
.nm-latest-body {
  padding: 12px 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}
.nm-latest-body .kategori {
  display: inline-block;
  color: var(--nm-accent);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .4px;
  font-family: var(--nm-font-heading);
  margin-bottom: 6px;
}
.nm-latest-body .kategori a {
  color: var(--nm-accent);
  text-decoration: none;
}
.nm-latest-body .kategori a:hover {
  text-decoration: underline;
}
.nm-latest-body h3 {
  font-family: var(--nm-font-heading);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 8px;
}
.nm-latest-body h3 a {
  color: var(--nm-heading);
  text-decoration: none;
  transition: color .2s ease;
}
.nm-latest-body h3 a:hover {
  color: var(--nm-primary-text);
  text-decoration: underline;
}
.nm-latest-body .tanggal {
  font-size: 11px;
  color: var(--nm-muted);
  margin-top: auto;
  font-family: var(--nm-font-body);
}

/* Comments */
.comment-respond { margin-top: 30px; }
.comment-reply-title { font-family: var(--nm-font-heading); font-size: 18px; margin: 0 0 15px; }
.comment-form p { margin-bottom: 15px; }
.comment-form label { display: block; font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.comment-form input[type='text'], .comment-form input[type='email'], .comment-form input[type='url'], .comment-form textarea {
  width: 100%;
  border: 1px solid var(--nm-border);
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 14px;
  background: var(--nm-bg);
  color: var(--nm-text);
}
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--nm-primary); }
.comment-form .submit, .comment-form input[type='submit'] { background: var(--nm-primary); color: #fff; border: 0; padding: 12px 28px; border-radius: 6px; font-family: var(--nm-font-heading); font-weight: 700; font-size: 14px; cursor: pointer; }
.comment-form .submit:hover, .comment-form input[type='submit']:hover { background: var(--nm-accent); }
.comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.comment-list .comment { border-bottom: 1px solid var(--nm-border); padding: 18px 0; }
.comment-list .children { list-style: none; margin: 0 0 0 30px; padding: 0; }
.comment-author { display: flex; align-items: center; gap: 10px; font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; }
.comment-author img { border-radius: 50%; }
.comment-metadata { font-size: 11px; color: var(--nm-muted); margin: 5px 0 10px; }
.comment-content { font-size: 14px; line-height: 1.6; }

/* Post navigation */
.post-navigation { margin: 30px 0; }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.post-navigation .nav-previous, .post-navigation .nav-next { background: var(--nm-surface); border-radius: 6px; padding: 14px; }
.post-navigation .nav-next { text-align: right; }
.post-navigation a { color: var(--nm-heading); font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; }
.post-navigation .meta-nav { display: block; font-size: 11px; color: var(--nm-accent); text-transform: uppercase; margin-bottom: 5px; }

/* ==========================================================================
   9. Sidebar & Widgets
   ========================================================================== */
.nomina-widget { margin-bottom: 30px; max-width: 100%; overflow-wrap: break-word; }
.nomina-widget a, .nomina-widget span, .nomina-widget p { overflow-wrap: anywhere; }
.nomina-widget .widget-title, .judul-sidebar-right, .judul-sidebar-left {
  font-family: var(--nm-font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--nm-heading);
  padding: 15px 0;
  margin: 0;
  text-transform: uppercase;
}
.nomina-widget .widget-title::after, .judul-sidebar-right::after, .judul-sidebar-left::after { content: ''; width: 75px; height: 3px; background: var(--nm-accent); display: block; margin-top: 6px; }
.nomina-widget ul li { padding: 10px 0; border-bottom: 1px solid var(--nm-border); font-family: var(--nm-font-heading); font-size: 13px; }
.nomina-widget ul li:last-child { border-bottom: 0; }
.nomina-widget ul li a { color: var(--nm-heading); font-weight: 700; }
.nomina-widget ul li a:hover { color: var(--nm-primary-text); }
.nomina-widget select { width: 100%; padding: 10px; border: 1px solid var(--nm-border); border-radius: 6px; background: var(--nm-bg); color: var(--nm-text); }
.nomina-widget .textwidget { font-size: 14px; line-height: 1.6; }
.nomina-widget .textwidget p { margin: 12px 0; }
.nomina-widget img { max-width: 100%; height: auto; }

.tagcloud a, .topik a { font-size: 14px !important; font-weight: 700; display: block; margin: 12px 0; font-family: var(--nm-font-heading); color: var(--nm-heading); }
.tagcloud a::before, .topik a::before { content: '# '; color: var(--nm-muted); }

/* Recent posts widget variants */
.nomina-recent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.nomina-recent-grid-item img { width: 100%; height: 110px; object-fit: cover; border-radius: 6px; margin-bottom: 8px; display: block; }
.nomina-recent-grid-title { display: block; font-family: var(--nm-font-heading); font-size: 12px; font-weight: 700; color: var(--nm-heading); line-height: 1.35; }
.nomina-recent-grid-title:hover { color: var(--nm-primary-text); }
.nomina-recent-grid-tanggal { display: block; font-size: 10px; color: var(--nm-muted); margin-top: 5px; }

.nomina-recent-modern-item { display: flex; align-items: center; gap: 12px; padding: 10px 8px; border-radius: 6px; margin-bottom: 6px; transition: box-shadow .2s ease, background .2s ease; }
.nomina-recent-modern-item:hover { background: var(--nm-surface); box-shadow: 0 2px 10px rgba(0, 0, 0, .08); }
.nomina-recent-modern-text { flex: 1 1 auto; min-width: 0; display: block; overflow: hidden; }
.nomina-recent-modern-kategori { display: inline-block; box-sizing: border-box; max-width: 100%; background: var(--nm-accent); color: #fff; font-family: var(--nm-font-heading); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 8px; border-radius: 20px; margin-bottom: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; vertical-align: top; }
.nomina-recent-modern-title { display: block; font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; color: var(--nm-heading); line-height: 1.35; }
.nomina-recent-modern-title:hover { color: var(--nm-primary-text); }
.nomina-recent-modern-tanggal { display: block; font-size: 10px; color: var(--nm-muted); margin-top: 5px; }
.nomina-recent-modern-img { flex-shrink: 0; width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }

.nomina-recent-overlay-item { display: block; position: relative; border-radius: 6px; overflow: hidden; margin-bottom: 12px; }
.nomina-recent-overlay-item img { width: 100%; height: 170px; object-fit: cover; display: block; transition: transform .4s ease; }
.nomina-recent-overlay-item:hover img { transform: scale(1.08); }
.nomina-recent-overlay-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 12px 10px; background: linear-gradient(0deg, rgba(0, 0, 0, .85) 10%, rgba(0, 0, 0, 0) 100%); }
.nomina-recent-overlay-title { display: block; font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; color: #fff; line-height: 1.3; }
.nomina-recent-overlay-tanggal { display: block; font-size: 10px; color: #ddd; margin-top: 4px; }

.nomina-recent-numbered { counter-reset: nomina-recent-counter; padding: 0; margin: 0; list-style: none; }
.nomina-recent-numbered-item { counter-increment: nomina-recent-counter; position: relative; padding: 10px 0 10px 34px; border-bottom: 1px dotted var(--nm-border); }
.nomina-recent-numbered-item::before { content: counter(nomina-recent-counter); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; line-height: 24px; text-align: center; background: var(--nm-primary); color: #fff; font-family: var(--nm-font-heading); font-size: 12px; font-weight: 700; border-radius: 50%; }
.nomina-recent-numbered-item a { display: block; font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; color: var(--nm-heading); line-height: 1.4; }
.nomina-recent-numbered-item a:hover { color: var(--nm-primary-text); }
.nomina-recent-numbered-tanggal { display: block; font-size: 11px; color: var(--nm-muted); margin-top: 4px; }

.nomina-recent-bulat-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--nm-border); }
.nomina-recent-bulat-img { flex-shrink: 0; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--nm-surface); }
.nomina-recent-bulat-text { flex: 1 1 auto; min-width: 0; }
.nomina-recent-bulat-title { display: block; font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; color: var(--nm-heading); line-height: 1.35; }
.nomina-recent-bulat-title:hover { color: var(--nm-primary-text); }
.nomina-recent-bulat-author { display: block; font-family: var(--nm-font-heading); font-size: 11px; font-style: italic; color: var(--nm-primary-text); margin-top: 4px; }
.nomina-recent-bulat-tanggal { display: block; font-size: 10px; color: var(--nm-muted); margin-top: 3px; }

.nomina-recent-horizontal { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--nm-border); }
.nomina-recent-horizontal-img { flex-shrink: 0; width: 70px; height: 70px; object-fit: cover; border-radius: 6px; }
.nomina-recent-horizontal-text { flex: 1 1 auto; min-width: 0; }
.nomina-recent-horizontal-text a { display: block; font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; color: var(--nm-heading); line-height: 1.4; }
.nomina-recent-horizontal-text a:hover { color: var(--nm-primary-text); }
.nomina-recent-horizontal-text .waktu { font-size: 11px; color: var(--nm-muted); margin-top: 4px; display: block; }

.nomina-recent-kompak-item { padding: 8px 0; border-bottom: 1px solid var(--nm-border); }
.nomina-recent-kompak-item::before { content: '\203A '; color: var(--nm-accent); font-weight: 700; }
.nomina-recent-kompak-item a { font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; color: var(--nm-heading); line-height: 1.4; }
.nomina-recent-kompak-item a:hover { color: var(--nm-primary-text); }

/* Trending widget */
.nomina-trending-item { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--nm-border); }
.nomina-trending-item:last-child { border-bottom: 0; }
.nomina-trending-rank { flex-shrink: 0; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background: var(--nm-primary); color: #fff; border-radius: 50%; font-family: var(--nm-font-heading); font-weight: 700; font-size: 14px; }
.nomina-trending-item:nth-child(1) .nomina-trending-rank { background: var(--nm-accent); }
.nomina-trending-text { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.nomina-trending-text a { font-family: var(--nm-font-heading); font-size: 13px; font-weight: 700; color: var(--nm-heading); line-height: 1.4; display: block; }
.nomina-trending-text a:hover { color: var(--nm-primary-text); }
.nomina-trending-meta { font-size: 10px; color: var(--nm-muted); margin-top: 4px; display: block; }

/* Shopee affiliate widget */
.nomina-shop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.nomina-shop-card { border: 1px solid var(--nm-border); border-radius: 6px; overflow: hidden; background: var(--nm-bg); position: relative; display: flex; flex-direction: column; }
.nomina-shop-card .nomina-shop-badge { position: absolute; top: 6px; left: 6px; background: var(--nm-accent); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; z-index: 2; }
.nomina-shop-card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.nomina-shop-body { padding: 8px; display: flex; flex-direction: column; flex: 1 1 auto; }
.nomina-shop-title { font-size: 11px; font-family: var(--nm-font-heading); font-weight: 700; color: var(--nm-heading); line-height: 1.35; margin: 0 0 6px; min-height: 30px; }
.nomina-shop-old { font-size: 10px; color: var(--nm-muted); text-decoration: line-through; display: block; }
.nomina-shop-price { font-size: 12px; font-weight: 700; color: var(--nm-accent); display: block; margin-bottom: 8px; }
.nomina-shop-btn { display: block; text-align: center; background: var(--nm-accent); color: #fff; font-family: var(--nm-font-heading); font-size: 10px; font-weight: 700; padding: 6px; border-radius: 4px; text-transform: uppercase; margin-top: auto; }
.nomina-shop-btn:hover { opacity: .88; text-decoration: none; color: #fff; }

/* Football score widget */
.nomina-score-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.nomina-score-league { font-size: 11px; color: var(--nm-muted); margin: 0 0 8px; font-family: var(--nm-font-heading); font-weight: 700; text-transform: uppercase; }
.nomina-score-tabs button { flex: 1 1 auto; padding: 6px 8px; border: 0; border-radius: 5px; background: var(--nm-surface); color: var(--nm-muted); font-family: var(--nm-font-heading); font-size: 11px; font-weight: 700; }
.nomina-score-tabs button.active { background: var(--nm-bg); color: var(--nm-heading); box-shadow: 0 1px 4px rgba(0, 0, 0, .12); }
.nomina-score-panel { display: none; }
.nomina-score-panel.active { display: block; }
.nomina-score-match { border: 1px solid var(--nm-border); border-radius: 6px; padding: 10px; margin-bottom: 10px; }
.nomina-score-round { font-size: 10px; color: var(--nm-muted); text-transform: uppercase; margin-bottom: 8px; }
.nomina-score-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.nomina-score-team { display: flex; align-items: center; gap: 6px; flex: 1 1 0; min-width: 0; font-size: 12px; font-weight: 700; font-family: var(--nm-font-heading); }
.nomina-score-team.away { justify-content: flex-end; text-align: right; }
.nomina-score-team img { width: 20px; height: 20px; object-fit: contain; }
.nomina-score-team span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nomina-score-value { flex-shrink: 0; background: #008037; color: #fff; font-weight: 700; font-size: 13px; padding: 4px 10px; border-radius: 4px; }
.nomina-score-status { text-align: center; font-size: 10px; color: var(--nm-muted); margin-top: 8px; }
.nomina-score-live { display: inline-block; background: var(--nm-accent); color: #fff; font-size: 9px; padding: 2px 6px; border-radius: 3px; margin-left: 4px; }

/* Weather widget */
.nomina-weather-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.nomina-weather-tabs button { flex: 1; padding: 6px; border: 0; border-radius: 5px; background: var(--nm-surface); color: var(--nm-muted); font-family: var(--nm-font-heading); font-size: 11px; font-weight: 700; }
.nomina-weather-tabs button.active { background: var(--nm-primary); color: #fff; }
.nomina-weather-list { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
.nomina-weather-list::-webkit-scrollbar { display: none; }
.nomina-weather-card { flex: 0 0 118px; background: var(--nm-bg); border: 1px solid var(--nm-border); border-radius: 10px; text-align: center; font-size: 12px; padding: 10px 6px; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.nomina-weather-card img { width: 40px; height: 40px; display: block; margin: 0 auto 4px; }
.nomina-weather-card .jam { font-weight: 700; font-family: var(--nm-font-heading); }
.nomina-weather-card .suhu { font-size: 15px; font-weight: 700; color: var(--nm-primary-text); margin: 3px 0; }
.nomina-weather-card .ket { font-size: 10px; color: var(--nm-muted); }
.nomina-weather-card .angin { font-size: 10px; color: var(--nm-muted); margin-top: 3px; }

/* Generic info widget (gold, fuel, AQI, quake) */
.nomina-info-list { display: flex; flex-direction: column; gap: 8px; }
.nomina-info-row { display: flex; justify-content: space-between; gap: 10px; padding: 10px 12px; background: var(--nm-surface); border-radius: 6px; font-size: 13px; }
.nomina-info-row .label { color: var(--nm-text); }
.nomina-info-row .value { font-weight: 700; color: var(--nm-primary-text); font-family: var(--nm-font-heading); white-space: nowrap; }
.nomina-info-note { font-size: 11px; color: var(--nm-muted); margin-top: 10px; line-height: 1.5; }
.nomina-quake-mag { font-size: 30px; font-weight: 700; color: var(--nm-accent); font-family: var(--nm-font-heading); line-height: 1; }
.nomina-quake-mag small { font-size: 12px; color: var(--nm-muted); display: block; font-weight: 400; }

/* ==========================================================================
   10. Footer
   ========================================================================== */
.site-footer { background: var(--nm-primary); padding: 20px 5px; width: 100%; margin: 20px auto 0 auto; text-align: center; border-top: solid 2px var(--nm-accent); }
.site-footer .alamat { font-family: var(--nm-font-heading); line-height: 1.6; text-align: center; margin: 0 auto 15px auto; width: 100%; max-width: 420px; color: #fff; font-size: 12px; }
.site-footer .alamat img { max-width: 220px; height: auto; margin: 0 auto 10px; display: block; }
.site-footer .alamat a { color: #fff; text-decoration: underline; }
.media-social-footer { display: flex; justify-content: center; gap: 10px; padding: 0 0 15px 0; }
.media-social-footer a { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(255, 255, 255, .15); transition: background .2s ease, transform .2s ease; }
.media-social-footer a:hover { background: var(--nm-accent); transform: translateY(-2px); }
.media-social-footer img { width: 17px; height: 17px; }
.footer-widgets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 25px; max-width: var(--nm-container); margin: 20px auto; text-align: left; }
.footer-widgets .nomina-widget .widget-title { color: #fff; }
.footer-widgets .nomina-widget ul li { border-bottom-color: rgba(255, 255, 255, .2); }
.footer-widgets .nomina-widget ul li a, .footer-widgets .nomina-widget .textwidget { color: #fff; }
.footer-widgets .nomina-widget ul li a:hover { color: #fff; text-decoration: underline; }
.footer-widgets .tagcloud a, .footer-widgets .topik a { color: #fff; }
.menu-network-wrap { border-bottom: 1px solid rgba(255, 255, 255, .4); border-top: 1px solid rgba(255, 255, 255, .4); padding: 10px; width: 100%; max-width: var(--nm-container); margin: 0 auto; }
.menu-network-wrap ul.menu-network { display: flex; flex-wrap: wrap; justify-content: center; }
.menu-network-wrap ul.menu-network li { display: inline-block; }
.menu-network-wrap a { color: #fff; text-decoration: none; display: inline-block; padding: 5px 8px; font-family: var(--nm-font-heading); font-size: 12px; }
.menu-network-wrap a:hover { text-decoration: underline; }
.menu-bawah { padding: 10px; display: flex; flex-wrap: wrap; justify-content: center; }
.menu-bawah li { display: inline-block; text-align: center; }
.menu-bawah li a { display: block; color: #fff; text-transform: uppercase; font-family: var(--nm-font-heading); padding: 12px 5px; font-weight: 700; font-size: 12px; }
.menu-bawah li a:hover { text-decoration: underline; }
.menu-bawah li a::after { content: ' / '; display: inline-block; margin-left: 12px; }
.menu-bawah li:last-child a::after { content: ''; }
.footer-copyright { color: #fff; text-align: center; padding: 10px; font-family: var(--nm-font-heading); font-size: 11px; text-transform: uppercase; line-height: 1.7; }
.footer-copyright a { color: #fff; text-decoration: underline; }

/* Scroll to top */
.scrollTop { position: fixed; right: 3%; bottom: 15px; background-color: var(--nm-accent); padding: 8px 13px; opacity: .75; transition: all .4s ease-in-out 0s; border-radius: 100%; z-index: 30; border: 0; }
.scrollTop:hover { opacity: 1; }
.scrollTop .arrow { border: solid #fff; border-width: 0 3px 3px 0; display: inline-block; padding: 3px; }
.scrollTop .up { transform: rotate(-135deg); -webkit-transform: rotate(-135deg); }

/* Floating video (sticky youtube) */
.nomina-video-container { position: relative; overflow: hidden; width: 100%; padding-top: 56.25%; margin-bottom: 20px; }
.nomina-video-container iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
#nominaFloatingVideo { position: fixed; right: 15px; bottom: 15px; width: 320px; max-width: calc(100vw - 30px); z-index: 45; box-shadow: 0 4px 20px rgba(0, 0, 0, .35); border-radius: 6px; background: #000; }
#nominaFloatingVideoFrameWrap { position: relative; width: 100%; padding-top: 56.25%; overflow: hidden; border-radius: 6px; }
#nominaFloatingVideoFrameWrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; display: block; }
#nominaFloatingVideoClose { position: absolute; top: -14px; right: -14px; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #fff; background: #000; color: #fff; font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center; z-index: 2; }
#nominaFloatingVideoClose:hover { background: var(--nm-accent); }

/* ==========================================================================
   11. Dark mode toggle + misc
   ========================================================================== */
.nomina-theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--nm-border); background: var(--nm-bg); color: var(--nm-heading); font-size: 15px; line-height: 1; cursor: pointer; flex-shrink: 0; }
.nomina-theme-toggle:hover { background: var(--nm-primary); color: #fff; border-color: var(--nm-primary); }

.error-404 { text-align: center; padding: 60px 20px; }
.error-404 .error-code { font-family: var(--nm-font-heading); font-size: 90px; font-weight: 700; color: var(--nm-accent); line-height: 1; margin: 0; }
.error-404 .error-title { font-family: var(--nm-font-heading); font-size: 24px; margin: 15px 0; }
.error-404 p { color: var(--nm-muted); max-width: 520px; margin: 0 auto 20px; }

.no-results { padding: 30px 0; }
.no-results .page-title { margin-bottom: 10px; }
.no-comments { font-family: var(--nm-font-heading); font-size: 13px; color: var(--nm-muted); margin: 15px 0; }
.not-found { text-align: left; }
.not-found .error-code { text-align: center; }
.not-found .error-title { text-align: center; }
.not-found > p { text-align: center; }
.not-found .search-form { justify-content: center; margin: 0 auto 30px; }
.nomina-thumb-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 90px; background: var(--nm-surface); color: var(--nm-muted); }
.nm-cat-card-img.nomina-thumb-placeholder { height: 150px; }
.nm-latest-img.nomina-thumb-placeholder { height: 140px; }
.newsfeed-image.nomina-thumb-placeholder { width: 270px; height: 150px; }
.nomina-indeks-img.nomina-thumb-placeholder { width: 200px; height: 135px; }

/* Reading progress */
.nomina-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--nm-accent); width: 0; z-index: 200; transition: width .1s linear; }

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media only screen and (max-width: 1440px) {
  #sidebar-banner-160x600-kanan, #sidebar-banner-160x600-kiri { display: none; }
}

@media only screen and (max-width: 1100px) {
  #content-wrap,
  #single-content-wrap {
    padding-left: 15px;
    padding-right: 15px;
  }
}

@media only screen and (max-width: 900px) {
  #content-wrap,
  #single-content-wrap {
    flex-direction: column;
    gap: 25px;
  }
  #content-right-wrap,
  #content-left-wrap,
  #single-content {
    max-width: 100%;
    flex: 1 1 100%;
    width: 100%;
  }
  #sidebar-right,
  #sidebar-left {
    position: static;
    width: 100%;
    max-width: 100%;
  }
  .layout-left-sidebar #content-wrap,
  .layout-left-sidebar #single-content-wrap {
    flex-direction: column;
  }
}

@media only screen and (max-width: 768px) {
  #content-wrap,
  #single-content-wrap {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 20px;
  }
  .media-social-header, .header-right form.search-form { display: none; }
  .hamburger-button { display: block; }
  .header-shrink { padding: 0 10px; }
  .site-branding { padding: 8px 0; }
  .site-branding img { max-width: 240px; }

  /* Horizontal scrolling category bar on small screens. */
  .fluid-nav { overflow: hidden; max-width: 100%; }
  .menu-utama { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; padding: 0 5px; max-width: 100%; display: block; }
  .menu-utama::-webkit-scrollbar { display: none; }
  .menu-utama > li > a { padding: 10px 6px 8px; font-size: 11px; }
  .menu-utama > li.menu-item-has-children > a::after { right: 3px; }
  .menu-utama > li > ul.sub-menu { display: none !important; }
  .nm-category-grid { grid-template-columns: repeat(2, 1fr); }
  .nm-latest-grid { grid-template-columns: repeat(2, 1fr); }
  #category-content-wrap { grid-template-columns: 1fr; }
  .nomina-slider .slide-caption h2 a { font-size: 18px; }
  .nomina-slider .slide-caption { padding: 40px 15px 15px; }
  .judul-headline { display: none; }
  .nomina-slider .slide-caption .tanggal { display: none; }
  .slider-nav { display: none; }
  .slider-dots { display: none; }
  .headline-thumbs { grid-template-columns: repeat(2, 1fr); gap: 2px; }
  .headline-thumb-title { font-size: 11.5px; padding: 8px 6px; min-height: 54px; }
  #berita-pilihan .nomina-carousel { grid-auto-columns: 78%; }
  #berita-rekomendasi .nomina-carousel { grid-auto-columns: 78%; }
  .news-feed-judul-block { font-size: 19px; margin: 24px 0 18px; }
  .news-feed-judul-block span::after { width: 75px; height: 3px; }
  .news-feed-list { gap: 14px; }
  .news-feed-thumb { flex: 0 0 140px; width: 140px; border-radius: 10px; }
  .news-feed-thumb img, .news-feed-thumb .newsfeed-image { border-radius: 10px; }
  .news-feed-link { gap: 14px; }
  .news-feed-link figure { flex: 0 0 140px; width: 140px; border-radius: 10px; }
  .news-feed-link figure img, .news-feed-link figure .newsfeed-image { border-radius: 10px; }
  .news-feed-text-block .kategori { font-size: 11px; margin-bottom: 4px; }
  .news-feed-text-block h2, .news-feed-text-block .news-feed-judul { font-size: 15px; margin-bottom: 6px; }
  .news-feed-text-block .tanggal { font-size: 11px; }
  .news-feed-text-block .excerpt { display: none; }
  #single-content h1 { font-size: 22px; }
  #single-article-text { font-size: 15px; }
  .single-media-social { display: none; }
  .media-sosial-mobile { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 15px; }
  .media-sosial-mobile a { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 8px; border-radius: 50px; background: var(--nm-primary); color: #fff; font-size: 11px; font-weight: 700; }
  .media-sosial-mobile a:hover { background: var(--nm-accent); text-decoration: none; }
  .media-sosial-mobile a img { width: 15px; height: 15px; }
  .media-sosial-mobile .copied { font-size: 11px; color: var(--nm-accent); font-weight: 700; margin: 0; opacity: 0; }
  .media-sosial-mobile .copied.is-visible { opacity: 1; }
  .nomina-donasi-box { flex-direction: column; align-items: flex-start; }
  .menu-bawah { flex-direction: column; }
  .menu-bawah li a::after { content: ''; }
  .footer-widgets { grid-template-columns: 1fr; }
  .nomina-shop-grid { grid-template-columns: repeat(2, 1fr); }
  .post-navigation .nav-links { grid-template-columns: 1fr; }
  .post-navigation .nav-next { text-align: left; }
  #nominaFloatingVideo { width: 220px; right: 10px; bottom: 70px; }
  .nm-cat-card img { height: 130px; }
  .page-numbers { min-width: 36px; height: 36px; padding: 0 12px; font-size: 13px; }
}

@media only screen and (max-width: 480px) {
  #content-wrap,
  #single-content-wrap {
    padding-left: 10px;
    padding-right: 10px;
  }
  #single-content h1 {
    font-size: 20px;
    line-height: 1.3;
  }
  .nm-category-grid { grid-template-columns: 1fr; }
  .nm-latest-grid { grid-template-columns: 1fr; }
  .nomina-recent-grid { grid-template-columns: 1fr; }
  .headline-thumbs { grid-template-columns: repeat(2, 1fr); }
  .headline-thumb-title { font-size: 11px; padding: 6px 4px; min-height: 50px; line-height: 1.3; }
  .news-feed-thumb { flex: 0 0 115px; width: 115px; border-radius: 8px; }
  .news-feed-thumb img, .news-feed-thumb .newsfeed-image { border-radius: 8px; }
  .news-feed-link figure { flex: 0 0 115px; width: 115px; border-radius: 8px; }
  .news-feed-link figure img, .news-feed-link figure .newsfeed-image { border-radius: 8px; }
  .news-feed-text-block h2, .news-feed-text-block .news-feed-judul { font-size: 14px; }
  #berita-pilihan .nomina-carousel, #berita-rekomendasi .nomina-carousel { grid-auto-columns: 88%; }
}

@media print {
  .site-header, .site-footer, #content-right-wrap, .scrollTop, .marquee-baru, .nomina-progress { display: none !important; }
  body { font-size: 12pt; color: #000; background: #fff; }
  #single-content-wrap { max-width: 100%; }
}
