/* ============================================================
   HOME.CSS — EdgeProp-style editorial homepage
   Loaded after style.css and blog.css. Uses same design tokens.
   Version: 20260612n
   ============================================================ */

/* ============================================================
   HOME HERO CTA (Section 2)
   Two-column above fold: text left, portrait right
   ============================================================ */
.home-hero {
  background: #fefdf9;
  padding-top: calc(64px + var(--space-16)); /* nav height + breathing room */
  padding-bottom: var(--space-16);
  border-bottom: 1px solid var(--color-divider);
}

.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: center;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

@media (min-width: 768px) {
  .home-hero__inner {
    grid-template-columns: 1.15fr 0.85fr;
    gap: var(--space-16);
  }
}

/* Mobile: image first, text second */
.home-hero__image {
  order: -1;
}

@media (min-width: 768px) {
  .home-hero__image {
    order: 1; /* right column on desktop */
  }
}

.home-hero__image img {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
  margin-inline: auto;
}

@media (min-width: 768px) {
  .home-hero__image img {
    max-width: 100%;
    margin-inline: 0;
  }
}

.home-hero__text {
  order: 1;
}

@media (min-width: 768px) {
  .home-hero__text {
    order: -1; /* left column on desktop */
  }
}

.home-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.2rem + 2.5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  max-width: 20ch;
}

.home-hero__sub {
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-8);
}

.home-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #E85D04;
  color: #ffffff;
  font-weight: 600;
  font-size: var(--text-base);
  padding: 14px 28px;
  min-height: 50px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-bottom: var(--space-6);
}

.home-hero__btn:hover {
  background: #cf5004;
  transform: translateY(-1px);
  color: #ffffff;
}

.home-hero__btn::after {
  content: "→";
  font-weight: 400;
  margin-left: 4px;
}

.home-hero__trust {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  letter-spacing: 0.02em;
  border-top: 1px solid var(--color-divider);
  padding-top: var(--space-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  align-items: center;
}

.home-hero__trust-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.home-hero__trust-item::before {
  content: "·";
  color: #E85D04;
  font-size: 1rem;
  line-height: 1;
}

.home-hero__trust-item:first-child::before {
  display: none;
}

/* ============================================================
   EDITORIAL FEED (Section 3)
   EdgeProp /news pattern: sidebar left + featured right
   ============================================================ */
.home-editorial {
  background: var(--color-bg);
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

.home-editorial__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.home-editorial__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.home-editorial__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* Two-column editorial layout */
.home-editorial__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

@media (min-width: 768px) {
  .home-editorial__layout {
    grid-template-columns: 35% 1fr;
    gap: var(--space-10);
    align-items: start;
  }
}

/* --- SIDEBAR LIST (left, 5 articles) --- */
.home-editorial__sidebar {
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}

.home-editorial__sidebar-title {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  padding: var(--space-4) var(--space-5);
  border-bottom: 1px solid var(--color-divider);
  background: var(--color-surface-2);
}

.home-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.home-sidebar-item {
  border-bottom: 1px solid var(--color-divider);
  transition: background var(--transition-interactive);
}

.home-sidebar-item:last-child {
  border-bottom: none;
}

.home-sidebar-item:hover {
  background: var(--color-surface-2);
}

.home-sidebar-item a {
  display: block;
  padding: var(--space-4) var(--space-5);
  text-decoration: none;
  color: inherit;
}

.home-sidebar-item__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #E85D04;
  margin-bottom: var(--space-2);
}

.home-sidebar-item__title {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: 1.35;
  color: var(--color-text);
  letter-spacing: -0.01em;
  display: block;
  margin-bottom: var(--space-2);
  transition: color var(--transition-interactive);
}

.home-sidebar-item:hover .home-sidebar-item__title {
  color: var(--color-accent);
}

.home-sidebar-item__date {
  font-size: 0.75rem;
  color: var(--color-text-faint);
}

/* --- FEATURED CARD (right) --- */
.home-editorial__featured {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  display: block;
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition-interactive);
}

/* Single featured layout (when only 1 article live) */
.home-editorial__single {
  margin-top: var(--space-8);
}

.home-editorial__featured--single {
  max-width: 900px;
  margin: 0 auto;
}

.home-editorial__featured:hover {
  border-color: var(--color-text-muted);
}

.home-editorial__featured-media {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-offset);
}

.home-editorial__featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-editorial__featured:hover .home-editorial__featured-media img {
  transform: scale(1.04);
}

.home-editorial__featured-badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background: #E85D04;
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 1;
}

/* Title overlay at bottom of image */
.home-editorial__featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-8) var(--space-6) var(--space-6);
  background: linear-gradient(to top, rgba(15,23,42,0.92) 0%, rgba(15,23,42,0.6) 60%, transparent 100%);
  z-index: 1;
}

.home-editorial__featured-cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fb923c;
  display: block;
  margin-bottom: var(--space-2);
}

.home-editorial__featured-title {
  font-family: var(--font-display);
  font-size: clamp(1.125rem, 1rem + 0.8vw, 1.625rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.018em;
  color: #ffffff;
  margin-bottom: var(--space-3);
}

.home-editorial__featured-lead {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
  max-width: 60ch;
}

/* ============================================================
   CATEGORY GRID (Section 4)
   ============================================================ */
.home-categories {
  background: var(--color-surface-2);
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

.home-categories__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.home-categories__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--color-text);
}

.home-categories__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

@media (min-width: 600px) {
  .home-categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .home-categories__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.home-cat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6) var(--space-6) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transition: box-shadow var(--transition-interactive), transform var(--transition-interactive), border-color var(--transition-interactive);
  text-decoration: none;
  color: inherit;
}

.home-cat-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
  border-color: var(--color-text-muted);
}

.home-cat-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin-bottom: var(--space-1);
}

.home-cat-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.5;
  flex: 1;
}

.home-cat-card__cta {
  font-size: var(--text-xs);
  font-weight: 600;
  color: #E85D04;
  letter-spacing: 0.01em;
  margin-top: var(--space-2);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition-interactive);
}

.home-cat-card:hover .home-cat-card__cta {
  gap: 8px;
}

/* ============================================================
   TENTANG (Section 5)
   Two-column: photo left, copy right
   ============================================================ */
.home-tentang {
  background: #fefdf9;
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

.home-tentang__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  align-items: start;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

@media (min-width: 768px) {
  .home-tentang__inner {
    grid-template-columns: 0.8fr 1.2fr;
    gap: var(--space-16);
    align-items: center;
  }
}

.home-tentang__photo {
  position: relative;
}

.home-tentang__photo img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
}

.home-tentang__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
}

.home-tentang__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.home-tentang__body p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 60ch;
}

.home-tentang__badges {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
}

.home-trust-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  background: var(--color-surface-offset);
  border: 1px solid var(--color-divider);
  border-radius: 999px;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--color-text);
  white-space: nowrap;
}

/* ============================================================
   UNIVERSAL CTA SECTION (Section 6)
   Full-width wrapper around the canonical .article-inline-cta
   ============================================================ */
.home-cta-section {
  background: var(--color-bg);
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

.home-cta-section .container {
  max-width: 700px;
}

/* Ensure the article-inline-cta displays correctly outside article body context */
.home-cta-section .article-inline-cta {
  margin: 0;
}

/* ============================================================
   FOOTER — deferred to style.css (iProperty style)
   ============================================================ */

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
/* Prevent default section padding from style.css overriding home sections */
.home-hero,
.home-editorial,
.home-categories,
.home-tentang,
.home-cta-section {
  padding-block: initial; /* reset */
}

.home-hero         { padding-top: calc(64px + var(--space-16)); padding-bottom: var(--space-16); }
.home-editorial    { padding-top: var(--space-16); padding-bottom: var(--space-20); }
.home-categories   { padding-top: var(--space-16); padding-bottom: var(--space-20); }
.home-tentang      { padding-top: var(--space-16); padding-bottom: var(--space-20); }
.home-cta-section  { padding-top: var(--space-16); padding-bottom: var(--space-20); }

/* ============================================================
   EDITORIAL — VIEW ALL BUTTON
   ============================================================ */
.home-editorial__view-all {
  margin-top: var(--space-5);
  text-align: right;
}

.home-editorial__view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #E85D04;
  text-decoration: none;
  border: 1.5px solid #E85D04;
  border-radius: 999px;
  padding: 8px 20px;
  transition: background 0.18s ease, color 0.18s ease;
}

.home-editorial__view-all-btn:hover {
  background: #E85D04;
  color: #ffffff;
}

.home-editorial__featured-wrap {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   HOT AREAS (Section 3)
   ============================================================ */
.hot-areas-section {
  background: var(--color-surface-2);
  padding-block: var(--space-16) var(--space-20);
  border-top: 3px solid #E85D04;
}

.hot-areas-section__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.hot-areas-section__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.hot-areas-section__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  line-height: 1.6;
}

.hot-areas-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

@media (min-width: 600px) {
  .hot-areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .hot-areas-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

.hot-area-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.hot-area-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
  border-color: #E85D04;
}

.hot-area-card__rank {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #E85D04;
  font-variant-numeric: tabular-nums;
}

.hot-area-card__name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
  line-height: 1.3;
  margin: 0;
}

.hot-area-card__stat {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  flex: 1;
  margin: 0;
}

.hot-area-card__btn {
  display: inline-flex;
  align-items: center;
  font-size: var(--text-xs);
  font-weight: 600;
  color: #E85D04;
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.15s ease;
  gap: 4px;
}

.hot-area-card__btn:hover {
  gap: 8px;
  color: #cf5004;
}

.hot-area-card__btn--disabled {
  color: var(--color-text-faint);
  cursor: not-allowed;
  font-size: var(--text-xs);
  font-weight: 600;
  margin-top: auto;
  opacity: 0.55;
}

.hot-areas-section__footer {
  margin-top: var(--space-8);
  text-align: center;
}

.hot-areas-section__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: #E85D04;
  text-decoration: none;
  border: 1.5px solid #E85D04;
  border-radius: 999px;
  padding: 8px 24px;
  transition: background 0.18s ease, color 0.18s ease;
}

.hot-areas-section__view-all:hover {
  background: #E85D04;
  color: #ffffff;
}

/* ============================================================
   MARKET PROOF (Section 4)
   ============================================================ */
.market-proof-section {
  background: var(--color-bg);
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

.market-proof-section__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.market-proof-section__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.market-proof-section__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  line-height: 1.6;
}

.market-proof-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .market-proof-grid {
    grid-template-columns: 60% 1fr;
    gap: var(--space-12);
    align-items: start;
  }
}

.market-proof-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

@media (min-width: 480px) {
  .market-proof-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.napic-stat-block {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.napic-stat-block__number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  font-weight: 800;
  color: #fb923c;
  letter-spacing: -0.03em;
  line-height: 1;
}

.napic-stat-block__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.4;
}

.napic-stat-block__sub {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

.market-proof-cards {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.closing-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-left: 4px solid #fb923c;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: var(--space-4) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.closing-card__type {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.01em;
}

.closing-card__detail {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.closing-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-1);
}

.market-proof-disclaimer {
  margin-top: var(--space-8);
  text-align: center;
}

.market-proof-disclaimer p {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
}

/* ============================================================
   OWNER / BUYER SPLIT (Section 5)
   ============================================================ */
.owner-buyer-section {
  background: var(--color-surface-2);
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

.owner-buyer-section__header {
  text-align: center;
  margin-bottom: var(--space-10);
}

.owner-buyer-section__heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.owner-buyer-section__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  line-height: 1.6;
}

.owner-buyer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 640px) {
  .owner-buyer-grid {
    grid-template-columns: repeat(2, 1fr);
    align-items: stretch;
  }
}

.role-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.role-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: #fb923c;
}

.role-card__tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #E85D04;
  background: rgba(232, 93, 4, 0.08);
  border-radius: 999px;
  padding: 4px 12px;
  width: fit-content;
}

.role-card__heading {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1rem + 0.8vw, 1.625rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--color-text);
  margin: 0;
}

.role-card__checklist-label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text-muted);
  margin: 0;
}

.role-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  flex: 1;
}

.role-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.role-checklist__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}

.role-card__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #E85D04;
  color: #ffffff;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 13px 24px;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  margin-top: var(--space-2);
  text-align: center;
}

.role-card__btn:hover {
  background: #cf5004;
  transform: translateY(-1px);
  color: #ffffff;
}

/* ============================================================
   ARCHIVE PAGE STYLES
   ============================================================ */
.archive-hero {
  background: #fefdf9;
  padding-top: calc(64px + var(--space-12));
  padding-bottom: var(--space-12);
  border-bottom: 1px solid var(--color-divider);
  text-align: center;
}

.archive-hero__inner {
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

.archive-hero__heading {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.archive-hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  line-height: 1.6;
}

.archive-filter-section {
  background: var(--color-bg);
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--color-divider);
  position: sticky;
  top: 64px;
  z-index: 10;
}

.category-filter {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 2px;
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

.category-filter::-webkit-scrollbar {
  display: none;
}

.category-filter__chip {
  display: inline-flex;
  align-items: center;
  padding: 7px 18px;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  border: 1.5px solid var(--color-divider);
  background: var(--color-surface);
  color: var(--color-text-muted);
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  user-select: none;
}

.category-filter__chip:hover {
  border-color: #E85D04;
  color: #E85D04;
}

.category-filter__chip.is-active {
  background: #E85D04;
  border-color: #E85D04;
  color: #ffffff;
}

.archive-main {
  background: var(--color-bg);
  padding-block: var(--space-12) var(--space-20);
}

.archive-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  max-width: var(--content-wide);
  margin-inline: auto;
  padding-inline: clamp(var(--space-4), 5vw, var(--space-12));
}

@media (min-width: 640px) {
  .archive-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .archive-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.archive-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.archive-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-2px);
  border-color: var(--color-text-muted);
}

.archive-card[hidden] {
  display: none;
}

.archive-card__image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--color-surface-offset);
}

.archive-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.archive-card:hover .archive-card__image img {
  transform: scale(1.04);
}

.archive-card__body {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.archive-card__cat {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #E85D04;
}

.archive-card__title {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
  line-height: 1.35;
  transition: color 0.18s ease;
}

.archive-card:hover .archive-card__title {
  color: #E85D04;
}

.archive-card__lead {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.archive-card__date {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid var(--color-divider);
}

/* ============================================================
   SECTION 5: STORY KLIEN
   Version: 20260612m
   ============================================================ */

/* --- Section wrapper --- */
.story-section {
  background: #fefdf9;
  padding-block: var(--space-16) var(--space-20);
  border-top: 3px solid #E85D04;
}

.story-section__h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
  text-align: center;
}

.story-section__header {
  text-align: center;
  margin-bottom: var(--space-12);
}

/* --- Section header intro --- */
.story-section__intro {
  max-width: 640px;
  margin-inline: auto;
  text-align: left;
}

.story-section__sub {
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  line-height: 1.5;
}

.story-section__package {
  margin-top: var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
  padding: var(--space-4) var(--space-5);
  background: rgba(232, 93, 4, 0.06);
  border-left: 3px solid #E85D04;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

/* --- Checklist --- */
.story-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.story-checklist__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
}

.story-checklist__icon {
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Blok 1: Hero Video --- */
.story-hero-video {
  text-align: center;
  margin-bottom: var(--space-14);
}

.story-hero-video__title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin-bottom: var(--space-5);
}

.video-shorts-wrap {
  position: relative;
  max-width: 360px;
  margin: 0 auto;
  aspect-ratio: 9 / 16;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.18);
}

.video-shorts-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-shorts-wrap img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.8);
  transform-origin: center;
  display: block;
}

.story-hero-caption {
  margin-top: var(--space-4);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  max-width: 52ch;
  margin-inline: auto;
}

/* --- Blok 2: Video Grid --- */
.story-video-grid-wrap {
  margin-bottom: var(--space-14);
}

/* Header row: title kiri, VIEW ALL kanan (EdgeProp pattern) */
.story-video-grid-header {
  display: none; /* desktop default — grid 3-col cukup; show on mobile only */
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding-inline: 0;
  margin-bottom: var(--space-4);
}
.story-video-grid-title {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--color-text);
  margin: 0;
}
.story-video-grid-link {
  flex: 0 0 auto;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E85D04;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.story-video-grid-link:hover {
  color: #cf5004;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.story-video-grid-link:focus-visible {
  outline: 2px solid #E85D04;
  outline-offset: 3px;
  border-radius: 2px;
}

/* Footer link (centered, mobile-only fallback for users yang scroll terus) */
.story-video-grid-footer {
  display: none;
  text-align: center;
  margin-top: var(--space-4);
}
.story-video-grid-link--footer {
  font-size: 12px;
}

.story-video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  margin-bottom: 0;
}

/* Mobile only: tunjuk header + footer link, hide card #3 */
@media (max-width: 639px) {
  .story-video-grid-header,
  .story-video-grid-footer {
    display: flex;
    justify-content: space-between;
  }
  .story-video-grid-footer {
    justify-content: center;
  }
  .story-video-card.story-video-card--mobile-hidden {
    display: none !important;
  }
}

@media (min-width: 640px) {
  .story-video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .story-video-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.story-video-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.story-video-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
  transform: translateY(-3px);
}

/* --- Thumbnail wrappers --- */
.video-thumb-wrap {
  position: relative;
  overflow: hidden;
  background: #111;
  cursor: pointer;
}

.video-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 400ms ease;
}

.video-thumb-wrap:hover img {
  transform: scale(1.04);
}

.video-thumb-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-thumb-wrap--regular {
  aspect-ratio: 16 / 9;
}

.video-thumb-wrap--shorts {
  aspect-ratio: 9 / 16;
  max-height: 480px;
}

/* --- Play button overlay --- */
.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 2;
  pointer-events: none;
}

.video-thumb-wrap:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
}

/* --- Video card meta --- */
.story-video-meta {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  flex: 1;
}

.story-video-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #E85D04;
  background: rgba(232, 93, 4, 0.08);
  border-radius: 999px;
  padding: 3px 10px;
  width: fit-content;
}

.story-video-name {
  font-family: var(--font-display);
  font-size: var(--text-base);
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--color-text);
  margin: 0;
}

.story-video-location {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  margin: 0;
}

.story-video-outcome {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.55;
  margin: 0;
}

/* --- Blok 3: Portfolio Grid --- */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-10);
}

@media (min-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
  }
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--color-surface-offset);
  cursor: pointer;
  margin: 0;
  aspect-ratio: 4 / 3;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.portfolio-card:hover {
  box-shadow: 0 10px 36px rgba(0,0,0,0.16);
  transform: translateY(-2px);
}

.portfolio-card picture,
.portfolio-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-card:hover img {
  transform: scale(1.06);
}

.portfolio-card figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-6) var(--space-4) var(--space-3);
  background: linear-gradient(to top, rgba(15,23,42,0.88) 0%, rgba(15,23,42,0.5) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.portfolio-location {
  font-size: var(--text-xs);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.portfolio-meta {
  font-size: 0.6875rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.3;
}

/* --- Footer: disclaimer + CTA --- */
.story-footer {
  padding-top: var(--space-6);
}

.story-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
  text-align: center;
  max-width: 60ch;
  margin-inline: auto;
  margin-bottom: var(--space-8);
  line-height: 1.6;
}

.story-cta {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  max-width: 520px;
  margin-inline: auto;
}

.story-cta p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-5);
}

.story-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: #E85D04;
  color: #ffffff;
  font-weight: 600;
  font-size: var(--text-base);
  padding: 13px 28px;
  min-height: 48px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
}

.story-cta-btn:hover {
  background: #cf5004;
  transform: translateY(-1px);
  color: #ffffff;
}

/* --- Portfolio Lightbox Modal --- */
.portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-modal[hidden] {
  display: none;
}

.portfolio-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.88);
  cursor: pointer;
}

.portfolio-modal__content {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-modal__img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
}

.portfolio-modal__close {
  position: absolute;
  top: -44px;
  right: 0;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.18s ease;
}

.portfolio-modal__close:hover {
  background: rgba(255,255,255,0.28);
}

/* Section 5 spacing utility override */
.story-section {
  padding-block: initial;
}
.story-section {
  padding-top: var(--space-16);
  padding-bottom: var(--space-20);
}

/* ============================================================
   TESTIMONI PAGE — /testimoni/index.html
   Version: 20260612n
   ============================================================ */

/* --- Hero section --- */
.testimoni-hero {
  background: #fefdf9;
  padding-top: calc(64px + var(--space-12));
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-divider);
}

.testimoni-hero__inner {
  text-align: center;
}

.testimoni-breadcrumb {
  margin-bottom: var(--space-5);
}

.testimoni-breadcrumb__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.testimoni-breadcrumb__item a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

.testimoni-breadcrumb__item a:hover {
  color: var(--color-accent);
}

.testimoni-breadcrumb__item--current {
  color: var(--color-text);
  font-weight: 500;
}

.testimoni-breadcrumb__sep {
  color: var(--color-text-faint);
  font-size: var(--text-xs);
}

.testimoni-hero__h1 {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 1.2rem + 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.028em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
  max-width: 24ch;
  margin-inline: auto;
}

.testimoni-hero__sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.6;
  max-width: 52ch;
  margin-inline: auto;
}

/* --- Shorts video section --- */
.testimoni-shorts-section {
  background: var(--color-bg);
  padding-block: var(--space-16) var(--space-14);
  border-top: 3px solid #E85D04;
}

/* --- Video testimoni section --- */
.testimoni-video-section {
  background: var(--color-surface-2);
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

/* --- Section headers --- */
.testimoni-section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.testimoni-section-heading {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.022em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.testimoni-section-sub {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 55ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* --- Gallery section --- */
.testimoni-gallery-section {
  background: var(--color-bg);
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

/* Gallery grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

/* === Mobile: peek carousel === */
@media (max-width: 768px) {
  .gallery-grid {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 16px;
    gap: 12px;
    padding-block: 4px 16px;
    padding-inline: 16px;
    /* Negative margin so cards extend edge-to-edge of viewport */
    margin-inline: calc(var(--space-4) * -1);
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
    grid-template-columns: none;
  }
  .gallery-grid::-webkit-scrollbar {
    display: none;
  }
  .gallery-grid .gallery-card {
    flex: 0 0 72vw;
    max-width: 320px;
    scroll-snap-align: center;
    aspect-ratio: 4 / 3;
  }
}

/* Gallery card */
.gallery-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md);
  display: block;
  background: var(--color-surface-offset);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.gallery-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.14);
  transform: translateY(-2px);
}

.gallery-card picture,
.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

/* SOLD badge on card (CSS overlay, images already have baked-in badge) */
.gallery-card__badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #E85D04;
  color: #fff;
  padding: 5px 11px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  display: none; /* images already have baked badge; show only if image fails */
}

.gallery-card__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-5) var(--space-3) var(--space-3);
  background: linear-gradient(to top, rgba(15,23,42,0.85) 0%, rgba(15,23,42,0.4) 60%, transparent 100%);
  font-size: var(--text-xs);
  font-weight: 600;
  color: #ffffff;
  line-height: 1.3;
}

/* Hidden/visible gallery states */
.gallery-hidden {
  display: none;
}

.gallery-visible {
  display: block;
}

/* Toggle button — small text link style (EdgeProp pattern) */
.testimoni-section-header--with-action {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  text-align: left;
}
.testimoni-section-header--with-action .testimoni-section-header__main {
  flex: 1 1 auto;
  min-width: 0;
}
.testimoni-section-header--with-action .testimoni-section-heading,
.testimoni-section-header--with-action .testimoni-section-sub {
  text-align: left;
}

.gallery-toggle-link {
  flex: 0 0 auto;
  background: none;
  border: 0;
  padding: 4px 0;
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E85D04;
  cursor: pointer;
  transition: color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.gallery-toggle-link:hover {
  color: #cf5004;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.gallery-toggle-link:focus-visible {
  outline: 2px solid #E85D04;
  outline-offset: 3px;
  border-radius: 2px;
}
@media (max-width: 480px) {
  .gallery-toggle-link {
    font-size: 12px;
  }
}

/* Legacy big-button styles (kept for any other usage) */
.gallery-toggle-wrap {
  text-align: center;
  margin-bottom: var(--space-8);
  display: none;
}

.gallery-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #E85D04;
  color: #ffffff;
  font-weight: 600;
  font-size: var(--text-base);
  padding: 14px 32px;
  min-height: 50px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  font-family: var(--font-body);
}

.gallery-toggle-btn:hover {
  background: #cf5004;
  transform: translateY(-1px);
}

/* Gallery disclaimer */
.gallery-disclaimer {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
  text-align: center;
  max-width: 64ch;
  margin-inline: auto;
  line-height: 1.6;
}

/* --- CTA section --- */
.testimoni-cta-section {
  background: var(--color-bg);
  padding-block: var(--space-16) var(--space-20);
  border-top: 1px solid var(--color-divider);
}

.testimoni-cta-section .container {
  max-width: 700px;
}

.testimoni-cta-section .article-inline-cta {
  margin: 0;
}

/* Ensure section padding overrides from style.css don't break these */
.testimoni-hero,
.testimoni-shorts-section,
.testimoni-video-section,
.testimoni-gallery-section,
.testimoni-cta-section {
  padding-block: initial;
}

.testimoni-hero              { padding-top: calc(64px + var(--space-12)); padding-bottom: var(--space-10); }
.testimoni-shorts-section    { padding-top: var(--space-16); padding-bottom: var(--space-14); }
.testimoni-video-section     { padding-top: var(--space-16); padding-bottom: var(--space-20); }
.testimoni-gallery-section   { padding-top: var(--space-16); padding-bottom: var(--space-20); }
.testimoni-cta-section       { padding-top: var(--space-16); padding-bottom: var(--space-20); }

/* ============================================================
   PHASE 2 \u2014 Mobile Homepage Restructure
   Featured Insights + Hot Areas + About
   ============================================================ */

/* --- Featured Insights: small VIEW ALL link inline header --- */
.home-editorial__header-main {
  margin: 0;
}
.home-editorial__view-all-link {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #E85D04;
  text-decoration: none;
  margin-top: var(--space-3);
  transition: color 0.15s ease;
}
.home-editorial__view-all-link:hover {
  color: #cf5004;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.home-editorial__view-all-link:focus-visible {
  outline: 2px solid #E85D04;
  outline-offset: 3px;
  border-radius: 2px;
}

@media (min-width: 640px) {
  .home-editorial__header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: var(--space-4);
    text-align: left;
  }
  .home-editorial__header .home-editorial__heading,
  .home-editorial__header .home-editorial__sub {
    text-align: left;
  }
  .home-editorial__view-all-link {
    margin-top: 0;
    margin-bottom: 6px;
    white-space: nowrap;
    flex: 0 0 auto;
  }
}

/* Mobile: hide last 2 sidebar articles */
@media (max-width: 639px) {
  .home-sidebar-item.home-sidebar-item--mobile-hidden {
    display: none !important;
  }
}

/* --- Hot Areas: mobile note + hide 3 Akan Datang cards --- */
.hot-areas-section__mobile-note {
  display: none;
  text-align: center;
  font-size: 13px;
  color: var(--color-text-muted);
  margin-top: var(--space-3);
  margin-bottom: var(--space-6);
  font-style: italic;
  line-height: 1.5;
}
@media (max-width: 639px) {
  .hot-areas-section__mobile-note {
    display: block;
  }
  .hot-area-card.hot-area-card--mobile-hidden {
    display: none !important;
  }
}

/* --- About: mobile collapse body --- */
@media (max-width: 639px) {
  .home-tentang__body {
    position: relative;
    max-height: 16em; /* roughly 2 paragraphs */
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .home-tentang__body::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4em;
    background: linear-gradient(to bottom, rgba(255,255,255,0), var(--color-surface) 90%);
    pointer-events: none;
  }
  .home-tentang__body.is-expanded {
    max-height: 200em;
  }
  .home-tentang__body.is-expanded::after {
    display: none;
  }
  .home-tentang__readmore-btn {
    display: inline-block;
    margin-top: var(--space-3);
    background: none;
    border: 0;
    padding: 4px 0;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #E85D04;
    cursor: pointer;
    transition: color 0.15s ease;
  }
  .home-tentang__readmore-btn:hover {
    color: #cf5004;
    text-decoration: underline;
    text-underline-offset: 3px;
  }
}
.home-tentang__readmore-btn {
  display: none; /* hidden on desktop */
}
@media (max-width: 639px) {
  .home-tentang__readmore-btn { display: inline-block; }
}
