:root {
    --bs-line: #241f1f;
    --bs-aham: rgba(212, 0, 13, 0.9);
    --bs-aham-hover: rgb(200, 0, 13, 1);
    --bs-aham-disabled: rgba(212, 0, 13, 0.7);
    --bs-navbar-brand-color: rgba(212, 0, 13, 0.9);
    --bs-navbar-brand-hover-color: rgba(212, 0, 13, 0.9);
    --ff-title: 'Libre Baskerville', serif;
    --ff-article: 'Inter', sans-serif;
    --ff-second: 'Montserrat', sans-serif;
}

body {
    font-size: .9rem;
}

.afam-1 {
    font-family: var(--ff-title);
}

.afam-2 {
    font-family: var(--ff-article);
}

.afam-3 {
    font-family: var(--ff-second);
}

.afs-small {
    font-size: .8rem;
    font-size: clamp(.8rem, 1vw + .05rem, .9rem);
}

.afs-0 {
    font-size: .9rem;
    font-size: clamp(.9rem, 1vw + .05rem, 1rem);
}

.afs-1 {
    font-size: 1rem;
    font-size: clamp(1rem, 1vw + .05rem, 1.2rem);
}

.afs-2 {
    font-size: 1.2rem;
    font-size: clamp(1.2rem, 1vw + .05rem, 1.4rem);
}

.afs-3 {
    font-size: 1.4rem;
    font-size: clamp(1.4rem, 1vw + .05rem, 1.6rem);
}

.afs-4 {
    font-size: 1.6rem;
    font-size: clamp(1.6rem, 1vw + .05rem, 1.8rem);
}

.afs-5 {
    font-size: 1.8rem;
    font-size: clamp(1.8rem, 1vw + .05rem, 2rem);
}

.afs-6 {
    font-size: 2rem;
    font-size: clamp(2rem, 1vw + .05rem, 2.2rem);
}

.afs-7 {
    font-size: 2.2rem;
    font-size: clamp(2.2rem, 1vw + .05rem, 2.4rem);
}

.afs-8 {
    font-size: 2.4rem;
    font-size: clamp(2.4rem, 1vw + .05rem, 2.6rem);
}

.afs-9 {
    font-size: 2.6rem;
    font-size: clamp(2.6rem, 1vw + .05rem, 2.8rem);
}

.afs-10 {
    font-size: 2.8rem;
    font-size: clamp(2.8rem, 1vw + .05rem, 3rem);
}

/* ===================== MAIN CONTAINER ===================== */
.main-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* ===================== NAV SCROLLER ===================== */
.nav-scroller {
    position: relative;
    z-index: 2;
    height: 2.75rem;
    overflow-y: hidden;
}

.nav-scroller .nav {
    display: flex;
    flex-wrap: nowrap;
    padding-bottom: 1rem;
    margin-top: -1px;
    overflow-x: auto;
    text-align: center;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
}

/* ===================== NAVBAR ===================== */
.navbar.main-navbar {
    border-bottom: 1px var(--bs-line) solid;
    height: 100px;
    transition: height 0.3s ease;
}

.navbar.main-navbar .navbar-brand img {
    height: 70px;
    width: auto !important;
    transition: height 0.3s ease;
}

.navbar.main-navbar.shrink {
    height: 60px !important;
    /* padding-top: 0; */
}

.navbar.main-navbar.shrink .navbar-brand img {
    height: 45px;
    width: auto !important;
}

.navbar.main-navbar .navbar-toggler-aham.show-toggler {
    display: block;
}

.navbar-toggler-aham {
    background-color: transparent !important;
    border: 0px !important;
}

.navbar-toggler-aham:active {
    /* border: 2px red solid !important; */
}

/* ===================== MENU NAVBAR ===================== */
.menu-navbar {
    border-bottom: 1px var(--bs-line) solid;
    margin-top: 100px !important;
    background-color: var(--bs-gray-100);
}

.menu-navbar ul {
    display: flex;
    gap: 15px;
    padding: 0;
    padding-top: 10px;
    padding-bottom: 10px;
    margin: 0;
    list-style: none;
}

.menu-navbar ul li {
    display: inline-block;
    color: #191919;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: .07em;
}

.menu-navbar a {
    text-decoration: none;
    color: #191919;
}

.menu-navbar a:hover,
.menu-navbar a.active,
.current-menu-item>a {
    color: var(--bs-navbar-brand-color);
}

/* ===================== OFFCANVAS ===================== */
.offcanvas .btn-close-aham {
    background-color: transparent !important;
    border: 0px !important;
}

.offcanvas .btn-close-aham:active {}

/* ===================== MAIN CONTAINER ===================== */
.main-container {
    margin-top: 30px;
    margin-bottom: 30px;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
    .navbar.main-navbar {
        min-height: 60px !important;
    }

    .menu-navbar {
        margin-top: 60px !important;
    }

    .main-container {
        margin-top: 70px;
        margin-bottom: 10px;
    }
}

@media (min-width: 768px) {
    .navbar.main-navbar .navbar-toggler-aham {
        display: none;
    }
}

@media (max-width: 770px) {
    .container {
        max-width: 100%;
    }
}

@media (min-width: 770px) {
    .container {
        max-width: calc(100% - 50px);
    }
}

@media (min-width: 1024px) {
    .container {
        max-width: calc(100% - 100px);
    }
}

@media (min-width: 1600px) {
    .container {
        max-width: 1500px;
    }
}


/* ================== HOME MAIN ROW ===================== */
.home-main-row {
    /* border-bottom: 2px solid #191919; */
}

.nyata_widget_title {
    text-transform: uppercase;
    font-weight: 800;
    font-size: 1.4rem;
    font-size: clamp(1.4rem, 1vw + .05rem, 1.6rem);
    letter-spacing: .07rem;
}

.home-main-row .nyata_widget_title {
    text-align: center;
    margin-top: 15px;
}

.widget_homepage {
    padding-top: 0;
}

.widget_sidebar .widget .nyata_widget_title {
    border-top: 2px #000 solid;
    padding: 0;
    text-align: left;
}

.widget_homepage .nyata_widget_title,
.widget_sidebar .nyata_widget_title {
    margin-top: -10px;
    margin-bottom: 10px;
}

.widget_homepage .nyata_widget_title span,
.widget_sidebar .nyata_widget_title span {
    background-color: black;
    color: white;
    padding: 5px;
}


@media (max-width: 1199px) {

    .home-main-row .nyata_widget_title {
        border-top: 2px #000 solid;
        padding: 0;
        text-align: left;
    }

    .home-main-row .nyata_widget_title {
        margin-top: -10px;
        margin-bottom: 10px;
    }

    .home-main-row .nyata_widget_title span {
        background-color: black;
        color: white;
        padding: 5px;
    }
}


.widget hr.card-title-hr {
    all: unset;
    /* reset semua property bawaan <hr> */
    display: block;
    width: 80px;
    height: 0;
    /* hilangkan tinggi default */
    border: none;
    border-top: 1px solid var(--bs-aham-hover) !important;
    /* garis hitam */
    margin-top: 10px;
    margin-bottom: 10px;
}

/* =============== card ================ */

.boxview-item {
    border-bottom: 1px dashed #cdcdcd;
    margin-top: 10px;
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.card-title {
    font-family: var(--ff-title);
    text-decoration: none;
    color: #20252a;
    font-weight: 600;
}

.card-title:hover {
    text-decoration: underline;
    color: #20252a;
}

.card-category,
.card-date {
    font-size: .7rem;
    text-transform: uppercase;
    text-decoration: none;
}

.card-category {
    color: var(--bs-aham);
    font-weight: 600;
}

.card-category:hover {
    color: var(--bs-aham-hover);
}

.card-date {
    font-weight: 400;
}

.card-excerpt {
    /* font-family: var(--ff-article); */
    font-weight: 300;
    /* font-size: 1rem; */
    /* font-size: clamp(.8rem, 1vw + .05rem, .9rem); */
}

.card-content-article {
    /* font-family: var(--ff-article); */
    font-weight: 300 !important;
    font-size: 18px;
    /* font-size: 1rem; */
    /* font-size: clamp(.8rem, 1vw + .05rem, .9rem); */
}

.card-content-article strong,
.card-content-article b {
    font-weight: 600;
}

/* ========== widget thumb =========== */
.post-thumb img {
    width: 100%;
    height: auto;
    display: block;
    /* supaya tidak ada spasi bawah */
}

/* Container gambar optional untuk overflow hidden */
.post-thumb {
    overflow: hidden;
    /* supaya gambar tidak melewati batas */
    display: inline-block;
    /* optional */
    width: 100% !important;
}

/* Gambar normal */
.post-thumb img {
    width: 100% !important;
    /* atau ukuran sesuai kebutuhan */
    transition: transform 0.3s ease;
    /* animasi halus */
    display: block;
    height: auto;
}

/* Hover effect */
.post-thumb img:hover {
    transform: scale(1.1);
    /* zoom 10% */
}



/* ================ footer ================= */
footer {
    font-size: 10pt !important;
    margin-top: 30px;
    background-color: #000;
}

footer .footer-main {
    /* border-bottom: 2px #ffffff solid; */
}

footer .footer-submenu {
    border-top: 2px #ffffff solid;
}

footer .footer-title {
    font-size: 1rem;
    font-size: clamp(.9rem, 2vw + .1rem, 1rem);
    letter-spacing: .07rem;
    letter-spacing: clamp(.07rem, 2vw + .01rem, .2rem);
    text-transform: uppercase;
    font-weight: 900;
}

footer a {
    color: #fff;
    text-decoration: none;
}

footer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* dasar */
footer .footer-menu-1 li {
    position: relative;
    display: flex;
    /* biar separator nempel rapi */
    align-items: center;
}

/* default: mobile vertical, tanpa | */
footer .footer-menu-1 li::after {
    content: none;
}

/* mulai md ke atas: horizontal + separator | */
@media (min-width: 768px) {
    footer .footer-menu-1 li:not(:last-child)::after {
        content: "|";
        margin: 0 8px;
        color: currentColor;
        /* ikuti warna teks */
    }
}


/* ============ Nyata Ads Space ================ */
.nyata-ads-available {
    width: 100%;
    background-color: #F9F9F9;
    display: flex;
    /* wajib untuk justify & align bekerja */
    justify-content: center;
    /* center horizontal */
    align-items: center;
    /* center vertical */
    color: #555555;
    border: 2px #EEE solid;
    text-transform: uppercase;
    padding: 10px;
}

.nyata-ads-available.horizontal {
    max-width: 970px;
    aspect-ratio: 970/250;
    margin: 0 auto;
    /* center block secara horizontal jika perlu */
}

.nyata-ads-available.vertical {
    height: 100% !important;
    width: auto !important;
    max-height: 970px;
    max-width: 250px;
    aspect-ratio: 970/250;
    margin: 0 auto;
    /* center block secara horizontal jika perlu */
}

.nyata-ads-available.square {
    /* max-width: 300px; */
    width: 100%;
    aspect-ratio: 1/1;
    margin: 0 auto;
    /* center block secara horizontal jika perlu */
}


/* ================== border ===================== */
@media (max-width: 1200px) {
    .border-xl-none {
        border: none !important;
    }
}


/* ===================== META (CATEGORY, DATE, AUTHOR) ===================== */
.cataham {
    color: var(--bs-aham);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 10pt;
    text-decoration: none;
}

.cataham:hover {
    color: var(--bs-aham-hover);
}

.dateaham,
.authoraham {
    color: #424242;
    text-transform: uppercase;
    font-size: 10pt;
    text-decoration: none;
}

/* ===================== ARTICLE HEADER ===================== */
.article-header {
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

.article-header img {
    width: 100%;
    height: auto;
    min-width: 100%;
}

.article-header hr {
    all: unset;
    display: block;
    width: 100%;
    height: 0;
    border: none;
    border-top: 2px #000 solid;
    margin-top: 20px;
    margin-bottom: 20px;
}

.article-header h1 {
    /* font-size: 2rem;
    font-size: clamp(1.3rem, 2vw + .1rem, 2rem); */
    font-size: 2rem;
    font-size: clamp(1.5rem, 2vw + .5rem, 2rem);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 15px;
    font-weight: 600;
}

.article-header h1::after {
    content: "";
    display: block;
    width: 100px;
    height: 1px;
    background: var(--bs-aham);
    margin: 10px auto 0;
}

.article-body-author {
    padding-left: 12px;
    padding-right: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 9pt !important;
}

.article-header p.author-name,
.article-body-author p.author-name {
    font-weight: 300;
    text-transform: uppercase;
    font-size: .7rem;
    /* font-size: 9pt;
    font-size: clamp(7pt, 2vw + .05pt, 9pt); */
    letter-spacing: .07em;
}

.article-header p.author-name a,
.article-body-author p.author-name a {
    color: var(--bs-aham);
    text-decoration: none;
}

.article-header p.author-name a:hover,
.article-body-author p.author-name a:hover {
    color: #141414;
    text-decoration: underline;
}

.article-header .article-category,
.article-body-author .article-category {
    color: var(--bs-aham);
    text-transform: uppercase;
    font-weight: 600;
    font-size: .7rem;
    /* font-size: 9pt;
    font-size: clamp(7pt, 2vw + .05pt, 9pt); */
    letter-spacing: .07em;
    text-decoration: none !important;
}

.article-header a.article-category:hover,
.article-body-author a.article-category:hover {
    color: var(--bs-aham-hover);
}

.article-header .img-desc {
    font-size: 9pt;
    color: #555555;
    font-style: italic;
}

@media (max-width: 767.98px) {
    .article-header {
        margin-left: -12px;
        margin-right: -12px;
        padding: 0;
        min-width: calc(100% + 12px);
        height: auto;
    }

    .article-header h1,
    .article-header .article-category,
    .article-header .author-name,
    .article-header .img-desc,
    .article-header .first-card-excerpt {
        padding-left: 32px;
        padding-right: 20px;
    }
}

/* ===================== AUTHOR BOX ===================== */
.author-box {
    margin: 0 auto;
    position: relative;
    display: inline-block;
}

.author-box img {
    width: 64px;
    width: clamp(46px, 4vw + 10px, 64px);
    max-width: 64px;
    border-radius: 50%;
}


/* ===================== ARTICLE BODY ===================== */
article {
    max-width: 900px;
    margin: 0 auto;
    text-align: left;
    padding: 0px;
}

.article-header {
    margin-top: 20px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-family: 'Libre Baskerville', serif;
}

.article-header .first-title-category {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    margin-bottom: 10px;
    margin-top: 20px;
}

.article-header .first-title-category a {
    white-space: normal;
    /* pastikan bisa line-break */
    word-wrap: break-word;
    /* kalau ada kata panjang tanpa spasi, bisa pecah */
    overflow-wrap: anywhere;
    /* modern: biar kata panjang patah */
    font-size: 2rem;
    font-size: clamp(1.5rem, 2vw + .5rem, 2rem);
    color: #191919;
    text-decoration: none;
}

.article-header .first-title-category:hover a:hover {
    text-decoration: underline;
}

.article-header .first-card-excerpt {
    max-width: 700px;
    /* font-size: 1rem; */
    font-weight: 300;
    white-space: normal;
    /* pastikan bisa line-break */
    word-wrap: break-word;
    /* kalau ada kata panjang tanpa spasi, bisa pecah */
    overflow-wrap: anywhere;
    /* modern: biar kata panjang patah */
    margin: 0 auto;
    position: relative;
    margin-bottom: 20px;
}

/* ==== */

article a {
    color: var(--bs-aham);
    text-decoration: none;
}

article a:hover {
    color: #141414;
    text-decoration: underline;
}

article .dropcap {
    all: unset;
    background-color: transparent !important;
    color: var(--bs-aham);
    float: left;
    display: block;
    font-size: 5rem;
    line-height: 4.5rem;
    text-align: center;
    text-transform: uppercase;
    margin: 0;
    margin-right: 10px;
}

article .next-prev-post {
    border-top: 2px #000 solid;
    border-bottom: 2px #000 solid;
    margin-top: 30px;
    margin-bottom: 30px;
}

article .post-tag {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: var(--bs-aham);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 600;
    /* border-radius: 50px; */
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.2rem;
}

article .post-tag:hover {
    color: #EFEFEF;
}

.article-border-left {
    border-left: 1px solid black;
}

.article-border-right {
    border-right: 1px solid black;
}

.article-body {
    position: relative;
}

.article-body .article-share {
    position: absolute;
    top: 0;
    left: 10px;
    background: #fff;
    z-index: 10;
}

.article-body .wp-caption {
    width: 100% !important;
}

.article-body img {
    width: 100% !important;
    height: auto;
}

.article-body .wp-caption .wp-caption-text {
    font-style: italic;
    font-size: 9pt;
    color: #555555;
}


/* Supaya text bisa turun kalau layar sempit */
.article-body {
    white-space: normal;
    /* pastikan bisa line-break */
    word-wrap: break-word;
    /* kalau ada kata panjang tanpa spasi, bisa pecah */
    overflow-wrap: anywhere;
    /* modern: biar kata panjang patah */
}

.article-body iframe {
    max-width: 100% !important;
}

/* ================== article body page ================== */

article.page-article {
    max-width: 1000px;
    margin: 0 auto;
    text-align: left;
    padding: 0px;
}


/* ================== CATEGORY =================== */
.title-page-category {
    font-size: 2rem;
    font-size: clamp(2rem, 2vw + 1rem, 6rem);
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    display: inline-block;
    /* border-top: 1.5px solid #000; */
    border-bottom: 2px solid #000;
    /* padding-top: 0.12em; */
    /* line-height: 1.2; */
    font-family: 'Libre Baskerville', serif;
}

.post-thumbnail-wrapper {
    position: relative;
    /* supaya absolute child nempel ke parent ini */
    display: inline-block;
    width: 100%;
}

.title-page-category.title-page-category-white {
    position: absolute;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    color: #fff;
    z-index: 2;
    width: 100%;
    left: 0;
    bottom: 0;
    padding-top: 50px;
    border: 0 !important;
    padding-bottom: 20px;
}

.title-page-category.title-page-category-white span {
    position: relative;
    display: inline-block;
    padding: 10px 0;
    /* beri jarak biar garis tidak terlalu mepet */
}

.title-page-category.title-page-category-white span::before,
.title-page-category.title-page-category-white span::after {
    content: "";
    position: absolute;
    left: 50%;
    width: 50px;
    /* panjang garis */
    height: 2px;
    /* tebal garis */
    background-color: currentColor;
    /* warna ikut teks */
    transform: translateX(-50%);
}

.title-page-category.title-page-category-white span::before {
    top: 10px;
    /* garis atas */
}

.title-page-category.title-page-category-white span::after {
    bottom: 14px;
    /* garis bawah */
}


.post-thumbnail-wrapper img {
    display: block;
    width: 100%;
    height: auto;
}


/* ================== COMMENT ==================== */

.article-comments {
    font-size: 10pt;
}

.article-comments #comments {
    font-size: 1rem !important;
}

.article-comments ol.commentlist,
.article-comments ul.children {
    list-style: none;
    /* hilangkan angka/nomor */
}

.article-comments ol.commentlist li {
    margin-top: 10px;
}
.article-comments .comment-body img {
    width: 50px !important;
    height: 50px;
    max-width: 50px;
    border-radius: 50%;
    /* membuat bundar */
    object-fit: cover;
    /* memotong gambar sesuai ukuran */
    display: block;
    /* mencegah layout inline bermasalah */
}

.article-comments .comment-body .comment-meta a {
    font-size: 9pt;
    color: #555555;
    text-decoration: none;
}

.article-comments .comment-body .comment-author {
    font-size: 10pt;
    color: #555555;
}

.article-comments .comment-body .comment-author .fn a {
    color: var(--bs-aham);
    text-decoration: none;
}

.article-comments .comment-body .comment-meta a.comment-edit-link {
    font-style: italic;
}

.article-comments .comment-body .comment-meta a.comment-edit-link:hover {
    /* text-decoration: underline; */
    color: var(--bs-aham-hover);
}

.article-comments .reply a.comment-reply-link {
    text-decoration: none;
    padding: 2px 5px;
    background-color: var(--bs-secondary);
    color: white;
    font-size: 9pt;
}

.article-comments .reply a.comment-reply-link:hover {
    text-decoration: none;
    padding: 2px 5px;
    background-color: var(--bs-gray-700);
    color: white;
}

/* comment form */
.comment-respond .comment-form .comment-form-comment label,
.comment-respond .comment-form .comment-form-author label,
.comment-respond .comment-form .comment-form-email label,
.comment-respond .comment-form .comment-form-url label {
    display: none;
}

.comment-respond .comment-form .comment-form-comment textarea {
    border: 1px solid #cdcdcd;
    width: 100%;
    color: #333;
    /* warna teks */
    font-size: 10pt;
    /* ukuran font */
    padding: 5px 10px;
}

.comment-respond .comment-form .comment-form-comment textarea:focus {
    outline: none;
    /* hilangkan outline default */
    box-shadow: none;
    /* hilangkan shadow focus default */
    border-color: #bbbbbb;
    /* tetap pertahankan border jika perlu */
}

.comment-respond .comment-form .comment-form-author input,
.comment-respond .comment-form .comment-form-email input,
.comment-respond .comment-form .comment-form-url input {
    border: 1px solid #cdcdcd;
    color: #333;
    height: 30px;
    padding: 5px 10px;
    height: 40px;
}

.comment-respond .comment-form .comment-form-author input:focus,
.comment-respond .comment-form .comment-form-email input:focus,
.comment-respond .comment-form .comment-form-url input:focus {
    outline: none;
    /* hilangkan outline default */
    box-shadow: none;
    /* hilangkan shadow focus default */
    border-color: #bbbbbb;
    /* tetap pertahankan border jika perlu */
}

.comment-respond .comment-form .form-submit .submit {
    background-color: var(--bs-aham);
    border: 1px solid var(--bs-aham);
    text-transform: uppercase;
    color: white;
    font-size: 15px;
    padding: 5px 10px;
}

.comment-respond .comment-form .form-submit .submit:hover {
    background-color: var(--bs-aham-hover);
    border: 1px solid var(--bs-aham-hover);
    color: white;
}

.comment-respond .comment-reply-title {
    font-size: 10pt !important;
}

.comment-respond .comment-reply-title a {
    color: var(--bs-aham);
    text-decoration: none;
}

.comment-respond .comment-reply-title small a {
    text-decoration: underline;
    font-style: italic;
}

/* Container untuk 3 field input agar satu baris */
.comment-form-author,
.comment-form-email,
.comment-form-url {
    display: inline-block;
    width: calc((100% - 40px)/3);

}

.comment-form-author,
.comment-form-email {
    margin-right: 16px;
}

.comment-form-author input,
.comment-form-email input,
.comment-form-url input {
    width: 100%;
}

@media (max-width: 768px) {

    .comment-form-author,
    .comment-form-email,
    .comment-form-url {
        display: block;
        width: 100%;
        margin-right: 0;
    }
}

/* ================ PAGINATION =============== */

/* Wrapper pagination */
.navigation.pagination {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 1.5rem 0;
}

/* Isi pagination */
.navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    /* <-- biar turun kalau kepanjangan */
    gap: 0.5rem;
    justify-content: center;
}

/* Tombol pagination */
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    /* border-radius: 6px; */
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    /* angka/tulisan tidak terpotong */
}

/* Hover */
.navigation.pagination .page-numbers:hover {
    background: #f5f5f5;
    border-color: #bbb;
}

/* Aktif */
.navigation.pagination .page-numbers.current {
    background: #333;
    color: #fff;
    border-color: #333;
    font-weight: 600;
}

/* Prev & Next */
.navigation.pagination .page-numbers.prev,
.navigation.pagination .page-numbers.next {
    font-size: 1rem;
    padding: 0 1px;
}

/* 🔹 Responsif di layar kecil */
@media (max-width: 576px) {
    .navigation.pagination .page-numbers {
        min-width: 28px;
        height: 28px;
        font-size: 0.75rem;
        padding: 0 8px;
    }
}

/* new edition */
.nyata-new-edition img {
    width: 100%;
    height: auto;
}



.logo-white {
    filter: brightness(0) invert(1);
    /* jadi putih */
}

#btn-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: none;
    /* awalnya disembunyikan */
    border-radius: 0%;
    background-color: var(--bs-aham);
    border-color: var(--bs-aham);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}




/* Container utama tombol share */
.share-container {
    position: fixed;
    right: 20px;
    bottom: 80px;
    /* transform: translateY(-50%); */
    z-index: 9999;
    user-select: none;
}

/* Tombol share */
.share-button {
    width: 45px;
    height: 45px;
    background: #0073e6;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    /* border-radius: 5px; */
    cursor: pointer;
    font-size: 14px;
    font-weight: bold;
    /* bayangan agar tombol terlihat di atas */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.2s ease;
}

.share-button:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Tombol sosial media */
.social-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 8px;
    position: relative;
}

.social-button {
    width: 35px;
    height: 35px;
    /* border-radius: 5px; */
    background: #555;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* Aktif saat expand */
.social-buttons.show .social-button {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Delay animasi berurutan */
.social-buttons.show .social-button:nth-child(1) {
    transition-delay: 0.25s;
}

.social-buttons.show .social-button:nth-child(2) {
    transition-delay: 0.2s;
}

.social-buttons.show .social-button:nth-child(3) {
    transition-delay: 0.15s;
}

.social-buttons.show .social-button:nth-child(4) {
    transition-delay: 0.1s;
}

.social-buttons.show .social-button:nth-child(5) {
    transition-delay: 0.05s;
}

/* Saat hide, delay dibalik */
.social-buttons.hide .social-button:nth-child(1) {
    transition-delay: 0.05s;
}

.social-buttons.hide .social-button:nth-child(2) {
    transition-delay: 0.1s;
}

.social-buttons.hide .social-button:nth-child(3) {
    transition-delay: 0.15s;
}

.social-buttons.hide .social-button:nth-child(4) {
    transition-delay: 0.2s;
}

.social-buttons.hide .social-button:nth-child(5) {
    transition-delay: 0.25s;
}


/* ============== paging artikel ================ */
.nyata-pages {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
    font-weight: 400;
}

.nyata-pages a,
.nyata-pages span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border: 1px solid #ddd;
    /* border-radius: 6px; */
    font-size: 0.9rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
}

.nyata-pages .current:last-of-type {
    background: #000;
    color: #fff;
    border-color: #000;
}

.nyata-pages a:hover {
    text-decoration: none;
    background: #f5f5f5;
}


/* ============ search header ================ */
.search-header {
  position: relative;
  margin-top: 1px;
}
.search-header a {
  color: #2d2d2d;
  text-decoration: none;
  padding: 10px 15px;
  font-size: 1.2rem;
  margin-right: 35px;
}

.search-form-wrap {
  position: absolute;
  top: 100%;
  margin-top: 1px;
  right: 0;
  width: 100%;
  max-width: 350px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 0 10px;
  overflow: hidden;

  max-height: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.search-form-wrap.active,
.search-form-input.active {
  padding: 10px;
  max-height: 100px; /* cukup untuk form */
  opacity: 1;
  transform: translateY(0);
}

.search-form-wrap form,
.search-form-input form {
  display: flex;
  height: 40px;
}

.search-form-wrap input,
.search-form-input input {
  flex: 1;
  padding: 5px 10px;
  border: 1px solid #ccc;
  /* border-radius: 4px 0 0 4px; */
}
.search-form-wrap input:focus,
.search-form-input input:focus {
  outline: none !important;   /* hilangkan outline biru */
  box-shadow: none !important; /* hilangkan shadow biru Bootstrap */
}

.search-form-wrap button,
.search-form-input button {
  padding: 5px 15px;
  border: 1px solid var(--bs-aham);
  background-color: var(--bs-aham);
  border-left: 0;
  color: white;
  /* border-radius: 0 4px 4px 0; */
  cursor: pointer;
}



.article-body .card-content-article a.card-title {
    font-family: var(--ff-article) !important;
    font-size: 18px !important;
    color: var(--bs-aham);
}

.article-body .card-content-article .wp-caption p {
    font-size: 12px !important;
    font-style: italic;
    margin-top: 0;
    padding-top: 0;
}