    /* ==============================
   CITRABAJA ARTICLE STYLING
   Bootstrap 4 Friendly
   ============================== */

.citrabaja-article {
    font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #212529;
    line-height: 1.8;
}

/* IMAGE HEADER */
.citrabaja-article > img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    object-fit: cover;
}

/* CARD */
.citrabaja-article .card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
}

.citrabaja-article .card-body {
    padding: 2rem;
}

/* ARTICLE CONTENT */
.citrabaja-article article {
    font-size: 15.5px;
}

/* PARAGRAPH */
.citrabaja-article p {
    margin-bottom: 1rem;
    color: #343a40;
}

/* HEADING */
.citrabaja-article h2,
.citrabaja-article h3 {
    margin-top: 2.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
    color: #1f2937;
}

.citrabaja-article h2 {
    font-size: 1.5rem;
    border-left: 4px solid #dc3545;
    padding-left: 12px;
}

.citrabaja-article h3 {
    font-size: 1.2rem;
}

/* LIST */
.citrabaja-article ul {
    padding-left: 1.2rem;
    margin-bottom: 1.2rem;
}

.citrabaja-article ul li {
    margin-bottom: .6rem;
}

/* BLOCKQUOTE */
.citrabaja-article blockquote {
    background: #f8f9fa;
    border-left: 4px solid #6c757d;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    font-size: 14.5px;
}

/* HR */
.citrabaja-article hr {
    margin: 2rem 0;
    border-top: 1px solid #e5e7eb;
}

/* TABLE */
.citrabaja-article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: 14.5px;
}

.citrabaja-article table th,
.citrabaja-article table td {
    border: 1px solid #dee2e6;
    padding: .75rem;
    vertical-align: top;
}

.citrabaja-article table thead {
    background-color: #f1f3f5;
    font-weight: 600;
}

/* BADGES (KATEGORI & TAGS) */
.citrabaja-article .badge {
    margin: 0 .25rem .4rem 0;
    font-weight: 500;
    padding: .45em .65em;
}

/* SHARE BUTTONS */
.citrabaja-article .share-btn a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-right: .5rem;
    border-radius: 50%;
    background: #f1f3f5;
    color: #495057;
    transition: all .2s ease-in-out;
}

.citrabaja-article .share-btn a:hover {
    background: #dc3545;
    color: #fff;
    transform: translateY(-2px);
}

/* SVG ICON */
.citrabaja-article svg {
    width: 18px;
    height: 18px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .citrabaja-article .card-body {
        padding: 1.25rem;
    }

    .citrabaja-article h2 {
        font-size: 1.3rem;
    }

    .citrabaja-article h3 {
        font-size: 1.1rem;
    }
}


/* ARTICLE CARD */
.card-article {
    height: 100%;
    transition: transform .2s ease, box-shadow .2s ease;
}

.card-article:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

/* IMAGE SAME HEIGHT */
.card-article .article-thumb {
    width: 100%;
    height: 220px;            /* 🔥 atur sesuai selera */
    object-fit: cover;        /* crop rapi */
    border-top-left-radius: .25rem;
    border-top-right-radius: .25rem;
}

/* BODY */
.card-article .card-body {
    display: flex;
    flex-direction: column;
}

/* TITLE */
.card-article .card-title {
    font-size: 1rem;
    font-weight: 600;
    margin-top: .5rem;
}

/* TEXT */
.card-article .card-text {
    font-size: 14px;
    color: #495057;
    margin-top: .25rem;
}

@media (max-width: 768px) {
    .card-article .article-thumb {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .card-article .article-thumb {
        height: 160px;
    }
}


/* ================================
   SECTION ARTIKEL
================================ */
.closed-contests {
    background: #f5f7fa;
    padding: 80px 0;
}

.section-heading h4 {
    font-weight: 700;
    letter-spacing: 1px;
    color: #1f2937;
    margin-bottom: 12px;
}

.section-heading p {
    max-width: 760px;
    margin: 0 auto 40px;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.7;
}

/* ================================
   CARD ARTICLE
================================ */
.card-article {
    border: none;
    border-radius: 14px;
    overflow: hidden;
    background: #ffffff;
    height: 100%;
    transition: all .3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.06);
}

.card-article:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0,0,0,.12);
}

/* ================================
   IMAGE
================================ */
.card-article .article-thumb {
    height: 230px;
    width: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.card-article:hover .article-thumb {
    transform: scale(1.05);
}

/* ================================
   BODY
================================ */
.card-article .card-body {
    padding: 20px 22px 24px;
    display: flex;
    flex-direction: column;
}

/* AUTHOR & DATE */
.card-article .text-muted {
    font-size: 12px;
    font-weight: 600;
    color: #9ca3af !important;
    margin-bottom: 6px;
}

/* TITLE */
.card-article .card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: #111827;
    margin-bottom: 10px;

    /* 2 lines clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* EXCERPT */
.card-article .card-text {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.6;

    /* 3 lines clamp */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ================================
   BUTTON
================================ */
.main-button a {
    background: #2563eb;
    color: #fff;
    padding: 14px 36px;
    border-radius: 999px;
    font-weight: 600;
    transition: all .3s ease;
    text-decoration: none;
}

.main-button a:hover {
    background: #1e40af;
    box-shadow: 0 10px 25px rgba(37,99,235,.35);
}

/* ================================
   RESPONSIVE
================================ */
@media (max-width: 768px) {
    .card-article .article-thumb {
        height: 200px;
    }
}

@media (max-width: 576px) {
    .card-article .article-thumb {
        height: 180px;
    }
}

/* ================================
   SIDEBAR CATEGORY
================================ */
.card-category {
    border: none;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.06);
    transition: all .25s ease;
}

.card-category + .card-category {
    margin-top: 10px;
}

/* ================================
   HEADER
================================ */
.card-category .card-header {
    background: transparent;
    border: none;
    padding: 14px 18px;
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    cursor: pointer;
    position: relative;
}

/* arrow icon */
.card-category .card-header::after {
    content: "▾";
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #9ca3af;
    transition: transform .3s ease;
}

/* rotate arrow when collapsed */
.card-category .card-header.collapsed::after {
    transform: translateY(-50%) rotate(-90deg);
}

/* ================================
   BODY
================================ */
.card-category .card-body {
    padding: 8px 18px 14px;
}

/* ================================
   LIST
================================ */
.card-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.card-category ul li {
    margin-bottom: 6px;
}

.card-category ul li:last-child {
    margin-bottom: 0;
}

/* ================================
   LINK
================================ */
.card-category ul li a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all .25s ease;
}

.card-category ul li a:hover {
    background: #f1f5f9;
    color: #1e40af;
    transform: translateX(4px);
}

/* ================================
   SEARCH
================================ */
#search-category {
    border-radius: 12px;
    font-size: 13px;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
}

#search-category:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.15);
}

/* ================================
   SERVICE ITEM
================================ */
.service-item {
    border-radius: 18px;
    background: #ffffff;
    padding: 22px 20px;
    transition: all .3s ease;
}

.service-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

/* ================================
   ICON CONTAINER
================================ */
.service-item .icon {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ICON IMAGE */
.service-item .icon img {
    width: 46px;
    height: auto;
    object-fit: contain;
}

/* ================================
   CONTENT
================================ */
.service-item h4 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 6px;
    color: #111827;
}

.service-item p {
    font-size: 14px;
    line-height: 1.6;
    color: #4b5563;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .service-item .row {
        flex-direction: column;
        text-align: center;
    }

    .service-item .icon {
        margin-bottom: 12px;
    }
}

