/* ==========================================================================
   bangandri.id — Calm Professional Teal
   Deep Teal #1F5F64 · Mineral Blue #6F9DA6 · Muted Gold #C9A24D
   Warm Ivory #F7F3EA · Charcoal Navy #1E2A32 · Sage Green #A8BFA3
   ========================================================================== */

:root {
  --color-primary: #1F5F64;
  --color-primary-dark: #1A5156;
  --color-secondary: #6F9DA6;
  --color-accent: #C9A24D;
  --color-background: #F7F3EA;
  --color-text: #1E2A32;
  --color-soft-accent: #A8BFA3;
  --color-white: #FFFFFF;

  /* Alias pendek yang dipakai di seluruh stylesheet */
  --teal: var(--color-primary);
  --teal-dark: var(--color-primary-dark);
  --blue: var(--color-secondary);
  --gold: var(--color-accent);
  --ivory: var(--color-background);
  --navy: var(--color-text);
  --sage: var(--color-soft-accent);
  --white: var(--color-white);

  --font-heading: 'Lora', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', 'Helvetica Neue', Arial, sans-serif;

  --container: 1200px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--ivory);
  color: var(--navy);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--teal); }

/* --------------------------------------------------------------------------
   Nav pill melayang
   -------------------------------------------------------------------------- */
.nav-wrap {
  display: flex;
  justify-content: center;
  padding: 24px 20px 0;
  position: sticky;
  top: 16px;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  gap: 48px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(30, 42, 50, 0.06);
  border-radius: 999px;
  padding: 12px 14px 12px 28px;
  box-shadow: 0 2px 12px rgba(30, 42, 50, 0.06), 0 12px 32px rgba(30, 42, 50, 0.05);
}

.brand {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.brand-dot { color: var(--gold); }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14.5px;
  font-weight: 600;
}

.nav-link {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background: rgba(111, 157, 166, 0.14);
  color: var(--teal);
}

.nav-link.is-active {
  background: var(--teal);
  color: var(--white);
  padding: 9px 16px;
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 72px;
  align-items: center;
  padding: 88px 40px 96px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(168, 191, 163, 0.28);
  padding: 7px 16px;
  border-radius: 999px;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: clamp(36px, 4.5vw, 54px);
  font-weight: 500;
  line-height: 1.14;
  letter-spacing: -0.01em;
  margin: 0;
}

.hero-text h1 em { color: var(--teal); }
.dot-gold { color: var(--gold); }

.hero-text p {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(30, 42, 50, 0.72);
  margin: 0;
  max-width: 520px;
  text-wrap: pretty;
}

/* Foto + komposisi miring */
.hero-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.photo-stack {
  position: relative;
  width: 320px;
  height: 340px;
}

.photo-bg {
  position: absolute;
  inset: 18px -14px -14px 18px;
  background: var(--sage);
  border-radius: 28px;
  transform: rotate(3deg);
}

.photo-dot {
  position: absolute;
  top: -10px;
  right: -6px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.85;
  z-index: 2;
}

.photo-stack img {
  position: relative;
  width: 320px;
  height: 340px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 44px rgba(30, 42, 50, 0.22);
  transform: rotate(-2deg);
  z-index: 1;
}

/* Sosial media — list vertikal */
.social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 320px;
  margin-top: 14px;
}

.social-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1px solid rgba(30, 42, 50, 0.08);
  border-radius: 14px;
  padding: 12px 16px;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(30, 42, 50, 0.04);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--navy);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.social-item:hover {
  border-color: var(--teal);
  transform: translateX(4px);
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(111, 157, 166, 0.14);
  color: var(--teal);
  font-size: 16px;
  font-weight: 600;
  flex-shrink: 0;
}

.social-icon--serif {
  font-family: var(--font-heading);
  font-size: 17px;
}

/* --------------------------------------------------------------------------
   Artikel
   -------------------------------------------------------------------------- */
.articles {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px 96px;
}

.articles-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
}

.kicker {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.articles-head h2 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 500;
  margin: 0;
}

.link-more {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--teal);
  text-decoration: none;
}

.link-more:hover { color: var(--gold); }

.articles-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 26px;
  align-items: stretch;
}

.articles-side {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

/* Card dasar */
.article-featured,
.article-compact {
  background: var(--white);
  border: 1px solid rgba(30, 42, 50, 0.06);
  border-radius: 22px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article-featured:hover,
.article-compact:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(31, 95, 100, 0.13);
}

.article-featured {
  display: flex;
  flex-direction: column;
}

.article-compact {
  flex: 1;
  display: flex;
}

/* Thumbnail */
.article-thumb {
  display: block;
  padding: 10px 10px 0;
  text-decoration: none;
  position: relative;
}

.article-thumb--sm {
  padding: 10px 0 10px 10px;
  display: flex;
  flex-shrink: 0;
}

.thumb-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 120px;
  width: 150px;
  border-radius: 14px;
  background: repeating-linear-gradient(45deg, #E2EAE9, #E2EAE9 12px, #ECF1EF 12px, #ECF1EF 24px);
  font-family: monospace;
  font-size: 10px;
  color: var(--blue);
}

.thumb-placeholder--lg {
  width: 100%;
  height: 240px;
  border-radius: 15px;
  font-size: 12px;
}

/* Ganti placeholder dengan <img class="thumb-img"> saat backend siap */
.thumb-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 15px;
}

/* Badge kategori */
.badge {
  align-self: flex-start;
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--teal);
  background: rgba(111, 157, 166, 0.16);
  padding: 5px 12px;
  border-radius: 999px;
}

.badge--solid {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--white);
  background: var(--teal);
  padding: 6px 14px;
}

/* Isi card */
.article-body {
  padding: 24px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.article-compact .article-body {
  padding: 22px 24px;
  gap: 9px;
}

.article-body h3 {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 600;
  line-height: 1.32;
  margin: 0;
}

.article-compact .article-body h3 {
  font-size: 18.5px;
  line-height: 1.36;
}

.article-body h3 a {
  color: var(--navy);
  text-decoration: none;
}

.article-body h3 a:hover { color: var(--teal); }

.article-body p {
  font-size: 15px;
  line-height: 1.7;
  color: rgba(30, 42, 50, 0.68);
  margin: 0;
  text-wrap: pretty;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
  font-size: 13px;
  color: rgba(30, 42, 50, 0.55);
}

.meta-sep { color: var(--gold); }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  background: var(--teal);
  padding: 30px;
  text-align: center;
}

.footer p {
  margin: 0;
  font-size: 14px;
  color: rgba(247, 243, 234, 0.9);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 64px 24px 72px;
    text-align: center;
  }

  .hero-text { align-items: center; }
  .hero-badge { align-self: center; }
  .hero-text p { margin: 0 auto; }

  .articles { padding: 0 24px 72px; }
  .articles-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .nav { gap: 20px; padding-left: 20px; }
  .nav-link { padding: 9px 14px; }

  .photo-stack,
  .photo-stack img { width: 260px; height: 280px; }

  .social-list { width: 100%; max-width: 320px; }

  .articles-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .article-compact { flex-direction: column; }
  .article-thumb--sm { padding: 10px 10px 0; }
  .article-thumb--sm .thumb-placeholder { width: 100%; min-height: 140px; }
}

/* --------------------------------------------------------------------------
   Halaman list (Blog & Karya) + detail artikel
   -------------------------------------------------------------------------- */
.page {
  max-width: var(--container);
  margin: 0 auto;
  padding: 48px 40px 96px;
}

.page-head { margin-bottom: 40px; }

.page-head h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 500;
  margin: 0 0 10px;
}

.page-head p {
  font-size: 16px;
  color: rgba(30, 42, 50, 0.68);
  margin: 0;
  max-width: 520px;
}

.empty-note {
  max-width: var(--container);
  margin: 0 auto;
  padding: 8px 0 40px;
  color: rgba(30, 42, 50, 0.6);
  font-size: 15px;
}

.post-grid,
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.work-card {
  background: var(--white);
  border: 1px solid rgba(30, 42, 50, 0.06);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(31, 95, 100, 0.13);
}

.thumb-img--sm {
  width: 150px;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
  border-radius: 14px;
}

.thumb-img--work,
.thumb-placeholder--work {
  width: 100%;
  height: 170px;
  min-height: 170px;
  border-radius: 15px;
}

.badge--gold {
  position: absolute;
  top: 24px;
  left: 24px;
  color: var(--navy);
  background: var(--gold);
}

.work-links {
  display: flex;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
}

.btn {
  display: inline-block;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--teal);
  border-radius: 999px;
  transition: background 0.15s ease;
}

.btn:hover { background: var(--teal-dark); }

.btn--sm { font-size: 13.5px; padding: 8px 18px; }

.btn--outline {
  background: transparent;
  color: var(--teal);
}

.btn--outline:hover {
  background: rgba(111, 157, 166, 0.14);
}

/* Detail artikel */
.article-page {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.article-header { margin-bottom: 28px; }

.article-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 42px);
  font-weight: 500;
  line-height: 1.22;
  margin: 14px 0 14px;
}

.article-lead {
  font-size: 17px;
  line-height: 1.7;
  color: rgba(30, 42, 50, 0.72);
  margin: 0 0 16px;
}

.article-hero-img {
  width: 100%;
  border-radius: 18px;
  margin-bottom: 32px;
}

.prose {
  font-size: 17px;
  line-height: 1.85;
}

.prose h2,
.prose h3,
.prose h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.3;
  margin: 1.8em 0 0.6em;
}

.prose h2 { font-size: 27px; }
.prose h3 { font-size: 22px; }
.prose h4 { font-size: 19px; }

.prose p { margin: 0 0 1.2em; }

.prose img {
  border-radius: 14px;
  margin: 1.4em 0;
}

.prose blockquote {
  margin: 1.6em 0;
  padding: 4px 0 4px 22px;
  border-left: 3px solid var(--sage);
  color: rgba(30, 42, 50, 0.75);
  font-style: italic;
}

.prose pre {
  background: var(--navy);
  color: var(--ivory);
  padding: 18px 22px;
  border-radius: 12px;
  overflow-x: auto;
  font-size: 14.5px;
  line-height: 1.6;
}

.prose code {
  font-size: 0.92em;
  background: rgba(111, 157, 166, 0.14);
  padding: 2px 6px;
  border-radius: 6px;
}

.prose pre code { background: none; padding: 0; }

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 15px;
}

.prose th,
.prose td {
  border: 1px solid rgba(30, 42, 50, 0.12);
  padding: 9px 12px;
  text-align: left;
}

.prose th { background: rgba(111, 157, 166, 0.1); }

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 36px;
}

.tag-item {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal);
  background: rgba(168, 191, 163, 0.28);
  padding: 5px 13px;
  border-radius: 999px;
}

@media (max-width: 960px) {
  .page { padding: 40px 24px 72px; }
  .post-grid,
  .work-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .post-grid,
  .work-grid { grid-template-columns: 1fr; }

  .article-thumb--sm .thumb-img--sm {
    width: 100%;
    min-height: 140px;
  }
}

/* ---------- Halaman 404 ---------- */
.error-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 24px 90px;
  text-align: center;
}

.error-code {
  margin: 8px 0 4px;
  font-family: var(--font-heading);
  font-size: clamp(96px, 20vw, 170px);
  font-weight: 600;
  line-height: 1;
  color: var(--color-primary);
}

.error-text {
  margin: 14px 0 34px;
  font-size: 17px;
  color: rgba(30, 42, 50, 0.7);
}

.error-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.error-nav .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.error-nav .btn { padding: 11px 24px; }

/* ---------- Blog: editorial feed ---------- */
.feed { max-width: 880px; margin: 0 auto; }

.feed-featured { margin-bottom: 56px; }

.feed-featured-thumb {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 21 / 9;
  background: rgba(111, 157, 166, 0.12);
}

.feed-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feed-featured:hover .feed-featured-thumb img { transform: scale(1.025); }

.feed-featured-body { max-width: 680px; padding-top: 26px; }

.feed-featured-body h2 {
  margin: 10px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.2;
}

.feed-featured-body h2 a { color: var(--color-text); text-decoration: none; }
.feed-featured-body h2 a:hover { color: var(--color-primary); }

.feed-meta {
  margin: 0;
  font-size: 13.5px;
  letter-spacing: 0.02em;
  color: rgba(30, 42, 50, 0.55);
}

.feed-cat {
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
}

.feed-excerpt {
  margin: 0 0 14px;
  color: rgba(30, 42, 50, 0.72);
  line-height: 1.7;
}

.feed-list { border-top: 1px solid rgba(30, 42, 50, 0.1); }

.feed-item {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  padding: 34px 0;
  border-bottom: 1px solid rgba(30, 42, 50, 0.1);
}

.feed-item-body { flex: 1; min-width: 0; }

.feed-item h3 {
  margin: 8px 0 8px;
  font-family: var(--font-heading);
  font-size: 23px;
  line-height: 1.3;
}

.feed-item h3 a { color: var(--color-text); text-decoration: none; }
.feed-item h3 a:hover { color: var(--color-primary); }

.feed-item .feed-excerpt {
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-read { font-size: 13px; color: rgba(30, 42, 50, 0.5); }

.feed-item-thumb {
  flex-shrink: 0;
  width: 210px;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(111, 157, 166, 0.12);
}

.feed-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.feed-item:hover .feed-item-thumb img { transform: scale(1.04); }

@media (max-width: 640px) {
  .feed-item { flex-direction: column-reverse; align-items: stretch; gap: 14px; }
  .feed-item-thumb { width: 100%; }
}

/* ---------- Homepage: divider + feed tulisan terbaru ---------- */
.articles {
  border-top: 1px solid rgba(30, 42, 50, 0.12);
  padding-top: 72px;
}

.home-feed {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  align-items: start;
}

.home-featured-thumb {
  display: block;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(111, 157, 166, 0.12);
  margin-bottom: 20px;
}

.home-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.home-featured:hover .home-featured-thumb img { transform: scale(1.03); }

.home-featured h3 {
  margin: 10px 0;
  font-family: var(--font-heading);
  font-size: 27px;
  line-height: 1.25;
}

.home-featured h3 a { color: var(--color-text); text-decoration: none; }
.home-featured h3 a:hover { color: var(--color-primary); }

.home-featured .feed-excerpt {
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-side { display: flex; flex-direction: column; }

.home-mini {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(30, 42, 50, 0.1);
}

.home-mini:first-child { padding-top: 6px; }

.home-mini-thumb {
  flex-shrink: 0;
  width: 104px;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(111, 157, 166, 0.12);
}

.home-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-mini:hover .home-mini-thumb img { transform: scale(1.05); }

.home-mini h4 {
  margin: 6px 0;
  font-family: var(--font-heading);
  font-size: 18px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.home-mini h4 a { color: var(--color-text); text-decoration: none; }
.home-mini h4 a:hover { color: var(--color-primary); }

.home-side-more { margin-top: 20px; }

@media (max-width: 860px) {
  .home-feed { grid-template-columns: 1fr; gap: 12px; }
}

/* ---------- Sosial media: ikon bulat ---------- */
.social-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: 320px;
  margin-top: 20px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(30, 42, 50, 0.12);
  color: var(--navy);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-btn:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(31, 95, 100, 0.25);
}

.social-btn--glyph {
  font-size: 19px;
  font-weight: 600;
  font-family: var(--font-body);
}

@media (max-width: 900px) {
  .social-row { width: 100%; max-width: 320px; }
}

/* ---------- Sosial media: chip icon + nama ---------- */
.social-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 320px;
  margin-top: 20px;
}

.social-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(30, 42, 50, 0.12);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.social-chip:hover {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(31, 95, 100, 0.22);
}

.social-chip svg { flex-shrink: 0; }
.social-chip-glyph { font-size: 16px; font-weight: 700; line-height: 1; }

/* ---------- Perbaikan tampilan mobile ---------- */
@media (max-width: 900px) {
  .social-chips { width: 100%; max-width: 340px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 640px) {
  .articles { border-top: 1px solid rgba(30, 42, 50, 0.12); padding-top: 48px; }

  /* Homepage: garis pemisah antara featured & artikel kecil */
  .home-feed { gap: 20px; }
  .home-featured { border-bottom: 1px solid rgba(30, 42, 50, 0.1); padding-bottom: 22px; }
  .home-featured h3 { font-size: 23px; }
  .home-mini { padding: 18px 0; border-bottom: 1px solid rgba(30, 42, 50, 0.1); }
  .home-mini:last-of-type { border-bottom: 1px solid rgba(30, 42, 50, 0.1); }
  .home-mini-thumb { width: 86px; }

  /* Halaman blog: rapikan featured & list */
  .feed-featured { margin-bottom: 36px; border-bottom: 1px solid rgba(30, 42, 50, 0.1); padding-bottom: 26px; }
  .feed-featured-thumb { aspect-ratio: 16 / 10; border-radius: 14px; }
  .feed-featured-body { padding-top: 18px; }
  .feed-featured-body h2 { font-size: 25px; }
  .feed-item { padding: 26px 0; gap: 12px; }
  .feed-item h3 { font-size: 20px; }
  .feed-item-thumb { border-radius: 12px; }
}

/* ---------- Karya: link demo/github di feed ---------- */
.feed-work-links { display: flex; gap: 22px; margin-top: 2px; }

/* ---------- Navbar auto-hide saat scroll ---------- */
.nav-wrap {
  transition: transform 0.35s ease, opacity 0.3s ease;
}

.nav-wrap.nav-hidden {
  transform: translateY(-130%);
  opacity: 0;
  pointer-events: none;
}
