:root {
  --ljnp-accent: #f24a3d;
  --ljnp-text: #05070a;
  --ljnp-muted: #9aa1a9;
  --ljnp-dark: #111418;
  --ljnp-white: #ffffff;
  --ljnp-gap: 54px;
  --ljnp-image-height: 520px;
  --ljnp-transition: 420ms cubic-bezier(.22,.61,.36,1);
}

.ljnp-wrapper,
.ljnp-wrapper *,
.ljnp-single,
.ljnp-single * {
  box-sizing: border-box;
}

.ljnp-wrapper {
  width: 100%;
}

.ljnp-grid {
  display: grid;
  grid-template-columns: repeat(var(--ljnp-cols, 3), minmax(0, 1fr));
  gap: var(--ljnp-gap, 54px);
  align-items: start;
}

.ljnp-card {
  position: relative;
  min-width: 0;
  overflow: visible;
  transition: transform var(--ljnp-transition), box-shadow var(--ljnp-transition), border-color var(--ljnp-transition);
}

.ljnp-card a {
  text-decoration: none;
}

.ljnp-media {
  position: relative;
  display: block;
  width: 100%;
  height: var(--ljnp-image-height, 520px);
  overflow: hidden;
  background: #eef0f2;
  isolation: isolate;
}

.ljnp-image {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
  transform: scale(1);
  transition: transform 700ms cubic-bezier(.22,.61,.36,1), filter 700ms cubic-bezier(.22,.61,.36,1);
}

.ljnp-image--placeholder {
  background: linear-gradient(135deg, #f1f2f4 0%, #dfe3e7 100%);
}

.ljnp-card:hover .ljnp-image {
  transform: scale(1.06);
}

.ljnp-card-content {
  padding-top: 24px;
}

.ljnp-category {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 11px;
  color: var(--ljnp-muted);
  font-size: 20px;
  line-height: 1.2;
  font-weight: 400;
}

.ljnp-category a,
.ljnp-category span {
  color: inherit;
}

.ljnp-category a:hover {
  color: var(--ljnp-accent);
}

.ljnp-title {
  margin: 0;
  color: var(--ljnp-text);
  font-size: clamp(24px, 2vw, 36px);
  line-height: 1.13;
  letter-spacing: -0.045em;
  font-weight: 600;
}

.ljnp-title a {
  color: inherit;
  transition: color var(--ljnp-transition);
}

.ljnp-title a:hover {
  color: var(--ljnp-accent);
}

.ljnp-excerpt {
  margin: 14px 0 0;
  color: #66707a;
  font-size: 16px;
  line-height: 1.65;
}

.ljnp-author {
  margin-top: 10px;
  color: var(--ljnp-muted);
  font-size: 14px;
}

.ljnp-read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  color: var(--ljnp-text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color var(--ljnp-transition), transform var(--ljnp-transition);
}

.ljnp-read-more:hover {
  color: var(--ljnp-accent);
  transform: translateX(4px);
}

.ljnp-date-badge {
  position: absolute;
  z-index: 3;
  display: flex;
  width: 86px;
  flex-direction: column;
  text-align: center;
  color: #fff;
  box-shadow: 0 18px 36px rgba(0,0,0,.16);
}

.ljnp-date-day {
  display: block;
  padding: 16px 8px 12px;
  background: var(--ljnp-accent);
  color: inherit;
  font-size: 46px;
  line-height: .86;
  font-weight: 500;
  letter-spacing: -0.06em;
}

.ljnp-date-month {
  display: block;
  padding: 8px 6px 10px;
  background: var(--ljnp-dark);
  color: inherit;
  font-size: 17px;
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.ljnp-date-badge--bottom-right { right: 30px; bottom: -34px; }
.ljnp-date-badge--bottom-left { left: 30px; bottom: -34px; }
.ljnp-date-badge--top-right { right: 30px; top: 30px; }
.ljnp-date-badge--top-left { left: 30px; top: 30px; }

.ljnp-layout-home .ljnp-card-content {
  padding-top: 54px;
}

.ljnp-layout-case .ljnp-grid {
  row-gap: calc(var(--ljnp-gap, 54px) + 10px);
}

.ljnp-layout-case .ljnp-media {
  height: var(--ljnp-image-height, 430px);
}

.ljnp-layout-case .ljnp-card-content {
  padding-top: 18px;
}

.ljnp-layout-case .ljnp-date-badge {
  position: static;
  display: inline-flex;
  width: auto;
  min-width: 0;
  margin-bottom: 12px;
  box-shadow: none;
}

.ljnp-layout-case .ljnp-date-day {
  display: none;
}

.ljnp-layout-case .ljnp-date-month {
  padding: 0;
  background: transparent;
  color: var(--ljnp-muted);
  font-size: 16px;
  line-height: 1.2;
}

.ljnp-layout-case .ljnp-category {
  margin-bottom: 8px;
  color: var(--ljnp-muted);
  font-size: 16px;
  text-transform: lowercase;
}

.ljnp-layout-case .ljnp-title {
  font-size: clamp(21px, 1.45vw, 28px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.ljnp-layout-case .ljnp-card--case .ljnp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255,255,255,.3);
  transform: scale(.94);
  opacity: 0;
  transition: transform var(--ljnp-transition), opacity var(--ljnp-transition);
  pointer-events: none;
}

.ljnp-layout-case .ljnp-card:hover .ljnp-media::after {
  transform: scale(.98);
  opacity: 1;
}

.ljnp-layout-overlay .ljnp-card {
  overflow: hidden;
  background: #111418;
}

.ljnp-layout-overlay .ljnp-media {
  height: var(--ljnp-image-height, 520px);
}

.ljnp-overlay-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 10%, rgba(0,0,0,.72) 100%);
  opacity: .78;
  transition: opacity var(--ljnp-transition);
}

.ljnp-layout-overlay .ljnp-card-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  padding: 34px;
  transform: translateY(20px);
  transition: transform var(--ljnp-transition);
}

.ljnp-layout-overlay .ljnp-card:hover .ljnp-card-content {
  transform: translateY(0);
}

.ljnp-layout-overlay .ljnp-category,
.ljnp-layout-overlay .ljnp-category a,
.ljnp-layout-overlay .ljnp-title a,
.ljnp-layout-overlay .ljnp-excerpt,
.ljnp-layout-overlay .ljnp-author,
.ljnp-layout-overlay .ljnp-read-more {
  color: #fff;
}

.ljnp-layout-overlay .ljnp-title {
  color: #fff;
  font-size: clamp(24px, 2vw, 34px);
}

.ljnp-layout-overlay .ljnp-date-badge--bottom-right,
.ljnp-layout-overlay .ljnp-date-badge--bottom-left {
  bottom: auto;
  top: 24px;
}

.ljnp-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 64px;
}

.ljnp-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  background: #f3f4f6;
  color: var(--ljnp-text);
  text-decoration: none;
  transition: background var(--ljnp-transition), color var(--ljnp-transition), transform var(--ljnp-transition);
}

.ljnp-pagination .page-numbers.current,
.ljnp-pagination .page-numbers:hover {
  background: var(--ljnp-accent);
  color: #fff;
  transform: translateY(-2px);
}

.ljnp-empty {
  padding: 24px;
  background: #f6f7f8;
  color: #555;
  border-left: 4px solid var(--ljnp-accent);
}

/* Single */
.ljnp-single {
  --ljnp-single-hero-height: 540px;
  color: var(--ljnp-text);
  background: #fff;
}

.ljnp-single a {
  color: inherit;
}

.ljnp-single-hero {
  position: relative;
  width: 100%;
  padding: clamp(70px, 9vw, 145px) clamp(20px, 6vw, 90px) clamp(50px, 6vw, 88px);
  background: #f5f6f7;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.ljnp-single-hero--has-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ljnp-hero-overlay, rgba(0,0,0,.28));
  pointer-events: none;
}

.ljnp-single-hero-inner {
  position: relative;
  z-index: 1;
}

.ljnp-single-kicker {
  margin-bottom: 18px;
  color: var(--ljnp-accent);
  font-size: clamp(34px, 7vw, 96px);
  line-height: .82;
  letter-spacing: -0.08em;
  font-weight: 600;
}

.ljnp-single-main-title {
  max-width: 1120px;
  margin: 0;
  color: var(--ljnp-text);
  font-size: clamp(42px, 7vw, 118px);
  line-height: .92;
  letter-spacing: -0.075em;
  font-weight: 600;
}

.ljnp-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 28px;
  color: var(--ljnp-muted);
  font-size: 15px;
}

.ljnp-breadcrumb a {
  color: var(--ljnp-text);
  text-decoration: none;
}

.ljnp-breadcrumb a:hover {
  color: var(--ljnp-accent);
}

.ljnp-single-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(44px, 6vw, 84px) 0;
}

.ljnp-single-featured {
  width: 100%;
  height: var(--ljnp-single-hero-height, 540px);
  margin: 0 0 42px;
  overflow: hidden;
  background: #eceff2;
}

.ljnp-single-image {
  width: 100%;
  height: 100% !important;
  display: block;
  object-fit: cover;
}

.ljnp-single-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-bottom: 16px;
  color: var(--ljnp-muted);
  font-size: 17px;
  line-height: 1.2;
}

.ljnp-single-meta time {
  color: var(--ljnp-text);
}

.ljnp-single-meta .ljnp-category {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.ljnp-single-title {
  max-width: 960px;
  margin: 0 0 26px;
  color: var(--ljnp-text);
  font-size: clamp(32px, 4.4vw, 72px);
  line-height: 1;
  letter-spacing: -0.065em;
  font-weight: 600;
}

.ljnp-single-content {
  max-width: 900px;
  color: #30353b;
  font-size: 18px;
  line-height: 1.82;
}

.ljnp-single-content > *:first-child {
  margin-top: 0;
}

.ljnp-single-content p {
  margin: 0 0 24px;
}

.ljnp-single-content h2,
.ljnp-single-content h3,
.ljnp-single-content h4 {
  color: var(--ljnp-text);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.ljnp-single-content blockquote {
  position: relative;
  margin: 36px 0;
  padding: 28px 34px 28px 42px;
  border-left: 7px solid var(--ljnp-accent);
  background: #f6f7f8;
  color: var(--ljnp-text);
  font-size: clamp(22px, 2.1vw, 32px);
  line-height: 1.35;
  letter-spacing: -0.035em;
}

.ljnp-single-content blockquote p:last-child {
  margin-bottom: 0;
}

.ljnp-single-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  max-width: 900px;
  margin-top: 56px;
  padding-top: 30px;
  border-top: 1px solid #e7e9ec;
}

.ljnp-single-nav-link {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px;
  background: #f7f8f9;
  text-decoration: none;
  transition: background var(--ljnp-transition), transform var(--ljnp-transition);
}

.ljnp-single-nav-link:hover {
  background: #eef0f2;
  transform: translateY(-3px);
}

.ljnp-single-nav-link span {
  color: var(--ljnp-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.ljnp-single-nav-link strong {
  color: var(--ljnp-text);
  font-size: 18px;
  line-height: 1.25;
}

.ljnp-related {
  padding: 70px 0 92px;
  background: #f5f6f7;
}

.ljnp-related-inner {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
}

.ljnp-related-title {
  margin: 0 0 36px;
  color: var(--ljnp-text);
  font-size: clamp(32px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -0.06em;
  font-weight: 600;
}

@media (max-width: 1024px) {
  .ljnp-grid {
    grid-template-columns: repeat(var(--ljnp-cols-tablet, 2), minmax(0, 1fr));
  }

  .ljnp-media {
    height: min(var(--ljnp-image-height, 420px), 520px);
  }

  .ljnp-title {
    font-size: clamp(23px, 3.4vw, 32px);
  }
}

@media (max-width: 767px) {
  .ljnp-grid {
    grid-template-columns: repeat(var(--ljnp-cols-mobile, 1), minmax(0, 1fr));
    gap: calc(var(--ljnp-gap, 54px) * .75);
  }

  .ljnp-media {
    height: min(var(--ljnp-image-height, 360px), 420px);
  }

  .ljnp-date-badge {
    width: 70px;
  }

  .ljnp-date-day {
    font-size: 36px;
    padding-top: 13px;
    padding-bottom: 10px;
  }

  .ljnp-date-month {
    font-size: 14px;
  }

  .ljnp-date-badge--bottom-right { right: 18px; bottom: -28px; }
  .ljnp-date-badge--bottom-left { left: 18px; bottom: -28px; }
  .ljnp-date-badge--top-right { right: 18px; top: 18px; }
  .ljnp-date-badge--top-left { left: 18px; top: 18px; }

  .ljnp-layout-home .ljnp-card-content {
    padding-top: 44px;
  }

  .ljnp-category {
    font-size: 17px;
  }

  .ljnp-title {
    font-size: 26px;
  }

  .ljnp-layout-overlay .ljnp-card-content {
    padding: 24px;
  }

  .ljnp-single-hero {
    padding: 58px 20px 48px;
  }

  .ljnp-single-main-title {
    font-size: clamp(38px, 14vw, 62px);
  }

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

  .ljnp-single-featured {
    height: min(var(--ljnp-single-hero-height, 380px), 420px);
  }

  .ljnp-single-meta {
    font-size: 15px;
    gap: 11px;
  }

  .ljnp-single-content {
    font-size: 16px;
    line-height: 1.75;
  }

  .ljnp-single-content blockquote {
    padding: 22px 24px 22px 28px;
  }

  .ljnp-single-nav {
    grid-template-columns: 1fr;
  }

  .ljnp-related {
    padding: 52px 0 66px;
  }
}

/* --- Single hero refresh v1.1 --- */
.ljnp-single {
  --ljnp-single-hero-height: 540px;
  --ljnp-hero-padding-top: 110px;
  --ljnp-hero-padding-right: 90px;
  --ljnp-hero-padding-bottom: 120px;
  --ljnp-hero-padding-left: 90px;
  --ljnp-hero-overlay: #0b0d10;
  --ljnp-hero-overlay-opacity: .18;
}

.ljnp-single-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--ljnp-single-hero-height, 540px);
  margin: 0 0 clamp(70px, 7vw, 118px);
  padding: 0;
  overflow: hidden;
  background: #f2f3f5;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ljnp-single-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ljnp-hero-overlay);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ljnp-transition);
}

.ljnp-single-hero--image::before,
.ljnp-single-hero--has-overlay::before {
  opacity: var(--ljnp-hero-overlay-opacity, .18);
}

.ljnp-single-hero-inner,
.ljnp-single-breadcrumb-shell {
  width: min(100% - 40px, 1280px);
  margin: 0 auto;
}

.ljnp-single-hero-inner {
  position: relative;
  z-index: 2;
  padding: var(--ljnp-hero-padding-top) var(--ljnp-hero-padding-right) var(--ljnp-hero-padding-bottom) var(--ljnp-hero-padding-left);
}

.ljnp-single-kicker {
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  color: var(--ljnp-accent);
  font-size: clamp(34px, 5.4vw, 80px);
  line-height: .84;
  letter-spacing: -0.07em;
  font-weight: 400;
}

.ljnp-single-main-title {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0;
  color: var(--ljnp-text);
  font-size: clamp(44px, 6vw, 96px);
  line-height: .95;
  letter-spacing: -0.07em;
  font-weight: 500;
}

.ljnp-single-hero--image .ljnp-single-kicker,
.ljnp-single-hero--image .ljnp-single-main-title {
  color: #fff;
}

.ljnp-single-breadcrumb-shell {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 4;
  transform: translateY(50%);
}

.ljnp-single-breadcrumb-wrap,
.ljnp-breadcrumb--card {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  min-height: 74px;
  padding: 28px 34px;
  background: #fff;
  color: #111418;
  border-radius: 0 44px 0 0;
  box-shadow: 0 20px 44px rgba(17,20,24,.10);
}

.ljnp-breadcrumb--card a,
.ljnp-breadcrumb--card span {
  color: inherit;
}

.ljnp-breadcrumb--card a {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.ljnp-breadcrumb--card a:hover {
  color: var(--ljnp-accent);
}

.ljnp-single-hero-stripes {
  position: absolute;
  right: clamp(18px, 4vw, 40px);
  bottom: 0;
  z-index: 2;
  display: flex;
  gap: 22px;
  transform: translateY(46%);
  pointer-events: none;
}

.ljnp-single-hero-stripes span {
  width: clamp(32px, 2.4vw, 52px);
  height: 180px;
  background: var(--ljnp-accent);
  transform: skewX(-30deg);
  transform-origin: bottom center;
}

.ljnp-single-shell {
  width: min(100% - 40px, 1180px);
  margin: 0 auto;
  padding: clamp(34px, 5vw, 70px) 0 clamp(54px, 6vw, 84px);
}

@media (max-width: 1024px) {
  .ljnp-single-hero-inner {
    padding: 80px 42px 110px;
  }

  .ljnp-single-breadcrumb-wrap,
  .ljnp-breadcrumb--card {
    padding: 22px 26px;
    min-height: 64px;
  }

  .ljnp-single-hero-stripes span {
    height: 132px;
  }
}

@media (max-width: 767px) {
  .ljnp-single-hero {
    margin-bottom: 76px;
  }

  .ljnp-single-hero-inner,
  .ljnp-single-breadcrumb-shell {
    width: min(100% - 24px, 1280px);
  }

  .ljnp-single-hero-inner {
    padding: 58px 18px 94px;
  }

  .ljnp-single-main-title {
    font-size: clamp(34px, 11vw, 56px);
  }

  .ljnp-single-breadcrumb-shell {
    transform: translateY(44%);
  }

  .ljnp-single-breadcrumb-wrap,
  .ljnp-breadcrumb--card {
    min-height: auto;
    padding: 18px 18px 20px;
    border-radius: 0 28px 0 0;
    gap: 8px;
    font-size: 14px;
  }

  .ljnp-single-hero-stripes {
    gap: 12px;
    right: 8px;
  }

  .ljnp-single-hero-stripes span {
    width: 22px;
    height: 88px;
  }

  .ljnp-single-shell {
    width: min(100% - 28px, 1180px);
    padding-top: 22px;
  }
}
