@charset "UTF-8";

.jp-hero {
  background: linear-gradient(180deg, #08a7ff 0%, #0798ef 100%);
  color: #fff;
  padding: 72px 0 56px;
}

.jp-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(255,255,255,0.16), transparent 18%),
    radial-gradient(circle at 85% 25%, rgba(255,255,255,0.14), transparent 20%),
    radial-gradient(circle at 50% 100%, rgba(255,255,255,0.10), transparent 26%);
  pointer-events: none;
}

.jp-hero__inner {
  position: relative;
  z-index: 1;
}

.jp-hero__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.jp-hero__sub {
  opacity: .9;
  margin-top: 14px;
}

.jp-searchbar {
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  margin-top: 30px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
}

.jp-searchbar .form-control {
  border: 0;
  box-shadow: none;
  height: 48px;
}

.jp-searchbar .btn {
  height: 48px;
  border-radius: 12px;
  padding: 0 26px;
}

.jp-chip {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  margin: 10px 8px 0 0;
  font-size: 13px;
  text-decoration: none;
}

.jp-category-strip {
  background: #fff;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.jp-category-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
}

.jp-category-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
  flex: 1;
}

.jp-category-track::-webkit-scrollbar {
  display: none;
}

.jp-category-item {
  flex: 0 0 auto;
  width: 96px;
}

.jp-category-nav {
  width: 40px;
  height: 40px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

.jp-category-nav:hover {
  background: #f9fafb;
}

.jp-cat {
  text-align: center;
  color: #333;
  text-decoration: none;
  display: block;
  padding: 10px 0;
}

.jp-cat__icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: #f3f7ff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  font-size: 20px;
  color: #3b82f6;
}

.jp-cat__label {
  font-size: 13px;
  line-height: 1.4;
  word-break: keep-all;
}

.jp-floating-sidebar {
  position: absolute;
  top: 680px;
  right: 24px;
  width: 300px;
  z-index: 900;
}

.jp-floating-sidebar__inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.jp-floating-side-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.jp-floating-side-card--event {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #dbeafe;
}

.jp-side-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #2563eb;
  background: #eff6ff;
  border-radius: 999px;
  padding: 6px 10px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.jp-side-title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
  margin-bottom: 10px;
  word-break: keep-all;
}

.jp-side-desc {
  font-size: 14px;
  line-height: 1.7;
  color: #6b7280;
  margin-bottom: 18px;
  word-break: keep-all;
}

.jp-side-highlight {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f9fafb;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.jp-side-highlight__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: #e0ecff;
  color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.jp-side-highlight__text {
  font-size: 13px;
  line-height: 1.6;
  color: #4b5563;
  word-break: keep-all;
}

.jp-side-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  border: none;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.jp-side-btn:hover {
  text-decoration: none;
}

.jp-side-btn--primary {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.20);
}

.jp-side-btn--primary:hover {
  background: #1d4ed8;
  color: #ffffff;
  transform: translateY(-1px);
}

.jp-side-btn--secondary {
  background: #ffffff;
  color: #374151;
  border: 1px solid #d1d5db;
}

.jp-side-btn--secondary:hover {
  background: #f9fafb;
  color: #111827;
}

.jp-side-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.jp-side-mini {
  margin-top: 14px;
  font-size: 12px;
  line-height: 1.6;
  color: #9ca3af;
  text-align: center;
  word-break: keep-all;
}

.jp-section {
  padding: 30px 0 0 0;
  background: #fff;
}

.jp-section--last {
  margin-bottom: 30px;
}

.jp-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.jp-section__title {
  font-size: 22px;
  font-weight: 800;
  margin: 0;
}

.jp-section__desc {
  color: #777;
  margin: 6px 0 0;
  font-size: 14px;
}

.jp-link {
  color: #0b77ff;
  text-decoration: none;
  font-weight: 600;
}

.jp-card {
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 18px;
  height: 100%;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .04);
}

.jp-card__title {
  font-weight: 800;
  margin: 0 0 6px;
}

.jp-card__sub {
  color: #666;
  font-size: 13px;
  margin: 0 0 14px;
}

.jp-meta {
  color: #555;
  font-size: 13px;
  margin: 8px 0;
}

.jp-tag {
  display: inline-block;
  background: #f4f6fa;
  color: #444;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin: 6px 6px 0 0;
}

.jp-empty-wrap {
  padding: 8px 0 0;
}

.jp-empty-box {
  background: #f8fbff;
  border: 1px solid #e8f1fb;
  border-radius: 24px;
  padding: 32px 32px;
  text-align: center;
  max-width: 1980px;
  margin: 0 auto;
}

.jp-empty-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: #eaf3ff;
  color: #0b77ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
}

.jp-empty-title {
  font-size: 20px;
  font-weight: 800;
  color: #111;
  margin-bottom: 10px;
  line-height: 1.35;
}

.jp-empty-desc {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.7;
  margin-bottom: 18px;
}

.jp-empty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  background: #0b77ff;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}

.jp-empty-btn:hover {
  background: #0667df;
  color: #fff;
  text-decoration: none;
}

.jp-empty-btn--light {
  background: #fff;
  color: #0b77ff;
  border: 1px solid #cfe1ff;
}

.jp-empty-btn--light:hover {
  background: #f5f9ff;
  color: #0b77ff;
}

/* =========================
   Sponsored Banner
========================= */
.jp-sponsored-wrap {
  padding-top: 24px;
  padding-bottom: 10px;
}

.jp-sponsored-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.jp-sponsored-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.jp-sponsored-viewport {
  overflow: hidden;
  width: 100%;
  position: relative;
}

.jp-sponsored-track {
  display: flex;
  gap: 20px;
  width: 100%;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.jp-sponsored-slide {
  flex: 0 0 calc((100% - 40px) / 3);
  max-width: calc((100% - 40px) / 3);
}

.jp-sponsored-card-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.jp-sponsored-card-link:hover {
  text-decoration: none;
  color: inherit;
}

.jp-sponsored-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 28px;
  min-height: 320px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.14);
  transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}

.jp-sponsored-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.20);
}

.jp-sponsored-card__badge {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.82);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
}

.jp-sponsored-card__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.jp-sponsored-card__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.55;
  transform: scale(1.03);
}

.jp-sponsored-card__bg--empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 28%),
    linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: rgba(255, 255, 255, 0.28);
  font-size: 46px;
}

.jp-sponsored-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.03) 0%, rgba(15, 23, 42, 0.08) 100%);
}

.jp-sponsored-card__body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  gap: 18px;
  height: 100%;
  padding: 24px;
}

.jp-sponsored-card__text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.jp-sponsored-card__eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(219, 234, 254, 0.16);
  color: #dbeafe;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  margin-bottom: 14px;
}

.jp-sponsored-card__subline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
}

.jp-sponsored-card__subitem {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 500;
}

.jp-sponsored-card__subitem i {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.62);
}

.jp-sponsored-card__dot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.34);
}

.jp-sponsored-card__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.35;
  color: #ffffff;
  word-break: keep-all;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.jp-sponsored-card__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
  word-break: keep-all;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.jp-sponsored-card__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.jp-sponsored-card__highlight-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}

.jp-sponsored-card__highlight-text {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  word-break: keep-all;
}

.jp-sponsored-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.jp-sponsored-card__cta {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: #dbeafe;
}

.jp-sponsored-card__cta i {
  font-size: 13px;
}

.jp-sponsored-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  border: 1px solid #dbe3f0;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
  cursor: pointer;
  transition: all .2s ease;
}

.jp-sponsored-nav--prev {
  left: -10px;
}

.jp-sponsored-nav--next {
  right: -10px;
}

.jp-sponsored-nav:hover {
  background: #f8fbff;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
}

.jp-sponsored-nav:focus {
  outline: none;
}

/* =========================
   Responsive
========================= */
@media (max-width: 1600px) {
  .jp-floating-sidebar {
    width: 280px;
    right: 16px;
  }

  .jp-side-title {
    font-size: 20px;
  }
}

@media (max-width: 1400px) {
  .jp-floating-sidebar {
    display: none;
  }
}

@media (max-width: 992px) {
  .jp-sponsored-slide {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
  }
}

@media (max-width: 768px) {
  .jp-empty-box {
    padding: 36px 18px;
    border-radius: 18px;
  }

  .jp-empty-title {
    font-size: 20px;
  }

  .jp-empty-desc {
    font-size: 14px;
  }

  .jp-sponsored-carousel {
    gap: 10px;
  }

  .jp-sponsored-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .jp-sponsored-card {
    min-height: 280px;
    border-radius: 22px;
  }

  .jp-sponsored-card__body {
    padding: 22px 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .jp-sponsored-card__title {
    font-size: 22px;
  }

  .jp-sponsored-card__desc {
    font-size: 14px;
    margin-bottom: 0;
  }

  .jp-sponsored-card__subline {
    margin-bottom: 12px;
  }

  .jp-sponsored-card__highlight {
    padding: 12px 14px;
    border-radius: 16px;
    margin-bottom: 16px;
  }

  .jp-sponsored-card__highlight-text {
    font-size: 13px;
  }

  .jp-sponsored-card__cta {
    margin-top: 16px;
    font-size: 13px;
  }

  .jp-sponsored-card__bg img {
    opacity: 0.38;
  }

  .jp-sponsored-nav {
    width: 42px;
    height: 42px;
  }

  .jp-sponsored-nav--prev {
    left: -4px;
  }

  .jp-sponsored-nav--next {
    right: -4px;
  }
}