:root {
  --jc-bg: #031837;
  --jc-bg-2: #071f45;
  --jc-surface: rgba(10, 30, 70, 0.82);
  --jc-surface-2: rgba(255, 255, 255, 0.06);
  --jc-surface-3: rgba(255, 255, 255, 0.1);
  --jc-line: rgba(255, 255, 255, 0.12);
  --jc-text: #f5f8ff;
  --jc-muted: rgba(245, 248, 255, 0.74);
  --jc-accent: #7dd3fc;
  --jc-accent-2: #f0c674;
  --jc-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  --jc-shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.2);
}

html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.18), transparent 28rem),
    radial-gradient(circle at 92% 10%, rgba(240, 198, 116, 0.14), transparent 22rem),
    linear-gradient(180deg, #041b3d 0%, var(--jc-bg) 48%, #020d1f 100%);
}

body.html {
  background: transparent;
  color: var(--jc-text);
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: 0;
}

body, body *, p {
  font-family: inherit;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.container {
  width: min(100% - 28px, 1180px);
}

.section {
  padding-top: 20px;
  padding-bottom: 20px;
}

.preloader-background {
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.22), transparent 32rem),
    linear-gradient(180deg, #041b3d 0%, #031837 100%);
}

.preloader-wrapper .spinner-layer {
  border-color: var(--jc-accent) !important;
}

.navigation {
  background: rgba(3, 24, 55, 0.8) !important;
  border-bottom: 1px solid var(--jc-line);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.navigation .brand-logo {
  align-items: center;
  color: var(--jc-text);
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
  letter-spacing: 0.02em;
}

.navigation .brand-logo::before {
  content: none;
}

.navigation .brand-logo img {
  border-radius: 10px;
  display: block;
  height: 30px;
  width: 30px;
}

.navicon,
.sidenav-trigger {
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  color: var(--jc-text);
  height: 40px !important;
  line-height: 40px !important;
  margin-top: 12px;
  width: 40px;
}

.navicon:hover,
.sidenav-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
}

.sidemenu {
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.12), transparent 20rem),
    linear-gradient(180deg, rgba(8, 24, 58, 0.98), rgba(3, 13, 31, 0.98));
  color: var(--jc-text);
}

.sidemenu a,
.sidemenu .title,
.sidemenu .subheader,
.sidemenu .name,
.sidemenu .copyright {
  color: var(--jc-text) !important;
}

.sidemenu .lvl1 > div {
  border-radius: 14px;
  margin: 4px 12px;
}

.sidemenu .lvl1 > div:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sidemenu .user-wrap {
  background: transparent;
}

.sidemenu .user-view {
  align-items: center;
  display: flex;
  gap: 12px;
  margin: 18px 12px 8px;
}

.sidemenu .user-view .imgarea,
.sidemenu .user-view .infoarea {
  float: none;
  padding: 0;
  width: auto;
}

.sidemenu .user-view img.circle {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--jc-line);
  border-radius: 12px;
  height: 54px;
  padding: 4px;
  width: 54px;
}

.pagetitle,
.sec-tit,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--jc-text);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}

.pagetitle {
  font-size: clamp(2rem, 8vw, 4.75rem);
  line-height: 0.96;
  margin: 34px 0 14px;
}

.sec-tit {
  font-size: 1.2rem;
  margin: 0 0 16px;
}

.sec-tit:after {
  background: linear-gradient(90deg, var(--jc-accent), var(--jc-accent-2));
  border-radius: 999px;
  content: '';
  display: block;
  height: 2px;
  margin-top: 10px;
  width: 24px;
}

.divider {
  background: var(--jc-line);
}

.img-wrap {
  border-radius: 20px;
  display: block;
  overflow: hidden;
}

.img-wrap img,
.responsive-img {
  display: block;
  transition: transform 240ms ease, filter 240ms ease, opacity 240ms ease;
}

.img-wrap:hover img {
  transform: scale(1.03);
}

.img-wrap img.is-fallback,
.ui-mediabox img.is-fallback,
.latest-card__image img.is-fallback {
  object-fit: contain;
  padding: 18%;
}

.subpages.collection {
  background: transparent;
  border: 0;
  display: grid;
  gap: 12px;
  margin: 0;
}

.subpages.collection .collection-item {
  animation: rise-in 0.5s ease both;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--jc-line);
  border-radius: 18px;
  box-shadow: var(--jc-shadow-soft);
  overflow: hidden;
  padding: 0;
}

.subpages.collection .collection-item a {
  align-items: center;
  color: var(--jc-text);
  display: grid;
  gap: 12px;
  grid-template-columns: 36px 1fr 24px;
  min-height: 66px;
  padding: 14px 16px;
}

.subpages.collection .collection-item i:first-child {
  align-items: center;
  background: rgba(125, 211, 252, 0.14);
  border-radius: 10px;
  color: var(--jc-accent);
  display: inline-flex;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.subpages.collection .collection-item span {
  font-size: 1rem;
  font-weight: 700;
}

.ui-mediabox {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-left: 0;
  margin-right: 0;
}

.ui-mediabox::before,
.ui-mediabox::after {
  display: none;
}

.ui-mediabox .col,
.design-card {
  animation: rise-in 0.5s ease both;
  background: transparent;
  float: none;
  min-width: 0;
  padding: 0 !important;
  width: 100% !important;
}

.design-tile,
.latest-card {
  background: linear-gradient(180deg, rgba(10, 30, 70, 0.9), rgba(4, 18, 44, 0.9));
  border: 1px solid var(--jc-line);
  border-radius: 26px;
  box-shadow: var(--jc-shadow);
  overflow: hidden;
}

.design-tile__media,
.latest-card__image {
  aspect-ratio: 1 / 1;
  background: rgba(255, 255, 255, 0.04);
  display: block;
  overflow: hidden;
}

.design-tile__media img,
.latest-card__image img,
.ui-mediabox img {
  border: 0 !important;
  height: 100%;
  object-fit: cover;
  width: 100% !important;
}

.ui-mediabox .col:hover img,
.latest-card:hover .latest-card__image img,
.design-tile:hover .design-tile__media img {
  filter: saturate(1.06) contrast(1.03);
  transform: scale(1.04);
}

.design-tile__body,
.latest-card__body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.design-tile__meta,
.latest-card__body > div:first-child {
  display: grid;
  gap: 8px;
}

.design-tile__kicker {
  color: var(--jc-muted);
  display: inline-flex;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.design-tile__category,
.latest-card__category {
  color: var(--jc-accent);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  overflow: hidden;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.design-tile__title,
.latest-card h3,
.card-title {
  color: var(--jc-text);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.18;
  margin: 0;
  overflow-wrap: anywhere;
}

.design-tile__date {
  color: var(--jc-muted);
  font-size: 0.8rem;
}

.design-tile__actions,
.latest-card__meta {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
}

.design-tile__action,
.latest-card__meta a {
  align-items: center;
  color: var(--jc-accent-2);
  display: inline-flex;
  font-weight: 800;
  gap: 6px;
}

.design-tile__action--primary {
  color: #04101f;
  background: linear-gradient(135deg, #d9f3ff, #7dd3fc 55%, #f0c674);
  border-radius: 999px;
  padding: 11px 16px;
}

.design-tile__action--share {
  background: rgba(37, 211, 102, 0.14);
  border-radius: 999px;
  color: var(--jc-text);
  padding: 11px 16px;
}

.design-tile__action--share i {
  color: #25d366;
}

.latest-card__meta span,
.design-tile__date {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.latest-card__links {
  align-items: center;
  display: inline-flex;
  gap: 12px;
}

.latest-card__links a {
  color: var(--jc-accent-2);
}

.latest-card__share {
  align-items: center;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(125, 211, 252, 0.98) 45%, rgba(240, 198, 116, 0.98));
  border-radius: 999px;
  color: #031837 !important;
  display: inline-flex;
  gap: 8px;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
}

.latest-card__share i {
  color: #25d366;
  font-size: 1.05em;
}

.search-bar nav.ui-forms {
  background: transparent;
  box-shadow: none;
  height: auto;
  line-height: normal;
}

.search-bar .input-field {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--jc-line);
  border-radius: 18px;
  display: grid;
  gap: 8px;
  grid-template-columns: 1fr auto;
  min-height: auto;
  padding: 8px;
}

.search-bar input[type="search"] {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: var(--jc-text);
  height: 44px;
  margin: 0;
  padding: 0 12px !important;
}

.search-bar label {
  display: none;
}

.search-bar .btn {
  background: linear-gradient(135deg, #d9f3ff, #7dd3fc 55%, #f0c674) !important;
  border-radius: 14px;
  box-shadow: none;
  color: #031837;
  font-weight: 850;
  height: 44px;
  line-height: 44px;
  padding: 0 16px;
}

.pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pagination li {
  border-radius: 10px;
  overflow: hidden;
}

.pagination li a {
  color: var(--jc-text);
}

.pagination li.active {
  background: linear-gradient(135deg, #d9f3ff, #7dd3fc 55%, #f0c674);
}

.pagination li.active a {
  color: #031837;
}

.label-pink {
  background: rgba(125, 211, 252, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.22);
  border-radius: 10px;
  color: var(--jc-text);
  padding: 8px 12px;
}

.page-footer {
  background: transparent !important;
  border-top: 1px solid var(--jc-line);
  color: var(--jc-muted);
  margin-top: 28px;
  padding-top: 22px;
}

.footer-copyright {
  background: rgba(0, 0, 0, 0.18) !important;
}

.footer-menu {
  display: none;
}

.backtotop .btn-floating {
  background: linear-gradient(135deg, #d9f3ff, #7dd3fc 55%, #f0c674) !important;
  color: #031837;
}

.responsive-img {
  border-radius: 16px;
  box-shadow: var(--jc-shadow);
}

blockquote {
  border-left-color: var(--jc-accent);
  color: var(--jc-muted);
}

.infinite-status {
  color: var(--jc-muted);
  font-size: 0.92rem;
  min-height: 44px;
  padding: 18px 0 0;
  text-align: center;
}

.home-shell,
.home-latest,
.home-categories,
.page-hero {
  position: relative;
}

.home-shell {
  padding-top: clamp(20px, 6vh, 72px);
}

.page-hero {
  padding: 8px 0 18px;
}

.page-hero__card {
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.14), transparent 16rem),
    linear-gradient(180deg, rgba(10, 30, 70, 0.82), rgba(4, 18, 44, 0.82));
  border: 1px solid var(--jc-line);
  border-radius: 28px;
  box-shadow: var(--jc-shadow);
  padding: 22px 22px 20px;
}

.page-hero__eyebrow {
  color: var(--jc-accent);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.page-hero__title {
  font-size: clamp(2rem, 6vw, 3.75rem);
  line-height: 0.98;
  margin: 8px 0 10px;
}

.page-hero__text {
  color: var(--jc-muted);
  line-height: 1.7;
  margin: 0;
  max-width: 68ch;
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.page-hero__actions .home-button {
  min-height: 44px;
}

.page-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.page-hero__meta .meta-chip {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  color: var(--jc-muted);
  font-size: 0.76rem;
  padding: 8px 12px;
}

.page-toolbar {
  margin-top: 14px;
}

.page-toolbar .search-bar .input-field {
  border-radius: 20px;
}

.page-section {
  padding-top: 4px;
}

.page-section .section-heading {
  align-items: end;
}

.page-section .section-heading span {
  color: var(--jc-muted);
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.page-section .section-heading h2 {
  margin-top: 0;
}

.page-pagination {
  margin-top: 18px;
}

.page-pagination .pagination {
  margin-bottom: 0;
}

.page-pagination .label-pink {
  align-self: center;
}

.legal-grid,
.contact-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.legal-card,
.contact-panel {
  background:
    radial-gradient(circle at top right, rgba(125, 211, 252, 0.12), transparent 14rem),
    linear-gradient(180deg, rgba(10, 30, 70, 0.88), rgba(4, 18, 44, 0.88));
  border: 1px solid var(--jc-line);
  border-radius: 24px;
  box-shadow: var(--jc-shadow-soft);
  padding: 20px;
}

.legal-card__icon,
.contact-panel__icon {
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--jc-line);
  border-radius: 16px;
  color: var(--jc-accent);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  margin-bottom: 14px;
  width: 44px;
}

.legal-card h3,
.contact-panel h3 {
  color: var(--jc-text);
  font-size: 1.2rem;
  font-weight: 850;
  margin: 0 0 10px;
}

.legal-card p,
.contact-panel p {
  color: var(--jc-muted);
  line-height: 1.7;
  margin: 0 0 14px;
}

.policy-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

.policy-list li {
  color: var(--jc-muted);
  line-height: 1.7;
}

.policy-callout {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--jc-line);
  border-radius: 20px;
  color: var(--jc-muted);
  margin-top: 14px;
  padding: 14px 16px;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-link {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--jc-line);
  border-radius: 16px;
  color: var(--jc-text);
  display: inline-flex;
  gap: 10px;
  min-height: 46px;
  padding: 0 14px;
}

.contact-link i {
  color: var(--jc-accent);
}

.legal-page {
  padding: 12px 0 6px;
}

.legal-page .page-hero__card {
  display: grid;
  gap: 12px;
}

.legal-page .page-hero__actions {
  margin-top: 6px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
  justify-content: center;
}

.home-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  color: var(--jc-text);
  display: inline-flex;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  transition: transform 180ms ease, background 180ms ease;
}

.home-button--primary {
  background: linear-gradient(135deg, #d9f3ff, #7dd3fc 55%, #f0c674);
  color: #031837;
  font-weight: 850;
}

.home-button:hover,
.category-chip:hover {
  transform: translateY(-2px);
}

.home-categories {
  padding: 16px 0 18px;
}

.category-toolbar {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.category-toolbar__title span {
  color: var(--jc-accent-2);
  display: block;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.category-toolbar__title h2 {
  color: var(--jc-text);
  font-size: clamp(1.4rem, 5vw, 2rem);
  font-weight: 850;
  line-height: 1;
  margin: 6px 0 0;
}

.category-toolbar__controls {
  display: inline-flex;
  gap: 10px;
  flex: 0 0 auto;
  justify-content: flex-end;
  margin-left: auto;
}

.category-scroller {
  position: relative;
}

.category-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 4px 4px 4px;
  scrollbar-width: none;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
}

.category-strip::-webkit-scrollbar {
  display: none;
}

.category-chip {
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  color: var(--jc-text);
  display: inline-flex;
  flex: 0 0 auto;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  scroll-snap-align: start;
  white-space: nowrap;
}

.category-scroll {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
    rgba(5, 17, 39, 0.62);
  border: 1px solid var(--jc-line);
  border-radius: 999px;
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.24);
  color: var(--jc-text);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  width: 42px;
}

.category-scroll:hover {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.1)),
    rgba(5, 17, 39, 0.72);
}

.category-scroll:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.section-heading {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.section-heading h2 {
  color: var(--jc-text);
  font-size: clamp(1.6rem, 7vw, 2.7rem);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1;
  margin: 4px 0 0;
}

.section-heading > a {
  color: var(--jc-accent-2);
  flex: 0 0 auto;
  font-weight: 800;
}

.latest-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.latest-card {
  min-width: 0;
}

.feed-empty,
.feed-note {
  align-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--jc-line);
  border-radius: 18px;
  color: var(--jc-muted);
  display: flex;
  gap: 10px;
  grid-column: 1 / -1;
  justify-content: center;
  min-height: 120px;
  padding: 18px;
  text-align: center;
}

.feed-empty i,
.feed-note i {
  color: var(--jc-accent);
  font-size: 1.4rem;
}

.feed-note {
  background: rgba(32, 214, 163, 0.08);
  color: var(--jc-muted);
  min-height: 56px;
  padding: 12px;
}

.feed-note i {
  color: var(--jc-accent-2);
}

.design-card__action i,
.latest-card__links a i {
  font-size: 1.05em;
}

.share-shell,
.share-card,
.share-panel {
  background: linear-gradient(180deg, rgba(10, 30, 70, 0.86), rgba(4, 18, 44, 0.86));
  border: 1px solid var(--jc-line);
  border-radius: 26px;
  box-shadow: var(--jc-shadow);
}

.share-shell {
  padding: 22px;
}

.share-panel {
  padding: 18px;
}

.share-panel .btn,
.share-shell .btn {
  background: linear-gradient(135deg, #d9f3ff, #7dd3fc 55%, #f0c674);
  color: #031837;
  font-weight: 850;
}

.copy-field input {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid var(--jc-line) !important;
  border-radius: 14px !important;
  color: var(--jc-text) !important;
  padding: 0 14px !important;
}

.copy-field i {
  color: var(--jc-accent);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

@media (min-width: 640px) {
  .subpages.collection {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ui-mediabox {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (min-width: 980px) {
  .subpages.collection {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .ui-mediabox {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .container {
    width: min(100% - 20px, 1180px);
  }

  .home-shell {
    padding-top: 16px;
  }

  .section-heading,
  .share-shell {
    gap: 12px;
  }

  .design-tile__actions,
  .latest-card__meta {
    flex-direction: column;
    align-items: stretch;
  }

  .home-button,
  .design-tile__action {
    justify-content: center;
  }

  .category-strip {
    padding-inline: 0;
  }

  .category-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .category-toolbar__controls {
    margin-left: auto;
  }

  .category-scroll {
    height: 38px;
    width: 38px;
  }

  .legal-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .search-bar .input-field {
    grid-template-columns: 1fr;
  }

  .search-bar .btn {
    width: 100%;
  }
}
