/* Egen box-modell: layouten får inte bero på i vilken ordning stilmallarna kommer. */
.cl-page, .cl-page *, .cl-page *::before, .cl-page *::after { box-sizing: border-box; }

.cl-page {
  max-width: 1080px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 2.5rem) 5rem;
  color: #f6f4ef;
  background: transparent;
}

html[data-smidity-theme="arctic"] body:not(:has(.arctic-hero)):not(:has([data-pricing-root])):not(:has(.smidity-editor-host)) main.cl-page::before {
  height: 460px;
  background:
    radial-gradient(60% 80% at 76% 24%, rgba(241, 212, 177, 0.11) 0%, rgba(29, 42, 56, 0.32) 46%, transparent 78%),
    linear-gradient(180deg, rgba(6, 10, 17, 0.5) 0%, rgba(9, 15, 24, 0) 100%);
}

.cl-hero {
  padding-bottom: 2.25rem;
  border-bottom: 1px solid rgba(241, 212, 177, 0.16);
}

.cl-kicker {
  margin: 0 0 0.65rem;
  color: #f1d4b1;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cl-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
  color: #fff;
}

.cl-lead {
  max-width: 62ch;
  margin: 1rem 0 0;
  color: #b9c5d4;
  font-size: 1.05rem;
  line-height: 1.6;
}

.cl-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.cl-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.78rem 1.2rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.94rem;
  text-decoration: none;
  transition: transform 0.14s ease, background-color 0.14s ease, border-color 0.14s ease;
}

.cl-cta:hover {
  transform: translateY(-1px);
}

.cl-cta--primary {
  background: #f1d4b1;
  color: #0b121c;
}

.cl-cta--primary:hover {
  background: #f7e1c6;
}

.cl-cta--ghost {
  background: rgba(241, 212, 177, 0.08);
  color: #f1d4b1;
  border: 1px solid rgba(241, 212, 177, 0.28);
}

.cl-cta--ghost:hover {
  background: rgba(241, 212, 177, 0.14);
  border-color: rgba(241, 212, 177, 0.48);
}

.cl-toolbar {
  padding: 1.5rem 0 1.25rem;
}

.cl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.cl-filter {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(16, 25, 38, 0.85);
  color: #c5d1df;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.14s ease, border-color 0.14s ease, color 0.14s ease;
}

.cl-filter:hover {
  border-color: rgba(241, 212, 177, 0.36);
  color: #fff;
}

.cl-filter[aria-pressed="true"] {
  background: rgba(241, 212, 177, 0.15);
  border-color: rgba(241, 212, 177, 0.55);
  color: #f1d4b1;
}

.cl-count {
  font-size: 0.78rem;
  opacity: 0.75;
}

.cl-empty {
  margin: 1.5rem 0 0;
  color: #9aa9bc;
}

.cl-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cl-entry {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 1.5rem;
  padding: 1.6rem 1.75rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 25, 39, 0.94), rgba(11, 18, 29, 0.96));
  border: 1px solid rgba(241, 212, 177, 0.12);
  scroll-margin-top: 5.5rem;
}

.cl-entry:target {
  border-color: rgba(241, 212, 177, 0.55);
  box-shadow: 0 0 0 1px rgba(241, 212, 177, 0.25);
}

.cl-entry-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.cl-date {
  font-size: 0.88rem;
  font-weight: 600;
  color: #93a4ba;
}

.cl-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.cl-badge {
  display: inline-block;
  padding: 0.22rem 0.6rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.cl-badge--version {
  background: rgba(241, 212, 177, 0.16);
  color: #f1d4b1;
  border: 1px solid rgba(241, 212, 177, 0.38);
}

.cl-badge--desktop {
  background: rgba(96, 165, 250, 0.14);
  color: #93c5fd;
  border: 1px solid rgba(96, 165, 250, 0.3);
}

.cl-badge--web {
  background: rgba(52, 211, 153, 0.13);
  color: #6ee7b7;
  border: 1px solid rgba(52, 211, 153, 0.28);
}

.cl-badge--fivem {
  background: rgba(251, 146, 60, 0.14);
  color: #fdba74;
  border: 1px solid rgba(251, 146, 60, 0.3);
}

.cl-entry-body h2 {
  margin: 0;
  font-size: clamp(1.2rem, 2.2vw, 1.48rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.cl-anchor {
  color: #fff;
  text-decoration: none;
}

.cl-anchor:hover {
  color: #f1d4b1;
}

.cl-summary {
  margin: 0.6rem 0 0;
  color: #c2cedd;
  line-height: 1.6;
}

.cl-list {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
  color: #dce4ee;
  line-height: 1.6;
}

.cl-list li + li {
  margin-top: 0.4rem;
}

.cl-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.1rem;
}

.cl-link {
  color: #f1d4b1;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
}

.cl-link:hover {
  text-decoration: underline;
}

.cl-page :focus-visible {
  outline: 2px solid #f1d4b1;
  outline-offset: 3px;
}

/* ── Utvalt News Release-kort på /changelog ─────────────────────────────── */
.cl-featured {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  margin-top: 2rem;
  padding: clamp(1.5rem, 3vw, 2.35rem);
  border-radius: 18px;
  background:
    radial-gradient(480px 320px at 88% 12%, rgba(241, 212, 177, 0.14), transparent 72%),
    linear-gradient(145deg, rgba(16, 25, 39, 0.96), rgba(9, 15, 24, 0.98));
  border: 1px solid rgba(241, 212, 177, 0.34);
  box-shadow: 0 24px 60px rgba(3, 7, 14, 0.55), inset 0 1px 0 rgba(255, 244, 228, 0.08);
  overflow: hidden;
}

.cl-featured::before {
  content: "";
  position: absolute;
  top: -20%;
  right: 34%;
  width: 64px;
  height: 150%;
  background: rgba(241, 212, 177, 0.05);
  transform: skewX(-16deg);
  pointer-events: none;
}

.cl-featured-top {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cl-featured-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  background: rgba(241, 212, 177, 0.14);
  border: 1px solid rgba(241, 212, 177, 0.42);
  color: #f1d4b1;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cl-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #f1d4b1;
  box-shadow: 0 0 10px #f1d4b1;
}

.cl-featured-date {
  font-size: 0.86rem;
  font-weight: 600;
  color: #96a7bd;
}

.cl-featured-title {
  margin: 0.9rem 0 0;
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.cl-featured-title a {
  color: #fff;
  text-decoration: none;
}

.cl-featured-title a:hover {
  color: #f1d4b1;
}

.cl-featured-summary {
  margin: 0.85rem 0 0;
  color: #c2cedd;
  font-size: 0.98rem;
  line-height: 1.6;
}

.cl-feat-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.cl-feat-stat {
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  background: rgba(8, 13, 21, 0.72);
  border: 1px solid rgba(241, 212, 177, 0.16);
  border-left: 3px solid #f1d4b1;
}

.cl-feat-stat strong {
  display: block;
  font-size: 1.05rem;
  color: #f7e6ce;
  letter-spacing: -0.02em;
}

.cl-feat-stat span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: #9db0c6;
}

.cl-featured-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.4rem;
}

.cl-featured-media {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(241, 212, 177, 0.34);
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.58);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.cl-featured-media:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 212, 177, 0.65);
}

.cl-featured-media img {
  display: block;
  width: 100%;
  height: auto;
}

.cl-entry-thumb {
  display: block;
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(241, 212, 177, 0.22);
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.cl-entry-thumb:hover {
  border-color: rgba(241, 212, 177, 0.52);
  transform: translateY(-1px);
}

.cl-entry-thumb img {
  display: block;
  width: 100%;
  height: auto;
}

.cl-link--release {
  padding: 0.42rem 0.85rem;
  border-radius: 8px;
  background: rgba(241, 212, 177, 0.14);
  border: 1px solid rgba(241, 212, 177, 0.38);
}

.cl-link--release:hover {
  text-decoration: none;
  background: rgba(241, 212, 177, 0.22);
}

/* ── Enskild News Release-sida (/changelog/<slug>) ──────────────────────── */
.cl-release-page {
  max-width: 1180px;
}

.cl-crumb {
  margin-bottom: 1.5rem;
}

.cl-crumb a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #a9b8ca;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.cl-crumb a:hover {
  color: #f1d4b1;
}

.cl-rel-hero {
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(241, 212, 177, 0.16);
}

.cl-rel-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.cl-rel-hero h1 {
  margin: 1.1rem 0 0;
  font-size: clamp(2.1rem, 4.6vw, 3.65rem);
  line-height: 1.04;
  letter-spacing: -0.036em;
  font-style: italic;
  color: #fff;
  max-width: 24ch;
}

.cl-rel-lead {
  max-width: 68ch;
  margin: 1.15rem 0 0;
  color: #c2cedd;
  font-size: clamp(1rem, 1.5vw, 1.16rem);
  line-height: 1.65;
}

.cl-rel-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.cl-rel-stat {
  padding: 1rem 1.15rem;
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(16, 25, 39, 0.92), rgba(10, 16, 26, 0.96));
  border: 1px solid rgba(241, 212, 177, 0.18);
  border-left: 3px solid #f1d4b1;
}

.cl-rel-stat strong {
  display: block;
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: #f7e6ce;
  letter-spacing: -0.03em;
}

.cl-rel-stat span {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.84rem;
  color: #a5b5c8;
}

.cl-rel-hero-shot {
  margin: 2.2rem 0 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(241, 212, 177, 0.34);
  box-shadow: 0 32px 80px rgba(2, 6, 12, 0.68);
  background: #080d16;
}

.cl-rel-hero-shot img {
  display: block;
  width: 100%;
  height: auto;
}

.cl-rel-chapters {
  display: flex;
  flex-direction: column;
  gap: clamp(3rem, 6vw, 5.2rem);
  margin-top: clamp(3rem, 6vw, 4.75rem);
}

.cl-chapter {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: clamp(1.75rem, 4vw, 3.25rem);
  align-items: center;
}

.cl-chapter--flip .cl-chapter-copy {
  order: 2;
}

.cl-chapter--flip .cl-chapter-media {
  order: 1;
}

.cl-chapter-kicker {
  margin: 0 0 0.65rem;
  color: #f1d4b1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cl-chapter-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: #fff;
}

.cl-chapter-body {
  margin: 0.95rem 0 0;
  color: #c2cedd;
  font-size: 1rem;
  line-height: 1.65;
}

.cl-chapter-list {
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.cl-chapter-list li {
  position: relative;
  padding-left: 1.25rem;
  color: #e6ecf4;
  font-size: 0.94rem;
  line-height: 1.5;
}

.cl-chapter-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.54rem;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: #f1d4b1;
  transform: rotate(45deg);
}

.cl-chapter-cta {
  margin-top: 1.45rem;
}

.cl-chapter-media {
  margin: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #090f19;
  border: 1px solid rgba(241, 212, 177, 0.24);
  box-shadow: 0 26px 64px rgba(2, 6, 14, 0.62), inset 0 1px 0 rgba(255, 244, 228, 0.08);
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.cl-chapter-media:hover {
  transform: translateY(-3px);
  border-color: rgba(241, 212, 177, 0.48);
}

.cl-frame-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  background: rgba(13, 21, 34, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.cl-frame-bar span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(241, 212, 177, 0.22);
}

.cl-frame-bar span:first-child {
  background: rgba(241, 212, 177, 0.55);
}

.cl-chapter-media img {
  display: block;
  width: 100%;
  height: auto;
}

.cl-rel-more {
  margin-top: clamp(4rem, 7vw, 6rem);
  padding-top: 3rem;
  border-top: 1px solid rgba(241, 212, 177, 0.16);
}

.cl-rel-more-head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.15rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.cl-more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.75rem;
}

.cl-more-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.4rem;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(16, 25, 39, 0.92), rgba(10, 16, 27, 0.96));
  border: 1px solid rgba(241, 212, 177, 0.14);
  text-decoration: none;
  color: inherit;
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.cl-more-card:hover {
  transform: translateY(-2px);
  border-color: rgba(241, 212, 177, 0.45);
}

.cl-more-card h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #fff;
  letter-spacing: -0.015em;
}

.cl-more-card p {
  margin: 0.55rem 0 0;
  color: #b4c2d4;
  font-size: 0.9rem;
  line-height: 1.55;
  flex: 1;
}

.cl-more-go {
  margin-top: 0.95rem;
  color: #f1d4b1;
  font-size: 0.86rem;
  font-weight: 700;
}

.cl-rel-cta-band {
  margin-top: clamp(3.5rem, 6vw, 5rem);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  border-radius: 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background:
    radial-gradient(500px 260px at 90% 20%, rgba(241, 212, 177, 0.18), transparent 72%),
    linear-gradient(135deg, rgba(18, 28, 44, 0.96), rgba(10, 16, 26, 0.98));
  border: 1px solid rgba(241, 212, 177, 0.35);
}

.cl-rel-cta-band h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  color: #fff;
  letter-spacing: -0.025em;
}

.cl-rel-cta-band p {
  margin: 0.55rem 0 0;
  max-width: 56ch;
  color: #c2cedd;
  line-height: 1.55;
}

.cl-rel-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}

.cl-rel-nav-card {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.15rem 1.35rem;
  border-radius: 12px;
  background: rgba(14, 22, 35, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  color: #fff;
  transition: border-color 0.16s ease;
}

.cl-rel-nav-card:hover {
  border-color: rgba(241, 212, 177, 0.45);
}

.cl-rel-nav-card span {
  font-size: 0.8rem;
  font-weight: 700;
  color: #f1d4b1;
}

.cl-rel-nav-card strong {
  font-size: 0.96rem;
  line-height: 1.35;
}

.cl-rel-nav-card--next {
  text-align: right;
}

@media (max-width: 960px) {
  .cl-featured {
    grid-template-columns: 1fr;
  }

  .cl-chapter {
    grid-template-columns: 1fr;
  }

  .cl-chapter--flip .cl-chapter-copy,
  .cl-chapter--flip .cl-chapter-media {
    order: initial;
  }

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

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

@media (max-width: 760px) {
  .cl-entry {
    grid-template-columns: 1fr;
    gap: 0.85rem;
    padding: 1.25rem;
  }

  .cl-entry-meta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
  }

  .cl-more-grid,
  .cl-rel-nav {
    grid-template-columns: 1fr;
  }

  .cl-rel-nav-card--next {
    text-align: left;
  }
}
