/* ========================================
   ARTIKEL PAGE
======================================== */

.artikel-section {
    background: var(--neutral-00);
}

/* ========================================
   ARTICLE CARD
======================================== */

.artikel-card {
    display: flex;
    gap: 24px;
    text-decoration: none;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--neutral-100);
}

/* IMAGE */

.artikel-card-image {
    flex: 0 0 220px;
    height: 150px;
    overflow: hidden;
    background: #f3f3f3;
    border-radius: 8px;
}

.artikel-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.artikel-card:hover img {
    transform: scale(1.05);
}

/* CONTENT */

.artikel-card-content {
    flex: 1;
}

/* CATEGORY */

.artikel-card-category {
    font-family: var(--label-font);
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: 2px;
    color: var(--primary-500);
    text-transform: uppercase;
}

/* TITLE */

.artikel-card-title {
    color: var(--neutral-950);
    margin-top: 4px;
    margin-bottom: 12px;
}

/* DESC */

.artikel-card-desc {
    color: var(--neutral-600);
    margin-top: 12px;
}

/* META */

.artikel-card-meta {
    font-size: 12px;
    font-family: var(--label-font);
    color: var(--neutral-400);
    margin-top: 12px;
    display: flex;
    gap: 6px;
}

/* ========================================
   SIDEBAR
======================================== */

.artikel-sidebar {
    position: sticky;
    top: 200px;
    padding: 24px;
    border: 1px solid var(--neutral-100);
    border-radius: 8px;
    background: var(--neutral-50);
}

.artikel-sidebar-block {
    margin-bottom: 40px;
}

.artikel-sidebar-block h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 14px;
}

.artikel-sidebar-block ul {
    list-style: none;
    padding: 0;
}

.artikel-sidebar-block li {
    margin-bottom: 10px;
}

.artikel-sidebar-block a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.artikel-sidebar-block a:hover {
    color: #000;
}

.artikel-sidebar-title {
    margin-bottom: 16px !important;
}

.artikel-popular-card {
    display: block;
    text-decoration: none;
    color: inherit;
    margin-bottom: 25px;
}

.artikel-popular-image {
    width: 100%;
    height: 160px;
    background: #eee;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 12px;
}

.artikel-popular-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artikel-popular-category {
    font-family: var(--label-font);
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: 2px;
    color: var(--primary-500);
    text-transform: uppercase;
}

.artikel-popular-title {
    color: var(--neutral-950);
    margin-top: 4px;
}

.artikel-popular-meta {
    font-size: 12px;
    font-family: var(--label-font);
    color: var(--neutral-400);
    margin-top: 12px;
    display: flex;
    gap: 6px;
}

.artikel-divider {
    border: none;
    border-top: 1px solid var(--neutral-100);
    margin: 24px 0;
}

/* ========================================
   SEARCH
======================================== */

.artikel-search input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

/* ========================================
   POPULAR
======================================== */

.artikel-popular-item {
    display: block;
    font-size: 14px;
    margin-bottom: 12px;
    color: #333;
    text-decoration: none;
}

.artikel-popular-item:hover {
    text-decoration: underline;
}

/* ========================================
   DETAIL PAGE
======================================== */

.artikel-featured-image {
    width: 100%;
    margin-bottom: 24px;
    margin-top: 24px;
}

.artikel-content {
    line-height: 1.8;
    font-size: 16px;
}

.artikel-content h2,
.artikel-content h3 {
    margin-top: 30px;
}

/* ========================================
   HERO ARTIKEL
======================================== */

.artikel-hero {
    padding: 200px 24px 60px;
    text-align: center;
}

.artikel-hero-title {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 12px;
}

.artikel-hero-desc {
    font-size: 16px;
    color: #777;
}

/* =============================
   SEARCH + FILTER
============================= */

.artikel-filter {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
}


/* TABS */

.artikel-tabs {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    flex-wrap: nowrap;
    padding-bottom: 4px;
}

/* hide scrollbar (optional aesthetic) */
.artikel-tabs::-webkit-scrollbar {
    height: 6px;
}

.artikel-tabs::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.artikel-tab {
    padding: 8px 14px;
    min-height: 40px;
    border: 1px solid var(--neutral-100);
    font-family: var(--label-font) !important;
    display: flex;
    align-items: center;
    font-weight: 600;
    font-size: 14px !important;
    text-decoration: none;
    border-radius: 8px;
    color: var(--neutral-950);
    flex-shrink: 0;
    /* penting */
}

.artikel-tab:hover {
    background: var(--neutral-50);
}

.artikel-tab.active {
    background: var(--primary-50);
    color: var(--primary-500);
    border: none;
}

.artikel-filter {
    position: relative;
}

.artikel-filter:after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, white);
    pointer-events: none;
}

.artikel-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.artikel-tag-btn {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-family: var(--label-font);
    font-size: 14px;
    background: #f3f4f6;
    color: var(--neutral-600);
    text-decoration: none;
    transition: 0.2s;
}

.artikel-tag-btn:hover {
    background: #111;
    color: #fff;
}

.artikel-related-card {
    display: block;
    text-decoration: none;
    color: inherit;
}

.artikel-related-image {
    height: 160px;
    background: #eee;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 10px;
}

.artikel-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.artikel-related-category {
    font-family: var(--label-font);
    font-style: normal;
    font-size: 12px;
    font-weight: 600;
    line-height: 140%;
    letter-spacing: 2px;
    color: var(--primary-500);
    text-transform: uppercase;
}

.artikel-content iframe {
    aspect-ratio: 16/9;
    width: 100%;
    height: auto;
}

.artikel-detail {
    margin-top: 100px;
}



.pagination-medium {
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.pagination-medium .btn {
    border-radius: 30px;
    padding: 8px 18px;
    font-weight: 500;
}

.pagination-info {
    font-size: .9rem;
}

.artikel-share {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.artikel-share .btn {
    border-radius: 8px;
    padding: 6px 10px;
}


/* Tablet */
@media (max-width: 992px) {
    .artikel-detail {
        margin-top: 40px;
    }

    .artikel-hero {
        padding: 160px 24px 60px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .artikel-detail {
        margin-top: 40px;
    }
}

/* ======================================
TUTORIAL FILTER
====================================== */

.tutorial-filter {
    border-bottom: 1px solid #eee;
    padding-bottom: 12px;
}

.tutorial-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.tutorial-filter .row {
    display: flex;
    align-items: center;
}

.tutorial-filter form {
    width: 100%;
}

.tutorial-filter-inner{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
flex-wrap:wrap;
}

.tutorial-tabs{
display:flex;
flex-wrap:wrap;
gap:10px;
}

.tutorial-filter-inner form{
max-width:320px;
width:100%;
}

@media (max-width:992px) {

    .tutorial-tabs {
        justify-content: center;
    }

}