﻿/*
Theme Name: Halal Bali
Theme URI: https://halalbali.com
Description: Custom theme for halalbali.com - Muslim-friendly travel guide for Bali
Version: 1.0.0
Author: Halal Bali Team
Text Domain: halalbali
*/

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Brand Colors */
  --hb-teal:        #0E7C7B;
  --hb-teal-dark:   #0A5C5B;
  --hb-teal-light:  #5DCAA5;
  --hb-teal-50:     #E1F2F1;
  --hb-gold:        #E5A823;
  --hb-gold-dark:   #B8841A;
  --hb-gold-50:     #FBF1D9;
  --hb-forest:      #1E3F2E;
  --hb-forest-soft: #2E5942;
  --hb-cream:       #FAF6EE;
  --hb-cream-warm:  #F5EFE2;
  --hb-sand:        #E8DDC7;
  --hb-coral:       #F4A582;
  --hb-white:       #FFFFFF;

  /* Text */
  --hb-ink:            #1A1A1A;
  --hb-ink-soft:       #4A4A4A;
  --hb-ink-secondary:  #5A6370;
  --hb-ink-muted:      #8A8A85;
  --hb-line:           #E5E0D5;
  --hb-line-soft:      #EFEAE0;

  /* Surface */
  --hb-sand-light:     #F7F3EC;

  /* Typography */
  --hb-font: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --hb-text-display: clamp(36px, 5vw, 64px);
  --hb-text-h1:      clamp(28px, 3.5vw, 44px);
  --hb-text-h2:      clamp(22px, 2.6vw, 32px);
  --hb-text-h3:      20px;
  --hb-text-body:    16px;
  --hb-text-small:   14px;
  --hb-text-caption: 12px;

  /* Spacing */
  --hb-s1: 4px;
  --hb-s2: 8px;
  --hb-s3: 12px;
  --hb-s4: 16px;
  --hb-s5: 24px;
  --hb-s6: 32px;
  --hb-s7: 48px;
  --hb-s8: 64px;
  --hb-s9: 96px;

  /* Radius */
  --hb-r-sm:   6px;
  --hb-r-md:   10px;
  --hb-r-lg:   16px;
  --hb-r-xl:   24px;
  --hb-r-pill: 999px;

  /* Layout */
  --hb-container:        1200px;
  --hb-container-narrow: 960px;

  /* Aliases for component compat */
  --hb-bg:     #FFFFFF;
  --hb-border: #E5E0D5;

  /* Shadow */
  --hb-shadow-sm: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  --hb-shadow-md: 0 4px 12px rgba(0,0,0,.08), 0 2px 4px rgba(0,0,0,.04);
  --hb-shadow-lg: 0 10px 30px rgba(0,0,0,.10), 0 4px 8px rgba(0,0,0,.04);

  /* Transition */
  --hb-ease: cubic-bezier(.16,1,.3,1);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--hb-font);
  font-size: var(--hb-text-body);
  color: var(--hb-ink);
  background: var(--hb-cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.hb-container {
  max-width: var(--hb-container);
  margin-inline: auto;
  padding-inline: var(--hb-s5);
}
.hb-container--narrow {
  max-width: var(--hb-container-narrow);
  margin-inline: auto;
  padding-inline: var(--hb-s5);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--hb-font);
  line-height: 1.2;
  font-weight: 700;
  color: var(--hb-forest);
}
h1 { font-size: var(--hb-text-h1); }
h2 { font-size: var(--hb-text-h2); }
h3 { font-size: var(--hb-text-h3); }
p  { line-height: 1.75; }

.hb-display {
  font-size: var(--hb-text-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hb-section-label {
  font-size: var(--hb-text-small);
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--hb-teal);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.hb-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--hb-s2);
  padding: 12px 24px;
  border-radius: var(--hb-r-pill);
  font-size: var(--hb-text-small);
  font-weight: 600;
  transition: all .2s var(--hb-ease);
  white-space: nowrap;
}
.hb-btn--primary {
  background: var(--hb-teal);
  color: var(--hb-white);
}
.hb-btn--primary:hover {
  background: var(--hb-teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--hb-shadow-md);
}
.hb-btn--gold {
  background: var(--hb-gold);
  color: var(--hb-forest);
}
.hb-btn--gold:hover {
  background: var(--hb-gold-dark);
  transform: translateY(-1px);
  box-shadow: var(--hb-shadow-md);
}
.hb-btn--ghost {
  border: 1.5px solid var(--hb-line);
  color: var(--hb-ink-soft);
  background: transparent;
}
.hb-btn--ghost:hover,
.hb-btn--ghost.is-active {
  border-color: var(--hb-teal);
  color: var(--hb-teal);
  background: var(--hb-teal-50);
}

.hb-btn--outline {
  background: transparent;
  border: 1.5px solid var(--hb-teal);
  color: var(--hb-teal);
}
.hb-btn--outline:hover {
  background: var(--hb-teal);
  color: #fff;
}
.hb-btn--lg {
  padding: 14px 28px;
  font-size: 15px;
}

/* Alert */
.hb-alert {
  padding: 12px 16px;
  border-radius: var(--hb-r-md);
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hb-alert--error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #fecaca;
}
.hb-alert--success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0;
}
.hb-alert--info {
  background: var(--hb-teal-50);
  color: var(--hb-teal-dark);
  border: 1px solid #a7d5d4;
}
.hb-alert--warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fcd34d;
}

/* ============================================================
   BADGE / CHIP
   ============================================================ */
.hb-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: var(--hb-r-pill);
  font-size: var(--hb-text-caption);
  font-weight: 600;
  white-space: nowrap;
}
.hb-badge--verified  { background: #D4EDDA; color: #155724; }
.hb-badge--self      { background: var(--hb-gold-50); color: var(--hb-gold-dark); }
.hb-badge--noalcohol { background: var(--hb-teal-50); color: var(--hb-teal-dark); }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.hb-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,246,238,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--hb-line-soft);
  transition: box-shadow .2s;
}
.hb-header.is-scrolled { box-shadow: var(--hb-shadow-sm); }

.hb-nav {
  display: flex;
  align-items: center;
  gap: var(--hb-s5);
  height: 68px;
}

.hb-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
  color: var(--hb-forest);
  flex-shrink: 0;
  margin-right: auto;
}
.hb-logo__icon {
  width: 36px;
  height: 36px;
  background: var(--hb-teal);
  border-radius: var(--hb-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
}
.hb-logo span { color: var(--hb-teal); }

.hb-nav__links {
  display: flex;
  align-items: center;
  gap: var(--hb-s4);
}
.hb-nav__links a {
  font-size: var(--hb-text-small);
  font-weight: 500;
  color: var(--hb-ink-soft);
  padding: 6px 12px;
  border-radius: var(--hb-r-sm);
  transition: all .15s;
}
.hb-nav__links a:hover,
.hb-nav__links a.active {
  color: var(--hb-teal);
  background: var(--hb-teal-50);
}

.hb-nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--hb-r-sm);
}
.hb-nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--hb-ink);
  border-radius: 2px;
  transition: all .3s;
}

/* Mobile nav */
.hb-nav__mobile {
  display: none;
  padding: var(--hb-s4) var(--hb-s5);
  border-top: 1px solid var(--hb-line-soft);
  background: var(--hb-white);
  flex-direction: column;
  gap: var(--hb-s2);
}
.hb-nav__mobile.is-open { display: flex; }
.hb-nav__mobile a {
  padding: 10px 12px;
  border-radius: var(--hb-r-md);
  font-weight: 500;
  color: var(--hb-ink-soft);
  transition: all .15s;
}
.hb-nav__mobile a:hover { background: var(--hb-teal-50); color: var(--hb-teal); }
.hb-nav__mobile-sep { height: 1px; background: var(--hb-line); margin: 6px 0; }

/* ── Nav: Auth buttons (logged out) ───────────────────────── */
.hb-nav__auth {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 900px) { .hb-nav__auth { display: none; } }

/* ── Nav: User account menu (logged in) ───────────────────── */
.hb-nav__user {
  position: relative;
  flex-shrink: 0;
}
@media (max-width: 900px) { .hb-nav__user { display: none; } }

.hb-nav__avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--hb-teal);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, box-shadow .2s;
  font-family: inherit;
  line-height: 1;
}
.hb-nav__avatar:hover,
.hb-nav__user.is-open .hb-nav__avatar {
  background: var(--hb-teal-dark);
  box-shadow: 0 0 0 3px rgba(26,107,90,.18);
}
.hb-nav__user-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 204px;
  background: #fff;
  border: 1px solid var(--hb-line);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.12);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s, transform .18s, visibility .18s;
  z-index: 200;
}
.hb-nav__user.is-open .hb-nav__user-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.hb-nav__user-info {
  padding: 8px 10px 10px;
  border-bottom: 1px solid var(--hb-line);
  margin-bottom: 4px;
}
.hb-nav__user-name {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--hb-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 184px;
}
.hb-nav__user-email {
  display: block;
  font-size: 11px;
  color: var(--hb-ink-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 184px;
  margin-top: 2px;
}
.hb-nav__user-dropdown a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--hb-ink-soft);
  transition: background .15s, color .15s;
  text-decoration: none;
}
.hb-nav__user-dropdown a:hover { background: var(--hb-teal-50); color: var(--hb-teal); }
.hb-nav__user-dropdown a i { font-size: 16px; }
.hb-nav__user-sep { height: 1px; background: var(--hb-line); margin: 4px 0; }
.hb-nav__user-logout { color: #e74c3c !important; }
.hb-nav__user-logout:hover { background: #fff5f5 !important; color: #c0392b !important; }

/* ============================================================
   HERO
   ============================================================ */
.hb-hero {
  background: linear-gradient(160deg, var(--hb-forest) 0%, var(--hb-forest-soft) 60%, #1a5c3f 100%);
  padding: var(--hb-s9) 0 var(--hb-s8);
  position: relative;
  overflow: hidden;
}
.hb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='1' fill='rgba(255,255,255,.04)'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.hb-hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  padding-inline: var(--hb-s5);
}
.hb-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--hb-s2);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: var(--hb-teal-light);
  font-size: var(--hb-text-small);
  font-weight: 600;
  padding: 6px 16px;
  border-radius: var(--hb-r-pill);
  margin-bottom: var(--hb-s5);
}
.hb-hero__title {
  font-size: var(--hb-text-display);
  font-weight: 800;
  color: var(--hb-white);
  line-height: 1.08;
  letter-spacing: -.02em;
  margin-bottom: var(--hb-s4);
}
.hb-hero__title em {
  font-style: normal;
  color: var(--hb-gold);
}
.hb-hero__sub {
  font-size: 18px;
  color: rgba(255,255,255,.75);
  margin-bottom: var(--hb-s7);
  max-width: 520px;
  margin-inline: auto;
}

/* Search box */
.hb-search {
  background: var(--hb-white);
  border-radius: var(--hb-r-xl);
  padding: var(--hb-s3);
  box-shadow: var(--hb-shadow-lg);
  display: flex;
  gap: var(--hb-s3);
  align-items: center;
  margin-bottom: var(--hb-s7);
}
.hb-search input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--hb-font);
  font-size: var(--hb-text-body);
  color: var(--hb-ink);
  padding: 8px 12px;
  background: transparent;
}
.hb-search input::placeholder { color: var(--hb-ink-muted); }
.hb-search select {
  border: none;
  outline: none;
  font-family: var(--hb-font);
  font-size: var(--hb-text-small);
  color: var(--hb-ink-soft);
  background: var(--hb-cream);
  padding: 8px 12px;
  border-radius: var(--hb-r-md);
  cursor: pointer;
}
.hb-search__divider { width: 1px; height: 32px; background: var(--hb-line); flex-shrink: 0; }
.hb-search .hb-btn { padding: 12px 28px; }

/* Stats */
.hb-hero__stats {
  display: flex;
  justify-content: center;
  gap: var(--hb-s8);
  flex-wrap: wrap;
}
.hb-stat { text-align: center; }
.hb-stat__num {
  font-size: 28px;
  font-weight: 800;
  color: var(--hb-white);
  display: block;
}
.hb-stat__label {
  font-size: var(--hb-text-small);
  color: rgba(255,255,255,.6);
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.hb-section { padding: var(--hb-s9) 0; }
.hb-section--alt { background: var(--hb-white); }
.hb-section--dark {
  background: var(--hb-forest);
  color: var(--hb-white);
}
.hb-section__head {
  text-align: center;
  margin-bottom: var(--hb-s7);
}
.hb-section__head h2 { margin-top: var(--hb-s3); margin-bottom: var(--hb-s3); }
.hb-section__head p { color: var(--hb-ink-soft); max-width: 540px; margin-inline: auto; }

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.hb-categories { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hb-s4); }
.hb-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hb-s3);
  padding: var(--hb-s6);
  background: var(--hb-white);
  border: 1.5px solid var(--hb-line-soft);
  border-radius: var(--hb-r-lg);
  text-align: center;
  transition: all .2s var(--hb-ease);
  cursor: pointer;
}
.hb-cat-card:hover {
  border-color: var(--hb-teal);
  transform: translateY(-3px);
  box-shadow: var(--hb-shadow-md);
}
.hb-cat-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--hb-r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
}
.hb-cat-card__icon--food    { background: var(--hb-gold-50);  color: var(--hb-gold-dark); }
.hb-cat-card__icon--hotel   { background: var(--hb-teal-50);  color: var(--hb-teal); }
.hb-cat-card__icon--mosque  { background: #F0F4FF; color: #4B6CB7; }
.hb-cat-card__icon--tour    { background: #FFF0E6; color: #C0553A; }
.hb-cat-card h3 { font-size: 16px; font-weight: 700; color: var(--hb-forest); }
.hb-cat-card p  { font-size: var(--hb-text-small); color: var(--hb-ink-muted); line-height: 1.4; }
.hb-cat-card__count { font-size: var(--hb-text-caption); color: var(--hb-teal); font-weight: 600; }

/* ============================================================
   LISTING CARDS (Restaurant / Hotel)
   ============================================================ */
.hb-card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--hb-s5); }
.hb-card-grid .hb-card__img { aspect-ratio: 3/2; }
.hb-card--tour .hb-card__img { aspect-ratio: 3/2; }

.hb-card {
  background: var(--hb-white);
  border-radius: var(--hb-r-lg);
  overflow: hidden;
  border: 1px solid var(--hb-line-soft);
  transition: all .2s var(--hb-ease);
}
.hb-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--hb-shadow-lg);
  border-color: transparent;
}
.hb-card__img {
  display: block;
  position: relative;
  aspect-ratio: 3/2;
  overflow: hidden;
  background: var(--hb-sand);
}
.hb-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--hb-ease);
}
.hb-card:hover .hb-card__img img { transform: scale(1.04); }
.hb-card__badges {
  position: absolute;
  top: var(--hb-s3);
  left: var(--hb-s3);
  display: flex;
  gap: var(--hb-s1);
  flex-wrap: wrap;
}
.hb-card__body { padding: var(--hb-s5); }
.hb-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--hb-s2);
}
.hb-card__category { font-size: var(--hb-text-caption); color: var(--hb-teal); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.hb-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: var(--hb-text-small);
  font-weight: 600;
  color: var(--hb-gold-dark);
}
.hb-card h3 { font-size: 17px; margin-bottom: var(--hb-s2); color: var(--hb-forest); }
.hb-card__desc { font-size: var(--hb-text-small); color: var(--hb-ink-soft); line-height: 1.55; margin-bottom: var(--hb-s4); }
.hb-card__footer {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: var(--hb-s4);
  border-top: 1px solid var(--hb-line-soft);
  font-size: var(--hb-text-small);
  color: var(--hb-ink-muted);
}

/* ============================================================
   PRAYER TIMES WIDGET
   ============================================================ */
.hb-prayer {
  background: linear-gradient(135deg, var(--hb-forest) 0%, var(--hb-forest-soft) 100%);
  border-radius: var(--hb-r-xl);
  padding: var(--hb-s6) var(--hb-s7);
  color: var(--hb-white);
}
.hb-prayer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--hb-s5);
  flex-wrap: wrap;
  gap: var(--hb-s3);
}
.hb-prayer__head h3 { color: var(--hb-white); font-size: 20px; }
.hb-prayer__date { font-size: var(--hb-text-small); color: rgba(255,255,255,.6); }
.hb-prayer__times {
  display: flex;
  gap: var(--hb-s4);
  justify-content: space-between;
  flex-wrap: wrap;
}
.hb-prayer__item {
  flex: 1;
  min-width: 80px;
  text-align: center;
  padding: var(--hb-s4);
  border-radius: var(--hb-r-md);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.1);
  transition: background .2s;
}
.hb-prayer__item.is-next {
  background: var(--hb-teal);
  border-color: var(--hb-teal-light);
}
.hb-prayer__name { font-size: var(--hb-text-caption); color: rgba(255,255,255,.6); margin-bottom: 4px; text-transform: uppercase; letter-spacing: .06em; }
.hb-prayer__time { font-size: 18px; font-weight: 700; }

/* ============================================================
   WHY US / PILLARS
   ============================================================ */
.hb-pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hb-s6); }
.hb-pillar {
  padding: var(--hb-s6);
  border-radius: var(--hb-r-lg);
  border: 1.5px solid var(--hb-line-soft);
  background: var(--hb-white);
}
.hb-pillar__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--hb-r-lg);
  background: var(--hb-teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: var(--hb-s4);
}
.hb-pillar h3 { font-size: 18px; margin-bottom: var(--hb-s2); }
.hb-pillar p  { font-size: var(--hb-text-small); color: var(--hb-ink-soft); line-height: 1.65; }

/* ============================================================
   CERTIFICATION SYSTEM
   ============================================================ */
.hb-cert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--hb-s5); }
.hb-cert {
  padding: var(--hb-s6);
  border-radius: var(--hb-r-lg);
  text-align: center;
}
.hb-cert--1 { background: #D4EDDA; }
.hb-cert--2 { background: var(--hb-gold-50); }
.hb-cert--3 { background: var(--hb-teal-50); }
.hb-cert__icon { font-size: 32px; margin-bottom: var(--hb-s3); }
.hb-cert h3    { font-size: 16px; margin-bottom: var(--hb-s2); }
.hb-cert p     { font-size: var(--hb-text-small); color: var(--hb-ink-soft); line-height: 1.55; }

/* ============================================================
   ARTICLE / GUIDE GRID
   ============================================================ */
.hb-guide-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: var(--hb-s5);
}
.hb-guide-featured { grid-row: span 2; }
.hb-guide-card {
  background: var(--hb-white);
  border-radius: var(--hb-r-lg);
  overflow: hidden;
  border: 1px solid var(--hb-line-soft);
  transition: all .2s var(--hb-ease);
  display: flex;
  flex-direction: column;
}
.hb-guide-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--hb-shadow-md);
  border-color: transparent;
}
.hb-guide-card--featured { height: 100%; }
.hb-guide-card__img { aspect-ratio: 16/10; overflow: hidden; background: var(--hb-sand); }
.hb-guide-card--featured .hb-guide-card__img { aspect-ratio: unset; flex: 1; }
.hb-guide-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--hb-ease); }
.hb-guide-card:hover .hb-guide-card__img img { transform: scale(1.04); }
.hb-guide-card__body { padding: var(--hb-s5); }
.hb-guide-card--small { flex-direction: row; align-items: center; }
.hb-guide-card--small .hb-guide-card__img { width: 72px; height: 72px; flex-shrink: 0; aspect-ratio: 1; border-radius: var(--hb-r-md); overflow: hidden; background: var(--hb-sand); }
.hb-guide-card--small .hb-guide-card__body { padding: 12px var(--hb-s4); display: flex; flex-direction: column; justify-content: center; gap: 3px; }
.hb-guide-card__cat { font-size: var(--hb-text-caption); color: var(--hb-teal); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 0; }
.hb-guide-card h3 { font-size: 14px; color: var(--hb-forest); line-height: 1.35; margin-bottom: 0; }
.hb-guide-card--featured h3 { font-size: 22px; margin-bottom: var(--hb-s3); }
.hb-guide-card__meta { font-size: var(--hb-text-caption); color: var(--hb-ink-muted); }

/* ============================================================
   NEWSLETTER CTA
   ============================================================ */
.hb-newsletter {
  background: linear-gradient(135deg, var(--hb-teal) 0%, var(--hb-teal-dark) 100%);
  border-radius: var(--hb-r-xl);
  padding: var(--hb-s8);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--hb-s8);
  align-items: center;
}
.hb-newsletter__left h2 { color: var(--hb-white); margin-bottom: var(--hb-s3); }
.hb-newsletter__left p  { color: rgba(255,255,255,.8); font-size: var(--hb-text-small); }
.hb-newsletter__form {
  display: flex;
  gap: var(--hb-s3);
  flex-wrap: wrap;
}
.hb-newsletter__form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 18px;
  border-radius: var(--hb-r-pill);
  border: none;
  outline: none;
  font-family: var(--hb-font);
  font-size: var(--hb-text-small);
  background: rgba(255,255,255,.15);
  color: var(--hb-white);
  border: 1px solid rgba(255,255,255,.2);
}
.hb-newsletter__form input::placeholder { color: rgba(255,255,255,.5); }
.hb-newsletter__form input:focus { background: rgba(255,255,255,.2); border-color: rgba(255,255,255,.4); }

/* ============================================================
   FOOTER
   ============================================================ */
.hb-footer {
  background: var(--hb-forest);
  color: rgba(255,255,255,.75);
  padding: var(--hb-s9) 0 var(--hb-s5);
}
.hb-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--hb-s8);
  margin-bottom: var(--hb-s8);
}
.hb-footer__brand .hb-logo { color: var(--hb-white); margin-bottom: var(--hb-s4); }
.hb-footer__brand p { font-size: var(--hb-text-small); line-height: 1.65; max-width: 280px; }
.hb-footer__col h4 {
  font-size: var(--hb-text-small);
  font-weight: 700;
  color: var(--hb-white);
  margin-bottom: var(--hb-s4);
  letter-spacing: .04em;
  text-transform: uppercase;
}
.hb-footer__col ul { display: flex; flex-direction: column; gap: var(--hb-s2); }
.hb-footer__col ul li a {
  font-size: var(--hb-text-small);
  color: rgba(255,255,255,.6);
  transition: color .15s;
}
.hb-footer__col ul li a:hover { color: var(--hb-teal-light); }
.hb-footer__bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: var(--hb-s5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--hb-text-caption);
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: var(--hb-s3);
}

/* ============================================================
   ARTICLE / SINGLE POST
   ============================================================ */
.hb-article-header {
  background: var(--hb-forest);
  padding: var(--hb-s8) 0;
  color: var(--hb-white);
}
.hb-article-header .hb-badge { margin-bottom: var(--hb-s4); }
.hb-article-header h1 { color: var(--hb-white); margin-bottom: var(--hb-s4); }
.hb-article-meta { display: flex; gap: var(--hb-s5); font-size: var(--hb-text-small); color: rgba(255,255,255,.6); flex-wrap: wrap; }

.hb-article-body {
  max-width: 780px;
  margin-inline: auto;
  padding: var(--hb-s8) var(--hb-s5);
}
.hb-article-body h2 { font-size: 24px; margin: var(--hb-s7) 0 var(--hb-s3); color: var(--hb-forest); }
.hb-article-body h3 { font-size: 18px; margin: var(--hb-s5) 0 var(--hb-s2); color: var(--hb-forest); }
.hb-article-body p  { margin-bottom: var(--hb-s4); color: var(--hb-ink-soft); }
.hb-article-body ul { list-style: disc; padding-left: var(--hb-s6); margin-bottom: var(--hb-s4); }
.hb-article-body ol { list-style: decimal; padding-left: var(--hb-s6); margin-bottom: var(--hb-s4); }
.hb-article-body li { margin-bottom: var(--hb-s2); color: var(--hb-ink-soft); }
.hb-article-body img { border-radius: var(--hb-r-lg); margin: var(--hb-s5) 0; }
.hb-article-body a  { color: var(--hb-teal); text-decoration: underline; text-underline-offset: 3px; }
.hb-article-body blockquote {
  border-left: 3px solid var(--hb-teal);
  padding: var(--hb-s4) var(--hb-s5);
  margin: var(--hb-s6) 0;
  background: var(--hb-teal-50);
  border-radius: 0 var(--hb-r-md) var(--hb-r-md) 0;
  font-style: italic;
  color: var(--hb-forest);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .hb-card-grid     { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1024px) {
  .hb-categories    { grid-template-columns: repeat(2, 1fr); }
  .hb-card-grid     { grid-template-columns: repeat(2, 1fr); }
  .hb-pillars       { grid-template-columns: repeat(2, 1fr); }
  .hb-cert-grid     { grid-template-columns: repeat(2, 1fr); }
  .hb-footer__grid  { grid-template-columns: 1fr 1fr; gap: var(--hb-s6); }
  .hb-newsletter    { grid-template-columns: 1fr; gap: var(--hb-s5); }
}

@media (max-width: 900px) {
  .hb-nav__links  { display: none; }
  .hb-nav__toggle { display: flex; }
  .hb-guide-grid  { grid-template-columns: 1fr; }
  .hb-guide-featured { grid-row: auto; }
}

@media (max-width: 600px) {
  .hb-categories  { grid-template-columns: repeat(2, 1fr); }
  .hb-card-grid   { grid-template-columns: repeat(2, 1fr); }
  .hb-pillars     { grid-template-columns: 1fr; }
  .hb-cert-grid   { grid-template-columns: 1fr; }
  .hb-footer__grid { grid-template-columns: 1fr; }
  .hb-hero__stats { gap: var(--hb-s5); }
  .hb-prayer      { padding: var(--hb-s5); }
  .hb-prayer__times { gap: var(--hb-s2); }
  .hb-search      { flex-direction: column; border-radius: var(--hb-r-lg); }
  .hb-search__divider { display: none; }
  .hb-search select { width: 100%; }
  .hb-search .hb-btn { width: 100%; justify-content: center; }
}

/* ============================================================
   WORDPRESS DEFAULTS
   ============================================================ */
.wp-block-image { margin: var(--hb-s5) 0; }
.alignnone  { max-width: 100%; }
.aligncenter { display: block; margin-inline: auto; }
.screen-reader-text {
  clip: rect(1px,1px,1px,1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  width: 1px;
  white-space: nowrap;
}

/* ============================================================
   MONETIZATION COMPONENTS
   ============================================================ */

/* Affiliate buttons */
.hb-affiliate-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--hb-r-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all .15s;
}
.hb-affiliate-btn--booking  { background: #003580; color: #fff; }
.hb-affiliate-btn--booking:hover { background: #00275e; color: #fff; }
.hb-affiliate-btn--agoda    { background: #e31e24; color: #fff; }
.hb-affiliate-btn--agoda:hover { background: #b5181d; color: #fff; }
.hb-affiliate-btn--traveloka { background: #0064d2; color: #fff; }
.hb-affiliate-btn--traveloka:hover { background: #004fa8; color: #fff; }

/* Affiliate box */
.hb-affiliate-box {
  border: 2px solid var(--hb-gold);
  border-radius: var(--hb-r-lg);
  padding: var(--hb-s5) var(--hb-s6);
  margin: var(--hb-s7) 0;
  background: var(--hb-gold-50);
}
.hb-affiliate-box__header {
  font-size: 16px;
  font-weight: 700;
  color: var(--hb-forest);
  margin-bottom: var(--hb-s3);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hb-affiliate-box__desc {
  font-size: 14px;
  color: var(--hb-ink-soft);
  margin-bottom: var(--hb-s4);
}
.hb-affiliate-box__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Business CTA */
.hb-biz-cta {
  background: var(--hb-forest);
  padding: var(--hb-s8) 0;
  margin-top: var(--hb-s7);
}
.hb-biz-cta__inner {
  display: flex;
  align-items: center;
  gap: var(--hb-s6);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--hb-r-lg);
  padding: var(--hb-s6) var(--hb-s7);
}
.hb-biz-cta__icon {
  font-size: 48px;
  color: var(--hb-gold);
  flex-shrink: 0;
  line-height: 1;
}
.hb-biz-cta__text { flex: 1; }
.hb-biz-cta__text h3 {
  font-size: clamp(18px, 2vw, 22px);
  color: var(--hb-white);
  margin: 0 0 var(--hb-s3);
}
.hb-biz-cta__text p {
  font-size: 14px;
  color: rgba(255,255,255,.75);
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 700px) {
  .hb-biz-cta__inner { flex-direction: column; text-align: center; }
  .hb-biz-cta__icon  { font-size: 36px; }
}


/* ═══════════════════════════════════════════
   LISTING SINGLE — shared across all CPTs
═══════════════════════════════════════════ */
.hb-listing-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--hb-forest);
}
.hb-listing-hero__img {
  position: absolute; inset: 0;
}
.hb-listing-hero__img img {
  width: 100%; height: 100%; object-fit: cover;
}
.hb-listing-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75) 0%, rgba(0,0,0,.25) 60%, transparent 100%);
}
.hb-listing-hero__content {
  position: relative; z-index: 1;
  padding-top: var(--hb-s9);
  padding-bottom: var(--hb-s7);
  color: #fff;
}
.hb-listing-hero__badges {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: var(--hb-s4);
}
.hb-listing-hero__title {
  font-size: clamp(24px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: var(--hb-s3);
}
.hb-listing-hero__meta {
  display: flex; flex-wrap: wrap; gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,.88);
}
.hb-listing-hero__meta span {
  display: flex; align-items: center; gap: 5px;
}

/* Badge type */
.hb-badge--type {
  background: rgba(255,255,255,.18);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}

/* Layout */
.hb-listing-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: var(--hb-s7);
  padding-top: var(--hb-s7);
  padding-bottom: var(--hb-s9);
  align-items: start;
}
.hb-listing-main {
  display: flex;
  flex-direction: column;
  gap: var(--hb-s6);
  min-width: 0;
}
.hb-listing-section {
  background: #fff;
  border-radius: var(--hb-r-lg);
  padding: var(--hb-s6);
  box-shadow: var(--hb-shadow-sm);
}
.hb-listing-section h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--hb-ink);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: var(--hb-s5);
  padding-bottom: var(--hb-s4);
  border-bottom: 1px solid var(--hb-sand);
}
.hb-listing-desc {
  font-size: 15px;
  line-height: 1.75;
  color: var(--hb-ink-secondary);
}
.hb-listing-desc p { margin-bottom: 12px; text-align: justify; }

/* Info Grid */
.hb-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.hb-info-item {
  display: flex; flex-direction: column; gap: 4px;
}
.hb-info-item--wide {
  grid-column: 1 / -1;
}
.hb-info-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--hb-ink-muted);
  display: flex; align-items: center; gap: 5px;
}
.hb-info-val {
  font-size: 14px;
  color: var(--hb-ink);
  font-weight: 500;
  line-height: 1.4;
}
.hb-facilities {
  font-size: 14px;
  color: var(--hb-ink-secondary);
  line-height: 1.7;
  background: var(--hb-sand-light);
  border-radius: var(--hb-r-md);
  padding: 12px 14px;
}

/* Gallery */
.hb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.hb-gallery-item {
  display: block;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--hb-r-md);
}
.hb-gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease;
}
.hb-gallery-item:hover img { transform: scale(1.05); }

/* Video */
.hb-video-wrap {
  aspect-ratio: 16/9;
  border-radius: var(--hb-r-md);
  overflow: hidden;
}
.hb-video-wrap iframe {
  width: 100%; height: 100%; border: 0;
}

/* Tour: include/exclude */
.hb-inc-exc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.hb-inc-exc-title {
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 10px;
}
.hb-check-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 6px;
}
.hb-inc-exc-col--inc .hb-check-list li::before {
  content: '✓ ';
  color: #16a34a;
  font-weight: 700;
}
.hb-inc-exc-col--exc .hb-check-list li::before {
  content: '✗ ';
  color: #dc2626;
  font-weight: 700;
}
.hb-check-list li {
  font-size: 14px;
  color: var(--hb-ink-secondary);
  line-height: 1.4;
}
.hb-inc-exc-col--inc {
  background: #f0fdf4;
  border-radius: var(--hb-r-md);
  padding: 14px;
}
.hb-inc-exc-col--exc {
  background: #fef2f2;
  border-radius: var(--hb-r-md);
  padding: 14px;
}

/* Mosque guideline */
.hb-guideline-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.hb-guideline-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--hb-sand-light);
  border-radius: var(--hb-r-md);
  padding: 14px;
}
.hb-guideline-item > .ti {
  font-size: 22px;
  color: var(--hb-teal);
  margin-top: 2px;
  flex-shrink: 0;
}
.hb-guideline-item strong { font-size: 14px; font-weight: 700; display: block; margin-bottom: 4px; }
.hb-guideline-item p { font-size: 13px; color: var(--hb-ink-secondary); margin: 0; line-height: 1.5; }

/* Sidebar */
.hb-listing-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--hb-s4);
  position: sticky;
  top: 90px;
}
.hb-sidebar-card {
  background: #fff;
  border-radius: var(--hb-r-lg);
  padding: var(--hb-s5);
  box-shadow: var(--hb-shadow-sm);
}
.hb-sidebar-card__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--hb-ink-muted);
  margin-bottom: 8px;
  display: flex; align-items: center; gap: 5px;
}
.hb-sidebar-card--cta {
  background: var(--hb-forest);
  color: #fff;
}
.hb-sidebar-card--cta p { color: rgba(255,255,255,.8); }
.hb-sidebar-card--cta p:first-child { color: #fff; }

/* WA button */
.hb-btn--wa {
  background: #25D366;
  color: #fff;
  border: none;
}
.hb-btn--wa:hover {
  background: #1ebe5c;
  color: #fff;
}
.hb-btn--full { width: 100%; justify-content: center; }
.hb-btn--sm { font-size: 13px; padding: 6px 14px; }

/* Premium badge */
.hb-badge--premium {
  background: linear-gradient(135deg, #b45309, #d97706);
  color: #fff;
  border: none;
}

/* Responsive */
@media (max-width: 960px) {
  .hb-listing-layout {
    grid-template-columns: 1fr;
  }
  .hb-listing-sidebar {
    position: static;
  }
}
@media (max-width: 640px) {
  .hb-listing-hero { min-height: 300px; }
  .hb-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-inc-exc-grid { grid-template-columns: 1fr; }
  .hb-guideline-grid { grid-template-columns: 1fr; }
  .hb-info-grid { grid-template-columns: 1fr; }
  .hb-info-item--wide { grid-column: auto; }
}


/* ═══════════════════════════════════════════
   BOOKING FORM
═══════════════════════════════════════════ */
.hb-booking-card {
  border: 2px solid var(--hb-teal);
}
.hb-booking-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--hb-teal);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.hb-booking-price-display {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--hb-sand);
}
.hb-booking-price-from {
  font-size: 11px;
  color: var(--hb-ink-muted);
  text-transform: uppercase;
  letter-spacing: .05em;
}
.hb-booking-price-val {
  font-size: 18px;
  font-weight: 700;
  color: var(--hb-teal);
  line-height: 1.2;
}
.hb-booking-form .hb-form-row {
  margin-bottom: 14px;
}
.hb-booking-form .hb-form-label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--hb-ink);
  margin-bottom: 5px;
}
.hb-booking-form .hb-form-input {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid #d1d5db;
  border-radius: var(--hb-r-md);
  font-size: 14px;
  color: var(--hb-ink);
  background: #fff;
  transition: border-color .15s;
  box-sizing: border-box;
}
.hb-booking-form .hb-form-input:focus {
  outline: none;
  border-color: var(--hb-teal);
  box-shadow: 0 0 0 3px var(--hb-teal-50);
}
.hb-booking-form textarea.hb-form-input {
  resize: vertical;
  min-height: 72px;
}
.hb-form-hint {
  font-size: 11px;
  color: var(--hb-ink-muted);
  margin-top: 3px;
  display: block;
}
.hb-req { color: #dc2626; }
.hb-pax-total {
  font-size: 14px;
  font-weight: 700;
  color: var(--hb-teal);
  white-space: nowrap;
}

/* ============================================================
   ARCHIVE PAGES
   ============================================================ */

/* ── Archive Hero ── */
.hb-arc-hero {
  padding: 56px 0 40px;
  background: linear-gradient(135deg, var(--hb-forest) 0%, var(--hb-teal-dark) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hb-arc-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hb-arc-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--hb-teal-light);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 5px 14px;
  margin-bottom: 16px;
}
.hb-arc-hero__title {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  line-height: 1.2;
}
.hb-arc-hero__desc {
  font-size: 15px;
  color: rgba(255,255,255,.75);
  max-width: 520px;
  margin: 0 auto 16px;
  line-height: 1.6;
}
.hb-arc-hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
}
.hb-arc-hero__stats strong { color: #fff; font-weight: 700; }

/* Color variants */
.hb-arc-hero--hotel   { background: linear-gradient(135deg, #1a2e4a 0%, #243d5e 100%); }
.hb-arc-hero--masjid  { background: linear-gradient(135deg, #0e3d2c 0%, #0e7c7b 100%); }
.hb-arc-hero--tour    { background: linear-gradient(135deg, #2d1a00 0%, #7c4e0e 100%); }

/* ── Filter Bar ── */
.hb-arc-filter-wrap {
  background: #fff;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 65px;
  z-index: 90;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}
.hb-arc-filter {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 16px;
  padding: 14px 0;
  flex-wrap: wrap;
}
.hb-filter-group {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 140px;
}
.hb-filter-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--hb-ink-muted);
  display: flex;
  align-items: center;
  gap: 4px;
}
.hb-filter-select {
  height: 38px;
  padding: 0 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  background: #f8fafc;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--hb-ink);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  font-family: inherit;
  appearance: auto;
}
.hb-filter-select:focus {
  outline: none;
  border-color: var(--hb-teal);
  background: #fff;
}
.hb-filter-reset {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 38px;
  padding: 0 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #6b7280;
  text-decoration: none;
  background: #f8fafc;
  transition: all .15s;
  white-space: nowrap;
  align-self: flex-end;
}
.hb-filter-reset:hover {
  border-color: #dc2626;
  color: #dc2626;
  background: #fef2f2;
}

/* ── Results bar ── */
.hb-arc-results-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--hb-ink-soft);
}

/* ── Archive Grid ── */
.hb-grid--4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.hb-grid--4 .hb-card h3 { font-size: 15px; }
.hb-grid--4 .hb-card__body { padding: var(--hb-s4); }
.hb-grid--4 .hb-card__desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hb-grid--3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hb-grid--2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── Empty State ── */
.hb-arc-empty {
  text-align: center;
  padding: 80px 20px;
}
.hb-arc-empty .ti {
  font-size: 64px;
  color: var(--hb-ink-muted);
  opacity: .25;
  display: block;
  margin-bottom: 16px;
}
.hb-arc-empty h3 {
  font-size: 20px;
  color: var(--hb-ink-soft);
  margin: 0 0 8px;
}
.hb-arc-empty p {
  color: var(--hb-ink-muted);
  font-size: 14px;
}
.hb-arc-empty a { color: var(--hb-teal); }

/* ── Pagination ── */
.hb-pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
  padding-bottom: 16px;
}
.hb-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid #e2e8f0;
  color: var(--hb-ink-soft);
  background: #fff;
  transition: all .15s;
}
.hb-pagination .page-numbers:hover {
  border-color: var(--hb-teal);
  color: var(--hb-teal);
}
.hb-pagination .page-numbers.current {
  background: var(--hb-teal);
  border-color: var(--hb-teal);
  color: #fff;
}
.hb-pagination .page-numbers.dots {
  border: none;
  background: none;
  cursor: default;
}
.hb-pagination .prev,
.hb-pagination .next {
  width: auto;
  padding: 0 14px;
  gap: 4px;
}

/* ── Responsive ── */
@media (max-width: 1200px) {
  .hb-grid--4 { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .hb-grid--4 .hb-card h3 { font-size: 16px; }
}
@media (max-width: 960px) {
  .hb-grid--4 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .hb-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 16px; }
}
@media (max-width: 640px) {
  .hb-grid--4,
  .hb-grid--3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .hb-grid--2 { grid-template-columns: 1fr; gap: 12px; }
  .hb-grid--4 .hb-card h3 { font-size: 15px; }
  .hb-arc-filter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 12px 0;
    justify-content: unset;
  }
  .hb-filter-group { min-width: 0; }
  .hb-filter-group--full { grid-column: 1 / -1; }
  .hb-filter-reset { grid-column: 1 / -1; justify-self: center; }
  .hb-arc-hero { padding: 36px 0 28px; }
}

/* ── Search Results ── */
.hb-search-results {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.hb-search-result-item {
  display: grid;
  grid-template-columns: 80px 1fr 24px;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid #f0f0f0;
  transition: border-color .15s, box-shadow .15s;
}
.hb-search-result-item:hover {
  border-color: var(--hb-teal);
  box-shadow: 0 4px 12px rgba(14,124,123,.08);
}
.hb-search-result-item__thumb {
  width: 80px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--hb-sand);
}
.hb-search-result-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hb-search-result-item__body h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 3px;
  color: var(--hb-ink);
  line-height: 1.3;
}
.hb-search-result-item__body p {
  font-size: 13px;
  color: var(--hb-ink-soft);
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hb-search-result-item__arrow {
  color: var(--hb-ink-muted);
  font-size: 18px;
}
.hb-search-result-item:hover .hb-search-result-item__arrow {
  color: var(--hb-teal);
}
@media (max-width: 640px) {
  .hb-search-result-item { grid-template-columns: 64px 1fr; }
  .hb-search-result-item__arrow { display: none; }
  .hb-search-result-item__thumb { width: 64px; height: 52px; }
}

/* ═══════════════════════════════════════════════════════
   SPONSOR SYSTEM
═══════════════════════════════════════════════════════ */

/* ── Bronze — Marquee Carousel ───────────────────────── */
.hb-sponsors-strip {
  padding: var(--hb-s4) 0 var(--hb-s5);
  background: var(--hb-bg);
  border-top: 1px solid var(--hb-border);
}
.hb-sponsors-strip__head {
  text-align: center;
  margin-bottom: var(--hb-s3);
}
.hb-sponsors-strip__label {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--hb-ink-muted);
  margin: 0;
}
.hb-sponsors-strip__line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--hb-border);
}

/* Marquee container */
.hb-sponsors-marquee {
  position: relative;
  overflow: hidden;
}
.hb-sponsors-marquee::before,
.hb-sponsors-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.hb-sponsors-marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--hb-bg) 0%, transparent 100%);
}
.hb-sponsors-marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--hb-bg) 0%, transparent 100%);
}

.hb-sponsors-marquee__track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: hb-marquee 32s linear infinite;
  padding: 6px 0;
}
.hb-sponsors-marquee__track:hover {
  animation-play-state: paused;
}
.hb-sponsors-marquee__track:hover .hb-sponsor-logo {
  filter: grayscale(0) opacity(1);
}

@keyframes hb-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.hb-sponsor-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 80px;
  width: 150px;
  padding: 10px 10px;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-md);
  filter: grayscale(1) opacity(.42);
  transition: filter .3s, box-shadow .3s, border-color .3s;
  text-decoration: none;
  background: var(--hb-bg);
  gap: 4px;
}
.hb-sponsor-logo:hover {
  filter: grayscale(0) opacity(1);
  box-shadow: 0 4px 20px rgba(0,0,0,.1);
  border-color: var(--hb-teal-light, #4DB6AC);
}
.hb-sponsor-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hb-sponsor-logo span {
  font-size: 11px;
  font-weight: 700;
  color: var(--hb-ink-muted);
  text-align: center;
  line-height: 1.3;
}

/* ── Gold — Featured Partner Cards ──────────────────── */
.hb-gold-section {
  border-top: 1px solid var(--hb-border);
}
.hb-gold-sponsors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--hb-s4);
}
.hb-gold-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: var(--hb-s7) var(--hb-s6);
  min-height: 200px;
  border: 1.5px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  text-align: center;
  text-decoration: none;
  background: var(--hb-bg);
  transition: box-shadow .25s, transform .25s, border-color .25s;
  position: relative;
  overflow: hidden;
}
.hb-gold-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,124,123,.04) 0%, transparent 60%);
  pointer-events: none;
}
.hb-gold-card:hover {
  box-shadow: 0 12px 40px rgba(14,124,123,.14);
  transform: translateY(-4px);
  border-color: var(--hb-teal, #0E7C7B);
}
.hb-gold-card img {
  max-height: 90px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
}
.hb-gold-card__name {
  font-size: 20px;
  font-weight: 800;
  color: var(--hb-ink);
}
.hb-gold-card__tagline {
  font-size: 13px;
  color: var(--hb-ink-muted);
  line-height: 1.5;
  max-width: 220px;
}
.hb-gold-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #8a6200;
  background: #fff8e1;
  border: 1px solid #f0d060;
  padding: 4px 12px;
  border-radius: 20px;
}
.hb-gold-card__badge .ti {
  font-size: 11px;
  color: #d4a017;
}

/* ── Silver — Sidebar Banner ──────────────────────────── */
.hb-sidebar-sponsors {
  display: flex;
  flex-direction: column;
  gap: var(--hb-s3);
  margin-bottom: var(--hb-s4);
}
.hb-sidebar-sponsors__label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--hb-ink-muted);
  margin: 0 0 4px;
}
.hb-sidebar-sponsor {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: var(--hb-s4);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-md);
  text-align: center;
  text-decoration: none;
  background: var(--hb-bg);
  transition: box-shadow .2s, border-color .2s;
  min-height: 90px;
  overflow: hidden;
}
.hb-sidebar-sponsor::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14,124,123,.03), transparent);
  pointer-events: none;
}
.hb-sidebar-sponsor:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.09);
  border-color: var(--hb-teal-light, #4DB6AC);
}
.hb-sidebar-sponsor img {
  max-height: 64px;
  max-width: 90%;
  object-fit: contain;
}
.hb-sidebar-sponsor__name {
  font-size: 14px;
  font-weight: 700;
  color: var(--hb-ink);
}
.hb-sidebar-sponsor__tagline {
  font-size: 11px;
  color: var(--hb-ink-muted);
  line-height: 1.4;
}
.hb-sidebar-sponsor__badge {
  position: absolute;
  top: 6px;
  right: 7px;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  background: rgba(0,0,0,.05);
  color: var(--hb-ink-muted);
  padding: 2px 7px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .hb-sponsors-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: auto;
    justify-content: center;
  }
}
@media (max-width: 900px) {
  .hb-gold-sponsors { grid-template-columns: repeat(2, 1fr); }
  .hb-gold-card { padding: var(--hb-s5) var(--hb-s4); min-height: 160px; }
}
@media (max-width: 768px) {
  .hb-sponsors-marquee::before, .hb-sponsors-marquee::after { width: 48px; }
}
@media (max-width: 480px) {
  .hb-gold-sponsors { grid-template-columns: repeat(2, 1fr); gap: var(--hb-s3); }
  .hb-gold-card { min-height: 140px; padding: var(--hb-s4) var(--hb-s3); gap: 10px; }
  .hb-gold-card img { max-height: 60px; }
  .hb-gold-card__tagline { display: none; }
}

/* ============================================================
   MEMBER SYSTEM — Auth, Dashboard, Forms
   ============================================================ */

/* ── Danger button ──────────────────────────────────────────── */
.hb-btn--danger {
  background: #e74c3c;
  color: #fff;
  border: none;
}
.hb-btn--danger:hover { background: #c0392b; }

/* ── Alert banners ──────────────────────────────────────────── */
.hb-alert {
  padding: 12px 16px;
  border-radius: var(--hb-r-md);
  font-size: 14px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.hb-alert--error   { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.hb-alert--success { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.hb-alert--warning { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }

/* ── Auth pages (daftar / masuk) ────────────────────────────── */
.hb-member-wrap {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 48px 16px 64px;
  background: var(--hb-cream);
}
.hb-member-wrap .hb-form-card {
  width: 100%;
  max-width: 480px;
  background: #fff;
  border-radius: var(--hb-r-xl);
  box-shadow: var(--hb-shadow-lg);
  padding: 40px;
}
.hb-form-card__logo {
  text-align: center;
  margin-bottom: 24px;
}
.hb-logo-text {
  font-size: 22px;
  font-weight: 800;
  color: var(--hb-ink);
  letter-spacing: -.5px;
}
.hb-logo-text span { color: var(--hb-teal); }
.hb-form-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--hb-ink);
  margin-bottom: 6px;
  text-align: center;
}
.hb-form-card__sub {
  font-size: 14px;
  color: var(--hb-ink-secondary);
  text-align: center;
  margin-bottom: 28px;
}
.hb-form-card__sub a { color: var(--hb-teal); }

/* ── Shared form elements ───────────────────────────────────── */
.hb-form { display: flex; flex-direction: column; gap: 0; }
.hb-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.hb-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hb-form-group label { font-size: 13px; font-weight: 600; color: var(--hb-ink-soft); }
.hb-form-group input,
.hb-form-group select,
.hb-form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--hb-border);
  border-radius: var(--hb-r-md);
  font-size: 14px;
  font-family: var(--hb-font);
  color: var(--hb-ink);
  background: #fff;
  transition: border-color .18s;
  width: 100%;
}
.hb-form-group input:focus,
.hb-form-group select:focus,
.hb-form-group textarea:focus {
  outline: none;
  border-color: var(--hb-teal);
  box-shadow: 0 0 0 3px rgba(14,124,123,.12);
}
.hb-form-group textarea { resize: vertical; min-height: 100px; }
.hb-form-group small { font-size: 12px; color: var(--hb-ink-muted); }
.hb-form__section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hb-ink-muted);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--hb-line);
  padding-bottom: 6px;
}
.hb-form-check {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--hb-ink-soft);
  margin-bottom: 20px;
}
.hb-form-check a { color: var(--hb-teal); font-size: 13px; }
.hb-form__legal {
  font-size: 12px;
  color: var(--hb-ink-muted);
  text-align: center;
  margin-top: 16px;
  line-height: 1.6;
}
.hb-form__legal a { color: var(--hb-teal); }
.req { color: #e74c3c; }

/* ── Member layout (dashboard / tambah / edit) ──────────────── */
.hb-member-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - 80px);
  max-width: var(--hb-container);
  margin: 0 auto;
  padding: 0 20px;
  gap: 32px;
  align-items: start;
}
.hb-member-sidebar {
  position: sticky;
  top: 90px;
  background: #fff;
  border-radius: var(--hb-r-lg);
  box-shadow: var(--hb-shadow-sm);
  border: 1px solid var(--hb-border);
  padding: 20px;
  margin-top: 32px;
}
.hb-sidebar-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hb-line);
  margin-bottom: 16px;
}
.hb-sidebar-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--hb-teal);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
}
.hb-sidebar-name { font-size: 14px; font-weight: 700; color: var(--hb-ink); }
.hb-sidebar-biz  { font-size: 12px; color: var(--hb-ink-muted); }
.hb-sidebar-nav  { display: flex; flex-direction: column; gap: 2px; }
.hb-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border-radius: var(--hb-r-md);
  font-size: 14px;
  color: var(--hb-ink-soft);
  text-decoration: none;
  font-weight: 500;
  transition: background .15s, color .15s;
}
.hb-sidebar-nav a:hover,
.hb-sidebar-nav a.active {
  background: var(--hb-teal-50);
  color: var(--hb-teal);
}

.hb-member-main { padding: 32px 0; }

/* ── Dashboard ──────────────────────────────────────────────── */
.hb-dash-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 12px;
}
.hb-dash-header h1 { font-size: 22px; font-weight: 800; color: var(--hb-ink); }
.hb-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}
.hb-stat-box {
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--hb-shadow-sm);
}
.hb-stat-box--green { border-top: 3px solid #22c55e; }
.hb-stat-box--yellow { border-top: 3px solid #f59e0b; }
.hb-stat-box__n { font-size: 32px; font-weight: 800; color: var(--hb-ink); }
.hb-stat-box__l { font-size: 12px; color: var(--hb-ink-muted); font-weight: 600; margin-top: 4px; }

/* ── Listing table ──────────────────────────────────────────── */
.hb-listing-table {
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  overflow: hidden;
  box-shadow: var(--hb-shadow-sm);
  margin-bottom: 28px;
}
.hb-listing-table__head {
  display: grid;
  grid-template-columns: 1fr 110px 110px 100px 140px;
  padding: 10px 16px;
  background: var(--hb-cream);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--hb-ink-muted);
  border-bottom: 1px solid var(--hb-border);
}
.hb-listing-row {
  display: grid;
  grid-template-columns: 1fr 110px 110px 100px 140px;
  padding: 12px 16px;
  align-items: center;
  border-bottom: 1px solid var(--hb-line);
  font-size: 14px;
  gap: 8px;
}
.hb-listing-row:last-child { border-bottom: none; }
.hb-listing-row:hover { background: var(--hb-cream); }
.hb-listing-row__name { font-weight: 600; color: var(--hb-ink); display: flex; align-items: center; gap: 6px; }
.hb-listing-row__date { font-size: 12px; color: var(--hb-ink-muted); }
.hb-listing-row__actions { display: flex; gap: 6px; align-items: center; }
.hb-row-view { color: var(--hb-teal); font-size: 14px; line-height: 1; }
.hb-badge-premium { font-size: 12px; }

/* Badges */
.hb-cpt-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--hb-r-pill);
  background: var(--hb-teal-50);
  color: var(--hb-teal);
}
.hb-status-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--hb-r-pill);
}
.hb-status--success { background: #dcfce7; color: #16a34a; }
.hb-status--warning { background: #fef9c3; color: #a16207; }
.hb-status--neutral { background: #f1f5f9; color: #64748b; }
.hb-status--danger  { background: #fee2e2; color: #b91c1c; }

/* Empty state */
.hb-empty-state {
  text-align: center;
  padding: 60px 24px;
  background: #fff;
  border-radius: var(--hb-r-lg);
  border: 1px solid var(--hb-border);
}
.hb-empty-state .ti { font-size: 48px; color: var(--hb-ink-muted); margin-bottom: 12px; }
.hb-empty-state h3  { font-size: 18px; font-weight: 700; margin-bottom: 8px; }
.hb-empty-state p   { font-size: 14px; color: var(--hb-ink-muted); margin-bottom: 20px; }

/* Premium CTA */
.hb-premium-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #fffbeb, #fef3c7);
  border: 1px solid #fde68a;
  border-radius: var(--hb-r-lg);
  padding: 20px 24px;
}
.hb-premium-cta__icon { font-size: 28px; color: var(--hb-gold); }
.hb-premium-cta__text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.hb-premium-cta__text strong { font-size: 15px; color: var(--hb-ink); }
.hb-premium-cta__text span   { font-size: 13px; color: var(--hb-ink-secondary); }

/* ── Listing form (tambah / edit) ───────────────────────────── */
.hb-form--listing { gap: 0; }
.hb-form-section.hb-form-card {
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  padding: 24px;
  margin-bottom: 20px;
  box-shadow: var(--hb-shadow-sm);
}
.hb-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--hb-ink);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--hb-line);
}

/* Type picker */
.hb-type-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
.hb-type-opt {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  border: 2px solid var(--hb-border);
  border-radius: var(--hb-r-md);
  cursor: pointer;
  transition: border-color .15s, background .15s;
  text-align: center;
}
.hb-type-opt input[type="radio"] { display: none; }
.hb-type-opt__icon  { font-size: 24px; }
.hb-type-opt__label { font-size: 12px; font-weight: 600; color: var(--hb-ink-soft); }
.hb-type-opt:hover  { border-color: var(--hb-teal); background: var(--hb-teal-50); }
.hb-type-opt.active { border-color: var(--hb-teal); background: var(--hb-teal-50); }
.hb-type-opt.active .hb-type-opt__label { color: var(--hb-teal); }

/* Upload zones */
.hb-upload-zone {
  border: 2px dashed var(--hb-border);
  border-radius: var(--hb-r-md);
  padding: 32px 16px;
  text-align: center;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: border-color .15s, background .15s;
  color: var(--hb-ink-muted);
  font-size: 14px;
}
.hb-upload-zone .ti { font-size: 28px; color: var(--hb-teal); }
.hb-upload-zone:hover,
.hb-upload-zone.drag-over { border-color: var(--hb-teal); background: var(--hb-teal-50); }
.hb-upload-zone.has-file  { border-color: #22c55e; background: #f0fdf4; }
.hb-upload-zone--small { padding: 16px; }
.hb-upload-count { font-size: 12px; color: var(--hb-ink-muted); margin-top: 6px; }

.hb-preview-single { margin-top: 10px; }
.hb-preview-feat   { max-height: 160px; max-width: 100%; border-radius: var(--hb-r-md); object-fit: cover; }
.hb-preview-grid   { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.hb-preview-item   { width: 80px; height: 80px; border-radius: var(--hb-r-sm); overflow: hidden; position: relative; }
.hb-preview-item img { width: 100%; height: 100%; object-fit: cover; }

/* Existing media (edit page) */
.hb-existing-media { margin-bottom: 10px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hb-existing-feat  { max-height: 100px; border-radius: var(--hb-r-md); }
.hb-remove-check   { font-size: 13px; color: #e74c3c; display: flex; align-items: center; gap: 6px; cursor: pointer; }
.hb-existing-item  { position: relative; }
.hb-remove-gal-btn {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 20px;
  height: 20px;
  background: rgba(0,0,0,.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.hb-yt-preview { margin-top: 8px; }

/* Halal status radio cards */
.hb-radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.hb-radio-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 16px;
  border: 2px solid var(--hb-border);
  border-radius: var(--hb-r-md);
  cursor: pointer;
  flex: 1;
  min-width: 160px;
  transition: border-color .15s, background .15s;
  font-size: 14px;
}
.hb-radio-card input[type="radio"] { margin-top: 2px; accent-color: var(--hb-teal); }
.hb-radio-card:has(input:checked) { border-color: var(--hb-teal); background: var(--hb-teal-50); }

.hb-form-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 8px;
  padding-top: 8px;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hb-member-layout {
    grid-template-columns: 1fr;
    padding: 0 16px;
  }
  .hb-member-sidebar { position: static; margin-top: 16px; }
  .hb-listing-table__head { display: none; }
  .hb-listing-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px;
  }
  .hb-stat-row { grid-template-columns: repeat(3, 1fr); }
  .hb-type-picker { grid-template-columns: repeat(2, 1fr); }
  .hb-form-submit-row { flex-direction: column; align-items: stretch; text-align: center; }
}
@media (max-width: 600px) {
  .hb-member-wrap .hb-form-card { padding: 28px 20px; }
  .hb-form-row { grid-template-columns: 1fr; }
  .hb-stat-row { grid-template-columns: 1fr; }
  .hb-radio-group { flex-direction: column; }
  .hb-premium-cta { flex-direction: column; text-align: center; }
}

/* ============================================================
   STATIC PAGES — Tentang, Kontak, Panduan, Legal, 404
   ============================================================ */

/* ── Page hero ──────────────────────────────────────────────── */
.hb-page-hero {
  padding: 72px 0 60px;
  text-align: center;
}
.hb-page-hero--teal   { background: linear-gradient(135deg, var(--hb-teal-dark) 0%, var(--hb-teal) 100%); }
.hb-page-hero--forest { background: linear-gradient(135deg, var(--hb-forest) 0%, var(--hb-forest-soft) 100%); }
.hb-page-hero--ink    { background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%); }
.hb-page-hero__inner  { color: #fff; max-width: 680px; margin: 0 auto; }
.hb-page-hero__label  {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: rgba(255,255,255,.65);
  margin-bottom: 12px;
}
.hb-page-hero h1 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
}
.hb-page-hero p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
}

/* ── Page content wrapper ───────────────────────────────────── */
.hb-page-content { padding-top: 56px; padding-bottom: 80px; }

/* ── About: stats bar ───────────────────────────────────────── */
.hb-about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--hb-border);
  border-radius: var(--hb-r-lg);
  overflow: hidden;
  margin-bottom: 64px;
  box-shadow: var(--hb-shadow-sm);
}
.hb-about-stat {
  background: #fff;
  padding: 28px 20px;
  text-align: center;
}
.hb-about-stat__n { display: block; font-size: 36px; font-weight: 800; color: var(--hb-teal); }
.hb-about-stat__l { display: block; font-size: 13px; color: var(--hb-ink-muted); margin-top: 4px; font-weight: 500; }

/* ── About: story section ───────────────────────────────────── */
.hb-about-section {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 64px;
  align-items: center;
  margin-bottom: 64px;
}
.hb-about-section__text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--hb-ink);
  margin-bottom: 20px;
}
.hb-about-section__text p {
  font-size: 15px;
  color: var(--hb-ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}
.hb-about-img-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.hb-about-img-card {
  background: var(--hb-cream);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  color: var(--hb-ink);
}
.hb-about-img-card p { margin: 0; }
.hb-about-img-card--2 { margin-left: 24px; }

/* ── About: values ──────────────────────────────────────────── */
.hb-about-values { margin-bottom: 64px; }
.hb-about-values__title {
  font-size: 28px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 36px;
  color: var(--hb-ink);
}
.hb-about-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.hb-value-card {
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  padding: 28px 24px;
  box-shadow: var(--hb-shadow-sm);
}
.hb-value-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--hb-r-md);
  background: var(--hb-teal-50);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--hb-teal);
  margin-bottom: 16px;
}
.hb-value-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: var(--hb-ink); }
.hb-value-card p  { font-size: 14px; color: var(--hb-ink-soft); line-height: 1.7; }

/* ── About: why list ────────────────────────────────────────── */
.hb-about-why {
  background: var(--hb-teal-50);
  border-radius: var(--hb-r-xl);
  padding: 48px;
  margin-bottom: 64px;
}
.hb-about-why__content h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; color: var(--hb-ink); }
.hb-about-why__list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.hb-about-why__list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--hb-ink-soft);
  line-height: 1.6;
}
.hb-about-why__list li .ti { color: var(--hb-teal); font-size: 18px; margin-top: 1px; flex-shrink: 0; }

/* ── About/Contact: CTA box ─────────────────────────────────── */
.hb-about-cta { background: var(--hb-cream); border-radius: var(--hb-r-xl); border: 1px solid var(--hb-border); }
.hb-about-cta__inner { text-align: center; padding: 48px 40px; }
.hb-about-cta__inner h3 { font-size: 22px; font-weight: 800; color: var(--hb-ink); margin-bottom: 10px; }
.hb-about-cta__inner p  { font-size: 15px; color: var(--hb-ink-soft); }

/* ── Contact: grid ──────────────────────────────────────────── */
.hb-contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.hb-contact-card {
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  padding: 24px;
  text-align: center;
  box-shadow: var(--hb-shadow-sm);
  transition: box-shadow .2s;
}
.hb-contact-card:hover { box-shadow: var(--hb-shadow-md); }
.hb-contact-card__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--hb-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 16px;
}
.hb-contact-card h3    { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hb-contact-card p     { font-size: 13px; color: var(--hb-ink-muted); margin-bottom: 12px; line-height: 1.5; }
.hb-contact-card__link { color: var(--hb-teal); font-weight: 600; font-size: 14px; word-break: break-all; }

/* ── Contact: FAQ ───────────────────────────────────────────── */
.hb-contact-faq h2 { font-size: 24px; font-weight: 800; margin-bottom: 28px; }
.hb-faq-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--hb-border); border-radius: var(--hb-r-lg); overflow: hidden; }
.hb-faq-item { padding: 20px 24px; border-bottom: 1px solid var(--hb-line); }
.hb-faq-item:last-child { border-bottom: none; }
.hb-faq-item h4 { font-size: 15px; font-weight: 700; color: var(--hb-ink); margin-bottom: 8px; }
.hb-faq-item p  { font-size: 14px; color: var(--hb-ink-soft); line-height: 1.7; }
.hb-faq-item:nth-child(odd) { background: #fff; }
.hb-faq-item:nth-child(even) { background: var(--hb-cream); }

/* ── Panduan: guide categories ──────────────────────────────── */
.hb-guide-cats { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }
.hb-guide-cat {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  padding: 20px 24px;
  text-decoration: none;
  box-shadow: var(--hb-shadow-sm);
  transition: box-shadow .2s, border-color .2s;
}
.hb-guide-cat:hover { box-shadow: var(--hb-shadow-md); border-color: var(--hb-teal); }
.hb-guide-cat__icon {
  width: 52px;
  height: 52px;
  border-radius: var(--hb-r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.hb-guide-cat__body { flex: 1; }
.hb-guide-cat__body h3 { font-size: 16px; font-weight: 700; color: var(--hb-ink); margin-bottom: 4px; }
.hb-guide-cat__body p  { font-size: 13px; color: var(--hb-ink-muted); }

/* ── Panduan: tips grid ─────────────────────────────────────── */
.hb-guide-tips { margin-bottom: 56px; }
.hb-guide-tips h2 { font-size: 24px; font-weight: 800; margin-bottom: 28px; }
.hb-tips-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hb-tip-card {
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  padding: 24px;
  box-shadow: var(--hb-shadow-sm);
}
.hb-tip-card__num {
  font-size: 28px;
  font-weight: 900;
  color: var(--hb-teal-50);
  line-height: 1;
  margin-bottom: 12px;
  font-variant-numeric: tabular-nums;
}
.hb-tip-card h4 { font-size: 14px; font-weight: 700; color: var(--hb-ink); margin-bottom: 10px; }
.hb-tip-card p  { font-size: 13px; color: var(--hb-ink-soft); line-height: 1.7; }

/* ── Panduan: article grid ──────────────────────────────────── */
.hb-guide-articles { margin-bottom: 56px; }
.hb-guide-articles__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hb-article-card {
  display: block;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  overflow: hidden;
  text-decoration: none;
  box-shadow: var(--hb-shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.hb-article-card:hover { box-shadow: var(--hb-shadow-md); transform: translateY(-2px); }
.hb-article-card__img {
  height: 160px;
  background-size: cover;
  background-position: center;
  background-color: var(--hb-teal-50);
}
.hb-article-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--hb-teal);
}
.hb-article-card__body { padding: 16px; }
.hb-article-card__meta { display: flex; gap: 12px; font-size: 11px; color: var(--hb-ink-muted); margin-bottom: 8px; }
.hb-article-card__meta .ti { font-size: 11px; }
.hb-article-card h3 { font-size: 15px; font-weight: 700; color: var(--hb-ink); margin-bottom: 8px; line-height: 1.4; }
.hb-article-card p  { font-size: 13px; color: var(--hb-ink-muted); line-height: 1.6; }

/* ── Panduan: explore links ─────────────────────────────────── */
.hb-guide-explore h2 { font-size: 22px; font-weight: 800; margin-bottom: 20px; text-align: center; }
.hb-explore-links { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hb-explore-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 28px;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: var(--hb-ink);
  transition: border-color .15s, background .15s;
}
.hb-explore-link .ti { font-size: 24px; color: var(--hb-teal); }
.hb-explore-link:hover { border-color: var(--hb-teal); background: var(--hb-teal-50); }

/* ── Legal pages ────────────────────────────────────────────── */
.hb-legal-layout { display: grid; grid-template-columns: 220px 1fr; gap: 48px; align-items: start; }
.hb-legal-toc {
  position: sticky;
  top: 90px;
  background: var(--hb-cream);
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-lg);
  padding: 20px;
}
.hb-legal-toc h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .1em; color: var(--hb-ink-muted); font-weight: 700; margin-bottom: 12px; }
.hb-legal-toc ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.hb-legal-toc a  { font-size: 13px; color: var(--hb-ink-soft); text-decoration: none; padding: 5px 8px; border-radius: var(--hb-r-sm); display: block; }
.hb-legal-toc a:hover { background: #fff; color: var(--hb-teal); }
.hb-legal-intro {
  font-size: 15px;
  color: var(--hb-ink-soft);
  background: var(--hb-teal-50);
  border-left: 3px solid var(--hb-teal);
  padding: 16px 20px;
  border-radius: 0 var(--hb-r-md) var(--hb-r-md) 0;
  margin-bottom: 32px;
  line-height: 1.7;
}
.hb-legal-body section { margin-bottom: 40px; }
.hb-legal-body h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--hb-ink);
  margin-bottom: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--hb-line);
}
.hb-legal-body h3 { font-size: 15px; font-weight: 600; color: var(--hb-ink); margin: 16px 0 8px; }
.hb-legal-body p  { font-size: 14px; color: var(--hb-ink-soft); line-height: 1.8; margin-bottom: 12px; }
.hb-legal-body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.hb-legal-body li { font-size: 14px; color: var(--hb-ink-soft); line-height: 1.7; }
.hb-legal-body a  { color: var(--hb-teal); }
.hb-legal-body strong { color: var(--hb-ink); }

/* ── Disclaimer halal ───────────────────────────────────────── */
.hb-disclaimer-notice {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff8e1;
  border: 1px solid #f0c040;
  border-radius: var(--hb-r-lg);
  padding: 20px 24px;
  margin-bottom: 48px;
  font-size: 15px;
  color: #7d5a00;
  line-height: 1.7;
}
.hb-disclaimer-notice .ti { font-size: 24px; color: #e6a817; flex-shrink: 0; margin-top: 2px; }
.hb-halal-tiers { margin-bottom: 56px; }
.hb-halal-tiers h2 { font-size: 24px; font-weight: 800; margin-bottom: 10px; }
.hb-halal-tiers > p { font-size: 15px; color: var(--hb-ink-soft); margin-bottom: 32px; line-height: 1.7; }
.hb-tier-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hb-tier-card {
  background: #fff;
  border-radius: var(--hb-r-lg);
  padding: 28px 24px;
  border: 2px solid transparent;
  position: relative;
  box-shadow: var(--hb-shadow-sm);
}
.hb-tier-card--gold    { border-color: var(--hb-gold); }
.hb-tier-card--teal    { border-color: var(--hb-teal); }
.hb-tier-card--neutral { border-color: var(--hb-border); }
.hb-tier-card__badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--hb-ink-muted);
  margin-bottom: 12px;
}
.hb-tier-card--gold .hb-tier-card__badge  { color: var(--hb-gold-dark); }
.hb-tier-card--teal .hb-tier-card__badge  { color: var(--hb-teal); }
.hb-tier-card__icon { font-size: 32px; margin-bottom: 12px; }
.hb-tier-card--gold .hb-tier-card__icon  { color: var(--hb-gold); }
.hb-tier-card--teal .hb-tier-card__icon  { color: var(--hb-teal); }
.hb-tier-card--neutral .hb-tier-card__icon { color: var(--hb-ink-muted); }
.hb-tier-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 12px; }
.hb-tier-card p  { font-size: 14px; color: var(--hb-ink-soft); line-height: 1.7; margin-bottom: 16px; }
.hb-tier-card ul { padding-left: 16px; display: flex; flex-direction: column; gap: 6px; }
.hb-tier-card li { font-size: 13px; color: var(--hb-ink-soft); }
.hb-disclaimer-section { margin-bottom: 48px; }
.hb-disclaimer-section h2 { font-size: 24px; font-weight: 800; margin-bottom: 24px; }
.hb-disclaimer-items { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--hb-border); border-radius: var(--hb-r-lg); overflow: hidden; }
.hb-disclaimer-item {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid var(--hb-line);
  align-items: flex-start;
}
.hb-disclaimer-item:last-child { border-bottom: none; }
.hb-disclaimer-item:nth-child(odd) { background: #fff; }
.hb-disclaimer-item:nth-child(even) { background: var(--hb-cream); }
.hb-disclaimer-item > .ti { font-size: 22px; color: var(--hb-teal); margin-top: 3px; flex-shrink: 0; }
.hb-disclaimer-item h4 { font-size: 15px; font-weight: 700; color: var(--hb-ink); margin-bottom: 6px; }
.hb-disclaimer-item p  { font-size: 14px; color: var(--hb-ink-soft); line-height: 1.7; }

/* ── 404 page ───────────────────────────────────────────────── */
.hb-404-wrap { min-height: calc(100vh - 80px); display: flex; align-items: center; padding: 60px 0; background: var(--hb-cream); }
.hb-404-inner { max-width: 640px; margin: 0 auto; text-align: center; }
.hb-404-illustration { position: relative; margin-bottom: 24px; }
.hb-404-number { font-size: clamp(80px, 16vw, 140px); font-weight: 900; color: var(--hb-teal-50); line-height: 1; display: block; }
.hb-404-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  color: var(--hb-teal);
}
.hb-404-inner h1 { font-size: 26px; font-weight: 800; color: var(--hb-ink); margin-bottom: 14px; }
.hb-404-inner > p { font-size: 15px; color: var(--hb-ink-soft); line-height: 1.7; margin-bottom: 32px; }
.hb-404-search { margin-bottom: 36px; }
.hb-404-form { display: flex; gap: 8px; }
.hb-404-input {
  flex: 1;
  padding: 11px 16px;
  border: 1.5px solid var(--hb-border);
  border-radius: var(--hb-r-md);
  font-size: 14px;
  font-family: var(--hb-font);
}
.hb-404-input:focus { outline: none; border-color: var(--hb-teal); }
.hb-404-links__label { font-size: 13px; color: var(--hb-ink-muted); margin-bottom: 14px; }
.hb-404-cats { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hb-404-cat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 18px;
  background: #fff;
  border: 1px solid var(--hb-border);
  border-radius: var(--hb-r-md);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  color: var(--hb-ink);
  transition: border-color .15s, background .15s;
  min-width: 80px;
}
.hb-404-cat .ti { font-size: 20px; color: var(--hb-teal); }
.hb-404-cat:hover { border-color: var(--hb-teal); background: var(--hb-teal-50); }

/* ── Static page responsive ─────────────────────────────────── */
@media (max-width: 960px) {
  .hb-about-stats  { grid-template-columns: repeat(2, 1fr); }
  .hb-about-section { grid-template-columns: 1fr; gap: 32px; }
  .hb-about-section__visual { display: none; }
  .hb-about-values__grid { grid-template-columns: 1fr; gap: 16px; }
  .hb-contact-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-tips-grid { grid-template-columns: repeat(2, 1fr); }
  .hb-guide-articles__grid { grid-template-columns: repeat(2, 1fr); }
  .hb-tier-cards { grid-template-columns: 1fr; }
  .hb-legal-layout { grid-template-columns: 1fr; }
  .hb-legal-toc { position: static; }
  .hb-about-why { padding: 32px 24px; }
}
@media (max-width: 600px) {
  .hb-page-hero { padding: 48px 0 40px; }
  .hb-about-stats { grid-template-columns: repeat(2, 1fr); }
  .hb-contact-grid { grid-template-columns: 1fr; }
  .hb-tips-grid { grid-template-columns: 1fr; }
  .hb-guide-articles__grid { grid-template-columns: 1fr; }
  .hb-guide-cats { gap: 10px; }
  .hb-guide-cat { flex-wrap: wrap; }
  .hb-explore-links { gap: 8px; }
  .hb-explore-link { padding: 14px 20px; }
  .hb-404-form { flex-direction: column; }
}
