:root {
  --rejpak-accent: #7a2cff;
  --rejpak-black: #090909;
  --rejpak-white: #fff;
  --rejpak-header: #000;
  --rejpak-utility: #29292b;
  --rejpak-font: "Inter VF", sans-serif;
  --rejpak-muted: #6c6c72;
  --rejpak-soft: #f2f2f5;
  --rejpak-line: #dedee5;
  --rejpak-shell: 1200px;
  --rejpak-content: 1100px;
  --rejpak-reading: 640px;
  --rejpak-sidebar: 312px;
  --rejpak-radius: 16px;
  --rejpak-shadow: 0 18px 45px rgb(0 0 0 / 22%);
  --rejpak-focus: 0 0 0 4px rgb(122 44 255 / 24%);
  color-scheme: light;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  background-color: #020203;
  background-image:
    radial-gradient(ellipse at -4% 17%, rgb(119 39 232 / 34%) 0%, rgb(72 22 138 / 20%) 18%, transparent 41%),
    radial-gradient(ellipse at 104% 38%, rgb(108 34 210 / 32%) 0%, rgb(61 19 119 / 18%) 19%, transparent 42%),
    radial-gradient(ellipse at 2% 68%, rgb(159 100 255 / 12%) 0%, rgb(122 44 255 / 9%) 12%, transparent 31%),
    radial-gradient(ellipse at 98% 76%, rgb(154 92 255 / 11%) 0%, rgb(122 44 255 / 8%) 13%, transparent 32%),
    linear-gradient(90deg, #0a0610 0%, #050307 13%, #020203 32%, #010102 50%, #020203 68%, #050307 87%, #0a0610 100%);
  background-attachment: scroll;
  background-repeat: no-repeat;
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, cover;
  color: var(--rejpak-black);
  font-family: var(--rejpak-font);
  margin: 0;
  min-width: 320px;
  overflow-wrap: anywhere;
}

body.drawer-open {
  overflow: hidden;
}

img,
svg,
video,
iframe {
  display: block;
  height: auto;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: var(--rejpak-accent);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--rejpak-accent);
  text-decoration-color: currentColor;
}

:focus-visible {
  border-radius: 3px;
  outline: 2px solid var(--rejpak-accent);
  outline-offset: 4px;
}

[hidden] {
  display: none !important;
}

.screen-reader-text {
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.screen-reader-text:focus {
  background: var(--rejpak-white);
  clip: auto !important;
  clip-path: none;
  color: var(--rejpak-black);
  height: auto;
  left: 1rem;
  padding: 0.8rem 1rem;
  top: 1rem;
  width: auto;
  z-index: 10000;
}

.site-shell {
  margin-inline: auto;
  max-width: var(--rejpak-shell);
  padding-inline: clamp(16px, 3vw, 50px);
  width: 100%;
}

.site-header {
  background: transparent;
  border-bottom: 1px solid rgb(122 44 255 / 12%);
  position: relative;
  z-index: 100;
}

.utility-bar {
  background: var(--rejpak-utility);
  border-bottom: 1px solid #3a3a3c;
  box-shadow: 0 4px 18px rgb(0 0 0 / 28%);
  color: var(--rejpak-white);
}

.utility-bar__inner {
  align-items: center;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(220px, 1fr) minmax(260px, 400px) minmax(220px, 1fr);
  margin-inline: auto;
  max-width: 1600px;
  min-height: 58px;
  padding: 8px clamp(16px, 2.5vw, 40px);
}

.utility-bar__start {
  align-items: center;
  display: flex;
  gap: 16px;
  min-width: 0;
}

.menu-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  color: var(--rejpak-white);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 44px;
  height: 44px;
  justify-content: center;
  padding: 10px;
}

.menu-toggle:hover {
  background: #3a3a3d;
}

.menu-toggle__lines {
  display: grid;
  gap: 5px;
  width: 25px;
}

.menu-toggle__lines i {
  background: currentColor;
  display: block;
  height: 2px;
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
  width: 100%;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:first-child {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines i:last-child {
  transform: translateY(-7px) rotate(-45deg);
}

.utility-brand {
  align-items: center;
  color: var(--rejpak-white);
  display: inline-flex;
  gap: 10px;
  min-width: 0;
  text-decoration: none;
}

.utility-brand > img {
	display: block;
	flex: 0 0 32px;
	height: 36px;
	object-fit: contain;
	width: 36px;
}

.utility-brand strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.header-search {
  align-items: center;
  background: #f7f7f7;
  color: var(--rejpak-black);
  border: 1px solid #bcbcc2;
  border-radius: 8px;
  display: flex;
  gap: 10px;
  min-height: 40px;
  padding: 0 13px;
}

.header-search:focus-within {
  border-color: var(--rejpak-accent);
  box-shadow: var(--rejpak-focus);
}

.header-search input {
  background: transparent;
  border: 0;
  color: var(--rejpak-black);
  min-width: 0;
  outline: 0;
  width: 100%;
}

.utility-clock {
  color: #d7d7dc;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  justify-self: end;
  text-align: right;
  text-transform: capitalize;
  white-space: nowrap;
}

.site-drawer {
  background: rgb(9 9 9 / 45%);
  inset: 58px 0 auto;
  min-height: calc(100vh - 58px);
  position: absolute;
  width: 100%;
  z-index: 200;
}

.site-drawer__inner {
  background: var(--rejpak-utility);
  box-shadow: 20px 30px 70px rgb(0 0 0 / 28%);
  display: grid;
  gap: 36px;
  max-height: calc(100vh - 58px);
  max-width: 430px;
  overflow-y: auto;
  padding: 36px clamp(22px, 5vw, 52px) 50px;
}

.drawer-nav h2,
.drawer-latest > h2 {
  color: var(--rejpak-accent);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
  text-transform: uppercase;
}

.drawer-nav ul,
.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drawer-nav li {
  padding-left: 18px;
  position: relative;
}

.drawer-nav li::before {
  background: var(--rejpak-accent);
  border-radius: 50%;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  top: 20px;
  width: 7px;
}

.drawer-nav a {
  border-bottom: 1px solid rgb(255 255 255 / 13%);
  color: var(--rejpak-white);
  display: block;
  font-size: 17px;
  font-weight: 750;
  padding: 12px 0;
  text-decoration: none;
}

.drawer-nav a:hover {
  color: var(--rejpak-accent);
  padding-left: 8px;
  text-decoration-color: currentColor;
  text-decoration-line: underline;
  text-underline-offset: 0.2em;
}

.drawer-latest__list {
  display: grid;
  gap: 16px;
}

.drawer-latest h3 {
  font-size: 18px;
  line-height: 1.28;
  margin: 0;
}

.drawer-latest h3 a {
  color: var(--rejpak-white);
  text-decoration-color: rgb(255 255 255 / 28%);
}

.drawer-latest h3 a:hover,
.drawer-latest h3 a:focus-visible {
  color: var(--rejpak-accent);
}

.drawer-signoff {
  border-top: 2px solid var(--rejpak-accent);
  padding-top: 32px;
}

.header-ad,
.footer-ad {
  padding-block: clamp(18px, 3vw, 38px);
}

.header-ad,
.masthead {
  background: transparent;
}

.masthead {
  align-items: center;
  display: flex;
  min-height: 112px;
  padding-block: 20px;
}

.site-brand {
  align-items: center;
  color: var(--rejpak-black);
  display: inline-flex;
  gap: 14px;
  max-width: min(100%, 520px);
  text-decoration: none;
}

.site-header .site-brand {
  color: var(--rejpak-white);
}

.site-header .site-brand__text small {
  color: rgb(255 255 255 / 68%);
}

.site-brand__mark {
  align-items: center;
  background: var(--rejpak-accent);
  border-radius: 24% 76% 55% 45% / 48% 40% 60% 52%;
  box-shadow: 0 9px 0 #2e0f61;
  color: var(--rejpak-white);
  display: inline-flex;
  flex: 0 0 clamp(54px, 7vw, 76px);
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 950;
  height: clamp(54px, 7vw, 76px);
  justify-content: center;
  transform: rotate(-6deg);
}

.site-brand__text {
  display: grid;
  line-height: 1;
}

.site-brand__text strong {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 950;
  letter-spacing: -0.05em;
}

.site-brand__text small {
  color: var(--rejpak-muted);
  font-size: clamp(11px, 1.3vw, 14px);
  font-weight: 750;
  letter-spacing: 0.12em;
  margin-top: 8px;
  text-transform: uppercase;
}

.site-brand__image .custom-logo-link {
  display: block;
}

.site-brand__image img,
.custom-logo {
	display: block;
	height: auto;
	max-height: 88px;
	max-width: 100%;
	width: auto;
}

.site-brand--monochrome {
  filter: grayscale(1) contrast(1.2);
}

.site-main {
  background: var(--rejpak-white);
}

.homepage {
  border-radius: var(--rejpak-radius) var(--rejpak-radius) 0 0;
  margin-block: clamp(24px, 5vw, 64px) 0;
  padding-block: clamp(28px, 5vw, 58px) clamp(58px, 8vw, 100px);
}

.hero-section {
  margin-inline: auto;
  margin-top: clamp(10px, 2vw, 24px);
  max-width: var(--rejpak-content);
}

.hero-slider {
  isolation: isolate;
  position: relative;
  transform: perspective(1100px) rotateX(0.35deg);
}

.hero-slider__viewport {
  border-radius: var(--rejpak-radius);
  box-shadow: 0 24px 65px rgb(0 0 0 / 28%), 0 7px 0 var(--rejpak-accent);
  overflow: hidden;
}

.hero-slider__track {
  background: #17171b;
  display: flex;
  gap: 18px;
  padding: 0;
  transform: translate3d(0, 0, 0);
  transition: transform 520ms cubic-bezier(0.22, 0.8, 0.25, 1);
  will-change: transform;
}

.hero-slide {
  aspect-ratio: 4 / 3;
  flex: 0 0 calc((100% - 36px) / 3);
  min-height: 0;
  overflow: hidden;
}

.hero-slider--count-2 .hero-slide {
  flex-basis: calc((100% - 18px) / 2);
}

.hero-slider--count-1 .hero-slide {
  aspect-ratio: 16 / 7.2;
  flex-basis: 100%;
}

.hero-slide > a {
  color: var(--rejpak-white);
  display: block;
  height: 100%;
  position: relative;
  text-decoration: none;
}

.hero-slide img,
.media-placeholder--hero {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.hero-slide__shade {
  background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / 88%) 100%);
  inset: 0;
  position: absolute;
}

.hero-slide__content {
  bottom: clamp(24px, 3vw, 38px);
  left: clamp(20px, 3vw, 32px);
  max-width: calc(100% - 44px);
  position: absolute;
}

.hero-slide__content strong {
  display: inline;
  font-size: clamp(20px, 2.2vw, 31px);
  font-weight: 950;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-shadow: 0 3px 20px rgb(0 0 0 / 55%);
}

.hero-slider--count-1 .hero-slide__content {
  bottom: clamp(26px, 5vw, 62px);
  left: clamp(22px, 5vw, 62px);
  max-width: min(780px, 78%);
}

.hero-slider--count-1 .hero-slide__content strong {
  font-size: clamp(26px, 4.4vw, 54px);
  line-height: 1.02;
}

.hero-slider__button {
  align-items: center;
  background: rgb(255 255 255 / 92%);
  border: 0;
  border-radius: 50%;
  color: var(--rejpak-black);
  cursor: pointer;
  display: flex;
  font-size: 34px;
  height: 46px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  z-index: 3;
}

.hero-slider__button:hover {
  background: var(--rejpak-accent);
  color: var(--rejpak-white);
}

.hero-slider__button--prev { left: 16px; }
.hero-slider__button--next { right: 16px; }

.hero-slider__dots {
  bottom: -34px;
  display: flex;
  gap: 8px;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  z-index: 4;
}

.hero-slider__dots button {
  background: #cacace;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: width 180ms ease, background 180ms ease;
  width: 22px;
}

.hero-slider__dots button[aria-current="true"] {
  background: var(--rejpak-accent);
  width: 40px;
}

.section-kicker {
  color: var(--rejpak-accent);
  font-size: 14px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 20px;
  text-transform: uppercase;
}

.homepage-primary-grid {
  align-items: start;
  display: grid;
  gap: clamp(36px, 5.6vw, 64px);
  grid-template-columns: minmax(0, var(--rejpak-reading)) var(--rejpak-sidebar);
  margin: clamp(54px, 7vw, 84px) auto 0;
  max-width: var(--rejpak-content);
}

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

.article-list {
  display: grid;
  gap: 20px;
}

.article-list-card {
  background: var(--rejpak-white);
  border: 1px solid var(--rejpak-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 7%);
  display: grid;
  gap: 24px;
  grid-template-columns: 308px minmax(0, 1fr);
  min-height: 205px;
  overflow: hidden;
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.article-list-card:hover {
  box-shadow: 0 16px 34px rgb(0 0 0 / 13%);
  transform: translateY(-2px);
}

.article-list-card__media {
  aspect-ratio: 308 / 205.15;
  background: #18181c;
  color: var(--rejpak-white);
  overflow: hidden;
}

.article-list-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 400ms ease;
  width: 100%;
}

.article-list-card:hover .article-list-card__media img {
  transform: scale(1.025);
}

.article-list-card__body {
  align-content: center;
  display: grid;
  padding: 18px 22px 18px 0;
}

.article-list-card h2 {
  font-size: clamp(19px, 2vw, 24px);
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.14;
  margin: 0;
}

.article-list-card h2 a,
.editorial-card h3 a,
.editorial-lead h3 a {
  color: var(--rejpak-black);
  text-decoration: none;
}

.animated-link {
  background-image: linear-gradient(var(--rejpak-accent), var(--rejpak-accent));
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  transition: background-size 240ms ease, color 180ms ease;
}

.animated-link:hover,
.animated-link:focus-visible {
  background-size: 100% 1.5px;
  color: var(--rejpak-accent);
}

.article-list-card__body p {
  color: var(--rejpak-muted);
  display: -webkit-box;
  font-size: 14px;
  line-height: 1.45;
  margin: 12px 0 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.article-list-card__body .article-list-card__author {
  color: var(--rejpak-accent);
  display: block;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.03em;
  margin-top: 11px;
  overflow: visible;
  text-transform: uppercase;
}

.homepage-sidebar,
.article-sidebar {
  min-width: 0;
  width: min(100%, var(--rejpak-sidebar));
}

.article-sidebar {
  display: grid;
  gap: 28px;
  position: static;
}

.sidebar-widget {
  background: var(--rejpak-soft);
  border-radius: 12px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 8%);
  overflow: hidden;
  padding: 22px 18px 18px;
  position: relative;
}

.sidebar-widget::before {
  background: var(--rejpak-accent);
  content: "";
  height: 3px;
  inset: 0 0 auto;
  position: absolute;
}

.sidebar-widget .section-kicker {
  margin-bottom: 18px;
}

.sidebar-stories {
  display: grid;
  gap: 0;
}

.sidebar-story {
  align-items: center;
  border-top: 1px solid var(--rejpak-line);
  display: grid;
  gap: 13px;
  grid-template-columns: 92px minmax(0, 1fr);
  padding: 14px 0;
}

.sidebar-story:first-child {
  border-top: 0;
  padding-top: 0;
}

.sidebar-story:last-child {
  padding-bottom: 0;
}

.sidebar-story__media {
  aspect-ratio: 3 / 2;
  border-radius: 8px;
  display: block;
  overflow: hidden;
}

.sidebar-story__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.sidebar-story__media .media-placeholder {
  font-size: 28px;
}

.sidebar-story h3 {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.24;
  margin: 0;
}

.sidebar-story h3 a {
  color: var(--rejpak-black);
  text-decoration: none;
}

.sidebar-widget__empty {
  color: var(--rejpak-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

.purple-divider {
  background: var(--rejpak-accent);
  height: 2px;
  margin: clamp(58px, 8vw, 90px) auto;
  max-width: var(--rejpak-content);
}

.editorial-block {
  margin-inline: auto;
  max-width: 980px;
}

.editorial-lead {
  align-items: center;
  display: grid;
  gap: 40px;
  grid-template-columns: 470px minmax(0, 1fr);
}

.editorial-lead__media {
  aspect-ratio: 470 / 313.02;
  border-radius: 14px;
  box-shadow: 0 16px 34px rgb(0 0 0 / 18%);
  overflow: hidden;
}

.editorial-lead__media img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.editorial-lead__body h3 {
  font-size: clamp(30px, 4vw, 44px);
  font-style: italic;
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.08;
  margin: 0;
}

.editorial-lead__body p {
  color: var(--rejpak-muted);
  font-size: 16px;
  line-height: 1.5;
  margin: 20px 0 0;
}

.editorial-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(4, minmax(0, 215px));
  justify-content: space-between;
  margin-top: 58px;
}

.editorial-card__media {
  aspect-ratio: 215 / 143.19;
  border-radius: 11px;
  display: block;
  overflow: hidden;
}

.editorial-card__media img {
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
  width: 100%;
}

.editorial-card:hover img {
  transform: scale(1.035);
}

.editorial-card h3 {
  font-size: 18px;
  font-weight: 900;
  line-height: 1.22;
  margin: 16px 0 0;
}

.media-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #101014, #2d174f);
  color: var(--rejpak-white);
  display: flex;
  font-size: clamp(44px, 9vw, 110px);
  font-weight: 950;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.load-more-wrap {
  margin-top: 32px;
  text-align: center;
}

.button,
.load-more-button,
.content-search button {
  background: var(--rejpak-black);
  border: 2px solid var(--rejpak-black);
  border-radius: 999px;
  color: var(--rejpak-white);
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  justify-content: center;
  min-height: 48px;
  padding: 12px 25px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.button:hover,
.load-more-button:hover,
.content-search button:hover {
  background: var(--rejpak-accent);
  border-color: var(--rejpak-accent);
  color: var(--rejpak-white);
  transform: translateY(-2px);
}

.load-more-button[disabled] {
  cursor: wait;
  opacity: 0.65;
  transform: none;
}

.singular-main,
.page-main,
.listing-main,
.author-main {
  border-radius: var(--rejpak-radius) var(--rejpak-radius) 0 0;
  margin-top: clamp(24px, 5vw, 64px);
  padding-block: clamp(32px, 5vw, 70px) clamp(60px, 8vw, 110px);
}

.singular-main {
  padding-top: 0;
}

.single-article__visual {
  background: var(--rejpak-white);
  border-radius: 0 0 var(--rejpak-radius) var(--rejpak-radius);
  box-shadow: 0 24px 70px rgb(0 0 0 / 34%);
  isolation: isolate;
  margin-inline: auto;
  overflow: hidden;
  position: relative;
  max-width: 1060px;
  padding: clamp(30px, 5vw, 58px) clamp(20px, 4vw, 40px) clamp(26px, 4vw, 38px);
}

.single-article__visual::before {
  background-image:
    linear-gradient(180deg, rgb(0 0 0 / 88%) 0%, rgb(10 8 7 / 64%) 44%, rgb(10 8 7 / 24%) 78%, rgb(255 255 255 / 0%) 100%),
    var(--rejpak-hero-image, linear-gradient(180deg, #080808, #17130f));
  background-position: center;
  background-size: cover;
  content: "";
  filter: blur(30px);
  height: 78%;
  inset: 0 0 auto;
  opacity: 0.98;
  position: absolute;
  transform: scale(1.08);
  transform-origin: top center;
  z-index: 0;
}

.single-article__visual-content {
  position: relative;
  z-index: 1;
}

.single-article__header {
  margin-inline: auto;
  max-width: 1060px;
}

.single-article__header h1 {
  color: var(--rejpak-white);
  font-size: clamp(34px, 5vw, 48px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 3px 20px rgb(0 0 0 / 56%);
}

.article-byline {
  align-items: center;
  color: rgb(255 255 255 / 72%);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 6px 10px;
  margin-top: 22px;
}

.article-byline a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  color: var(--rejpak-accent);
  font-weight: 850;
  text-decoration: none;
  transition: background-size 240ms ease, color 180ms ease;
}

.article-byline a:hover,
.article-byline a:focus-visible {
  background-size: 100% 1.5px;
  color: var(--rejpak-white);
}

.article-byline time {
  border-left: 1px solid rgb(255 255 255 / 30%);
  margin-left: 5px;
  padding-left: 15px;
}

.single-article__hero {
  margin: clamp(30px, 4.5vw, 50px) auto 0;
  max-width: 980px;
}

.single-article__hero img {
  aspect-ratio: 980 / 653.07;
  border-radius: 14px;
  background: #17120d;
  box-shadow: 0 18px 42px rgb(0 0 0 / 42%);
  object-fit: cover;
  width: 100%;
}

.single-article__hero figcaption {
  color: var(--rejpak-muted);
  font-size: 12.5px;
  line-height: 1.45;
  margin-top: 10px;
}

.single-article__grid {
  align-items: start;
  display: grid;
  gap: clamp(36px, 5.6vw, 64px);
  grid-template-columns: minmax(0, var(--rejpak-reading)) var(--rejpak-sidebar);
  margin: clamp(42px, 6vw, 72px) auto 0;
  max-width: var(--rejpak-content);
}

.article-column {
  min-width: 0;
}

.homepage-primary-grid > *,
.single-article__grid > *,
.listing-grid > *,
.page-grid > *,
.editorial-lead > *,
.editorial-card {
  min-width: 0;
}

.article-content pre,
.article-content table {
  max-width: 100%;
}

.article-content pre {
  overflow-x: auto;
  white-space: pre;
}

.article-content table {
  border-collapse: collapse;
  display: block;
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.article-content iframe,
.article-content video,
.article-content embed,
.article-content object,
.article-content .wp-block-embed,
.article-content .wp-block-embed__wrapper,
.article-content .alignwide,
.article-content .alignfull {
  max-width: 100%;
}

.article-content .alignwide,
.article-content .alignfull {
  margin-left: 0;
  margin-right: 0;
  width: 100%;
}

.article-lead {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.012em;
  line-height: 1.5;
  margin: 0 0 30px;
}

.article-content {
  font-size: 18.5px;
  line-height: 1.72;
}

.article-content > :first-child {
  margin-top: 0;
}

.article-content p {
  margin: 0 0 1.48em;
}

.article-content a,
.related-topics a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  color: var(--rejpak-accent);
  text-decoration: none;
  transition: background-size 240ms ease, color 180ms ease;
}

.article-content a:hover,
.article-content a:focus-visible,
.related-topics a:hover,
.related-topics a:focus-visible {
  background-size: 100% 1.5px;
  color: var(--rejpak-accent);
}

.article-content h2,
.article-content h3 {
  color: var(--rejpak-accent);
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  margin: 2em 0 0.78em;
  text-wrap: balance;
}

.article-content blockquote,
.article-content .wp-block-quote {
  border-left: 3px solid var(--rejpak-accent);
  color: #242429;
  font-family: var(--rejpak-font);
  font-size: 20px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
  margin: 2.1rem 0;
  padding: 0.65rem 0 0.65rem 1.4rem;
}

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

.article-content figure,
.article-content .wp-block-image {
  margin: 2rem 0;
}

.article-content figcaption {
  color: var(--rejpak-muted);
  font-size: 12.5px;
  line-height: 1.45;
  margin-top: 8px;
  text-align: left;
}

.article-content ul,
.article-content ol {
  margin: 1.4rem 0;
  padding-left: 1.35em;
}

.article-content li + li {
  margin-top: 0.55em;
}

.related-topics {
  border-block: 1px solid var(--rejpak-line);
  display: flex;
  flex-wrap: wrap;
  font-size: 14.5px;
  gap: 8px;
  margin-top: 42px;
  padding-block: 20px;
}

.article-share {
  align-items: center;
  background: var(--rejpak-white);
  border-block: 1px solid var(--rejpak-accent);
  color: var(--rejpak-accent);
  display: flex;
  font-size: 14.5px;
  justify-content: space-between;
  min-height: 48px;
  padding: 7px 10px 7px 14px;
  width: 100%;
}

.article-share--before-lead {
  margin-bottom: 20px;
}

.article-share--after-article {
  margin-top: 35px;
}

.article-share strong {
  font-weight: 900;
}

.article-share__links {
  align-items: center;
  display: flex;
  gap: 8px;
}

.article-share__links a {
  align-items: center;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  color: var(--rejpak-accent);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  transition: color 180ms ease, transform 180ms ease;
  width: 32px;
}

.article-share__links a:hover,
.article-share__links a:focus-visible {
  color: var(--rejpak-black);
  transform: translateY(-1px);
}

.article-share__links svg {
  height: 18px;
  width: 18px;
}

.related-topics a {
  font-weight: 750;
  text-decoration: none;
}

.author-card {
  align-items: start;
  background: var(--rejpak-soft);
  border-left: 3px solid var(--rejpak-accent);
  border-radius: 12px;
  display: grid;
  gap: 22px;
  grid-template-columns: 76px minmax(0, 1fr);
  margin-top: 42px;
  padding: 24px;
}

.author-card img {
  border-radius: 50%;
  height: 76px;
  object-fit: cover;
  width: 76px;
}

.author-avatar {
  align-items: center;
  background: var(--rejpak-black);
  border: 3px solid var(--rejpak-accent);
  border-radius: 50%;
  color: var(--rejpak-white);
  display: inline-flex;
  font-size: 22px;
  font-weight: 950;
  height: 76px;
  justify-content: center;
  letter-spacing: -0.04em;
  width: 76px;
}

.author-card__eyebrow,
.author-profile__role {
  color: var(--rejpak-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  margin: 0 0 5px;
  text-transform: uppercase;
}

.author-card h2 {
  font-size: 22px;
  margin: 0;
}

.author-card h2 a {
  color: var(--rejpak-black);
}

.author-card p:last-child {
  color: var(--rejpak-muted);
  font-size: 14px;
  line-height: 1.5;
  margin: 9px 0 0;
}

.content-page,
.listing-main > *,
.author-main > * {
  margin-inline: auto;
  max-width: 980px;
}

.listing-main > .listing-grid,
.page-main > .page-grid {
  margin-inline: auto;
  max-width: var(--rejpak-content);
}

.listing-grid,
.page-grid {
  align-items: start;
  display: grid;
  gap: clamp(36px, 5.6vw, 64px);
  grid-template-columns: minmax(0, var(--rejpak-reading)) var(--rejpak-sidebar);
}

.listing-content,
.content-page {
  margin: 0;
  min-width: 0;
}

.content-page > header h1,
.listing-header h1,
.author-profile h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 950;
  letter-spacing: -0.045em;
  line-height: 1.05;
  margin: 0 0 38px;
}

.content-page .article-content {
  max-width: 760px;
}

.editorial-team-grid {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}

.editorial-team-card {
  background: var(--rejpak-soft);
  border-left: 3px solid var(--rejpak-accent);
  border-radius: 10px;
  padding: 20px 22px;
}

.editorial-team-card__role {
  color: var(--rejpak-accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.07em;
  margin: 0 0 5px !important;
  text-transform: uppercase;
}

.editorial-team-card h3 {
  color: var(--rejpak-black);
  font-size: 22px;
  margin: 0 0 9px;
}

.editorial-team-card h3 a {
  color: inherit;
}

.editorial-team-card > p:last-child {
  color: var(--rejpak-muted);
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
}

.listing-header {
  margin-bottom: 36px;
}

.listing-header h1 {
  margin-bottom: 12px;
}

.archive-description {
  color: var(--rejpak-muted);
}

.article-list--archive {
  max-width: 640px;
}

.navigation.pagination {
  margin-top: 38px;
  max-width: 640px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-numbers {
  align-items: center;
  border: 1px solid var(--rejpak-line);
  border-radius: 8px;
  color: var(--rejpak-black);
  display: inline-flex;
  font-weight: 750;
  min-height: 42px;
  padding: 8px 13px;
  text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
  background: var(--rejpak-accent);
  border-color: var(--rejpak-accent);
  color: var(--rejpak-white);
}

.author-profile {
  align-items: center;
  background: var(--rejpak-soft);
  border-radius: 16px;
  display: grid;
  gap: 30px;
  grid-template-columns: 160px minmax(0, 1fr);
  margin-bottom: 56px;
  padding: clamp(24px, 4vw, 44px);
}

.author-profile img {
  border-radius: 50%;
  height: 160px;
  object-fit: cover;
  width: 160px;
}

.author-profile .author-avatar {
  font-size: 42px;
  height: 160px;
  width: 160px;
}

.author-profile h1 {
  margin: 0;
}

.author-profile div > p:last-child {
  color: var(--rejpak-muted);
  font-size: 16px;
  line-height: 1.55;
  margin-bottom: 0;
}

.empty-state {
  background: var(--rejpak-soft);
  border: 1px solid var(--rejpak-line);
  border-radius: 14px;
  padding: clamp(26px, 5vw, 52px);
  text-align: center;
}

.empty-state > strong {
  display: block;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 950;
}

.error-code {
  color: var(--rejpak-accent);
  font-size: clamp(72px, 15vw, 170px);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.8;
  margin: 0 0 30px;
}

.content-search {
  margin: 28px auto;
  max-width: 520px;
  text-align: left;
}

.content-search > label {
  display: block;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 8px;
}

.content-search > div {
  display: flex;
  gap: 10px;
}

.content-search input {
  border: 1px solid var(--rejpak-line);
  border-radius: 8px;
  min-width: 0;
  padding: 11px 13px;
  width: 100%;
}

.site-footer {
  background: var(--rejpak-black);
  color: var(--rejpak-white);
}

.site-footer__inner {
  max-width: 1500px;
  padding-block: 50px 36px;
}

.footer-nav {
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  padding-bottom: 34px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px 16px;
  justify-content: center;
  white-space: nowrap;
}

.footer-nav li {
  align-items: center;
  display: inline-flex;
  flex: 0 0 auto;
  gap: 16px;
}

.footer-nav li:not(:last-child)::after {
  color: var(--rejpak-accent);
  content: "|";
  font-weight: 900;
}

.footer-nav a {
  background-image: linear-gradient(currentColor, currentColor);
  background-position: 0 100%;
  background-repeat: no-repeat;
  background-size: 0 1.5px;
  color: var(--rejpak-accent);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background-size 240ms ease, color 180ms ease;
}

@media (min-width: 721px) and (max-width: 1199px) {
  .footer-nav ul {
    flex-wrap: wrap;
    gap: 8px 10px;
    white-space: normal;
  }

  .footer-nav li {
    flex: 0 1 auto;
    gap: 10px;
  }

  .footer-nav a {
    font-size: 12px;
    white-space: normal;
  }
}

.footer-nav a:hover {
  background-size: 100% 1.5px;
  color: var(--rejpak-white);
}

.site-footer__brand {
  display: flex;
  justify-content: center;
  margin: 40px 0 26px;
}

.site-footer .site-brand {
  color: var(--rejpak-white);
}

.site-footer .site-brand__text small {
  color: rgb(255 255 255 / 65%);
}

.copyright-notice {
  color: rgb(255 255 255 / 70%);
  font-size: 11.5px;
  line-height: 1.6;
  margin-inline: auto;
  max-width: 980px;
  text-align: center;
}

.copyright-notice p {
  margin: 0.55em 0;
}

.copyright-notice a {
  color: var(--rejpak-accent);
  font-weight: 750;
}

.copyright-notice a:hover,
.copyright-notice a:focus-visible {
  color: var(--rejpak-white);
  text-decoration-color: currentColor;
}

.drawer-signoff .copyright-notice {
  color: rgb(255 255 255 / 62%);
  font-size: 10px;
  margin-top: 24px;
}

.drawer-signoff .copyright-notice a {
  color: var(--rejpak-accent);
}

.drawer-signoff .site-brand {
  color: var(--rejpak-white);
}

.drawer-signoff .site-brand__text small {
  color: rgb(255 255 255 / 62%);
}

.drawer-signoff .site-brand--monochrome {
  filter: grayscale(1) brightness(0) invert(1);
}

.rejpak-ad-slot {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-inline: auto;
  max-width: 100%;
  overflow: hidden;
  position: relative;
  text-align: center;
}

.rejpak-ad-slot:empty,
.rejpak-ad-slot[data-empty="true"] {
  display: none;
}

.rejpak-ad-slot iframe,
.rejpak-ad-slot img,
.rejpak-ssp-zone iframe,
.rejpak-ssp-zone img {
  margin-inline: auto;
  max-width: 100%;
}

.rejpak-ssp-zone {
  display: block;
  max-width: 100%;
  overflow: hidden;
  position: static;
  text-align: center;
}

.rejpak-ssp-zone > div {
  margin-inline: auto;
  max-width: 100%;
}

.rejpak-ssp-zone--sidebar {
  min-height: 600px;
  width: min(100%, 300px);
}

.rejpak-ssp-zone--article_end {
  margin: 35px auto;
  min-height: 200px;
  width: min(100%, 500px);
}

.rejpak-ad-slot--sidebar {
  max-width: 300px;
  min-height: 300px;
  width: 100%;
}

.rejpak-ad-slot--after_lead,
.rejpak-ad-slot--article_end {
  margin-block: 32px;
  max-width: 480px;
}

.load-more-status {
  color: var(--rejpak-muted);
  font-size: 13px;
  margin: 12px 0 0;
  min-height: 1.5em;
}

.single-more {
  border-top: 3px solid var(--rejpak-accent);
  margin-top: clamp(46px, 6vw, 68px);
  padding-top: 28px;
}

.single-more__title {
  font-size: 17px;
  font-style: normal;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
  text-transform: none;
}

.single-more__list {
  gap: 18px;
}

.single-more__controls {
  margin-top: 30px;
}

.single-more .load-more-button {
  background: var(--rejpak-black);
  border-color: var(--rejpak-black);
  min-width: 170px;
}

.single-more .load-more-button:hover,
.single-more .load-more-button:focus-visible {
  background: var(--rejpak-accent);
  border-color: var(--rejpak-accent);
}

.single-editorial-divider {
  margin-block: clamp(64px, 9vw, 110px) clamp(34px, 5vw, 54px);
}

.single-editorial-block {
  padding-bottom: clamp(8px, 2vw, 24px);
  width: 100%;
}

@media (max-width: 1100px) {
  .homepage-primary-grid,
  .single-article__grid,
  .listing-grid,
  .page-grid {
    gap: 38px;
    grid-template-columns: minmax(0, 640px) 300px;
  }

  .homepage-sidebar,
  .article-sidebar {
    width: min(100%, 300px);
  }
}

@media (max-width: 1020px) {
  .utility-bar__inner {
    grid-template-columns: minmax(180px, 1fr) minmax(240px, 360px) auto;
  }

  .homepage-primary-grid,
  .single-article__grid,
  .listing-grid,
  .page-grid {
    grid-template-columns: minmax(0, 640px);
    justify-content: center;
  }

  .homepage-sidebar,
  .article-sidebar {
    justify-self: center;
  }

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

  .editorial-card__media {
    aspect-ratio: 215 / 143.19;
  }
}

@media (max-width: 900px) {
  .hero-slide,
  .hero-slider--count-2 .hero-slide {
    flex-basis: calc((100% - 18px) / 2);
  }

  .hero-slider--count-1 .hero-slide {
    flex-basis: 100%;
  }
}

@media (max-width: 820px) {
  .utility-bar__inner {
    gap: 14px;
    grid-template-columns: minmax(150px, 1fr) minmax(180px, 300px);
  }

  .utility-clock {
    display: none;
  }

  .editorial-lead {
    gap: 28px;
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding-inline: 16px;
  }

  .single-editorial-divider {
    margin-block: 54px 30px;
  }

  .footer-nav ul {
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    white-space: normal;
  }

  .footer-nav li {
    gap: 0;
    max-width: 100%;
  }

  .footer-nav a {
    text-align: center;
    white-space: normal;
  }

  .footer-nav li:not(:last-child)::after {
    content: none;
  }

  .utility-brand strong {
    display: none;
  }

  .utility-bar__inner {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .masthead {
    min-height: 92px;
  }

  .homepage,
  .singular-main,
  .page-main,
  .listing-main,
  .author-main {
    border-radius: 0;
    margin-top: 18px;
  }

  .hero-slider {
    transform: none;
  }

  .hero-slider__viewport {
    border-radius: 11px;
    box-shadow: 0 14px 34px rgb(0 0 0 / 24%), 0 5px 0 var(--rejpak-accent);
  }

  .hero-slide__content {
    bottom: 28px;
    left: 20px;
    max-width: 80%;
  }

  .hero-slider__button {
    height: 40px;
    width: 40px;
  }

  .article-list-card {
    gap: 0;
    grid-template-columns: 1fr;
  }

  .article-list-card__media {
    aspect-ratio: 3 / 2;
  }

  .article-list-card__body {
    padding: 20px;
  }

  .article-list-card__body p {
    -webkit-line-clamp: 2;
  }

  .editorial-lead {
    grid-template-columns: 1fr;
  }

  .editorial-lead__media {
    aspect-ratio: 3 / 2;
  }

  .single-article__header h1 {
    font-size: clamp(32px, 9vw, 43px);
  }

  .article-sidebar,
  .homepage-sidebar {
    max-width: 100%;
  }

  .author-profile {
    align-items: start;
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .author-profile img {
    height: 100px;
    width: 100px;
  }

  .author-profile .author-avatar {
    font-size: 30px;
    height: 100px;
    width: 100px;
  }
}

@media (max-width: 600px) {
  .hero-slide,
  .hero-slider--count-2 .hero-slide,
  .hero-slider--count-1 .hero-slide {
    aspect-ratio: 4 / 3;
    flex-basis: 100%;
  }

  .hero-slider--count-1 .hero-slide__content {
    bottom: 28px;
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .hero-slider--count-1 .hero-slide__content strong {
    font-size: clamp(24px, 8vw, 38px);
    line-height: 1.04;
  }
}

@media (max-width: 520px) {
  .header-search {
    min-height: 38px;
  }

  .article-share {
    gap: 10px;
  }

  .load-more-button {
    max-width: 100%;
  }

  .header-search input {
    font-size: 14px;
  }

  .site-drawer__inner {
    max-width: 100%;
  }

  .site-brand__mark {
    box-shadow: 0 6px 0 #2e0f61;
  }

  .hero-slider__button {
    display: none;
  }

  .hero-slide__content {
    max-width: calc(100% - 40px);
  }

  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .editorial-card {
    display: grid;
    gap: 16px;
    grid-template-columns: 42% minmax(0, 1fr);
  }

  .editorial-card h3 {
    align-self: center;
    margin: 0;
  }

  .article-byline {
    align-items: flex-start;
    flex-direction: column;
  }

  .article-byline time {
    border-left: 0;
    margin-left: 0;
    padding-left: 0;
  }

  .article-content {
    font-size: 18px;
    line-height: 1.68;
  }

  .author-card,
  .author-profile {
    grid-template-columns: 1fr;
  }

  .content-search > div {
    align-items: stretch;
    flex-direction: column;
  }

  .footer-nav ul {
    align-items: center;
    flex-direction: column;
    white-space: normal;
  }

  .footer-nav li {
    gap: 0;
    max-width: 100%;
  }

  .footer-nav a {
    white-space: normal;
  }

  .footer-nav li:not(:last-child)::after {
    content: none;
  }

  .rejpak-ssp-zone--sidebar {
    min-height: min(600px, 200vw);
  }
}

@media (max-width: 720px) {
  body {
    background-attachment: scroll;
    background-image:
      radial-gradient(ellipse at -12% 18%, rgb(115 36 225 / 29%) 0%, transparent 36%),
      radial-gradient(ellipse at 112% 67%, rgb(102 31 198 / 25%) 0%, transparent 38%),
      linear-gradient(90deg, #08050c 0%, #030204 25%, #010102 50%, #030204 75%, #08050c 100%);
    background-size: 100% 100%, 100% 100%, cover;
  }
}

/* Cookie consent — compact desktop bar, fully fluid below 1100 px. */
.cookie-consent {
  align-items: center;
  background: rgb(18 15 24 / 98%);
  border: 1px solid rgb(122 44 255 / 76%);
  border-radius: 10px;
  bottom: 14px;
  box-shadow: 0 18px 46px rgb(0 0 0 / 38%), 0 0 0 1px rgb(255 255 255 / 3%) inset;
  color: #f7f5fb;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(0, 1fr) auto;
  height: 50px;
  left: 50%;
  max-width: 1100px;
  padding: 7px 8px 7px 18px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  z-index: 10000;
}

.cookie-consent[hidden] {
  display: none !important;
}

.cookie-consent__text {
  color: #e7e3ee;
  font-size: 12px;
  line-height: 1.35;
  margin: 0;
  min-width: 0;
}

.cookie-consent__text a {
  color: #a978ff;
  font-weight: 800;
  text-decoration-color: rgb(169 120 255 / 58%);
  text-underline-offset: 0.18em;
}

.cookie-consent__text a:hover,
.cookie-consent__text a:focus-visible {
  color: #fff;
}

.cookie-consent__actions {
  align-items: center;
  display: flex;
  gap: 8px;
}

.cookie-consent__button {
  align-items: center;
  border: 1.5px solid var(--rejpak-accent);
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  letter-spacing: 0.035em;
  min-width: 92px;
  padding: 0 14px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.cookie-consent__button--accept {
  background: var(--rejpak-accent);
  color: #fff;
}

.cookie-consent__button--reject {
  background: transparent;
  color: #d9c8f8;
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  background: #fff;
  border-color: #fff;
  color: #120b1d;
  transform: translateY(-1px);
}

.cookie-settings {
  align-items: center;
  background: #17121f;
  border: 2px solid var(--rejpak-accent);
  border-radius: 50%;
  bottom: 16px;
  box-shadow: 0 10px 28px rgb(0 0 0 / 34%);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  left: 16px;
  padding: 0;
  position: fixed;
  transition: background 160ms ease, bottom 180ms ease, color 160ms ease, transform 160ms ease;
  width: 44px;
  z-index: 10001;
}

.cookie-settings:hover,
.cookie-settings:focus-visible {
  background: var(--rejpak-accent);
  color: #fff;
  transform: translateY(-2px);
}

.rejpak-cookie-banner-visible .cookie-settings {
  bottom: calc(var(--rejpak-cookie-banner-height, 50px) + 26px);
}

@media (max-width: 760px) {
  .cookie-consent {
    bottom: 10px;
    gap: 11px;
    grid-template-columns: 1fr;
    height: auto;
    max-width: none;
    min-height: 50px;
    padding: 13px 14px;
    width: calc(100% - 20px);
  }

  .cookie-consent__text {
    font-size: 12.5px;
    line-height: 1.45;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  .cookie-consent__button {
    min-width: 0;
    width: 100%;
  }

  .cookie-settings {
    bottom: 12px;
    height: 42px;
    left: 12px;
    width: 42px;
  }

  .rejpak-cookie-banner-visible .cookie-settings {
    bottom: calc(var(--rejpak-cookie-banner-height, 110px) + 22px);
  }
}

@media (max-width: 360px) {
  .cookie-consent {
    padding: 12px;
  }

  .cookie-consent__text {
    font-size: 12px;
  }

  .cookie-consent__button {
    font-size: 10.5px;
    padding-inline: 9px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .utility-bar,
  .site-drawer,
  .header-ad,
  .masthead,
  .article-sidebar,
  .footer-ad,
  .site-footer,
  .rejpak-ad-slot,
  .rejpak-ssp-zone,
  .article-share,
  .cookie-consent,
  .cookie-settings {
    display: none !important;
  }

  body,
  .site-main {
    background: #fff;
  }

  .single-article__grid {
    display: block;
  }

  a {
    color: #000;
  }
}

/*
 * Performance stability 2.1.4
 *
 * The desktop header SSP position is configured as 970 x 310. Reserving its
 * geometry before the asynchronous advertising creative arrives prevents the
 * masthead and homepage content from being pushed down after first paint.
 * Mobile is intentionally untouched because it uses a different advertising
 * layout and its measured CLS is already stable.
 */
@media (min-width: 1021px) {
  .header-ad {
    min-height: calc(310px + clamp(18px, 3vw, 38px) + clamp(18px, 3vw, 38px));
  }
}
