/* ══════════════════════════════════════════
   PAGE-ARTICLES — halaman listing artikel
══════════════════════════════════════════ */

.page-banner {
  background: var(--navy-dk); padding: 9rem 5% 5rem;
  position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='78'%3E%3Cpath d='M45 2 L83 23 L83 65 L45 86 L7 65 L7 23 Z' fill='none' stroke='rgba(42,181,160,0.07)' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 90px 78px; pointer-events: none;
}
.page-banner-inner { max-width: 1220px; margin: 0 auto; position: relative; z-index: 1; }
.breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: .68rem; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1.4rem;
}
.breadcrumb a       { color: rgba(255,255,255,.3); transition: color .2s; }
.breadcrumb a:hover { color: var(--teal-lt); }
.breadcrumb span    { color: var(--teal-lt); }
.breadcrumb-sep     { font-size: .5rem; }
.page-banner h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  font-weight: 700; line-height: .95; letter-spacing: 1px; text-transform: uppercase;
  color: #fff; margin-bottom: 1.2rem;
}
.page-banner h1 span {
  background: linear-gradient(135deg, var(--orange), var(--red));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-banner p { font-size: 1rem; color: rgba(255,255,255,.5); max-width: 540px; line-height: 1.75; }
.banner-decor  { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); opacity: .06; pointer-events: none; }
.nav-active    { color: var(--teal) !important; }

/* ── Featured article ── */
#art-featured { background: var(--bg-lt); padding: 5rem 5% 3rem; }
.art-featured-inner { max-width: 1220px; margin: 0 auto; }
.art-featured-inner > .eyebrow { margin-bottom: 1.5rem; }

.featured-card {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 0;
  background: var(--navy-dk); border-radius: 4px; overflow: hidden;
  border: 1px solid rgba(42,181,160,.15); transition: var(--t); text-decoration: none;
}
.featured-card:hover { box-shadow: 0 20px 60px rgba(27,46,80,.4); transform: translateY(-3px); }

.featured-thumb {
  background: linear-gradient(160deg, #040d17 0%, #0c2040 60%, #092d45 100%);
  display: flex; align-items: center; justify-content: center; padding: 3rem;
  min-height: 300px; position: relative; overflow: hidden;
}
.featured-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(42,181,160,.1) 0%, transparent 70%);
}
.featured-thumb img { width: 140px; height: 140px; opacity: .8; position: relative; z-index: 1; }

.featured-body { padding: 3rem 3rem 3rem 3rem; display: flex; flex-direction: column; justify-content: center; }
.cat-badge {
  display: inline-flex; align-items: center; gap: 6px; width: fit-content;
  font-size: .6rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px; margin-bottom: 1.2rem;
  border: 1px solid rgba(42,181,160,.35); color: var(--teal-lt);
}
.cat-badge::before { content: ''; width: 5px; height: 5px; background: var(--teal); border-radius: 50%; }
.featured-body h2 {
  font-family: 'Rajdhani', sans-serif; font-size: clamp(1.4rem, 2.2vw, 1.9rem);
  font-weight: 700; color: #fff; line-height: 1.15; letter-spacing: .5px; margin-bottom: 1rem;
}
.featured-body .excerpt { font-size: .88rem; color: rgba(255,255,255,.42); line-height: 1.8; margin-bottom: 1.8rem; }
.featured-meta { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.8rem; flex-wrap: wrap; }
.featured-meta span { font-size: .7rem; color: rgba(255,255,255,.28); }
.featured-meta .dot { width: 3px; height: 3px; background: rgba(255,255,255,.18); border-radius: 50%; }

/* ── Category filter bar ── */
#art-filters { background: #fff; padding: 1.8rem 5%; border-bottom: 1px solid var(--border); }
.filters-inner {
  max-width: 1220px; margin: 0 auto;
  display: flex; align-items: center; gap: .7rem; flex-wrap: wrap;
}
.filters-label {
  font-size: .62rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted); margin-right: .4rem;
}
.cat-btn {
  font-size: .68rem; font-weight: 600; letter-spacing: .8px; text-transform: uppercase;
  padding: .4rem .9rem; border-radius: 2px; border: 1px solid var(--border);
  background: none; cursor: pointer; color: var(--muted); transition: var(--t); font-family: 'Rajdhani', sans-serif;
}
.cat-btn:hover  { border-color: rgba(42,181,160,.3); color: var(--teal); }
.cat-btn.active { background: var(--teal); border-color: var(--teal); color: #fff; }
.arts-count { margin-left: auto; font-size: .72rem; color: var(--muted); }

/* ── Articles grid ── */
#arts-grid-section { background: var(--bg-lt); padding: 3rem 5% 6rem; }
.arts-grid-inner   { max-width: 1220px; margin: 0 auto; }
#arts-grid {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 2rem;
}

.art-card {
  background: #fff; border: 1px solid var(--border); border-radius: 4px; overflow: hidden;
  transition: var(--t); display: flex; flex-direction: column; text-decoration: none;
  animation: cardIn .4s ease both;
}
@keyframes cardIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}
/* Stagger tiap kartu */
#arts-grid .art-card:nth-child(1) { animation-delay: .05s; }
#arts-grid .art-card:nth-child(2) { animation-delay: .12s; }
#arts-grid .art-card:nth-child(3) { animation-delay: .19s; }
#arts-grid .art-card:nth-child(4) { animation-delay: .26s; }
#arts-grid .art-card:nth-child(5) { animation-delay: .33s; }
#arts-grid .art-card:nth-child(6) { animation-delay: .40s; }
.art-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: rgba(42,181,160,.25); }

.art-card-thumb {
  height: 170px; position: relative;
  background: linear-gradient(160deg, #040d17 0%, #0c2040 60%, #092d45 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.art-card-thumb::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(42,181,160,.08) 0%, transparent 70%);
}
.art-card-thumb img    { width: 64px; height: 64px; opacity: .65; position: relative; z-index: 1; }
.art-card-cat-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-size: .55rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--teal-lt); border: 1px solid rgba(42,181,160,.3); border-radius: 2px;
  padding: 2px 7px; background: rgba(7,17,30,.7); backdrop-filter: blur(4px);
}

.art-card-body { padding: 1.4rem; flex: 1; display: flex; flex-direction: column; }
.art-card-title {
  font-family: 'Rajdhani', sans-serif; font-size: 1.05rem; font-weight: 700;
  color: var(--navy); line-height: 1.25; margin-bottom: .7rem; letter-spacing: .3px;
}
.art-card-excerpt { font-size: .79rem; color: var(--muted); line-height: 1.65; flex: 1; margin-bottom: 1.2rem; }
.art-card-meta {
  display: flex; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--border); padding-top: .9rem; margin-top: auto;
}
.art-card-date { font-size: .68rem; color: var(--muted); }
.art-card-read { font-size: .68rem; color: var(--teal); font-weight: 600; }

/* empty state */
.arts-empty { text-align: center; padding: 4rem 0; }
.arts-empty h4 { font-family: 'Rajdhani', sans-serif; font-size: 1.2rem; color: var(--navy); margin-bottom: .5rem; }
.arts-empty p  { font-size: .85rem; color: var(--muted); }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .featured-card           { grid-template-columns: 1fr; }
  .featured-thumb          { min-height: 180px; }
  #arts-grid               { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 680px) {
  #arts-grid               { grid-template-columns: 1fr; }
  .banner-decor            { display: none; }
  .filters-inner           { gap: .5rem; }
  .arts-count              { width: 100%; margin-left: 0; }
}
