:root {
  --jc-bg: #f4f6f8;
  --jc-surface: #ffffff;
  --jc-surface-2: #eef2f5;
  --jc-ink: #1d2730;
  --jc-muted: #657381;
  --jc-line: #d8dee6;
  --jc-accent: #b42318;
  --jc-accent-2: #2f6f8f;
  --jc-accent-soft: #f8e8e6;
  --jc-radius: 8px;
  --jc-shadow: 0 14px 38px rgba(30, 41, 59, 0.08);
  --jc-container: 1180px;
}

* {
  box-sizing: border-box;
}

html,
body {
  background: var(--jc-bg);
  color: var(--jc-ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.58;
  overflow-x: hidden;
}

a {
  color: var(--jc-accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #8f1c13;
}

.container {
  max-width: var(--jc-container);
}

.site-header {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--jc-line);
  position: sticky;
  top: 0;
  z-index: 1020;
}

.navbar {
  padding: 12px 0;
}

.navbar-brand {
  color: var(--jc-ink);
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 0;
}

.navbar-brand::before {
  background: var(--jc-accent);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 12px;
  margin-right: 9px;
  width: 12px;
}

.navbar-toggler {
  border-color: var(--jc-line);
  border-radius: var(--jc-radius);
}

.nav-link {
  border-radius: 999px;
  color: var(--jc-ink);
  font-size: 0.95rem;
  padding: 8px 12px !important;
}

.nav-link:hover,
.nav-link:focus {
  background: var(--jc-surface-2);
  color: var(--jc-ink);
}

.nav-search-item {
  align-items: center;
  display: flex;
  margin-left: 6px;
}

.site-search {
  display: flex;
  gap: 6px;
}

.site-search .form-control {
  border-color: var(--jc-line);
  border-radius: 999px;
  min-height: 38px;
  width: 180px;
}

.site-search .btn {
  min-height: 38px;
  padding: 7px 12px;
}

.dropdown-menu {
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  box-shadow: var(--jc-shadow);
  min-width: 0;
  overflow: visible;
  padding: 4px 0;
  width: max-content;
}

.dropdown-item {
  font-size: 0.84rem;
  padding: 3px 10px;
  white-space: nowrap;
}

.site-main {
  min-height: calc(100vh - 150px);
}

.section-pad {
  padding: 42px 0;
}

.brand-strip {
  background: var(--jc-bg);
  border-bottom: 1px solid var(--jc-line);
  padding: 14px 0;
}

.hero {
  background: var(--jc-surface);
  border-bottom: 1px solid var(--jc-line);
  padding: 30px 0;
}

.hero-layout {
  align-items: center;
  display: grid;
  gap: 26px;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.68fr);
}

.eyebrow,
.record-card small,
.post-meta,
.asset-count {
  color: var(--jc-muted);
}

.eyebrow,
.record-card small {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.post-hero h1 {
  font-size: clamp(1.55rem, 2.35vw, 2.25rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 5px 0 10px;
}

.hero .lead,
.post-hero .lead {
  color: #40505f;
  font-size: clamp(0.95rem, 1.25vw, 1.03rem);
}

.hero .lead {
  max-width: 680px;
}

.hero-actions,
.chip-row,
.post-actions,
.social-shortcuts {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.btn {
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 10px;
}

.btn-danger {
  background: var(--jc-accent);
  border-color: var(--jc-accent);
}

.btn-outline-secondary {
  border-color: var(--jc-line);
  color: var(--jc-ink);
}

.hero-showcase {
  display: grid;
  gap: 10px;
  grid-template-columns: 1.25fr 0.75fr;
  margin-left: auto;
  max-width: 470px;
}

.hero-image {
  background: var(--jc-surface-2);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  box-shadow: var(--jc-shadow);
  min-height: 130px;
  overflow: hidden;
}

.hero-image img,
.record-thumb,
.gallery-item img,
.feature-media img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-image:first-child {
  grid-row: span 2;
}

.stat {
  background: var(--jc-surface);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  padding: 18px;
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.stat span {
  color: var(--jc-muted);
}

.feature-band {
  background: var(--jc-surface);
  border-bottom: 1px solid var(--jc-line);
  border-top: 1px solid var(--jc-line);
}

.feature-card,
.record-card,
.content-panel {
  background: var(--jc-surface);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
}

.feature-card {
  display: grid;
  gap: 18px;
  grid-template-columns: 0.95fr 1fr;
  padding: 18px;
}

.feed-sentinel {
  height: 1px;
}

.social-shortcuts {
  align-items: center;
  gap: 6px;
}

.social-link {
  align-items: center;
  background: var(--jc-surface);
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  color: var(--jc-ink);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 5px;
  min-height: 30px;
  padding: 4px 7px 4px 5px;
  text-decoration: none;
}

.social-link:hover {
  border-color: currentColor;
  color: var(--jc-ink);
  transform: translateY(-1px);
}

.social-icon {
  align-items: center;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  font-size: 0.64rem;
  font-weight: 800;
  height: 19px;
  justify-content: center;
  line-height: 1;
  width: 19px;
}

.hero .social-link {
  font-size: 0.76rem;
}

.hero .social-shortcuts {
  flex-wrap: nowrap;
}

.hero .social-link {
  flex: 0 1 auto;
  white-space: nowrap;
}

.hero .social-icon {
  height: 18px;
  width: 18px;
}

.instagram .social-icon {
  background: #d62976;
}

.facebook .social-icon {
  background: #4267b2;
  font-family: Georgia, serif;
  font-size: 0.9rem;
}

.youtube .social-icon {
  background: #c4302b;
}

.site-md .social-icon {
  background: var(--jc-accent-2);
  font-size: 0.54rem;
}

.site-cassette .social-icon {
  background: #5b556b;
  font-size: 0.54rem;
}

.feature-media {
  aspect-ratio: 4 / 3;
  background: var(--jc-surface-2);
  border-radius: 6px;
  overflow: hidden;
}

.record-card {
  height: 100%;
  overflow: hidden;
  padding: 0;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.record-card:hover {
  box-shadow: var(--jc-shadow);
  transform: translateY(-2px);
}

.record-card-body {
  padding: 12px 14px 14px;
}

.record-title-strip {
  background: var(--jc-surface);
  border-bottom: 1px solid var(--jc-line);
  padding: 9px 12px;
}

.record-thumb {
  aspect-ratio: 4 / 3;
  background: var(--jc-surface-2);
  border-bottom: 1px solid var(--jc-line);
}

.record-thumb-empty {
  background: repeating-linear-gradient(45deg, #f7f9fb, #f7f9fb 12px, #edf1f5 12px, #edf1f5 24px);
}

.record-card h2,
.record-card h3 {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

.record-summary {
  color: var(--jc-muted);
  display: -webkit-box;
  font-size: 0.94rem;
  line-height: 1.45;
  margin-bottom: 12px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.video-page-intro {
  max-width: 760px;
}

.meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0;
}

.meta-pill,
.category-chip {
  background: var(--jc-surface-2);
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  color: #3d4b57;
  display: inline-flex;
  font-size: 0.84rem;
  gap: 6px;
  padding: 5px 9px;
  text-decoration: none;
}

.category-chip:hover {
  background: var(--jc-accent-soft);
  color: var(--jc-accent);
}

.filter-row {
  background: var(--jc-surface);
  border-bottom: 1px solid var(--jc-line);
  padding: 14px 0;
  position: sticky;
  top: 69px;
  z-index: 990;
}

.filter-row .form-control,
.filter-row .form-select {
  border-color: var(--jc-line);
  border-radius: 999px;
  min-height: 44px;
}

.post-hero {
  background: var(--jc-surface);
  border-bottom: 1px solid var(--jc-line);
  padding: 34px 0;
}

.post-hero-grid {
  align-items: center;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
}

.post-hero-media {
  aspect-ratio: 4 / 3;
  background: var(--jc-surface-2);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  box-shadow: var(--jc-shadow);
  overflow: hidden;
}

.page-logo-media {
  align-self: center;
  aspect-ratio: 1 / 1;
  justify-self: center;
  max-width: 260px;
  width: min(100%, 260px);
}

.page-logo-media img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.post-product-hero-media img {
  background: #fff;
  display: block;
  height: auto;
  max-height: 420px;
  max-width: 100%;
  object-fit: contain;
  width: 100%;
}

.post-product-hero-media {
  align-self: center;
  aspect-ratio: auto;
  background: #fff;
  display: flex;
  justify-content: center;
}

.category-hero-media {
  background: #fff;
}

.category-hero-media img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}

.about-logo-media {
  background: #d5d5d5;
  border-color: transparent;
  border-radius: var(--jc-radius);
  box-shadow: none;
  max-width: 190px;
  overflow: hidden;
  padding: 0;
  width: min(100%, 190px);
}

.about-logo-media img {
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  transform: none;
  width: 100%;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.post-meta span,
.post-meta a {
  background: var(--jc-surface-2);
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  color: #40505f;
  font-size: 0.88rem;
  padding: 6px 10px;
  text-decoration: none;
}

.post-shell {
  align-items: start;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.post-body {
  background: var(--jc-surface);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  font-size: 1.06rem;
  padding: 24px;
}

.post-body h2 {
  border-top: 1px solid var(--jc-line);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 28px 0 12px;
  padding-top: 22px;
}

.post-body p {
  margin-bottom: 14px;
  white-space: pre-wrap;
}

.post-spacer {
  height: 10px;
}

.post-image {
  margin: 22px 0;
}

.post-image img {
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  display: block;
  height: auto;
  max-width: 100%;
}

.post-image figcaption {
  color: var(--jc-muted);
  font-size: 0.92rem;
  margin-top: 8px;
}

.sidebar-panel {
  background: var(--jc-surface);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  padding: 16px;
  position: sticky;
  top: 92px;
}

.ad-slot {
  align-items: center;
  background: linear-gradient(135deg, #f9fafb, #eef2f5);
  border: 1px dashed #bac4cf;
  border-radius: var(--jc-radius);
  color: var(--jc-muted);
  display: flex;
  font-size: 0.84rem;
  justify-content: center;
  margin: 26px 0;
  min-height: 96px;
  text-align: center;
}

.content-panel {
  max-width: 860px;
  padding: 22px;
}

.guide-list {
  max-width: 860px;
}

.manual-section {
  margin-top: 28px;
}

.manual-section h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.manual-category {
  margin-top: 20px;
}

.manual-category h3 {
  color: var(--jc-muted);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.manual-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.manual-link {
  background: var(--jc-surface);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius-sm);
  color: var(--jc-ink);
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-height: 64px;
  padding: 10px 12px;
  text-decoration: none;
}

.manual-link:hover {
  border-color: var(--jc-accent);
  color: var(--jc-accent);
}

.manual-link span {
  font-weight: 700;
  line-height: 1.25;
}

.manual-link small {
  color: var(--jc-muted);
  font-size: 0.78rem;
}

@media (max-width: 991.98px) {
  .manual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .manual-grid {
    grid-template-columns: 1fr;
  }
}

.gallery-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
}

.gallery-item {
  background: var(--jc-surface);
  border: 1px solid var(--jc-line);
  border-radius: var(--jc-radius);
  margin: 0;
  overflow: hidden;
}

.gallery-item a {
  display: block;
}

.gallery-item img {
  aspect-ratio: 4 / 3;
}

.modal-open {
  overflow: hidden;
}

.image-viewer-trigger {
  cursor: zoom-in;
}

.image-viewer-trigger:focus-visible {
  outline: 3px solid var(--jc-accent);
  outline-offset: 3px;
}

.image-modal {
  align-items: center;
  background: rgba(13, 20, 28, 0.88);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 54px 24px 24px;
  position: fixed;
  z-index: 1050;
}

.image-modal[hidden] {
  display: none;
}

.modal-image {
  background: #fff;
  border-radius: var(--jc-radius);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  max-height: calc(100vh - 96px);
  max-width: min(1200px, 96vw);
  object-fit: contain;
}

.modal-close {
  background: #fff;
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  color: var(--jc-ink);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  min-height: 36px;
  padding: 6px 14px;
  position: fixed;
  right: 24px;
  top: 18px;
}

.modal-nav {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--jc-line);
  border-radius: 50%;
  color: var(--jc-ink);
  cursor: pointer;
  display: inline-flex;
  font-size: 2.4rem;
  font-weight: 800;
  height: 52px;
  justify-content: center;
  line-height: 1;
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
}

.modal-nav:hover,
.modal-nav:focus {
  background: var(--jc-accent);
  border-color: var(--jc-accent);
  color: #fff;
}

.modal-prev {
  left: 24px;
}

.modal-next {
  right: 24px;
}

@media (max-width: 640px) {
  .image-modal {
    padding: 70px 12px 24px;
  }

  .modal-close {
    right: 12px;
    top: 14px;
  }

  .modal-nav {
    height: 44px;
    width: 44px;
  }

  .modal-prev {
    left: 10px;
  }

  .modal-next {
    right: 10px;
  }
}

.local-video {
  aspect-ratio: 16 / 9;
  background: #000;
  display: block;
  width: 100%;
}

.video-card {
  position: relative;
  overflow: hidden;
  padding: 0;
}

.video-card .local-video,
.video-card .ratio {
  margin-bottom: 0 !important;
}

.video-play-card {
  aspect-ratio: 16 / 9;
  background: #111;
  border: 0;
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.video-play-card img {
  display: block;
  height: 100%;
  object-fit: cover;
  opacity: 0.86;
  transition: opacity 160ms ease, transform 160ms ease;
  width: 100%;
}

.video-play-card:hover img,
.video-play-card:focus-visible img {
  opacity: 1;
  transform: scale(1.02);
}

.play-badge {
  align-items: center;
  background: var(--jc-accent);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  font-size: 0.95rem;
  font-weight: 800;
  gap: 8px;
  left: 50%;
  min-height: 42px;
  padding: 9px 18px;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.play-triangle {
  border-bottom: 6px solid transparent;
  border-left: 9px solid currentColor;
  border-top: 6px solid transparent;
  display: inline-block;
  height: 0;
  width: 0;
}

.video-card h3 {
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  padding: 12px 14px;
}

.load-row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding: 44px 0 10px;
}

.load-row .btn {
  border-radius: 999px;
  font-weight: 800;
  min-height: 44px;
  padding: 10px 22px;
}

.video-open-icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--jc-line);
  border-radius: 50%;
  color: var(--jc-accent);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  position: absolute;
  right: 10px;
  text-decoration: none;
  top: 10px;
  width: 34px;
}

.video-open-icon:hover,
.video-open-icon:focus {
  background: var(--jc-accent);
  color: #fff;
}

.site-footer {
  background: var(--jc-surface);
  border-top: 1px solid var(--jc-line);
  color: var(--jc-muted);
  padding: 24px 0;
}

.site-footer .container {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-social .social-shortcuts {
  justify-content: center;
}

.footer-meta {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  justify-content: center;
}

.footer-meta a {
  color: var(--jc-accent);
}

@media (max-width: 991.98px) {
  .hero-layout,
  .post-hero-grid,
  .post-shell,
  .feature-card {
    grid-template-columns: 1fr;
  }

  .filter-row,
  .sidebar-panel {
    position: static;
  }

  .hero-showcase {
    grid-template-columns: 1fr 1fr;
  }

  .hero .social-shortcuts {
    flex-wrap: wrap;
  }

  .navbar-nav {
    gap: 4px;
    padding-top: 12px;
  }

  .nav-search-item,
  .site-search {
    width: 100%;
  }

  .site-search .form-control {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 575.98px) {
  .hero,
  .post-hero,
  .section-pad {
    padding: 28px 0;
  }

  .hero-showcase {
    grid-template-columns: 1fr;
  }

  .hero-image:first-child {
    grid-row: auto;
  }

  .record-card-body,
  .post-body,
  .content-panel {
    padding: 16px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
