/* RTL dari artikel.min.css — dibuat otomatis, jangan diedit */
/* ================================================================
   ARTIKEL — Daftar Artikel & Berita
   Uses: core.css variables (--teal-*, --gray-*, --r-*, --sh-*)
   ================================================================ */

/* ---- Hero Featured ---- */

.container-artikel{
    margin-top:-60px;
}
.atk-hero {
    position: relative;
    border-radius: var(--r-lg);
    overflow: hidden;
    min-height: 380px;
    background: var(--dark);
    margin-bottom: 32px;
    display: block;
    color: inherit;
}
.atk-hero img {
    width: 100%; height: 100%;
    object-fit: cover;
    position: absolute; inset: 0;
    opacity: 0.55;
    transition: transform 0.6s cubic-bezier(.22,1,.36,1), opacity 0.4s;
}
.atk-hero:hover img {
    transform: scale(1.04); opacity: 0.65;
}
.atk-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,43,41,0.15) 0%, rgba(15,43,41,0.85) 100%);
    z-index: 1;
}
.atk-hero-content {
    position: relative; z-index: 2;
    display: flex; flex-direction: column;
    justify-content: flex-end;
    height: 100%; padding: 40px;
}
.atk-hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    color: var(--teal-700);
    font-size: 12px; font-weight: 700;
    padding: 6px 14px; border-radius: 100px;
    margin-bottom: 16px; width: fit-content;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.atk-hero h2 {
    color: #fff; font-size: 28px; font-weight: 800;
    line-height: 1.3; margin-bottom: 10px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.atk-hero .atk-hero-desc {
    color: rgba(255,255,255,0.85);
    font-size: 14px; line-height: 1.7;
    margin-bottom: 20px; max-width: 600px;
}
.atk-hero-meta {
    display: flex; align-items: center; gap: 16px;
    color: rgba(255,255,255,0.7); font-size: 12px;
}
.atk-hero .btn-ea-primary i {
    transition: transform 0.25s;
}
.atk-hero:hover .btn-ea-primary i {
    transform: translateX(-4px);
}

/* ---- Section Header + Filter (gabung jadi 1 card) ---- */
.atk-section-bar {
    background: linear-gradient(135deg, var(--teal-100) 0%, white 100%);
    border: none;
    border-radius: var(--r-lg);
    padding: 24px;
    margin-bottom: 32px;
}
.atk-section-bar .sec-label { margin-bottom: 4px; }
.atk-section-bar .sec-title { font-size: 20px; margin-bottom: 20px; color:var(--teal-800);}
.atk-section-bar .atk-filter-row {
    display: flex; flex-wrap: wrap;
    align-items: center; gap: 10px;
    padding-top: 16px;
    border-top: 1px solid var(--teal-200);
}

.atk-cats {
    display: flex; flex-wrap: wrap;
    gap: 8px; flex: 1;
}
.atk-cat {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 16px; border-radius: 100px;
    font-size: 13px; font-weight: 600;
    border: 1px solid var(--teal-200);
    background: white; color: var(--teal-800);
    cursor: pointer; transition: var(--ease);
    white-space: nowrap;
}
.atk-cat:hover {
    border-color: var(--teal-500);
    color: var(--teal-700);
    background: var(--teal-50);
}
.atk-cat.active {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: #fff; border-color: transparent;
    box-shadow: 0 2px 8px rgba(44,197,189,0.25);
}
.atk-search {
    position: relative; width: 260px; min-width: 200px;
}
.atk-search input {
    width: 100%; padding: 9px 40px 9px 16px;
    border: 1px solid var(--teal-200);
    border-radius: 100px; font-size: 13px;
    font-family: 'Poppins', sans-serif;
    background: white; color: var(--teal-800);
    transition: var(--ease); outline: none;
}
.atk-search input:focus {
    border-color: var(--teal-500);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(44,197,189,0.08);
}
.atk-search i {
    position: absolute; right: 14px; top: 50%;
    transform: translateY(-50%);
    color: var(--teal-600); font-size: 13px;
}

/* ---- Result Info ---- */
.atk-result-info {
    font-size: 13px; color: var(--gray-500);
    margin-bottom: 24px;
}
.atk-result-info strong { color: var(--gray-900); }
.atk-result-info a { color: var(--teal-700); font-weight: 600; }

/* ---- Article Grid ---- */
.atk-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px; margin-bottom: 40px;
}

/* ---- Article Card ---- */
.atk-card {
    background: var(--white);
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.35s cubic-bezier(.22,1,.36,1);
    display: flex; flex-direction: column;
    height: 100%;
}
.atk-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-lg);
    border-color: var(--teal-200);
}
.atk-card-img {
    position: relative; overflow: hidden;
    height: 200px;
}
.atk-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.atk-card:hover .atk-card-img img {
    transform: scale(1.06);
}
.atk-card-cat {
    position: absolute; top: 12px; right: 12px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    color: var(--teal-700);
    font-size: 11px; font-weight: 700;
    padding: 4px 12px; border-radius: 100px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    text-transform: capitalize;
}
.atk-card-body {
    padding: 20px;
    display: flex; flex-direction: column; flex: 1;
}
.atk-card-meta {
    display: flex; align-items: center;
    justify-content: space-between;
    color: #969696; font-size: 12px;
    margin-bottom: 10px;
}
.atk-card-title {
    font-size: 16px; font-weight: 700;
    color: var(--teal-800); line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.atk-card-desc {
    font-size: 13px; color: var(--gray-500);
    line-height: 1.7; margin-bottom: 16px; flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-weight:400;
}
.atk-card-link {
    display: inline-flex; align-items: center; gap: 6px;
    color: var(--teal-700); font-weight: 600;
    font-size: 13px; transition: var(--ease);
    margin-top: auto;
}
.atk-card-link:hover { color: var(--teal-500); gap: 10px; }
.atk-card-link i { transition: transform 0.25s; }
.atk-card:hover .atk-card-link i { transform: translateX(-4px); }

/* ---- Empty State ---- */
.atk-empty {
    text-align: center; padding: 64px 32px;
    color: var(--gray-500);
}
.atk-empty i {
    font-size: 48px; color: var(--gray-200);
    margin-bottom: 16px;
}
.atk-empty h5 {
    font-weight: 700; color: var(--gray-900);
    margin-bottom: 8px; font-size: 18px;
}
.atk-empty p { font-size: 14px; margin-bottom: 20px; }

/* ---- Pagination ---- */
.atk-pagi {
    display: flex; align-items: center;
    justify-content: center; gap: 6px;
    margin-bottom: 48px;
}
.atk-pagi a,
.atk-pagi span {
    display: inline-flex; align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--r-sm);
    font-size: 13px; font-weight: 600;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-500); background: var(--white);
    transition: var(--ease);
}
.atk-pagi a:hover {
    border-color: var(--teal-500);
    color: var(--teal-700);
    background: var(--teal-50);
}
.atk-pagi .active {
    background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
    color: #fff; border-color: transparent;
    box-shadow: 0 2px 8px rgba(44,197,189,0.25);
}
.atk-pagi .disabled { opacity: 0.4; pointer-events: none; }
.atk-pagi .dots {
    border: none; background: transparent;
    color: var(--gray-300); width: auto; padding: 0 4px;
}

/* ---- Breadcrumb ---- */
.atk-breadcrumb {
    display: flex; align-items: center;
    gap: 8px; font-size: 13px;
    color: var(--gray-500); margin-bottom: 24px;
    padding-top: 24px;
}
.atk-breadcrumb a { color: var(--teal-700); font-weight: 600; }
.atk-breadcrumb a:hover { text-decoration: underline; }
.atk-breadcrumb .sep { font-size: 10px; color: var(--gray-200); }

/* ---- Animations ---- */
@keyframes atkFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
.atk-anim {
    animation: atkFadeUp 0.5s ease forwards;
    opacity: 0;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 991.98px) {
    .atk-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
    .atk-hero { min-height: 280px; }
    .atk-hero-content { padding: 24px; }
    .atk-hero h2 { font-size: 20px; }
    .atk-hero .atk-hero-desc { font-size: 13px; }
    .atk-filter { flex-direction: column; align-items: stretch; }
    .atk-search { width: 100%; }
    .atk-search input{font-size:16px;}
    .atk-grid { grid-template-columns: 1fr; gap: 16px; }
    .atk-card-img { height: 180px; }
    .atk-card-body { padding: 16px; }
    .atk-card-title { font-size: 14px; }
    .atk-card-desc { font-size: 12px; }
    .atk-pagi a, .atk-pagi span { width: 36px; height: 36px; font-size: 12px; }
    .atk-cats {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 4px;
    }
    .atk-cats::-webkit-scrollbar { display: none; }
}
/* ---- Hero Featured v2 (atf-): teks di panel teal, thumbnail utuh tanpa overlay ---- */
.atf { position: relative; margin-bottom: 32px; border-radius: 26px; overflow: hidden; color: #fff;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V16L28 0l28 16v34L28 66v34M28 0v34L0 50v34l28 16 28-16V50L28 34' fill='none' stroke='%23fff' stroke-opacity='.11' stroke-width='1.2'/%3E%3C/svg%3E") center/46px 82px, linear-gradient(135deg, #2CC5BD 0%, #25B3AB 100%);
  box-shadow: 0 18px 40px rgba(37,179,171,.22); }
.atf, .atf *, .atf *::before, .atf *::after { box-sizing: border-box; }
.atf-track { display: grid; }
.atf-slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1.08fr; gap: 36px; align-items: center;
  padding: 40px 40px 40px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.atf-slide.on { opacity: 1; visibility: visible; }
.atf-slide > * { min-width: 0; }
.atf-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.atf-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 99px;
  background: #FFF23A; color: #0B6E66; font-size: 12px; font-weight: 800; box-shadow: 0 3px 0 rgba(10,90,85,.2); }
.atf-cat { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 99px; font-size: 12px; font-weight: 700;
  background: rgba(255,255,255,.18); border: 1px solid rgba(255,255,255,.4); }
.atf-title { font-size: clamp(22px, 2.5vw, 31px); font-weight: 800; line-height: 1.25; margin: 0 0 12px; letter-spacing: -.4px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.atf-title a { color: #fff; text-decoration: none; }
.atf-title a:hover { color: #FFF23A; }
.atf-desc { font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.93); margin: 0 0 18px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.atf-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 13px; color: rgba(255,255,255,.9); margin-bottom: 22px; }
.atf-meta i { margin-left: 5px; }
.atf-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 22px; border-radius: 14px; font-weight: 700; font-size: 14.5px;
  background: #fff; color: #178F88; text-decoration: none; box-shadow: 0 6px 0 rgba(10,90,85,.18); transition: transform .25s; }
.atf-btn:hover { color: #178F88; transform: translateY(-2px); }
.atf-btn i { transition: transform .25s; }
.atf-btn:hover i { transform: translateX(-3px); }
.atf-img { display: block; border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.15);
  aspect-ratio: 2 / 1;
  box-shadow: rgba(0, 0, 0, 0.05) 0px 1px 2px 0px; }
.atf-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.16,1,.3,1); }
.atf-img:hover img { transform: scale(1.03); }
.atf-nav { position: absolute; display: flex; align-items: center; justify-content: center; gap: 12px; z-index: 2; } /* posisi: tepat di bawah gambar (diatur JS) */
.atf-dots { display: flex; gap: 6px; }
.atf-dot { width: 8px; height: 8px; border-radius: 99px; border: 0; padding: 0; cursor: pointer; background: rgba(255,255,255,.45); transition: width .3s, background .3s; }
.atf-dot.on { width: 24px; background: #FFF23A; }
.atf-arrow { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.12);
  color: #fff; font-size: 11px; cursor: pointer; display: grid; place-items: center; transition: background .25s; }
.atf-arrow:hover { background: #fff; color: #178F88; }
.atf-arrow:focus, .atf-dot:focus { outline: none; }
.atf-arrow:focus-visible, .atf-dot:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
@media (max-width: 991px) {
  .atf-slide { grid-template-columns: 1fr; gap: 70px; padding: 22px 22px 26px; }
  .atf-img { order: -1; }
}
@media (max-width: 575px) {
  .atf { border-radius: 20px; }
  .atf-slide { padding: 16px 16px 20px; gap: 64px; }
  .atf-img { border-radius: 16px; }
  .atf-desc { font-size: 13.5px; -webkit-line-clamp: 2; margin-bottom: 12px; }
  .atf-tags { gap: 6px; margin-bottom: 10px; }
  .atf-badge, .atf-cat { font-size: 10.5px; padding: 5px 10px; }
  .atf-badge { box-shadow: 0 2px 0 rgba(10,90,85,.2); }
  .atf-title { font-size: 20px; line-height: 1.3; margin-bottom: 8px; }
  .atf-meta { flex-wrap: nowrap; gap: 12px; font-size: 11.5px; white-space: nowrap; margin-bottom: 16px; overflow: hidden; }
  .atf-meta i { margin-left: 4px; }
  .atf-btn { width: 100%; justify-content: center; }
}