:root {
    --bs-line: #241f1f;
    /* --bs-aham: rgba(34, 158, 255, 0.9);
    --bs-aham-hover: rgb(34, 158, 255, 1);
    --bs-aham-disabled: rgba(34, 158, 255, 0.7);
    --bs-navbar-brand-color: rgba(34, 158, 255, 0.9);
    --bs-navbar-brand-hover-color: rgba(34, 158, 255, 1); */
    /* biru 34, 158, 255 */
    /* merah 255,32,33 */
    --bs-aham: rgba(255, 32, 33, 0.9);
    --bs-aham-hover: rgb(255, 32, 33, 1);
    --bs-aham-disabled: rgba(255, 32, 33, 0.7);
    --bs-navbar-brand-color: rgba(255, 32, 33, 0.9);
    --bs-navbar-brand-hover-color: rgba(255, 32, 33, 1);
    /* --bs-aham: rgba(34, 9, 9, 0.9);
    --bs-aham-hover: rgb(34, 9, 9, 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-weight: 200;
}

.container {
    max-width: 1200px;
}

/* ============ 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;
}

/* =============NAVBAR=============== */
.navbar .navbar-nav {
    /* text-transform: uppercase; */
}

.navbar .navbar-nav a {
    font-weight: 400;
    color: #555;
}

.navbar .navbar-nav a:hover,
.navbar .navbar-nav a.active {
    color: #000;
    text-decoration: underline;
    text-decoration-color: var(--bs-aham-hover);
    /* Warna underline */
    text-decoration-thickness: 2px;
    /* Tebal underline */
    text-underline-offset: 10px;
}

/* Dropdown muncul saat hover (desktop) */
.navbar .dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
    border-radius: 0%;
    /* optional: hilangkan jarak */
}

/* Optional: biar transition lebih smooth */
.navbar .dropdown-menu {
    transition: all 0.3s ease;
}

/* Submenu (jika ada nested) */
.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-item:hover, .dropdown-item {
  border-bottom: 2px transparent solid;
}

.dropdown-item:hover, .dropdown-item:focus,
.dropdown-item.active, .dropdown-item:active {
  color: #fff;
  text-decoration: none;
  background-color: #e9ecef;
  border-bottom: 2px var(--bs-aham-hover) solid;
}


/* =============THUMB================ */
.img-frame {
    overflow: hidden;
    /* supaya gambar tidak melewati batas */
    display: inline-block;
    /* optional */
    width: 100% !important;
}

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

/* Zoom effect */
.img-thumb:hover {
    transform: scale(1.1);
    /* zoom 10% tapi tetap terpotong di dalam frame */
}


/* =============== 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 !important;
    font-weight: 400;
}

.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;
}

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

.author-name,
.author-name {
    color: var(--bs-aham);
    text-decoration: none;
}

.author-name:hover,
.author-name:hover {
    color: #141414;
    text-decoration: underline;
}

.title-divider {
    text-transform: uppercase;
    display: flex;
    align-items: center;
    text-align: center;
    color: #333;
    /* warna teks */
    font-weight: bold;
}

.title-divider::before,
.title-divider::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid #333;
    /* tebal & warna garis */
    margin: 0 10px;
    /* jarak antara garis dan teks */
}


/* ========PAGINATION============= */
.pagination {
    /* margin: 10px 0; */
    padding-left: 10px;
    padding-right: 10px;
}

.pagination .page-item .page-link {
    border-radius: 0 !important;
    color: #333;
}

.pagination .page-item.active .page-link {
    color: white;
    background-color: #333;
    border-color: #ccc;
}

.pagination .page-item.active .page-link {
    outline: none !important;
    /* hilangkan outline biru */
    box-shadow: none !important;
    /* hilangkan shadow biru Bootstrap */
}


/* ================== CATEGORY =================== */
.title-page-category {
    font-size: 2rem;
    font-size: clamp(2rem, 2vw + 1rem, 6rem);
    font-weight: 500;
    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: "-";
    flex: 1;
    /* border-bottom: 2px solid #fff; tebal & warna garis */
    margin: 0 10px;
    /* jarak antara garis dan teks */
}



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

.first-card-excerpt {
    max-width: 700px;
    /* font-size: 1rem; */
    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;
}

.main-article {
    max-width: 800px;
    /* font-size: 1rem; */
    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;
}


/* ==========+FOOTER================ */
footer {
    font-size: 13px;
    font-weight: 400;
}

footer a {
    color: white;
    text-decoration: none;
    font-weight: 400;
}

footer a:hover,
footer a.active {
    color: white;
    font-weight: 400;
    text-decoration: underline;
    text-decoration-color: var(--bs-aham-hover);
    /* Warna underline */
    text-decoration-thickness: 1px;
    /* Tebal underline */
    text-underline-offset: 5px;
}

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



.main-article h2 {
    font-size: calc(1.25rem + 0.3vw);
    font-weight: 400;
}

@media (min-width: 1200px) {
    .main-article h2 {
        font-size: 1.4rem;
    }
}

.main-article h3 {
  font-size: 1.15rem;
    font-weight: 400;
}


.main-article table {
    caption-side: bottom;
    border-collapse: collapse;
}

.main-article table {
    --bs-table-bg: transparent;
    --bs-table-accent-bg: transparent;
    --bs-table-striped-color: #212529;
    --bs-table-striped-bg: rgba(0, 0, 0, 0.05);
    --bs-table-active-color: #212529;
    --bs-table-active-bg: rgba(0, 0, 0, 0.1);
    --bs-table-hover-color: #212529;
    --bs-table-hover-bg: rgba(0, 0, 0, 0.075);
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    vertical-align: top;
    border-color: #dee2e6;
}

.main-article table> :not(caption)>*>* {
    padding: 0.5rem 0.5rem;
    background-color: var(--bs-table-bg);
    border-bottom-width: 1px;
    box-shadow: inset 0 0 0 9999px var(--bs-table-accent-bg);
}

.main-article table>tbody {
    vertical-align: inherit;
}

.main-article table>thead {
    vertical-align: bottom;
}

.main-article table> :not(:last-child)> :last-child>* {
    border-bottom-color: currentColor;
}

.main-article table> :not(caption)>* {
    border-width: 1px 0;
}

.main-article table> :not(caption)>*>* {
    border-width: 0 1px;
}

.main-article table>tbody>tr:hover {
    --bs-table-accent-bg: var(--bs-table-hover-bg);
    color: var(--bs-table-hover-color);
}
p.bacajuga{
    color: var(--bs-aham-hover);
    font-weight: 400;
}
.link-bacalagi {
    color: #111;
    text-decoration: none;
    font-weight: 400;
    font-style: italic;
}

.link-bacalagi:hover {
    color: #111;
    text-decoration: underline;
    font-weight: 400;
}

.main-article pre,
.main-article blockquote {
    font-weight: 400;
    font-style: italic;
    white-space: pre-wrap; /* tetap jaga line break */
    background: #f9f9f9;
    padding: 10px;
    border-left: 4px solid #555;
}

.main-article pre.bacajuga {
    border-left: 4px solid var(--bs-aham-hover);
    color: var(--bs-aham);
}