/**
 * File: public/assets/css/pages/articles/articles.css
 * Module Style: Artikel & Budaya Jepang - EMU Japan Standard Final
 */


/* ============================================================
   1. HERO PROGRESS BANNER (ARTICLE HERO)
   ============================================================ */

.article-hero-card {
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04) !important;
    background: #ffffff;
}

.article-hero-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

@media (min-width: 768px) {
    .article-hero-title {
        font-size: 1.75rem;
    }
}

.article-hero-sub {
    font-size: 0.875rem;
    line-height: 1.5;
}

.article-progress-percent {
    font-size: 1.75rem;
    line-height: 1;
    letter-spacing: -0.5px;
}

.article-hero-progress {
    overflow: hidden;
    background-color: #f1f3f5 !important;
}

.article-hero-progress .progress-bar {
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}


/* ============================================================
   2. FILTER & TOOLBAR NAVIGASI
   ============================================================ */

.article-filter-bar .card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
}

.filter-select-wrapper select {
    min-width: 140px;
    background-color: #f8f9fa;
    border-color: #e9ecef !important;
    font-size: 0.8125rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-select-wrapper select:focus {
    border-color: #dc3545 !important;
    background-color: #ffffff;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15);
}


/* Switcher Mode Bahasa (Detail View) */

.btn-level-switch {
    border: 1px solid transparent;
    transition: all 0.2s ease-in-out;
    font-size: 0.8125rem;
}

.btn-level-switch.active {
    background-color: #dc3545 !important;
    color: #ffffff !important;
    border-color: #dc3545 !important;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.25);
}

.btn-level-switch:not(.active):hover {
    background-color: #e9ecef;
    color: #1a1a1a;
}


/* ============================================================
   3. ITEM ARTIKEL (MEMANJANG VERTIKAL)
   ============================================================ */

.article-item-card {
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    transition: transform 0.25s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.2, 0, 0.2, 1), border-color 0.25s ease;
}

.article-item-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07) !important;
    border-color: rgba(220, 53, 69, 0.2) !important;
}

.article-icon-box {
    transition: transform 0.2s ease;
}

.article-item-card:hover .article-icon-box {
    transform: scale(1.05);
}

.article-status-icon {
    transition: all 0.2s ease;
}

.article-item-card:hover .article-status-icon {
    transform: translateX(2px);
}


/* ============================================================
   4. DETAIL ARTIKEL READER AREA
   ============================================================ */

.article-main-card {
    border: 1px solid rgba(0, 0, 0, 0.07) !important;
}

.article-detail-title {
    font-size: 1.75rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .article-detail-title {
        font-size: 2.15rem;
    }
}

.article-detail-lead {
    font-size: 1rem;
}

.article-reader-area {
    min-height: 250px;
}

.article-formatted-text {
    font-size: 1.05rem;
    line-height: 2;
    color: #2b2b2b;
}

.article-formatted-text p {
    margin-bottom: 1.5rem;
}

.font-japanese {
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
}


/* Helpers */

.extra-small {
    font-size: 0.75rem;
}

.tracking-wider {
    letter-spacing: 0.5px;
}

.hover-danger {
    transition: color 0.2s ease;
}

.hover-danger:hover {
    color: #dc3545 !important;
}