/* ============================================================
   APABERITA THEME — News theme for Varient CMS (CI4 + Bootstrap 5)
   Visual language inspired by kompas.com:
   blue channel nav (#0161B8), white masthead with red wordmark,
   condensed uppercase section heads, numbered most-popular rail.
   Prefix: abr-
   ============================================================ */

@import url("../../../common/css/plugins.css");
@import url("../../../common/css/common.css");

:root {
    --abr-blue: #0161b8;
    --abr-blue-dark: #014e96;
    --abr-blue-deep: #0a3d74;
    --abr-navy: #0c2b4b;
    --abr-navy-darker: #081f38;
    --abr-red: #e4342e;
    --abr-ink: #212121;
    --abr-gray: #616a73;
    --abr-line: #e4e6eb;
    --abr-soft: #f5f6f8;

    --abr-condensed: "Roboto Condensed", "Arial Narrow", var(--vr-font-primary, Arial), sans-serif;
    --abr-sans: Roboto, var(--vr-font-primary, "Helvetica Neue"), Arial, sans-serif;

    --vr-theme-color: #0161b8;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body.abr-body {
    margin: 0;
    background: #fff;
    color: var(--abr-ink);
    font-family: var(--abr-sans);
    /* Samakan seluruh komponen common (komentar, FAQ, modal, breadcrumb, cell)
       dengan identitas font tema — timpa variabel admin Montserrat */
    --vr-font-primary: Roboto, Arial, sans-serif;
    --vr-font-secondary: "Roboto Condensed", "Arial Narrow", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.6;
}
body.abr-body button { color: inherit; }
body.abr-body img { display: block; max-width: 100%; }
.abr-shell {
    width: 100%;
    max-width: 1170px;
    margin-inline: auto;
    padding-inline: 16px;
}
.abr-body a { text-decoration: none; }
.abr-text-end { text-align: end; }

/* Stroke icons used in Apaberita chrome only */
.abr-search-button svg,
.abr-menu-button span { fill: none; }
.abr-search-button svg {
    stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Header: topbar ---------- */
.abr-topbar {
    background: var(--abr-blue);
    color: rgba(255, 255, 255, .92);
    font-size: 12.5px;
    letter-spacing: .02em;
}
.abr-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 32px;
}
.abr-topbar a { color: rgba(255, 255, 255, .92); font-weight: 500; }
.abr-topbar a:hover { color: #fff; text-decoration: underline; }
.abr-topbar-links { display: flex; align-items: center; gap: 10px; }
.abr-topbar-sep { width: 1px; height: 12px; background: rgba(255, 255, 255, .4); }
.abr-user-dropdown .dropdown-toggle { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header: masthead ---------- */
.abr-masthead-wrap { background: #fff; border-bottom: 1px solid var(--abr-line); }
.abr-masthead {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-block: 14px;
}
.abr-brand-link { display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.abr-brand-mark {
    font-family: var(--abr-condensed);
    font-weight: 700;
    font-size: clamp(30px, 5vw, 44px);
    letter-spacing: -.02em;
    color: var(--abr-navy);
    text-transform: lowercase;
}
.abr-brand-mark em { font-style: normal; color: var(--abr-red); }
.abr-brand-mark i { font-style: normal; color: var(--abr-blue); }
.abr-brand-line {
    margin-top: 6px;
    font-family: var(--abr-condensed);
    font-size: 10.5px;
    letter-spacing: .22em;
    color: var(--abr-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.abr-header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.abr-search-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--abr-line);
    background: var(--abr-soft);
    color: var(--abr-navy);
    border-radius: 3px;
    padding: 8px 14px;
    font-family: var(--abr-condensed);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    transition: background .15s ease, border-color .15s ease;
}
.abr-search-button:hover { background: #e9edf2; border-color: #cfd6de; }
.abr-search-button svg { width: 15px; height: 15px; }

/* Hamburger */
.abr-menu-button {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 4.5px;
    width: 40px;
    height: 40px;
    padding: 10px;
    border: 1px solid var(--abr-line);
    border-radius: 3px;
    background: #fff;
}
.abr-menu-button span { display: block; height: 2px; border-radius: 2px; background: var(--abr-navy); }

/* ---------- Header: channel navbar ---------- */
.abr-navbar { background: var(--abr-blue); position: relative; z-index: 40; }
.abr-navbar.is-sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    box-shadow: 0 2px 8px rgba(8, 31, 56, .25);
    animation: abrSlideDown .18s ease;
}
@keyframes abrSlideDown {
    from { transform: translateY(-100%); }
    to { transform: translateY(0); }
}
.abr-nav-scroll {
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
}
.abr-nav-scroll::-webkit-scrollbar { display: none; }
.abr-nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 11px 15px;
    color: rgba(255, 255, 255, .94);
    font-family: var(--abr-condensed);
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    white-space: nowrap;
    background: transparent;
    border: 0;
}
.abr-nav-link:hover { color: #fff; background: var(--abr-blue-dark); }
.abr-nav-link.active { background: var(--abr-blue-deep); }
.abr-nav-link.active::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 0;
    height: 3px;
    background: #fff;
}

/* Mega/more panel */
.abr-more-panel {
    background: #fff;
    border-bottom: 3px solid var(--abr-blue);
    box-shadow: 0 14px 24px rgba(8, 31, 56, .12);
}
.abr-more-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 2px 18px;
    padding-block: 14px;
}
.abr-more-grid a {
    padding: 9px 4px;
    font-family: var(--abr-condensed);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--abr-navy);
    border-bottom: 1px solid var(--abr-line);
}
.abr-more-grid a:hover { color: var(--abr-blue); }

/* ---------- Breaking ticker ---------- */
.abr-breaking { background: var(--abr-soft); border-bottom: 1px solid var(--abr-line); }
.abr-breaking-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block: 9px;
    overflow: hidden;
}
.abr-breaking-label {
    flex-shrink: 0;
    background: var(--abr-red);
    color: #fff;
    font-family: var(--abr-condensed);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    padding: 3px 9px;
    border-radius: 2px;
}
.abr-breaking p {
    margin: 0;
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.abr-breaking p a { color: var(--abr-ink); }
.abr-breaking p a:hover { color: var(--abr-blue); }
.abr-breaking-time { margin-left: auto; flex-shrink: 0; font-size: 12px; color: var(--abr-gray); }

/* ---------- Kicker & meta ---------- */
.abr-kicker {
    display: inline-block;
    color: var(--abr-red);
    font-family: var(--abr-condensed);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .09em;
}
.abr-kicker a { color: inherit; }
.abr-kicker a:hover { color: var(--abr-blue-deep); }
.abr-meta-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    color: var(--abr-gray);
}
.abr-meta-row i { width: 3px; height: 3px; border-radius: 50%; background: #b9c0c8; }
.abr-meta-row a { display: inline-flex; align-items: center; gap: 7px; color: var(--abr-navy); font-weight: 500; }
.abr-meta-row a:hover strong { color: var(--abr-blue); }

/* ---------- Section head (kompas channel style) ---------- */
.abr-section { padding-block: 26px 6px; }
.abr-section-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 2px solid var(--abr-ink);
    padding-bottom: 8px;
    margin-bottom: 18px;
}
.abr-section-head h2 {
    position: relative;
    margin: 0;
    padding-left: 15px;
    font-family: var(--abr-condensed);
    font-size: clamp(20px, 3vw, 26px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--abr-ink);
}
.abr-section-head h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 70%;
    background: var(--abr-blue);
}
.abr-section-head > a {
    flex-shrink: 0;
    font-family: var(--abr-condensed);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--abr-blue);
}
.abr-section-head > a:hover { color: var(--abr-blue-deep); text-decoration: underline; }

/* ---------- Homepage: headline area ---------- */
.abr-headline { padding-block: 22px 4px; }
.abr-hero-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--abr-soft);
    border-radius: 4px;
}
.abr-hero-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.abr-hero-image:hover img { transform: scale(1.03); }
.abr-hero-copy { padding-top: 14px; }
.abr-hero-copy h2 {
    margin: 6px 0 10px;
    font-family: var(--abr-sans);
    font-size: clamp(22px, 3.4vw, 32px);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -.01em;
}
.abr-hero-copy h2 a { color: var(--abr-ink); }
.abr-hero-copy h2 a:hover { color: var(--abr-blue); }
.abr-hero-copy p { margin: 0 0 10px; color: var(--abr-gray); font-size: 15.5px; line-height: 1.55; }

/* Mini cards under hero */
.abr-mini-card { border-top: 1px solid var(--abr-line); padding-top: 10px; }
.abr-mini-image {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: var(--abr-soft);
    margin-bottom: 9px;
}
.abr-mini-image img { width: 100%; height: 100%; object-fit: cover; }
.abr-mini-card h3 { margin: 5px 0 6px; font-size: 15.5px; line-height: 1.35; font-weight: 700; }
.abr-mini-card h3 a { color: var(--abr-ink); }
.abr-mini-card h3 a:hover { color: var(--abr-blue); }
.abr-mini-card time, .abr-side-card time, .abr-channel-feature time { font-size: 12px; color: #95a0ab; }

/* Most popular rail (numbered) */
.abr-popular-panel {
    background: #fff;
    border: 1px solid var(--abr-line);
    border-top: 3px solid var(--abr-blue);
    border-radius: 4px;
    padding: 16px 18px 8px;
}
.abr-panel-title {
    margin: 0 0 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--abr-line);
    font-family: var(--abr-condensed);
    font-size: 17px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--abr-navy);
}
.abr-pop-list { list-style: none; margin: 0; padding: 0; counter-reset: abrpop; }
.abr-pop-list li + li { border-top: 1px dashed var(--abr-line); }
.abr-pop-list li > a, .abr-pop-list li > button {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    width: 100%;
    padding: 11px 0;
    background: none;
    border: 0;
    text-align: start;
}
.abr-pop-number {
    flex-shrink: 0;
    min-width: 30px;
    font-family: var(--abr-condensed);
    font-size: 34px;
    line-height: 1;
    font-weight: 700;
    color: #d3d9df;
    text-align: center;
}
.abr-pop-list li > a:hover .abr-pop-number { color: var(--abr-blue); }
.abr-pop-list li small {
    display: block;
    margin-bottom: 3px;
    font-family: var(--abr-condensed);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--abr-red);
}
.abr-pop-list li h3 { margin: 0; font-size: 14.5px; line-height: 1.4; font-weight: 500; color: var(--abr-ink); }
.abr-pop-list li > a:hover h3 { color: var(--abr-blue); }

/* ---------- Latest feed (horizontal rows) ---------- */
.abr-latest-feed { display: flex; flex-direction: column; }
.abr-feed-story {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding-block: 16px;
    border-bottom: 1px solid var(--abr-line);
}
.abr-latest-feed .abr-feed-story:first-child { padding-top: 0; }
.abr-feed-copy { min-width: 0; }
.abr-feed-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-family: var(--abr-condensed);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
}
.abr-feed-meta span { color: var(--abr-blue); }
.abr-feed-meta time { color: #95a0ab; font-weight: 400; letter-spacing: .04em; }
.abr-feed-copy h3 { margin: 0 0 6px; font-size: 17.5px; line-height: 1.32; font-weight: 700; }
.abr-feed-copy h3 a { color: var(--abr-ink); }
.abr-feed-copy h3 a:hover { color: var(--abr-blue); }
.abr-feed-copy p { margin: 0; color: var(--abr-gray); font-size: 14px; line-height: 1.5; }
.abr-feed-image {
    position: relative;
    flex-shrink: 0;
    width: 190px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: var(--abr-soft);
}
.abr-feed-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.abr-feed-story:hover .abr-feed-image img { transform: scale(1.04); }

/* ---------- Side cards (small thumb left) ---------- */
.abr-side-block {
    background: #fff;
    border: 1px solid var(--abr-line);
    border-radius: 4px;
    padding: 16px 18px;
}
.abr-side-card {
    display: flex;
    gap: 13px;
    align-items: flex-start;
    padding-block: 12px;
    border-bottom: 1px dashed var(--abr-line);
}
.abr-side-card:last-child { border-bottom: 0; padding-bottom: 0; }
.abr-side-image {
    position: relative;
    flex-shrink: 0;
    width: 118px;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 3px;
    background: var(--abr-soft);
}
.abr-side-image img { width: 100%; height: 100%; object-fit: cover; }
.abr-side-card small {
    display: block;
    margin-bottom: 3px;
    font-family: var(--abr-condensed);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--abr-blue);
}
.abr-side-card h3 { margin: 0 0 5px; font-size: 14.5px; line-height: 1.38; font-weight: 700; }
.abr-side-card h3 a { color: var(--abr-ink); }
.abr-side-card h3 a:hover { color: var(--abr-blue); }

/* ---------- Channel feature card ---------- */
.abr-channel-feature .abr-channel-image {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 4px;
    background: var(--abr-soft);
    margin-bottom: 12px;
}
.abr-channel-feature .abr-channel-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.abr-channel-feature .abr-channel-image:hover img { transform: scale(1.03); }
.abr-channel-feature h3 {
    margin: 6px 0 8px;
    font-size: 21px;
    line-height: 1.28;
    font-weight: 700;
}
.abr-channel-feature h3 a { color: var(--abr-ink); }
.abr-channel-feature h3 a:hover { color: var(--abr-blue); }
.abr-channel-feature p { margin: 0 0 8px; color: var(--abr-gray); font-size: 14.5px; line-height: 1.55; }

/* ---------- Widgets ---------- */
.abr-widget {
    background: #fff;
    border: 1px solid var(--abr-line);
    border-radius: 4px;
    padding: 16px 18px;
    margin-bottom: 22px;
}
.abr-widget-title {
    margin: 0 0 12px;
    padding-left: 12px;
    border-bottom: 1px solid var(--abr-line);
    padding-bottom: 10px;
    position: relative;
    font-family: var(--abr-condensed);
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--abr-navy);
}
.abr-widget-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: calc(10px + 1px);
    height: auto;
    width: 4px;
    background: var(--abr-blue);
}
.abr-widget--blue { background: var(--abr-navy); border-color: var(--abr-navy); }
.abr-widget--blue .abr-widget-title { color: #fff; border-color: rgba(255,255,255,.18); }
.abr-widget--blue .abr-widget-title::before { background: var(--abr-red); }
.abr-newsletter-form { display: flex; gap: 8px; }
.abr-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--abr-line);
    border-radius: 3px;
    padding: 9px 12px;
    font-size: 14px;
}
.abr-newsletter-form button {
    flex-shrink: 0;
    border: 0;
    border-radius: 3px;
    background: var(--abr-blue);
    color: #fff;
    font-family: var(--abr-condensed);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 9px 16px;
    cursor: pointer;
}
.abr-newsletter-form button:hover { background: var(--abr-blue-dark); }
.abr-widget--blue .abr-newsletter-form input[type="email"] { border-color: transparent; background: rgba(255,255,255,.12); color: #fff; }
.abr-widget--blue .abr-newsletter-form input[type="email"]::placeholder { color: rgba(255,255,255,.65); }
.abr-follow-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.abr-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #fff !important;
    border-radius: 3px;
    padding: 8px 10px;
    font-size: 13px;
    font-weight: 500;
}
.abr-follow-btn svg { width: 15px; height: 15px; fill: currentColor; }

/* Tags cloud override to chips */
.abr-widget .tagcloud a, .abr-widget .tags a,
.post-tags ul li a, .abr-post-tags ul li a {
    display: inline-block;
    background: var(--abr-soft);
    border: 1px solid var(--abr-line);
    color: var(--abr-navy) !important;
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 12.5px !important;
    font-weight: 500;
}
.abr-widget .tagcloud a:hover, .abr-widget .tags a:hover,
.post-tags ul li a:hover, .abr-post-tags ul li a:hover {
    background: var(--abr-blue);
    border-color: var(--abr-blue);
    color: #fff !important;
}

/* ---------- Ad slots ---------- */
.abr-ad-slot { margin-block: 18px; display: flow-root; text-align: center; }
.abr-ad-slot--wide { min-height: 0; }

/* ---------- Newsletter band ---------- */
.abr-newsletter-band { background: var(--abr-blue); color: #fff; margin-top: 34px; }
.abr-newsletter-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    padding-block: 30px;
    flex-wrap: wrap;
}
.abr-newsletter-inner h2 {
    margin: 0 0 6px;
    font-family: var(--abr-condensed);
    font-size: clamp(19px, 3vw, 26px);
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}
.abr-newsletter-inner p { margin: 0; color: rgba(255,255,255,.85); font-size: 14.5px; }
.abr-newsletter-form--band input[type="email"] { border: 0; min-width: 260px; }
.abr-newsletter-form--band button { background: var(--abr-red); }
.abr-newsletter-form--band button:hover { background: #c62a24; }

/* ---------- Page/article shell ---------- */
.abr-page-section { padding-block: 26px; }
.abr-page-title {
    font-family: var(--abr-condensed);
    font-size: clamp(24px, 4vw, 34px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .01em;
    color: var(--abr-ink);
    margin: 6px 0 18px;
    padding-left: 15px;
    border-left: 6px solid var(--abr-blue);
    line-height: 1.15;
}
.abr-article-title {
    font-family: var(--abr-sans);
    font-size: clamp(24px, 4vw, 36px);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -.01em;
    color: var(--abr-ink);
    margin: 8px 0 12px;
}
.abr-article-summary { color: var(--abr-gray); font-size: 17px; line-height: 1.6; margin-bottom: 16px; }
.abr-edit-link {
    float: right;
    font-family: var(--abr-condensed);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--abr-blue);
    border: 1px solid var(--abr-line);
    border-radius: 3px;
    padding: 4px 10px;
}
.abr-article-body {
    font-size: 17px;
    line-height: 1.75;
    color: #2b2f33;
    margin-top: 18px;
}
.abr-article-body p { margin-bottom: 1.15em; }
.abr-article-body img { border-radius: 4px; }
.abr-article-body h2, .abr-article-body h3 {
    font-family: var(--abr-condensed);
    text-transform: none;
    letter-spacing: 0;
    color: var(--abr-ink);
    margin: 1.4em 0 .6em;
}
.abr-article-body blockquote {
    border-left: 4px solid var(--abr-blue);
    background: var(--abr-soft);
    margin: 1.3em 0;
    padding: 14px 20px;
    border-radius: 0 4px 4px 0;
    font-style: italic;
}
.abr-share-row { padding-block: 6px; border-block: 1px solid var(--abr-line); margin-top: 14px; }
.abr-post-tags .title, .post-tags .title {
    font-family: var(--abr-condensed);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--abr-navy);
}

/* Author box */
.abr-author-box {
    display: flex;
    gap: 16px;
    background: var(--abr-soft);
    border: 1px solid var(--abr-line);
    border-radius: 4px;
    padding: 18px;
    margin-top: 26px;
}
.abr-author-box img { border-radius: 50%; object-fit: cover; }
.abr-author-box .username { display: block; font-size: 16px; margin-top: 2px; }
.abr-author-box .username a { color: var(--abr-navy); }
.abr-author-box .username a:hover { color: var(--abr-blue); }
.abr-author-box .description { color: var(--abr-gray); font-size: 14px; line-height: 1.55; margin: 6px 0; }

/* Related cards */
.abr-related-card { border: 1px solid var(--abr-line); border-radius: 4px; padding: 10px; height: 100%; }
.abr-related-card img { border-radius: 3px; }

/* Adjacent posts */
.abr-adjacent { border-top: 1px solid var(--abr-line); padding-top: 18px; }
.abr-adjacent .title { font-size: 15.5px; font-weight: 700; }
.abr-adjacent .title a { color: var(--abr-navy); }
.abr-adjacent .title a:hover { color: var(--abr-blue); }

/* Listing layout */
.abr-listing-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 34px;
    align-items: start;
}
.abr-posts-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}
.abr-btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid var(--abr-blue);
    background: #fff;
    color: var(--abr-blue);
    font-family: var(--abr-condensed);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    border-radius: 3px;
    padding: 10px 26px;
    cursor: pointer;
    transition: background .15s ease, color .15s ease;
}
.abr-btn-load-more:hover { background: var(--abr-blue); color: #fff; }
.abr-pager { display: flex; justify-content: center; }
.abr-pager .pagination .page-link { color: var(--abr-navy); border-radius: 3px; margin-inline: 3px; }
.abr-pager .pagination .active .page-link { background: var(--abr-blue); border-color: var(--abr-blue); }

/* Common post-item cards inside listing grids (AJAX-safe) */
.abr-posts-grid .post-item { border: 1px solid var(--abr-line); border-radius: 4px; overflow: hidden; background: #fff; height: 100%; }
.abr-posts-grid .post-item .image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--abr-soft); }
.abr-posts-grid .post-item .image img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.abr-posts-grid .post-item:hover .image img { transform: scale(1.04); }
.abr-posts-grid .post-item .post-content { padding: 12px 14px 16px; }
.abr-posts-grid .post-item .title { font-size: 15.5px; line-height: 1.35; font-weight: 700; }
.abr-posts-grid .post-item .title a { color: var(--abr-ink); }
.abr-posts-grid .post-item .title a:hover { color: var(--abr-blue); }
.abr-posts-grid .post-item .description { color: var(--abr-gray); font-size: 13.5px; line-height: 1.5; margin-top: 6px; }
.badge-category {
    background: var(--abr-blue) !important;
    color: #fff !important;
    font-family: var(--abr-condensed);
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: 2px !important;
}
.post-meta .meta-item, .post-meta .a-username { font-size: 12.5px; color: #95a0ab; }
.post-meta .a-username { color: var(--abr-blue); font-weight: 500; }

/* Horizontal AJAX item */
.post-item-horizontal.abr-feed-story { list-style: none; }
.post-item-horizontal .description { color: var(--abr-gray); font-size: 14px; line-height: 1.5; }

/* ---------- Compat: kartu render common/cell & AJAX (dipakai sidebar, load-more) ----------
   Markup dari themes/common (cells PopularPosts/RecommendedPosts, loadView _post_item*)
   memakai class .post-item / .post-item-small / .post-meta — wajib diberi tipografi tema
   agar tidak jatuh ke default Bootstrap (h3 = 28px). */

/* Kartu grid .post-item di luar scope .abr-posts-grid (mis. widget recommended) */
.abr-widget .post-item,
.section-related-posts .post-item { border: 1px solid var(--abr-line); border-radius: 4px; overflow: hidden; background: #fff; margin-bottom: 16px; }
.abr-widget .post-item:last-child { margin-bottom: 0; }
.abr-widget .post-item > .badge-category { position: absolute; left: 10px; top: 10px; z-index: 2; margin: 0; }
.abr-widget .post-item, .abr-posts-grid .post-item { position: relative; }
.abr-widget .post-item .image.ratio { display: block; --bs-aspect-ratio: 60%; overflow: hidden; background: var(--abr-soft); margin: 0; }
.abr-widget .post-item .image.ratio img { width: 100%; height: 100%; object-fit: cover; }
.abr-widget .post-item .title, .section-related-posts .post-item .title { margin: 0; padding: 12px 14px 0; font-family: var(--abr-sans); }
.abr-widget .post-item .title a, .section-related-posts .post-item .title a {
    color: var(--abr-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}
.abr-widget .post-item .title a:hover, .section-related-posts .post-item .title a:hover { color: var(--abr-blue); }
.abr-widget .post-item .description, .section-related-posts .post-item .description { padding: 6px 14px 0; color: var(--abr-gray); font-size: 13px; line-height: 1.5; }
.abr-widget .post-item .post-meta, .abr-posts-grid .post-item .post-meta { padding: 8px 14px 14px; }

/* Kartu kecil horizontal .post-item-small (sidebar popular/recommended, related mobile) */
.post-item-small { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.abr-widget .post-item-small:last-child, #postsLoadMoreContent .post-item-small:last-child { margin-bottom: 0; }
.post-item-small .image { flex-shrink: 0; width: 110px; max-width: 110px; }
.post-item-small .image a { display: block; aspect-ratio: 16 / 11; overflow: hidden; border-radius: 3px; background: var(--abr-soft); }
.post-item-small .image img { width: 100%; height: 100%; object-fit: cover; }
.post-item-small .title { margin: 0 0 4px; font-family: var(--abr-sans); }
.post-item-small .title a {
    color: var(--abr-ink);
    font-size: 14.5px;
    font-weight: 700;
    line-height: 1.38;
    display: block;
}
.post-item-small .title a:hover { color: var(--abr-blue); }
.section-related-posts .post-item-small .title a { font-size: 13.5px; }
.post-item-small .post-meta { margin-top: 2px; }

/* Chip tag dari cell PopularTags */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.tag-list li { display: inline-flex; }
.tag-list a {
    display: inline-block;
    background: var(--abr-soft);
    border: 1px solid var(--abr-line);
    color: var(--abr-navy);
    border-radius: 999px;
    padding: 5px 13px;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.4;
}
.tag-list a:hover { background: var(--abr-blue); border-color: var(--abr-blue); color: #fff; }

/* ---------- Compat: breadcrumb & modul common di halaman artikel ---------- */
.breadcrumb { margin: 0 0 14px; font-size: 13px; }
.breadcrumb .breadcrumb-item + .breadcrumb-item::before { color: #b9c0c8; content: "›"; }
.breadcrumb .breadcrumb-item a { color: var(--abr-gray); font-weight: 500; }
.breadcrumb .breadcrumb-item a:hover { color: var(--abr-blue); text-decoration: underline; }
.breadcrumb .breadcrumb-item.active { color: var(--abr-navy); font-weight: 500; }

/* Heading di modul common ikuti keluarga font tema */
.comments-module h2, .comments-module h3,
.faq-section .faq-title, .faq-accordion .accordion-button {
    font-family: var(--abr-condensed);
    letter-spacing: .01em;
}

/* Profile */
.abr-profile-head { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.abr-profile-avatar { border-radius: 50%; object-fit: cover; border: 3px solid var(--abr-soft); }
.abr-follower-list { display: flex; flex-wrap: wrap; gap: 8px; }
.abr-follower-list img { border-radius: 50%; object-fit: cover; }

/* Contact */
.abr-contact-form .form-control { border-radius: 3px; }
.abr-contact-form .form-control:focus { border-color: var(--abr-blue); box-shadow: 0 0 0 .2rem rgba(1, 97, 184, .15); }
.abr-contact-info p { display: flex; gap: 10px; }
.abr-contact-info strong { min-width: 76px; color: var(--abr-navy); }
.abr-btn-solid {
    display: inline-block;
    background: var(--abr-blue);
    border: 0;
    color: #fff;
    font-family: var(--abr-condensed);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    border-radius: 3px;
    padding: 10px 24px;
    cursor: pointer;
}
.abr-btn-solid:hover { background: var(--abr-blue-dark); color: #fff; }
.abr-btn-solid.is-following { background: var(--abr-gray); }
.abr-btn-outline {
    display: inline-block;
    border: 2px solid var(--abr-blue);
    color: var(--abr-blue);
    font-family: var(--abr-condensed);
    font-size: 13.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    border-radius: 3px;
    padding: 8px 20px;
}
.abr-btn-outline:hover { background: var(--abr-blue); color: #fff; }

/* Empty states */
.abr-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 44px 20px;
    border: 1px dashed var(--abr-line);
    border-radius: 4px;
    color: var(--abr-gray);
    text-align: center;
}
.abr-empty-state a { color: var(--abr-blue); font-weight: 500; }
.abr-empty-mini { color: var(--abr-gray); font-size: 13.5px; padding: 8px 0; }

/* Gallery */
.abr-gallery-item { position: relative; display: block; overflow: hidden; border-radius: 4px; }
.abr-gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .35s ease; }
.abr-gallery-item:hover img { transform: scale(1.05); }
.abr-gallery-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 34px 16px 14px;
    background: linear-gradient(to top, rgba(8, 31, 56, .92), transparent);
    color: #fff;
}
.abr-gallery-overlay span { font-family: var(--abr-condensed); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.abr-gallery-overlay h3 { margin: 4px 0 0; font-size: 16px; font-weight: 700; color: #fff; }

/* ---------- Search overlay ---------- */
.abr-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    background: rgba(255, 255, 255, .985);
    overflow-y: auto;
}
.abr-search-shell { max-width: 720px; margin-inline: auto; padding: 26px 18px 60px; }
.abr-search-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 46px; }
.abr-search-top button {
    border: 0;
    background: none;
    font-family: var(--abr-condensed);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--abr-navy);
}
.abr-search-top button:hover { color: var(--abr-red); }
.abr-search-form label, .abr-search-overlay form label {
    display: block;
    font-family: var(--abr-condensed);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--abr-gray);
    margin-bottom: 10px;
}
.abr-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid var(--abr-navy);
    border-radius: 4px;
    padding: 4px 16px;
}
.abr-search-field:focus-within { border-color: var(--abr-blue); }
.abr-search-field svg { width: 20px; height: 20px; stroke: var(--abr-gray); stroke-width: 2; stroke-linecap: round; fill: none; }
.abr-search-field input {
    flex: 1;
    border: 0;
    outline: none;
    font-size: 19px;
    padding: 12px 0;
    color: var(--abr-ink);
    background: transparent;
}
.abr-search-hint { margin-top: 12px; font-size: 13px; color: #95a0ab; }

/* Dropdown menu */
.abr-dropdown-menu { border-radius: 4px; border-color: var(--abr-line); font-size: 14px; }
.abr-dropdown-menu .dropdown-item:active { background: var(--abr-blue); }

/* ---------- Footer ---------- */
.abr-footer { background: var(--abr-navy); color: #b8c4d0; margin-top: 40px; }
.abr-footer-main {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 34px;
    padding-block: 38px 30px;
}
.abr-footer-brand .abr-brand-mark { color: #fff; font-size: 30px; }
.abr-footer-brand .abr-brand-mark em { color: var(--abr-red); }
.abr-footer-brand .abr-brand-mark i { color: #7db4e4; }
.abr-footer-brand p {
    margin-top: 8px;
    font-family: var(--abr-condensed);
    font-size: 11px;
    letter-spacing: .2em;
    color: #7d93a9;
}
.abr-footer [data-col], .abr-footer-main div > span {
    display: block;
    font-family: var(--abr-condensed);
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #fff;
    margin-bottom: 12px;
}
.abr-footer-main div a {
    display: block;
    color: #b8c4d0;
    padding-block: 4px;
    font-size: 14px;
}
.abr-footer-main div a:hover { color: #fff; text-decoration: underline; }
.abr-footer-about p { font-size: 13.5px; line-height: 1.65; margin: 0 0 14px; }
.abr-footer-social { display: flex; gap: 8px; flex-wrap: wrap; }
.abr-footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}
.abr-footer-social a:hover { background: var(--abr-blue); }
.abr-footer-social svg { width: 16px; height: 16px; fill: #fff; }
.abr-footer-network { border-top: 1px solid rgba(255, 255, 255, .12); background: var(--abr-navy-darker); }
.abr-footer-network .abr-shell { display: flex; align-items: baseline; gap: 18px; padding-block: 16px; flex-wrap: wrap; }
.abr-footer-network > .abr-shell > span {
    font-family: var(--abr-condensed);
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: #7db4e4;
}
.abr-footer-network div { display: flex; gap: 4px 18px; flex-wrap: wrap; }
.abr-footer-network div a { color: #b8c4d0; font-size: 13px; }
.abr-footer-network div a:hover { color: #fff; text-decoration: underline; }
.abr-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 15px;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12.5px;
    color: #7d93a9;
}

/* ---------- Sitemap page ---------- */
.abr-sitemap-intro { color: var(--abr-gray); font-size: 14.5px; margin-bottom: 20px; }
.abr-sitemap-block {
    background: #fff;
    border: 1px solid var(--abr-line);
    border-radius: 4px;
    padding: 18px 20px;
}
.abr-sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 4px 22px;
}
.abr-sitemap-col { padding-block: 8px; border-bottom: 1px dashed var(--abr-line); }
.abr-sitemap-root {
    display: block;
    font-family: var(--abr-condensed);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--abr-navy);
    margin-bottom: 6px;
}
.abr-sitemap-root:hover { color: var(--abr-blue); }
.abr-sitemap-col ul { list-style: none; margin: 0; padding: 0; }
.abr-sitemap-col ul a {
    display: block;
    padding-block: 3px;
    color: var(--abr-gray);
    font-size: 13.5px;
}
.abr-sitemap-col ul a:hover { color: var(--abr-blue); text-decoration: underline; }
.abr-sitemap-pages { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 30px; }
.abr-sitemap-pages li { break-inside: avoid; }
.abr-sitemap-pages a {
    display: block;
    padding-block: 6px;
    border-bottom: 1px dashed var(--abr-line);
    color: var(--abr-ink);
    font-size: 14px;
    font-weight: 500;
}
.abr-sitemap-pages a:hover { color: var(--abr-blue); }
.abr-sitemap-links { list-style: none; margin: 0; padding: 0; }
.abr-sitemap-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-block: 9px;
    border-bottom: 1px dashed var(--abr-line);
    color: var(--abr-navy);
    font-size: 14px;
    font-weight: 500;
}
.abr-sitemap-links a::before { content: "›"; color: var(--abr-blue); font-weight: 700; }
.abr-sitemap-links a:hover { color: var(--abr-blue); }

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .abr-listing-layout { grid-template-columns: 1fr; }
    .abr-menu-button { display: flex; }
    .abr-masthead { padding-block: 12px; }
    .abr-footer-main { grid-template-columns: 1fr 1fr; }
    .abr-popular-panel { margin-top: 4px; }
}
@media (max-width: 767.98px) {
    .abr-feed-story { flex-direction: column-reverse; gap: 12px; }
    .abr-feed-image { width: 100%; }
    .abr-posts-grid { grid-template-columns: 1fr; }
    .abr-breaking p { white-space: normal; }
    .abr-newsletter-inner { flex-direction: column; align-items: stretch; text-align: center; }
    .abr-newsletter-form--band { flex-direction: column; }
    .abr-newsletter-form--band input[type="email"] { min-width: 0; }
}
@media (max-width: 575.98px) {
    .abr-brand-line { display: none; }
    .abr-search-button span { display: none; }
    .abr-search-button { padding: 9px 11px; }
    .abr-footer-main { grid-template-columns: 1fr; gap: 24px; }
    .abr-hero-copy h2 { font-size: 21px; }
    .abr-section-head h2 { font-size: 19px; }
}
