/*!
 * INGDEV - Front-end design layer
 * ---------------------------------------------------------------
 * A modern editorial skin applied on top of the recoloured legacy
 * layout (styles/ingdev/template.css). It introduces the INGDEV
 * design tokens (colour, type, radius, elevation) and reshapes the
 * masthead, navigation, story cards, article and footer without
 * changing the underlying markup contract, so every kernel feature
 * (routing, widgets, ads injection, template parts) keeps working.
 * ---------------------------------------------------------------
 */

:root {
    --ing-ink:          #0b1220;
    --ing-primary:      #ffffff;
    --ing-primary-soft: #1c2b45;
    --ing-accent:       #054935;
    --ing-accent-dark:  #054935;
    --ing-accent-soft:  #eef4ff;
    --ing-surface:      #ffffff;
    --ing-surface-2:    #ffffff;
    --ing-line:         #e5e8f0;
    --ing-muted:        #64748b;
    --ing-radius:       10px;
    --ing-radius-sm:    7px;
    --ing-shadow:       0 1px 2px rgba(14, 14, 15, 0.06), 0 12px 28px -18px rgba(15, 23, 42, .35);
    --ing-shadow-sm:    0 1px 2px rgba(14, 14, 15, 0.06);
    --ing-font:         'Plus Jakarta Sans', 'Segoe UI', system-ui, -apple-system, 'Helvetica Neue', Arial, sans-serif;
}

/* ----------------------------------------------------------------
 * Base typography & surfaces
 * ---------------------------------------------------------------- */
body {
    font-family: var(--ing-font);
    color: #263045;
    background-color: var(--ing-surface-2);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: var(--ing-accent); }
a:hover, a:focus { color: var(--ing-accent-dark); }

::selection { background: var(--ing-accent); color: #fff; }

body > section.container,
body > div.container { background: transparent; }

/* ----------------------------------------------------------------
 * Masthead (logo bar + search + social)
 * ---------------------------------------------------------------- */
.navbar-logo {
    background: var(--ing-surface);
    border-bottom: 1px solid var(--ing-line);
}

.navbar-header .navbar-brand img,
.navbar-menu .navbar-header .navbar-brand img { max-width: 250px; }

body > header .navbar-logo .search-form input {
    border: 1px solid var(--ing-line);
    border-radius: var(--ing-radius-sm) 0 0 var(--ing-radius-sm);
    background: var(--ing-surface-2);
}
body > header .navbar-logo .search-form input:focus {
    background: #fff;
    border-color: var(--ing-accent);
    box-shadow: 0 0 0 3px var(--ing-accent-soft);
}
body > header .navbar-logo .search-form .btn {
    background-color: var(--ing-accent);
    border-radius: 0 var(--ing-radius-sm) var(--ing-radius-sm) 0;
    margin-left: 0;
}
body > header .navbar-logo .search-form .btn:hover { background-color: var(--ing-accent-dark); }

.navbar-logo .socials ul li a { color: var(--ing-primary); }

/* ----------------------------------------------------------------
 * Primary navigation
 * ---------------------------------------------------------------- */
.navbar-ingdev {
    background-color: var(--ing-primary);
    box-shadow: var(--ing-shadow-sm);
}
.navbar-ingdev .navbar-nav li a {
    color: #054935;
    font-family: var(--ing-font);
    letter-spacing: 0;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: 700;
}
.navbar-ingdev .navbar-nav li a:hover,
.navbar-ingdev .navbar-nav li a:focus { color: #334050; background-color: rgba(255, 255, 255, .06); }
.navbar-ingdev .navbar-nav li.current-nav-item > a,
.navbar-ingdev .navbar-nav li.current-menu-parent > a,
.navbar-ingdev .navbar-nav li.current-nav-item > a:hover,
.navbar-ingdev .navbar-nav li.current-nav-item > a:focus,
.navbar-ingdev .navbar-nav li.current-menu-parent > a:hover,
.navbar-ingdev .navbar-nav li.current-menu-parent > a:focus {
    color: var(--ing-accent);
    background-color: var(--ing-accent-soft);
    box-shadow: inset 0 -3px 0 var(--ing-accent);
}
.navbar-ingdev .navbar-nav .dropdown-menu {
    background-color: var(--ing-surface);
    border: 1px solid var(--ing-line);
    border-radius: 0 0 var(--ing-radius-sm) var(--ing-radius-sm);
    box-shadow: var(--ing-shadow);
}
.navbar-ingdev .navbar-nav .dropdown-menu > li > a { color: #3b4560; font-weight: 600; }
.navbar-ingdev .navbar-nav .dropdown-menu > li > a:hover {
    background-color: var(--ing-accent-soft);
    color: var(--ing-accent-dark);
}
.navbar-ingdev .nav-others .nav-search a { color: #e9eefb; }
.navbar-menu .search .container { border-radius: var(--ing-radius); box-shadow: var(--ing-shadow); }

/* Category colour chips keep their inline colour, only soften the shape */
.navbar-ingdev .navbar-nav li a.addon {
    border-radius: var(--ing-radius-sm);
    padding-left: 12px !important;
    padding-right: 12px !important;
    margin: 6px 4px;
    line-height: 38px !important;
}

/* ----------------------------------------------------------------
 * Breaking news ticker
 * ---------------------------------------------------------------- */
.running .bn-ingdev {
    background-color: var(--ing-surface);
    border: 1px solid var(--ing-line);
    border-radius: var(--ing-radius);
    box-shadow: var(--ing-shadow-sm);
    overflow: hidden;
}
.running .bn-ingdev > .bn-title > h4 {
    background-color: var(--ing-accent);
    font-family: var(--ing-font);
    border-radius: 0 var(--ing-radius-sm) var(--ing-radius-sm) 0;
}
.running .bn-ingdev li a { color: var(--ing-primary); font-family: var(--ing-font); }
.running .bn-ingdev li a span { color: var(--ing-accent); }
.running .bn-ingdev li a:hover, .running .bn-ingdev li a:focus { color: var(--ing-accent-dark); }

/* ----------------------------------------------------------------
 * Buttons
 * ---------------------------------------------------------------- */
.btn-ingdev {
    border-radius: var(--ing-radius-sm);
    font-family: var(--ing-font);
    transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-ingdev.btn-default { border-color: var(--ing-line); }
.view-more .btn { border-radius: var(--ing-radius-sm); background-color: var(--ing-accent); }
.view-more .btn:hover { background-color: var(--ing-accent-dark); }
.indexs .filter .btn { border-radius: var(--ing-radius-sm); }
.indexs .filter { background: var(--ing-surface); border-color: var(--ing-line); border-radius: var(--ing-radius); }

/* ----------------------------------------------------------------
 * Section headings
 * ---------------------------------------------------------------- */
.subhead { border-bottom: 2px solid var(--ing-line); }
.subhead h1, .subhead h2 { font-weight: 800; letter-spacing: -.02em; color: var(--ing-primary); }
.indexs .subhead h1 { border-color: var(--ing-line); font-weight: 800; }

/* ----------------------------------------------------------------
 * Story cards / widgets
 * ---------------------------------------------------------------- */
.widget { margin-bottom: 32px; }
.widget .widget-title h4 { font-weight: 800; letter-spacing: -.01em; color: var(--ing-primary); }
.widget img { border-radius: var(--ing-radius); }
.widget h5 { color: var(--ing-ink); }
.widget h5 a:hover, .widget h5 a:focus { color: var(--ing-accent); }
.widget .list-thumb {
    border-bottom: 1px solid var(--ing-line);
    padding-bottom: 12px;
}
.widget .list-thumb:hover:not(.list-photo):not(.list-video) img { opacity: 1; }
.widget .list-thumb img { transition: transform .25s ease, box-shadow .25s ease; }
.widget .list-thumb:hover img { transform: translateY(-1px); box-shadow: var(--ing-shadow); }

.widget-latest article { border-bottom: 1px solid var(--ing-line); }
.widget-latest a:hover h5 { color: var(--ing-accent); }
.widget-latest .promote { border-bottom: 1px solid var(--ing-line); }

.topic-posts ul li.numbered:before { color: var(--ing-accent); }
.widget-tags .widget-title h4 { background: var(--ing-accent); border-radius: var(--ing-radius-sm); }
.widget-tags ul li:before { color: var(--ing-accent); }
.widget_nav_menu ul li a:hover { color: var(--ing-accent); }

.popular-posts ul li:first-child { background-color: var(--ing-surface-2); border-radius: var(--ing-radius); }

/* ----------------------------------------------------------------
 * Trending Top (classic blue ".popular-posts" card — see
 * theme/<theme>/parts/trending.php and the production popular-posts skin)
 * ---------------------------------------------------------------- */
.widget.trending {
    background-color: #054935;
    border-radius: 8px;
    padding: 15px;
}
.widget.trending .widget-title { position: relative; }
.widget.trending .widget-title h4 {
    display: block;
    margin-bottom: 0;
    color: #fff;
    font-size: 22px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: -.5px;
    text-transform: none;
}
.widget.trending .widget-title h4 a {
    display: inline-block;
    color: #fff;
    margin: 0;
}
.widget.trending .widget-title h4 a:hover { color: rgba(255, 255, 255, .8); }
.widget.trending .widget-title h4 svg { display: none; }
/* short red accent bar under the title */
.widget.trending .widget-title h4:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: 5px 0;
    background-color: #054935;
}
/* pulsing white dot at the top-right of the title */
.widget.trending .widget-title:after {
    position: absolute;
    right: -3px;
    top: 3px;
    content: "";
    display: inline-block;
    width: 22px;
    height: 22px;
    background-color: #fff;
    border-radius: 50%;
    overflow: hidden;
    animation: 1s ease-in-out .1s infinite normal none running aniscaleout;
}
.widget.trending .widget-content { padding-top: 5px; }

.widget.trending ul.list-unstyled { counter-reset: step-trending; }

/* Override the legacy .popular-posts image-list counters, borders and
   first-child highlight so the blue numbered layout renders cleanly. */
.widget.trending ul li.numbered,
.widget.trending ul li.numbered:first-child {
    position: relative;
    counter-increment: step-trending;
    margin: 0 !important;
    min-height: 60px;
    padding: 5px 0 10px 30px;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
    border-radius: 0;
    background: transparent;
}
.widget.trending ul li.numbered:last-child { border-bottom: 0; }
.widget.trending ul li.numbered:before { content: none; }

/* red rank dot (number is intentionally the same colour as the dot) */
.widget.trending ul li.numbered:after {
    position: absolute;
    top: 8px;
    left: 0;
    content: counter(step-trending);
    display: inline-block;
    width: 12px;
    height: 12px;
    line-height: 24px;
    text-align: center;
    color: #ffffff;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -1px;
    background-color: #ffffff;
    border: 2px solid #ffffff;
    border-radius: 50%;
    overflow: hidden;
}

.widget.trending ul li.numbered h5 {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    max-height: none;
    margin: 0;
    color: #fff;
}
.widget.trending ul li.numbered h5 a { color: #fff; }
.widget.trending ul li.numbered:hover h5,
.widget.trending ul li.numbered h5 a:hover { color: rgba(255, 255, 255, .8); }
.widget.trending ul li.numbered h5 span { color: rgba(255, 255, 255, .7); font-weight: 500; }

@keyframes aniscaleout {
    0% { transform: scale(.6); opacity: .5; }
    50% { transform: scale(1.1); opacity: 1; }
    100% { transform: scale(.6); opacity: .5; }
}

/* ----------------------------------------------------------------
 * Sidebar news card  — the list boxes built by create_box()
 * ("Berita Populer", the Aceh/Kota rubrics, …).  Same blue card skin
 * as Trending Top: a white title over a short red bar, a red bullet
 * on every story and a hairline separator between stories.
 * Scoped to .widget-posts so Trending Top (.trending) keeps its own.
 * ---------------------------------------------------------------- */
.widget.widget-posts {
    background-color: #054935;
    border-radius: 8px;
    padding: 15px;
}
.widget.widget-posts .widget-title h4 { margin-bottom: 0; color: #fff; }
.widget.widget-posts .widget-title h4 a { color: #fff; }
.widget.widget-posts .widget-title h4 a:hover { color: rgba(255, 255, 255, .8); }
.widget.widget-posts .widget-title h4 span { color: #fff; }
/* short red accent bar under the title */
.widget.widget-posts .widget-title h4:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: 5px 0;
    background-color: #054935;
}
.widget.widget-posts .widget-content,
.widget.widget-posts .card-content { padding-top: 5px; }

/* text stories: red bullet on the left + white hairline separator.
   The :not() chain matches the legacy .widget rule in template.css and
   outranks it, so the grey hairline is replaced, not stacked. */
.widget.widget-posts ul.list-unstyled > li:not(.list-thumb):not(.slick-slide):not(.page-item) {
    position: relative;
    margin: 0;
    padding: 9px 0 9px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.widget.widget-posts ul.list-unstyled > li:not(.list-thumb):not(.slick-slide):not(.page-item):last-child {
    border-bottom: 0;
}
.widget.widget-posts ul.list-unstyled > li:not(.list-thumb):not(.slick-slide):not(.page-item):before {
    position: absolute;
    left: 2px;
    top: 14px;
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: #d82523;
    border-radius: 50%;
}
.widget.widget-posts ul.list-unstyled > li:not(.list-thumb):not(.slick-slide):not(.page-item) h5 {
    margin: 0;
    color: #fff;
    font-weight: 600;
}
.widget.widget-posts ul.list-unstyled > li:not(.list-thumb):not(.slick-slide):not(.page-item) h5 a { color: #fff; }
.widget.widget-posts ul.list-unstyled > li:not(.list-thumb):not(.slick-slide):not(.page-item) h5 a:hover,
.widget.widget-posts ul.list-unstyled > li:not(.list-thumb):not(.slick-slide):not(.page-item):hover h5 {
    color: rgba(255, 255, 255, .8);
}
.widget.widget-posts ul.list-unstyled > li:not(.list-thumb):not(.slick-slide):not(.page-item) h5 span {
    color: rgba(255, 255, 255, .7);
}

/* thumbnail stories (rubric boxes): keep the picture, put the red bullet
   next to the headline instead of the thumbnail, hairline between rows */
.widget.widget-posts ul.list-unstyled > li.list-thumb {
    margin: 0;
    padding: 9px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .3);
}
.widget.widget-posts ul.list-unstyled > li.list-thumb:last-child { border-bottom: 0; }
.widget.widget-posts ul.list-unstyled > li.list-thumb h5 { color: #fff; }
.widget.widget-posts ul.list-unstyled > li.list-thumb h5 a { color: #fff; }
.widget.widget-posts ul.list-unstyled > li.list-thumb h5 a:hover { color: rgba(255, 255, 255, .8); }
.widget.widget-posts ul.list-unstyled > li.list-thumb .col-8 h5 { position: relative; padding-left: 18px; }
.widget.widget-posts ul.list-unstyled > li.list-thumb .col-8 h5:before {
    position: absolute;
    left: 0;
    top: 5px;
    content: "";
    display: block;
    width: 10px;
    height: 10px;
    background-color: #d82523;
    border-radius: 50%;
}
.widget.widget-posts ul.list-unstyled > li.list-thumb img { border-radius: 8px; }
.widget.widget-posts .meta-post a,
.widget.widget-posts .meta-post span,
.widget.widget-posts .meta-post time { color: rgba(255, 255, 255, .65); }

/* ----------------------------------------------------------------
 * Headline hero  (synced slides + thumbnail strip)
 * ---------------------------------------------------------------- */
.headline.headline-sync {
    height: auto;
    background-color: var(--ing-surface);
    border-radius: var(--ing-radius);
    overflow: hidden;
    box-shadow: var(--ing-shadow);
}
.headline-sync a { width: auto; height: auto; }
.headline-sync img { width: 100%; height: auto; }

/* --- large slides --- */
.headline-sync .slides { border-bottom: 1px solid var(--ing-line); }
/* Slider solo (halaman kategori): strip thumbnail dibuang, jadi garis pemisah bawahnya ikut dihapus. */
.headline-sync.headline-solo .slides { border-bottom: 0; }
.headline-sync .slides .item {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background-color: #f2f2f2;
}
.headline-sync .slides .item > figure {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    display: block;
}
.headline-sync .slides .item > figure > a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
}
.headline-sync .slides .item > figure > a > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.headline-sync .slides .item > figure > a:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 5rem rgba(0, 0, 0, .45);
}
.headline-sync .slides .item > .wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 90px 20px 20px;
    color: var(--ing-ink);
    text-align: left;
    background-color: transparent;
    background-image: none;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 72%);
    text-shadow: 0 0 13px #fff;
}
.headline-sync .slides .item > .wrapper .slide-label {
    display: inline-block;
    margin-bottom: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #054935;
}
.headline-sync .slides .item > .wrapper a { display: block; width: auto; }
.headline-sync .slides .item > .wrapper a h3 {
    color: var(--ing-ink);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -.5px;
    margin-bottom: 0;
    max-width: 90%;
    border-left: 10px solid #054935;
    padding-left: 10px;
}
.headline-sync .slides .item > .wrapper a:hover h3 { color: #054935; text-decoration: none; }
.headline-sync .slides .item > .wrapper a h3 span {
    display: block;
    color: var(--ing-ink);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.headline-sync .slides .item > .wrapper p {
    color: #444c5e;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 12px;
    margin-bottom: 0;
    height: auto;
    overflow: visible;
}

/* --- thumbnail strip --- */
.headline-sync .slide-thumbs {
    padding: 15px;
    background-color: var(--ing-surface);
}
.headline-sync .slide-thumbs .item {
    height: auto;
    padding: 5px;
    background-color: var(--ing-surface);
    color: var(--ing-ink);
    cursor: pointer;
    overflow: hidden;
}
.headline-sync .slide-thumbs .item a { display: block; width: auto; height: auto; }
.headline-sync .slide-thumbs .item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
}
.headline-sync .slide-thumbs .item h3 {
    margin: 6px 0 0;
    height: 54px;
    padding: 0 2px;
    color: var(--ing-ink);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.headline-sync .slide-thumbs .current .item,
.headline-sync .slide-thumbs .item:hover { background-color: #054935; border-radius: 8px; }
.headline-sync .slide-thumbs .current .item h3,
.headline-sync .slide-thumbs .item:hover h3 { color: #fff; }
.headline-sync .slide-thumbs .current .item img { border-radius: 8px 8px 0 0; }

.headline-sync .owl-theme .owl-nav { display: none; }

@media only screen and (max-width: 767px) {
    .headline-sync .slides .item { height: 240px; }
    .headline-sync .slides .item > .wrapper { padding: 50px 15px 15px; }
    .headline-sync .slides .item > .wrapper a h3 {
        font-size: 19px;
        line-height: 1.2;
        border-left-width: 6px;
        padding-left: 8px;
        max-width: 100%;
    }
    .headline-sync .slides .item > .wrapper a h3 span { font-size: 13px; }
    .headline-sync .slides .item > .wrapper p { display: none; }
    .headline-sync .slide-thumbs { padding: 10px; }
    .headline-sync .slide-thumbs .item img { height: 80px; }
    .headline-sync .slide-thumbs .item h3 { font-size: 12px; height: 46px; }
}

/* ----------------------------------------------------------------
 * Article / reading page
 * ---------------------------------------------------------------- */
article .detail header h1 { color: var(--ing-ink); letter-spacing: -.02em; }
article .detail header h3 { color: var(--ing-accent); font-weight: 700; }
article .detail p, article .detail ul, article .detail ol { color: #444; }
article .detail .the-content a,
article .detail > .row > div a { color: var(--ing-accent); }
article .detail .the-content a:hover,
article .detail > .row > div a:hover { color: var(--ing-accent-dark); }
article .detail .meta-post .col-meta span.author a { color: var(--ing-ink); }
article .detail figure:not(.image) figcaption { border-bottom: 1px solid var(--ing-line); }
article .detail .page-news a:not(.small) { background-color: var(--ing-accent); }
article .related { background-color: var(--ing-surface-2); border-radius: var(--ing-radius); }
article .related h5 { color: var(--ing-ink); }
article .related a:hover h5 { color: var(--ing-accent); }
article .choices a:first-child { border-radius: var(--ing-radius); }
article .choices a:hover h5 { color: var(--ing-accent); }
article .detail.page .block hgroup { background: var(--ing-surface-2); }
article .detail.page.contact .form-control { border-radius: var(--ing-radius-sm); }

.meta-post a { color: var(--ing-muted); }
.meta-post a:hover { color: var(--ing-accent); }

/* The chip gets its blue background from the line above, but the legacy
   .label.label-ingdev rules in template.css paint the text — and the link
   inside it — the very same blue, so the label was invisible. Re-paint the
   text white and give the chip a little breathing room. */
.label.label-ingdev,
.label.label-ingdev:hover,
.label.label-ingdev:focus,
.label.label-ingdev > a,
.label.label-ingdev > a:hover,
.label.label-ingdev > a:focus {
    color: #054935;
    border-radius: 3px;
}

/* ----------------------------------------------------------------
 * Pagination
 * ---------------------------------------------------------------- */
.page-item .page-link { border-radius: var(--ing-radius-sm); color: var(--ing-accent); font-weight: 700; }
.page-item.active .page-link { background-color: var(--ing-accent); border-color: var(--ing-accent); }
.page-item .page-link:hover { background-color: var(--ing-accent-soft); color: var(--ing-accent-dark); }

/* ----------------------------------------------------------------
 * Links list, no-result, recommend
 * ---------------------------------------------------------------- */
.links { border-top: 2px solid var(--ing-line); }
.links ul li a { color: var(--ing-ink); }
.links ul li a:hover, .links ul li a:focus { color: var(--ing-accent); }
.recommend { border-radius: var(--ing-radius); box-shadow: var(--ing-shadow); }
.recommend .widget-title h4 { color: var(--ing-primary); }

/* ----------------------------------------------------------------
 * Footer
 * ---------------------------------------------------------------- */
footer {
    background-color: #f8f9fa;
    color: #054935;
    margin-top: 48px;
}
footer .container { padding-top: 36px; }
footer a { color: #c8d2e6; }
footer a:hover { color: #054935; }
footer ul.nav-menu li a { color: #343a40; }
footer ul.nav-menu li a:hover { color: #054935; }
footer ul.nav-menu li.current-nav-item a { color: #054935; box-shadow: inset 0 -2px 0 var(--ing-accent); }
footer p.copyright { border-top: 1px solid rgba(255, 255, 255, .12); color: #787878; }
footer p.copyright a { color: ##787878; }
footer .search-form input { border-radius: var(--ing-radius-sm) 0 0 var(--ing-radius-sm); }
footer .search-form .btn { border-radius: 0 var(--ing-radius-sm) var(--ing-radius-sm) 0; }

/* ----------------------------------------------------------------
 * Back to top
 * ---------------------------------------------------------------- */
#back-top { background-color: var(--ing-accent); }
#back-top:hover, #back-top:focus { background-color: var(--ing-accent-dark); }

/* ----------------------------------------------------------------
 * Mobile refinements
 * ---------------------------------------------------------------- */
@media only screen and (max-width: 991px) {
    .navbar-menu { background-color: var(--ing-primary); }
    .navbar-ingdev.menu-mobile .navbar-header { background-color: var(--ing-primary); }
    .navbar-ingdev .navbar-mobile .nav-link,
    .navbar-ingdev .navbar-mobile .nav-item a { color: #343a40; }
    .navbar-menu-md { background-color: var(--ing-primary); }
    .navbar-menu-md .nav-link { color: #dfe6f5; }
    .navbar-menu-md li.current-nav-item .nav-link { color: #fff; box-shadow: inset 0 -2px 0 var(--ing-accent); }
}

/* ----------------------------------------------------------------
 * Sidebar boxes: sembunyikan kotak daftar berita bawaan (create_box()
 * untuk "Berita Pilihan"/"Berita Terkini" dan kotak rubrik seperti
 * Aceh/Kota).  Khusus "Berita Populer" (order "hits") ditandai kelas
 * .show-posts sehingga tetap TAMPIL di semua halaman, bersama widget
 * "Trending Top" (.trending).
 *
 * Hapus/:not(.show-posts) untuk memunculkan kembali seluruh kotak —
 * kulit biru di atas tetap utuh tanpa perubahan lain.
 * ---------------------------------------------------------------- */
.widget.widget-posts:not(.show-posts) { display: none !important; }

/* ----------------------------------------------------------------
 * Promote-side — blok khusus KOLOM SIDEBAR: satu thumbnail besar
 * (judul di bawahnya) + maksimal 4 artikel dengan foto kecil & judul
 * di samping. Dipakai oleh parts/promote-side.php (mis. blok
 * "Opini Kolom" di beranda). Komponen .promote (model slider, dipakai
 * pada sisipan daftar Berita Terkini) TIDAK terpengaruh.
 * ---------------------------------------------------------------- */
.promote-side .widget-title { margin-bottom: 14px; }
.promote-side .ps-featured { margin-bottom: 16px; }
.promote-side .ps-featured a { display: block; color: inherit; }
.promote-side .ps-featured figure { margin: 0 0 10px; overflow: hidden; border-radius: var(--ing-radius); }
.promote-side .ps-featured figure img { display: block; width: 100%; height: auto; }
.promote-side .ps-featured time { display: block; margin-bottom: 5px; font-size: 11px; line-height: 1; letter-spacing: .04em; text-transform: uppercase; color: var(--ing-muted); }
.promote-side .ps-featured h5 { margin: 0; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ing-ink);; }
.promote-side .ps-featured h5 span { display: block; margin-bottom: 2px; font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--ing-accent); }
.promote-side .ps-list { margin: 0; padding: 0; }
.promote-side .ps-list > li { display: flex; align-items: center; padding: 10px 0; border-top: 1px solid var(--ing-line); }
.promote-side .ps-list > li:first-child { border-top: 0; padding-top: 0; }
.promote-side .ps-list > li > a { display: flex; align-items: flex-start; color: inherit; }
.promote-side .ps-list > li > a:hover h5 { color: var(--ing-accent); }
.promote-side .ps-list figure.thumb { flex: 0 0 96px; width: 96px; margin: 0 12px 0 0; overflow: hidden; border-radius: var(--ing-radius-sm); }
.promote-side .ps-list figure.thumb img { display: block; width: 100%; height: auto; }
.promote-side .ps-list h5 { margin: 0; font-size: 15px; line-height: 1.35; font-weight: 500; color: var(--ing-ink); }
.promote-side .ps-list h5 span { display: block; font-size: 11px; font-weight: 600; color: var(--ing-ink); text-transform: uppercase; }
@media (max-width: 575.98px) {
    .promote-side .ps-list figure.thumb { flex: 0 0 80px; width: 80px; }
}

/* ----------------------------------------------------------------
 * Widget: Opini (parts/opini.php) — judul bertautan + chevron.
 * Berita pertama besar (gambar di atas, judul di bawah), sisanya
 * judul saja. Menggantikan blok "Opini Kolom" (promote-side).
 * ---------------------------------------------------------------- */
.widget-opini .widget-title h4 {
    display: block;
    margin-bottom: 0;
    color: var(--ing-ink);
    font-size: 22px;
    line-height: 26px;
    font-weight: 700;
    letter-spacing: -.5px;
}
.widget-opini .widget-title h4 a { display: inline-block; color: inherit; margin: 0; }
.widget-opini .widget-title h4 a:hover { color: var(--ing-accent); }
.widget-opini .widget-title h4 svg { width: 18px; height: 18px; color: var(--ing-muted); vertical-align: -3px; }
/* bar aksen singkat di bawah judul (pola sama dengan widget lain) */
.widget-opini .widget-title h4:after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    margin: 5px 0;
    background-color: var(--ing-accent);
}
.widget-opini .list-large .col-12 > a { display: block; }
