*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #F7F3ED;
  --bg-warm: #EDE6DA;
  --bg-card: #FFFFFF;
  --text: #1E1A17;
  --text-muted: #6E655C;
  --accent: #B8924A;
  --accent-hover: #9A7838;
  --accent-soft: rgba(184, 146, 74, 0.14);
  --accent-glow: rgba(184, 146, 74, 0.28);
  --border: rgba(30, 26, 23, 0.08);
  --shadow: 0 4px 24px rgba(30, 26, 23, 0.06);
  --shadow-hover: 0 20px 50px rgba(30, 26, 23, 0.12);
  --radius: 18px;
  --radius-sm: 12px;
  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html, body { height: 100%; overflow: hidden; }

body.jds-discover {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  user-select: auto !important;
}

body.jds-discover::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(184, 146, 74, 0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(184, 146, 74, 0.08), transparent 50%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-warm) 100%);
  pointer-events: none;
  z-index: 0;
}

.jds-discover-app {
  display: flex;
  flex-direction: column;
  height: 100vh;
  height: 100dvh;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
  isolation: isolate;
  position: relative;
  z-index: 1;
}

/* Top bar */
.jds-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0 10px;
  flex-shrink: 0;
}

.jds-logo-link {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.jds-logo-link:hover { color: var(--accent); }

.jds-lang-switch { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.jds-lang-switch a {
  font-size: 0.72rem;
  font-weight: 500;
  padding: 5px 9px;
  border-radius: 999px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.2s var(--ease);
}
.jds-lang-switch a:hover { background: var(--accent-soft); color: var(--accent); }
.jds-lang-switch a.active {
  background: var(--accent);
  color: #fff;
}

/* Breadcrumb */
.jds-breadcrumb {
  flex-shrink: 0;
  font-size: 0.76rem;
  color: var(--text-muted);
  padding: 0 0 6px;
  min-height: 1.2em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.jds-crumb {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.jds-crumb:hover { text-decoration: underline; }
.jds-crumb-sep { margin: 0 5px; opacity: 0.4; }
.jds-crumb-current { color: var(--text-muted); }

/* Progress */
.jds-progress {
  display: flex;
  gap: 10px;
  justify-content: center;
  padding: 2px 0 18px;
  flex-shrink: 0;
}
.jds-progress-dot {
  width: 28px;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  transition: all 0.35s var(--ease);
}
.jds-progress-dot.active { background: var(--accent); width: 40px; }
.jds-progress-dot.done { background: var(--accent-glow); }

/* Scroll area */
.jds-steps {
  flex: 1;
  overflow-y: auto;
  min-height: 0;
  padding-bottom: 16px;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

.jds-fade-in {
  animation: jdsFadeIn 0.45s var(--ease) both;
}
@keyframes jdsFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Typography */
.jds-step-title {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 10px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.jds-step-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  max-width: 520px;
  margin: 0 auto 28px;
}

/* Stats bar */
.jds-stats {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.jds-stat {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--text-muted);
  box-shadow: var(--shadow);
}
.jds-stat strong {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

/* Cards grid — 1:1 square images */
.jds-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px;
  max-width: 960px;
  margin: 0 auto;
}
.jds-cards--sections { margin-top: 12px; }
.jds-cards--overview { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

.jds-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.jds-card--clickable {
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
.jds-card--clickable:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-glow);
}
.jds-card--clickable:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Overlay card style */
.jds-card--overlay { position: relative; }
.jds-card--overlay .jds-card-img-wrap { position: relative; }
.jds-card--overlay .jds-card-img-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(20, 16, 12, 0.82) 100%);
  pointer-events: none;
}
.jds-card--overlay .jds-card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  color: #fff;
  pointer-events: none;
}
.jds-card--overlay .jds-card-title { color: #fff; font-size: 1.08rem; margin-bottom: 4px; }
.jds-card--overlay .jds-card-desc { color: rgba(255,255,255,0.82); font-size: 0.78rem; }
.jds-card--overlay .jds-card-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  pointer-events: none;
}

.jds-card-img-wrap { flex-shrink: 0; }
.jds-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  background: var(--accent-soft);
  pointer-events: none;
}
.jds-card-img--empty { aspect-ratio: 1 / 1; background: linear-gradient(135deg, var(--accent-soft), var(--bg-warm)); }

.jds-card-body { padding: 15px 16px 17px; pointer-events: none; }
.jds-card-title {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 5px;
  line-height: 1.25;
}
.jds-card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Welcome */
.jds-welcome {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
  padding: 8px 0 36px;
}
.jds-welcome-portrait {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 26px;
  border: 3px solid #fff;
  box-shadow: 0 8px 32px var(--accent-glow), 0 0 0 1px var(--border);
}
.jds-welcome-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
  border: none;
  padding: 0 12px;
}
.jds-welcome-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}
.jds-btn-start, .jds-btn-ghost {
  font-family: var(--font-sans);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  font-weight: 500;
  transition: all 0.2s var(--ease);
}
.jds-btn-start {
  padding: 15px 36px;
  background: var(--accent);
  color: #fff;
  border: none;
  font-size: 1rem;
  box-shadow: 0 4px 20px var(--accent-glow);
}
.jds-btn-start:hover { background: var(--accent-hover); transform: translateY(-1px); }
.jds-btn-ghost {
  padding: 11px 24px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
}
.jds-btn-ghost:hover { border-color: var(--accent); color: var(--accent); }

/* Detail view */
.jds-detail { max-width: 760px; margin: 0 auto; padding-bottom: 32px; }

.jds-detail-hero {
  position: relative;
  width: 100%;
  max-width: 480px;
  margin: 0 auto 28px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-hover);
  aspect-ratio: 1 / 1;
}
.jds-detail-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jds-detail-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(20, 16, 12, 0.75) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
}
.jds-detail-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 500;
  color: #fff;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}

.jds-detail-body { padding: 0 6px; }
.jds-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.5vw, 2.15rem);
  font-weight: 500;
  margin-bottom: 14px;
  line-height: 1.2;
  text-align: center;
}
.jds-detail-lead {
  font-size: 1.08rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
  text-align: center;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.jds-detail-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text);
  border-left: 3px solid var(--accent);
  padding: 4px 0 4px 20px;
  margin: 0 0 28px;
}

.jds-detail-p {
  font-size: 0.96rem;
  line-height: 1.75;
  margin-bottom: 16px;
  color: var(--text);
}

/* Content block with side image */
.jds-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  align-items: center;
  margin: 28px 0;
  padding: 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.jds-detail-block--reverse { direction: rtl; }
.jds-detail-block--reverse > * { direction: ltr; }
.jds-detail-block-img {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--accent-soft);
}
.jds-detail-block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.jds-detail-block-text p {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.jds-detail-h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 36px 0 16px;
  text-align: center;
}

/* Headings chips */
.jds-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 0 24px;
}
.jds-chip {
  padding: 6px 14px;
  background: var(--accent-soft);
  color: var(--accent-hover);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* Highlights list */
.jds-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.jds-highlight {
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  line-height: 1.4;
  box-shadow: var(--shadow);
}
.jds-highlight::before {
  content: "◆";
  color: var(--accent);
  margin-right: 8px;
  font-size: 0.6rem;
  vertical-align: middle;
}

/* Gallery */
.jds-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 24px 0;
}
.jds-gallery-item {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--accent-soft);
  cursor: pointer;
  transition: transform 0.2s var(--ease);
}
.jds-gallery-item:hover { transform: scale(1.03); }
.jds-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.jds-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 16, 12, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: jdsFadeIn 0.25s var(--ease);
  cursor: zoom-out;
}
.jds-lightbox img {
  max-width: min(90vw, 720px);
  max-height: 85vh;
  border-radius: var(--radius-sm);
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  object-fit: contain;
}

.jds-detail-ext {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 22px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s;
}
.jds-detail-ext:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.jds-detail-footer {
  text-align: center;
  margin-top: 8px;
}

/* Overview groups */
.jds-overview-group {
  margin-bottom: 32px;
}
.jds-overview-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  cursor: pointer;
}
.jds-overview-thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}
.jds-overview-head-text h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 500;
}
.jds-overview-head-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.jds-overview-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-left: 70px;
}
.jds-overview-link {
  padding: 6px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 0.76rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
}
.jds-overview-link:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Bottom bar */
.jds-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0 22px;
  flex-shrink: 0;
  gap: 10px;
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, var(--bg) 30%);
}

.jds-btn-back, .jds-btn-restart {
  font-family: var(--font-sans);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  border-radius: 999px;
  font-weight: 500;
}
.jds-btn-back {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.88rem;
  padding: 9px 18px;
  visibility: hidden;
  box-shadow: var(--shadow);
}
.jds-btn-back.visible { visibility: visible; }
.jds-btn-back:hover { border-color: var(--accent); color: var(--accent); }

.jds-btn-restart {
  display: none !important;
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 9px 16px;
}
.jds-btn-restart.visible { display: inline-block !important; }

.jds-skip {
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: none;
  margin-left: auto;
}
.jds-skip:hover { color: var(--accent); }

@media (max-width: 720px) {
  .jds-detail-block { grid-template-columns: 1fr; }
  .jds-detail-block--reverse { direction: ltr; }
  .jds-overview-links { padding-left: 0; }
}

@media (max-width: 640px) {
  .jds-discover-app { padding: 0 16px; }
  .jds-cards { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .jds-cards--overview { grid-template-columns: 1fr; }
  .jds-gallery { grid-template-columns: repeat(2, 1fr); }
  .jds-skip { width: 100%; text-align: center; margin-left: 0; }
  .jds-bottom { flex-wrap: wrap; }
}

@media (max-width: 400px) {
  .jds-cards:not(.jds-cards--sections) { grid-template-columns: 1fr; }
}

/* === v5: two-panel layout === */
.jds-body {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 20px;
  flex: 1;
  min-height: 0;
}
.jds-main { min-height: 0; display: flex; flex-direction: column; }
.jds-sidebar {
  overflow-y: auto;
  padding: 4px 0 12px;
  -webkit-overflow-scrolling: touch;
}
.jds-widget {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: var(--shadow);
}
.jds-widget h4 {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.jds-path { font-size: 0.78rem; line-height: 1.5; }
.jds-path-item { color: var(--text-muted); }
.jds-path-item.current { color: var(--text); font-weight: 500; }
.jds-path-link {
  background: none; border: none; padding: 0; font: inherit;
  color: var(--accent); cursor: pointer; text-align: left;
}
.jds-path-link:hover { text-decoration: underline; }
.jds-path-sep { margin: 0 4px; opacity: 0.4; }
.jds-widget-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.jds-widget-pill, .jds-widget-link {
  display: block; width: 100%; text-align: left;
  padding: 6px 10px; margin-bottom: 4px;
  background: var(--bg); border: 1px solid var(--border);
  border-radius: 8px; font-size: 0.76rem; color: var(--text-muted);
  cursor: pointer; transition: all 0.2s;
}
.jds-widget-pill { width: auto; display: inline-block; }
.jds-widget-pill:hover, .jds-widget-link:hover, .jds-widget-pill.active {
  border-color: var(--accent); color: var(--accent); background: var(--accent-soft);
}
.jds-contact-widget-btn {
  width: 100%; padding: 10px; border: none; border-radius: 8px;
  background: var(--accent); color: #fff; font-weight: 500; cursor: pointer;
  font-size: 0.85rem;
}
.jds-contact-widget-btn:hover { background: var(--accent-hover); }

.jds-context-btn {
  display: none;
  position: fixed; bottom: 72px; left: 16px; z-index: 100;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--accent); color: #fff; border: none;
  box-shadow: var(--shadow-hover); cursor: pointer; font-size: 1.1rem;
}
.jds-drawer-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(20,16,12,0.4); z-index: 90;
}
body.jds-drawer-open .jds-drawer-backdrop { display: block; }
body.jds-drawer-open .jds-sidebar {
  display: block; position: fixed; left: 0; top: 0; bottom: 0;
  width: min(280px, 85vw); z-index: 95; background: var(--bg);
  padding: 20px 16px; box-shadow: var(--shadow-hover);
}

/* Film template */
.jds-detail--film { text-align: center; }
.jds-film-hero {
  position: relative; max-width: 400px; margin: 0 auto 20px;
  aspect-ratio: 1/1; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-hover);
}
.jds-film-hero img { width: 100%; height: 100%; object-fit: cover; }
.jds-play-btn {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  padding: 10px 22px; border: none; border-radius: 999px;
  background: rgba(255,255,255,0.95); color: var(--text);
  font-weight: 600; cursor: pointer; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.jds-play-btn:hover { background: #fff; color: var(--accent); }
.jds-film-title {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 500; margin-bottom: 8px;
}
.jds-film-tagline { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 16px; max-width: 480px; margin-left: auto; margin-right: auto; }
.jds-video-embed {
  position: relative; padding-bottom: 56.25%; height: 0; margin: 16px 0 24px;
  border-radius: var(--radius-sm); overflow: hidden; background: #000;
}
.jds-video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jds-film-strip { margin-top: 28px; text-align: left; }
.jds-strip-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px;
  scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.jds-strip-scroll .jds-card { min-width: 160px; max-width: 180px; scroll-snap-align: start; flex-shrink: 0; }

/* Read more accordion */
.jds-readmore-wrap { margin: 20px 0; text-align: center; }
.jds-readmore-btn {
  padding: 9px 20px; border: 1px solid var(--border); border-radius: 999px;
  background: var(--bg-card); color: var(--text-muted); cursor: pointer;
  font-size: 0.85rem; font-weight: 500; transition: all 0.2s;
}
.jds-readmore-btn:hover { border-color: var(--accent); color: var(--accent); }
.jds-readmore-panel { text-align: left; margin-top: 16px; padding-top: 8px; }
.jds-readmore-panel[hidden] { display: none; }

.jds-gallery-mini {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 20px 0;
}
.jds-gallery-mini .jds-gallery-item { aspect-ratio: 1/1; border-radius: 10px; overflow: hidden; cursor: pointer; }

/* Blog / teachings filter */
.jds-filter-bar {
  display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 20px;
  -webkit-overflow-scrolling: touch; flex-wrap: nowrap;
}
.jds-filter-chip {
  flex-shrink: 0; padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: var(--bg-card);
  font-size: 0.8rem; color: var(--text-muted); cursor: pointer; transition: all 0.2s;
}
.jds-filter-chip:hover, .jds-filter-chip.active {
  background: var(--accent); color: #fff; border-color: var(--accent);
}
.jds-post-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 14px;
}
.jds-post-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow);
  cursor: pointer; transition: transform 0.2s, box-shadow 0.2s;
}
.jds-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.jds-post-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; }
.jds-post-body { padding: 10px 12px 14px; }
.jds-post-date { font-size: 0.68rem; color: var(--text-muted); display: block; }
.jds-post-cat {
  display: inline-block; font-size: 0.65rem; padding: 2px 8px; margin: 4px 0;
  background: var(--accent-soft); color: var(--accent-hover); border-radius: 999px;
}
.jds-post-body h3 { font-family: var(--font-serif); font-size: 0.92rem; line-height: 1.3; font-weight: 500; }

/* Contact */
.jds-contact { max-width: 520px; margin: 0 auto; }
.jds-contact-place {
  display: flex; gap: 14px; align-items: center; margin-bottom: 16px;
  padding: 14px; background: var(--bg-card); border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.jds-contact-place img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.jds-contact-place p { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
.jds-contact-quick {
  display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px;
  font-size: 0.85rem; color: var(--text-muted);
}
.jds-contact-quick a { color: var(--accent); }
.jds-contact-form { display: flex; flex-direction: column; gap: 10px; }
.jds-contact-form input, .jds-contact-form select, .jds-contact-form textarea {
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  font: inherit; font-size: 0.9rem; background: var(--bg-card);
}
.jds-contact-form input:focus, .jds-contact-form textarea:focus {
  outline: 2px solid var(--accent-soft); border-color: var(--accent);
}
.jds-form-msg { font-size: 0.85rem; margin-top: 8px; }
.jds-form-msg.success { color: #2d6a4f; }
.jds-form-msg.error { color: #9b2226; }

@media (max-width: 899px) {
  .jds-body { grid-template-columns: 1fr; }
  .jds-sidebar { display: none; }
  .jds-context-btn { display: block; }
  body.jds-drawer-open .jds-sidebar { display: block; }
}
