@font-face {
  font-family: 'Popfine';
  src: url('../fonts/POPFINE-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Popfine';
  src: url('../fonts/POPFINE-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

/* Raleway (variable, 100–900) from the site's own /assets/fonts instead of Google Fonts. */
@font-face {
  font-family: 'Raleway';
  src: url('/kalkulacka/assets/fonts/raleway-latin-ext-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Raleway';
  src: url('/kalkulacka/assets/fonts/raleway-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Caveat (handwritten, variable 400–700). Not used by any element yet: apply .font-caveat or
   var(--font-handwritten). The browser downloads it only when something on the page uses it. */
@font-face {
  font-family: 'Caveat';
  src: url('/kalkulacka/assets/fonts/caveat-latin-ext-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Caveat';
  src: url('/kalkulacka/assets/fonts/caveat-latin-wght-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root { --font-handwritten: 'Caveat', 'Segoe Script', 'Comic Sans MS', cursive; }
.font-caveat { font-family: var(--font-handwritten); }

:root {
  --blue: #0647f7;
  --blue-deep: #001b83;
  --ink: #081944;
  --muted: #53617f;
  --lime: #b4ff00;
  --line: #dde5f4;
  --soft: #f5f8ff;
  --shadow: 0 22px 60px rgba(11, 35, 95, .13);
  --page: #fff;
  --surface: #fff;
  --surface-soft: #f7f9ff;
  --heading: #0a1c4c;
}

:root[data-theme="dark"] {
  --ink: #f2f6ff;
  --muted: #aab7d2;
  --line: rgba(178, 195, 232, .2);
  --soft: #101b36;
  --shadow: 0 24px 70px rgba(0, 0, 0, .34);
  --page: #002567;
  --surface: #0d1933;
  --surface-soft: #101d3a;
  --heading: #f8fbff;
  color-scheme: dark;
}

@property --starfish-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Raleway, Arial, sans-serif;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
  background: var(--page);
  padding-top: 72px;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(1180px, calc(100% - 44px));
  margin: 0 auto;
}

.site-header {
  --header-alpha: 1;
  background: linear-gradient(
    110deg,
    rgba(6, 79, 247, var(--header-alpha)) 0%,
    rgba(0, 57, 216, var(--header-alpha)) 48%,
    rgba(9, 88, 255, var(--header-alpha)) 100%
  );
  color: #fff;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  transition: background .18s linear;
}

body.admin-bar {
  padding-top: 104px;
}

body.home.blog.logged-in.admin-bar.wp-theme-visualspace-blog-theme-wp.customize-support {
  padding-top: 0;
}

body.wp-singular.post-template-default.single.single-post.postid-22.single-format-standard.logged-in.admin-bar.wp-theme-visualspace-blog-theme-wp.customize-support {
  padding: 0;
}

body.admin-bar .site-header {
  top: 32px;
}

.nav {
  min-height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  display: block;
  width: min(168px, 100%);
  height: auto;
}

.nav-pills {
  display: flex;
  justify-content: center;
  gap: 14px;
}

.nav-pills li {
  list-style: none;
}

.nav-pills a {
  min-width: 88px;
  border-radius: 999px;
  padding: 12px 18px;
  background: transparent;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
  position: relative;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
  text-align: center;
  transition: box-shadow .3s ease, transform .3s ease;
}

.nav-pills a::before,
.nav-pills a::after {
  content: '';
  position: absolute;
  pointer-events: none;
}

.nav-pills a::before {
  width: 220%;
  aspect-ratio: 1;
  left: 50%;
  top: 50%;
  z-index: -2;
  opacity: 0;
  background: conic-gradient(
    from 0deg,
    #0041dc 0 24%,
    #ff00fa 34% 57%,
    #b4ff00 67% 90%,
    #0041dc 100%
  );
  filter: blur(2px);
  transform: translate(-50%, -50%);
}

.nav-pills a::after {
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(0, 18, 91, .82);
  transition: inset .25s ease, background .25s ease;
}

.nav-pills a:hover,
.nav-pills a:focus-visible {
  transform: translateY(-1px);
}

.nav-pills a:hover::before,
.nav-pills a:focus-visible::before {
  opacity: 1;
  animation: nav-pill-spin 3.2s linear infinite;
}

.nav-pills a:hover::after,
.nav-pills a:focus-visible::after {
  inset: 3px;
  background: #232d41;
}

@keyframes nav-pill-spin {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-pills a:hover::before,
.nav-pills a:focus-visible::before {
    animation: none;
  }
}

.nav-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  padding: 0;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: rgba(0, 18, 91, .64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px rgba(0, 20, 90, .2);
  cursor: pointer;
}

/* Sun in light mode, moon in dark mode; both stacked in one cell and swapped with a turn. */
.theme-toggle-icon {
  grid-area: 1 / 1;
  width: 22px;
  height: 22px;
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1), opacity .25s ease;
}

.theme-toggle-moon {
  color: var(--lime);
  opacity: 0;
  transform: rotate(-90deg) scale(.4);
}

:root[data-theme="dark"] .theme-toggle-sun {
  opacity: 0;
  transform: rotate(90deg) scale(.4);
}

:root[data-theme="dark"] .theme-toggle-moon {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle-icon {
    transition: opacity .2s ease;
  }
}

.theme-toggle:hover {
  background: rgba(0, 18, 91, .78);
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  background: rgba(0, 18, 91, .64);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px rgba(0, 20, 90, .2);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform .2s ease, opacity .2s ease;
}

.menu-toggle:hover,
.nav.is-menu-open .menu-toggle {
  background: rgba(0, 18, 91, .78);
}

.nav.is-menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav.is-menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.nav.is-menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  min-height: 702px;
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(255, 255, 255, .78) 42%, rgba(255, 255, 255, .16) 100%),
    url('/blog/media/2026/05/indexBG_Light.png') center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 60px;
}

.hero-copy h1 {
  max-width: 690px;
  margin: 0 0 26px;
  color: #0a1c4c;
  font-size: clamp(34px, 3vw, 46px);
  line-height: 1.17;
  font-weight: 900;
  letter-spacing: -.02em;
}

.hero-copy p {
  max-width: 420px;
  margin: 0 0 34px;
  color: #2d3a5f;
  font-size: 18px;
  line-height: 1.45;
}

.primary-cta,
.newsletter button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 25px;
  color: #fff;
  background: linear-gradient(100deg, #0041dc, #003bd6);
  box-shadow: 0 12px 22px rgba(0, 63, 224, .24);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.arrow-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: currentColor;
  flex: 0 0 auto;
  transition: transform .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease;
}

.arrow-icon svg {
  width: 13px;
  height: 15px;
  transform: rotate(90deg);
  transition: transform .3s ease;
}

.arrow-icon path {
  fill: currentColor;
}

.arrow-icon.compact {
  width: 28px;
  height: 28px;
  border-color: transparent;
}

.primary-cta:hover .arrow-icon,
.newsletter button:hover .arrow-icon {
  color: var(--blue);
  background: #fff;
  border-color: #fff;
  transform: scale(1.04);
}

.primary-cta:hover .arrow-icon svg,
.newsletter button:hover .arrow-icon svg {
  transform: rotate(135deg);
}

.hero-art {
  min-height: 330px;
}

.hero-art picture,
.hero-art img {
  display: none;
}

.hero-art img {
  object-fit: cover;
  object-position: center;
}

.lime-disc {
  width: 205px;
  height: 205px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 22%, #d9ff2d, #a9ef00 64%, #87d900);
  position: absolute;
  right: 105px;
  top: 44px;
}

.cube {
  width: 54px;
  height: 40px;
  background: linear-gradient(145deg, #f8f8f8, #d4d4d4);
  position: absolute;
  transform: skewY(-8deg);
}

.sphere {
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #fff, #d4d4d4 72%);
  position: absolute;
}

.mug {
  width: 160px;
  height: 156px;
  border-radius: 18px 18px 36px 28px;
  background: linear-gradient(125deg, #061a8a 0%, #095cff 50%, #0037ce 100%);
  position: absolute;
  right: 245px;
  top: 88px;
  transform: rotate(-10deg);
  box-shadow: inset 12px -16px 32px rgba(0, 0, 0, .18);
}

.mug-lip {
  width: 150px;
  height: 48px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 52%, #001063 0 38%, #0b68ff 39% 76%, #71a2ff 100%);
  position: absolute;
  left: 5px;
  top: -20px;
}

.handle {
  width: 82px;
  height: 98px;
  border: 18px solid #0041df;
  border-left: 0;
  border-radius: 0 44px 44px 0;
  position: absolute;
  right: -58px;
  top: 28px;
}

.articles {
  padding: 55px 0 76px;
}

.articles-archive {
  padding-top: 42px;
}

.catalog-home-banner {
  display: block;
  width: 100%;
  margin: 0 0 46px;
  border: 1px solid rgba(6, 77, 255, .35);
  border-radius: 8px;
  overflow: hidden;
  background: #002567;
  box-shadow: 0 22px 60px rgba(6, 38, 130, .14);
  color: #fff;
  position: relative;
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.catalog-home-banner picture,
.catalog-home-banner img {
  display: block;
  width: 100%;
}

.catalog-home-banner img {
  aspect-ratio: 16 / 3.9;
  object-fit: cover;
  object-position: center;
}

.catalog-home-banner-copy {
  width: min(420px, 46%);
  position: absolute;
  left: 5%;
  top: 50%;
  z-index: 2;
  display: grid;
  justify-items: start;
  transform: translateY(-50%);
}

.catalog-home-banner-title {
  max-width: 390px;
  color: #fff;
  font-family: Popfine, Raleway, Arial, sans-serif;
  font-size: clamp(34px, 4.8vw, 67px);
  line-height: .96;
  letter-spacing: .1em;
  font-weight: 500;
  text-transform: uppercase;
  white-space: normal;
}

.catalog-home-banner-title span,
.catalog-home-banner-title strong {
  display: block;
}

.catalog-home-banner-title span {
  color: #fff;
}

.catalog-home-banner-title strong {
  color: var(--lime);
  font-weight: 500;
}

.catalog-home-banner-next {
  position: absolute;
  right: 2.4%;
  top: 50%;
  z-index: 2;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .04);
  transform: translateY(-50%);
  isolation: isolate;
  overflow: hidden;
  transition: color .3s ease, border-color .3s ease, transform .3s ease;
}

.catalog-home-banner-next::before {
  content: "";
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  position: absolute;
  left: -110%;
  top: 0;
  z-index: -1;
  transition: left .45s ease, transform .55s ease;
}

.catalog-home-banner-next .arrow-icon {
  border: 0;
  width: 100%;
  height: 100%;
}

.catalog-home-banner:hover {
  border-color: rgba(183, 255, 0, .65);
  box-shadow: 0 28px 70px rgba(6, 38, 130, .24);
  transform: translateY(-3px);
}

.catalog-home-banner:hover .catalog-home-banner-next {
  color: var(--ink);
  border-color: transparent;
  transform: translateY(-50%) translateY(-1px);
}

.catalog-home-banner:hover .catalog-home-banner-next::before {
  left: 0;
  transform: scale(1.55);
}

.catalog-home-banner:hover .catalog-home-banner-next .arrow-icon svg {
  transform: rotate(135deg);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2,
.newsletter-copy h2 {
  margin: 0;
  color: #0a1c4c;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.1;
  font-weight: 900;
}

.section-head a {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.section-head a span {
  color: var(--ink);
}

.featured-grid {
  display: grid;
  grid-template-columns: minmax(0, 60%) minmax(0, 1fr);
  gap: 22px;
  margin-bottom: 26px;
}

.home-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: start;
}

.home-posts {
  min-width: 0;
}

.home-sidebar {
  position: static;
}

.post-card,
.post-tile,
.newsletter,
.external-feed {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.post-card {
  min-height: 360px;
  position: relative;
}

.post-card,
.post-tile {
  position: relative;
  isolation: isolate;
  box-shadow: 0 16px 34px rgba(8, 25, 68, .08);
  transition: transform .34s ease, box-shadow .34s ease, border-color .34s ease;
}

.post-card::before,
.post-tile::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 4;
  border-radius: inherit;
  padding: 2px;
  pointer-events: none;
  opacity: 0;
  background:
    conic-gradient(from var(--starfish-angle, 0deg), transparent 0 16%, rgba(183, 255, 0, .95) 21%, transparent 28% 48%, rgba(6, 77, 255, .95) 54%, transparent 62% 78%, rgba(255, 255, 255, .9) 84%, transparent 92% 100%);
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: opacity .34s ease;
  animation: visualspace-starfish-spin 3.8s linear infinite;
}

.post-card::after,
.post-tile::after {
  content: "";
  width: 180px;
  height: 180px;
  position: absolute;
  right: -64px;
  top: -72px;
  z-index: 3;
  border-radius: 42% 58% 48% 52%;
  pointer-events: none;
  display: none;
}

.post-card:hover,
.post-tile:hover {
  border-color: rgba(183, 255, 0, .65);
  box-shadow: 0 24px 54px rgba(6, 38, 130, .18);
  transform: translateY(-5px);
}

.post-card:hover::before,
.post-card:hover::after,
.post-tile:hover::before,
.post-tile:hover::after {
  opacity: 1;
}

@keyframes visualspace-starfish-spin {
  to {
    --starfish-angle: 360deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .post-card::before,
.post-tile::before,
.external-feed-icon::before,
.external-feed-icon::after {
    animation: none;
  }

  .post-card,
.post-tile,
.tile-image {
    transition-duration: .01ms;
  }
}

.card-hit {
  display: block;
  min-height: inherit;
  color: inherit;
  position: relative;
  z-index: 1;
}

.post-card.large {
  min-height: 365px;
}

.post-card.tall {
  min-height: 365px;
}

.post-card.featured-box {
  min-height: 364px;
}

.post-card.featured-box-wide {
  grid-column: span 1;
}

.post-card.featured-box-narrow {
  grid-column: span 1;
}

.featured-box .card-hit {
  display: block;
  min-height: inherit;
  position: relative;
}

.featured-media {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  transition: transform .42s ease, filter .42s ease;
}

.featured-box:hover .featured-media {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.035);
}

.featured-body {
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 20px 20px 18px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 12px;
  color: #fff;
  background: linear-gradient(180deg, rgba(4, 10, 28, .08), rgba(4, 10, 28, .56));
}

.featured-copy {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.featured-body h3 {
  margin: 0;
  font-size: 21px;
  line-height: 1.15;
  font-weight: 900;
  height: 2.3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.featured-body p {
  margin: 0;
  height: 4.35em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  font-size: 14px;
  line-height: 1.45;
}

.featured-body .round-link {
  width: 38px;
  height: 38px;
  color: #fff;
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .28);
  flex: 0 0 auto;
}

.featured-body .meta time {
  color: #fff;
  background: rgba(0, 11, 48, .78);
}

.featured-body .meta span {
  color: #041c4c;
  background: var(--lime);
}

.meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.meta time,
.meta span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.meta time {
  color: #fff;
  background: rgba(0, 13, 57, .72);
  font-weight: 700;
}

.meta span {
  color: #fff;
  background: #232d41;
  box-shadow: 0 0 12px rgba(255, 0, 250, .24), 0 0 16px rgba(180, 255, 0, .18);
}

.round-link,
.tile-link {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, .15);
  border: 1px solid rgba(255, 255, 255, .25);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color .3s ease, border-color .3s ease, transform .3s ease;
}

.round-link::before,
.tile-link::before {
  content: "";
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--lime);
  position: absolute;
  left: -110%;
  top: 0;
  z-index: -1;
  transition: left .45s ease, transform .55s ease;
}

.round-link .arrow-icon,
.tile-link .arrow-icon {
  width: 100%;
  height: 100%;
  border: 0;
}

.post-card:hover .round-link,
.post-tile:hover .tile-link,
.round-link:hover,
.tile-link:hover {
  color: var(--ink);
  border-color: transparent;
  transform: translateY(-1px);
}

.post-card:hover .round-link::before,
.post-tile:hover .tile-link::before,
.round-link:hover::before,
.tile-link:hover::before {
  left: 0;
  transform: scale(1.55);
}

.post-card:hover .round-link .arrow-icon svg,
.post-tile:hover .tile-link .arrow-icon svg,
.round-link:hover .arrow-icon svg,
.tile-link:hover .arrow-icon svg,
.section-head a:hover .arrow-icon svg {
  transform: rotate(135deg);
}

.round-link.muted {
  color: #0a1c4c;
  background: rgba(255, 255, 255, .48);
}

.swiss::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 54%, rgba(255,255,255,.2) 55% 57%, transparent 58%),
    linear-gradient(62deg, transparent 0 70%, rgba(255,255,255,.18) 71% 75%, transparent 76%);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 24px;
}

.external-feed {
  padding: 28px 24px;
  background: linear-gradient(145deg, #fff, #f7faff);
  box-shadow: var(--shadow);
}

.external-feed-head {
  display: grid;
  grid-template-columns: 25px 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.external-feed-icon {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  margin-top: 0;
  color: #0041dc;
  background: rgba(0, 65, 220, .07);
}

.external-feed-icon svg {
  width: 21px;
  height: 21px;
}

.live-wave {
  animation: visualspace-live-signal 4s cubic-bezier(.4, 0, .2, 1) infinite;
}

.live-wave-outer {
  animation-delay: .3s;
}

:root[data-theme="dark"] .external-feed-icon {
  color: var(--lime);
  background: rgba(180, 255, 0, .08);
}

@keyframes visualspace-live-signal {
  0%, 65%, 100% { opacity: .3; }
  22%, 38% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .live-wave { animation: none; opacity: .75; }
}

.external-feed h2 {
  margin: 0 0 8px;
  color: #0a1c4c;
  font-size: 22px;
  line-height: 1.15;
  font-weight: 900;
}

.external-feed p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.external-feed-list {
  display: grid;
}

.external-feed-item {
  padding: 20px 0;
  border-top: 1px solid var(--line);
}

.external-feed-item a {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
}

.external-feed-item img,
.external-feed-placeholder {
  display: block;
  width: 64px;
  height: 64px;
  border-radius: 6px;
  object-fit: cover;
  background:
    radial-gradient(circle at 70% 25%, rgba(183, 255, 0, .8), transparent 30%),
    linear-gradient(135deg, #003bd6, #06142c);
}

.external-feed-copy,
.external-feed-meta {
  display: grid;
  min-width: 0;
}

.external-feed-meta {
  grid-template-columns: minmax(0, auto) auto;
  justify-content: start;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
}

.external-feed-meta strong {
  color: #142653;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.external-feed-meta time::before {
  content: "•";
  margin-right: 8px;
}

.external-feed-title {
  color: #0a1c4c;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 900;
}

.external-feed-summary {
  margin-top: 7px;
  color: #415173;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
}

.external-feed-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.external-feed-link .arrow-icon {
  width: 20px;
  height: 20px;
  border: 0;
}

.external-feed-link .arrow-icon svg {
  width: 10px;
  height: 12px;
}

.external-feed-item a:hover .external-feed-title,
.external-feed-item a:hover .external-feed-link {
  color: var(--blue-deep);
}

.external-feed-item a:hover .arrow-icon svg {
  transform: rotate(135deg);
}

.external-feed-empty {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.external-feed-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding-inline: 44px;
  min-height: 46px;
  margin-top: 18px;
  border: 1px solid rgba(6, 71, 247, .16);
  border-radius: 999px;
  background: linear-gradient(100deg, #0041dc, #003bd6);
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease, background .3s ease;
}

.external-feed-load-more .arrow-icon {
  width: 24px;
  height: 24px;
  border-color: rgba(255, 255, 255, .3);
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.external-feed-load-more:hover {
  border-color: rgba(183, 255, 0, .55);
  background: linear-gradient(100deg, #075cff, #002fc4);
  box-shadow: 0 16px 30px rgba(0, 63, 224, .25);
  transform: translateY(-2px);
}

.external-feed-load-more:hover .arrow-icon {
  color: var(--blue);
  background: #fff;
  border-color: #fff;
  transform: translateY(-50%) scale(1.04);
}

.external-feed-load-more:hover .arrow-icon svg {
  transform: rotate(135deg);
}

.external-feed-load-more.is-loading {
  opacity: .7;
  pointer-events: none;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
}

.archive-grid .post-card,
.archive-grid .post-tile {
  min-height: 100%;
}

.archive-grid .post-tile,
.archive-grid .post-card {
  grid-column: auto !important;
}

.archive-grid .post-tile.small-row-three,
.archive-grid .post-tile.small-row-four {
  grid-column: auto !important;
}

.archive-grid .tile-image {
  height: 126px;
}

.archive-grid .tile-body {
  min-height: 118px;
  padding: 18px;
}

.archive-grid .tile-body h3 {
  min-height: 56px;
  font-size: 17px;
  line-height: 1.18;
}

.post-tile.small-row-three,
.post-tile.small-row-four {
  grid-column: span 4;
}

.tile-image {
  height: 142px;
  position: relative;
  padding: 18px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  transition: filter .42s ease, transform .42s ease;
}

.post-tile:hover .tile-image {
  filter: saturate(1.08) contrast(1.04);
  transform: scale(1.025);
}

.tile-body {
  min-height: 142px;
  padding: 22px;
}

.tile-body h3 {
  min-height: 52px;
  margin: 0 0 18px;
  font-size: 20px;
  line-height: 1.22;
  font-weight: 900;
}

.tile-link {
  width: 39px;
  height: 39px;
  color: var(--ink);
  background: #fff;
  border-color: var(--line);
}

@media (min-width: 981px) {
  .post-tile .card-hit {
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  .post-tile .tile-body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
  }

  .post-tile .tile-link {
    margin-top: auto;
  }
}

.swiss {
  background:
    linear-gradient(180deg, rgba(0, 17, 55, .25), rgba(0, 16, 61, .72)),
    linear-gradient(24deg, #002567 0 45%, #104a9b 46% 58%, #051027 59% 100%);
}

.swiss::before {
  content: "SWISS";
  color: rgba(255,255,255,.12);
  font-size: 65px;
  font-weight: 900;
  position: absolute;
  right: -8px;
  top: 16px;
}

.flag {
  background:
    linear-gradient(180deg, rgba(0,29,88,.04), rgba(0,35,112,.22)),
    repeating-linear-gradient(155deg, #0a65dd 0 16px, #72b9ff 17px 28px, #1457b9 29px 43px);
}

.flag::before {
  content: "";
  width: 122px;
  height: 54px;
  background:
    linear-gradient(#fff 0 8px, transparent 9px 17px, #fff 18px 26px, transparent 27px 35px, #fff 36px 44px, transparent 45px);
  transform: skewX(-22deg);
  opacity: .86;
  position: absolute;
  left: 200px;
  top: 40px;
}

.newsletter {
  margin-top: 44px;
  min-height: 208px;
  padding: 34px 56px 34px 42px;
  display: grid;
  grid-template-columns: 250px 1fr 300px;
  align-items: center;
  gap: 34px;
  background:
    radial-gradient(circle at 11% 55%, rgba(184, 255, 0, .26), transparent 14%),
    linear-gradient(115deg, #f8fbff, #fff);
  box-shadow: var(--shadow);
}

.mail-art {
  height: 148px;
  position: relative;
}

.mail-disc {
  width: 126px;
  height: 126px;
  border-radius: 50%;
  background: var(--lime);
  position: absolute;
  left: 55px;
  top: 12px;
}

.envelope {
  width: 150px;
  height: 98px;
  border-radius: 8px 8px 18px 18px;
  background:
    linear-gradient(145deg, transparent 49%, #0043e9 50%),
    linear-gradient(215deg, transparent 49%, #075cff 50%),
    linear-gradient(180deg, #0e6bff, #002fc4);
  position: absolute;
  left: 52px;
  top: 45px;
  box-shadow: 0 17px 22px rgba(0, 49, 201, .2);
}

.paper {
  width: 94px;
  height: 96px;
  border-radius: 4px;
  background: #fff;
  transform: rotate(-8deg);
  position: absolute;
  left: 27px;
  top: -45px;
  box-shadow: 0 12px 22px rgba(10, 29, 74, .12);
}

.paper i {
  display: block;
  width: 36px;
  height: 7px;
  margin: 8px 0 0 36px;
  background: #0041dc;
  transform: skewX(-18deg);
}

.paper i:first-child {
  margin-top: 38px;
}

.paper i:nth-child(2) {
  width: 28px;
  margin-left: 25px;
}

.paper i:nth-child(3) {
  width: 38px;
  margin-left: 14px;
}

.newsletter-copy p {
  margin: 12px 0 26px;
  color: var(--muted);
}

.newsletter form {
  display: grid;
  grid-template-columns: minmax(170px, 265px) auto;
  max-width: 430px;
}

.newsletter input {
  min-width: 0;
  height: 48px;
  border: 1px solid #cfd9ea;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 0 24px;
  color: var(--ink);
  outline: 0;
}

.newsletter button {
  border-radius: 0 999px 999px 0;
  padding-inline: 52px;
  justify-content: center;
  position: relative;
}

.newsletter button .arrow-icon {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.newsletter button:hover .arrow-icon {
  transform: translateY(-50%) scale(1.04);
}

@media (min-width: 981px) {
  .newsletter button {
    justify-content: flex-start;
    padding-left: 20px;
  }
}

.newsletter-list {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-weight: 800;
}

.newsletter-list li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.newsletter-check {
  width: 25px;
  height: 25px;
  color: #233860;
  flex: 0 0 auto;
}

.footer {
  position: relative;
  color: #fff;
  font-family: Raleway, Arial, sans-serif;
}

.vs-footer-sitemap {
  position: relative;
  overflow: hidden;
  background: #0041dc;
  color: #fff;
}

.vs-footer-aura {
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  width: 100%;
  height: 60vh;
  min-height: 30vw;
  background: url('https://www.visualspace.sk/images/aura9.png') center / cover no-repeat;
  mix-blend-mode: overlay;
  opacity: .9;
  pointer-events: none;
}

.vs-footer-spacer {
  position: relative;
  z-index: 1;
  width: 100%;
  height: calc(50px + 4vw);
}

.vs-footer-grid {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: calc(6vw + 30px);
}

.vs-footer-logo {
  width: 80px;
  height: 80px;
  background: url('https://www.visualspace.sk/images/elogo.png') center / contain no-repeat;
}

.vs-footer-company-name { font-size: 28px; font-weight: 700; }
.vs-footer-details { font-size: 16px; line-height: normal; }
.vs-footer-legal { font-size: 12px; font-weight: 700; }

.vs-footer-legal a,
.vs-footer-map a,
.vs-footer-contact-link {
  color: #fff;
  text-decoration: none;
}

.vs-footer-legal a { display: block; margin-bottom: 12px; }

.vs-footer-legal a:hover,
.vs-footer-map a:hover,
.vs-footer-contact-link:hover { color: #fea5ff; }

.vs-footer-heading {
  margin-bottom: 20px;
  font-family: Popfine, Raleway, Arial, sans-serif;
  font-size: 52px;
  font-weight: 400;
  letter-spacing: 1px;
  line-height: 1;
}

.vs-footer-map { font-weight: 700; }
.vs-footer-map ul { margin: 0; padding: 0; list-style: none; }
.vs-footer-map li { font-size: 15px; line-height: 1.8; }

.vs-footer-map .vs-footer-sub {
  margin-left: 20px;
  font-size: 12px;
  font-weight: 400;
  list-style: disc;
}

.vs-footer-map .vs-footer-sub.first { margin-top: 6px; }
.vs-footer-map .vs-footer-sub.last { margin-bottom: 10px; }
.vs-footer-contact { font-weight: 700; }

.vs-footer-contact-link {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  font-size: 14px;
}

.vs-footer-contact-link img {
  width: 34px;
  height: 34px;
  filter: brightness(0) invert(1);
}

.vs-footer-contact-link:hover img { filter: brightness(1) invert(0); }
.vs-footer-contact-link span { margin: 10px; }

.vs-footer-copyright {
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100px;
  padding-left: max(20px, calc((100vw - 1180px) / 2));
  background: #232d41;
}

.vs-footer-copyright p {
  margin: 0;
  color: #f0f5ff;
  font-size: 10pt;
  font-weight: 600;
  font-variant-numeric: lining-nums;
}

.vs-footer-social {
  position: fixed;
  right: 7%;
  bottom: 30px;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 40px;
  border: 2px solid #fff;
  border-radius: 30px;
  background: #232d41;
}

.vs-footer-social a {
  display: flex;
  width: 20px;
  height: 20px;
  margin: 0 6px;
  transition: width .1s ease-in-out, height .1s ease-in-out;
}

.vs-footer-social a:hover { width: 30px; height: 30px; }
.vs-footer-social img { width: 100%; height: 100%; object-fit: contain; }

@media (max-width: 750px), (max-height: 750px), (pointer: coarse) {
  .vs-footer-social {
    right: 0;
    bottom: 0;
    width: 100%;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 0;
    border-top-color: #222c3f;
    background: rgba(0, 10, 30, .9);
    -webkit-backdrop-filter: blur(7px);
    backdrop-filter: blur(7px);
  }

  .vs-footer-copyright { height: 60px; margin-bottom: 40px; }
}

@media (max-width: 560px) {
  .vs-footer-grid { gap: 100px 0; }
  .vs-footer-grid > * { width: 260px; }
}

.article-page {
  padding: 52px 0 80px;
  background: #f7f9ff;
}

.article-shell {
  max-width: 880px;
}

.article-back {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-hero {
  min-height: 330px;
  border-radius: 8px;
  margin-bottom: 32px;
  background-position: center;
  background-size: cover;
}

.article-copy {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(26px, 5vw, 54px);
  background: #fff;
  box-shadow: var(--shadow);
}

.article-copy h1 {
  margin: 18px 0 20px;
  color: #0a1c4c;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  font-weight: 900;
}

.entry-content {
  color: #2d3a5f;
  font-size: 18px;
  line-height: 1.65;
}

.entry-content p {
  margin: 0 0 1.35em;
}

.entry-content p:last-child {
  margin-bottom: 0;
}

.sr-only {
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  position: absolute;
}

:root[data-theme="dark"] .hero {
  background:
    linear-gradient(90deg, rgba(7, 17, 36, .9) 0%, rgba(7, 17, 36, .7) 42%, rgba(7, 17, 36, .18) 100%),
    url('/blog/media/2026/05/indexBG.png') center / cover no-repeat;
}

:root[data-theme="dark"] .hero-copy h1 {
  color: #fff;
}

:root[data-theme="dark"] .hero-copy p {
  color: rgba(255, 255, 255, .84);
}

:root[data-theme="dark"] .primary-cta .arrow-icon,
:root[data-theme="dark"] .newsletter button .arrow-icon {
  color: var(--blue-deep);
  background: #fff;
  border-color: #fff;
}

:root[data-theme="dark"] .catalog-home-banner:hover .catalog-home-banner-next,
:root[data-theme="dark"] .post-card:hover .round-link,
:root[data-theme="dark"] .post-tile:hover .tile-link,
:root[data-theme="dark"] .round-link:hover,
:root[data-theme="dark"] .tile-link:hover {
  color: var(--blue-deep);
}

:root[data-theme="dark"] .hero-copy h1,
:root[data-theme="dark"] .section-head h2,
:root[data-theme="dark"] .newsletter-copy h2,
:root[data-theme="dark"] .external-feed h2,
:root[data-theme="dark"] .tile-body h3,
:root[data-theme="dark"] .external-feed-title,
:root[data-theme="dark"] .article-copy h1 {
  color: var(--heading);
}

:root[data-theme="dark"] .hero-copy p,
:root[data-theme="dark"] .newsletter-copy p,
:root[data-theme="dark"] .external-feed p,
:root[data-theme="dark"] .external-feed-summary,
:root[data-theme="dark"] .entry-content {
  color: var(--muted);
}

:root[data-theme="dark"] .articles,
:root[data-theme="dark"] .article-page {
  background: var(--page);
}

:root[data-theme="dark"] .post-card,
:root[data-theme="dark"] .post-tile,
:root[data-theme="dark"] .external-feed,
:root[data-theme="dark"] .article-copy {
  border-color: var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .tile-body,
:root[data-theme="dark"] .external-feed {
  background: linear-gradient(145deg, var(--surface), var(--surface-soft));
}

:root[data-theme="dark"] .newsletter {
  border-color: var(--line);
  background:
    radial-gradient(circle at 11% 55%, rgba(184, 255, 0, .16), transparent 14%),
    linear-gradient(115deg, #101d3a, #0d1933);
  box-shadow: var(--shadow);
}

:root[data-theme="dark"] .newsletter input {
  color: var(--ink);
  border-color: rgba(178, 195, 232, .28);
  background: #002567;
}

:root[data-theme="dark"] .newsletter input::placeholder {
  color: #8d9bb8;
}

:root[data-theme="dark"] .newsletter-check {
  color: var(--lime);
}

:root[data-theme="dark"] .external-feed-meta strong {
  color: #dce7ff;
}

:root[data-theme="dark"] .external-feed-meta,
:root[data-theme="dark"] .section-head a {
  color: #aab7d2;
}

:root[data-theme="dark"] .tile-link,
:root[data-theme="dark"] .round-link.muted {
  color: var(--ink);
  border-color: rgba(178, 195, 232, .25);
  background: rgba(255, 255, 255, .08);
}

:root[data-theme="dark"] .article-hero {
  box-shadow: var(--shadow);
}

.article-page-redesign {
  --article-bg:
    radial-gradient(circle at 50% 8%, rgba(6, 79, 247, .1), transparent 30%),
    linear-gradient(115deg, #f7faff 0%, #eef4ff 52%, #f9fbff 100%);
  --article-ink: #061329;
  --article-heading: #07183c;
  --article-text: #34415f;
  --article-muted: #65738f;
  --article-soft: #fff;
  --article-soft-strong: #f4f8ff;
  --article-line: rgba(6, 79, 247, .18);
  --article-side-line: rgba(91, 117, 162, .22);
  --article-card-bg: rgba(255, 255, 255, .86);
  --article-card-bg-strong: #fff;
  --article-card-shadow: 0 24px 60px rgba(11, 35, 95, .12);
  --article-chip-blue: #0647f7;
  --article-accent: #8bd900;
  --article-accent-text: #061329;
  padding: 100px 0;
  color: var(--article-ink);
  background: var(--article-bg);
}

:root[data-theme="dark"] .article-page-redesign {
  --article-bg:
    radial-gradient(circle at 50% 8%, rgba(6, 79, 247, .18), transparent 30%),
    linear-gradient(115deg, #061329 0%, #031026 52%, #06162f 100%);
  --article-ink: #eaf2ff;
  --article-heading: #fff;
  --article-text: #c7d4ed;
  --article-muted: #b8c7e4;
  --article-soft: #0d1f44;
  --article-soft-strong: #081734;
  --article-line: rgba(0, 111, 255, .34);
  --article-side-line: rgba(142, 170, 220, .28);
  --article-card-bg: rgba(13, 31, 68, .76);
  --article-card-bg-strong: rgba(13, 31, 68, .96);
  --article-card-shadow: 0 24px 60px rgba(0, 4, 20, .28);
  --article-accent: var(--lime);
  --article-accent-text: #061329;
}

.article-layout {
  width: min(1320px, calc(100% - 44px));
  display: grid;
  grid-template-columns: minmax(170px, 220px) minmax(0, 720px) minmax(190px, 250px);
  gap: clamp(24px, 3.2vw, 42px);
  align-items: start;
}

.article-author-panel,
.article-sidebar {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: none;
  overflow: visible;
}

body.admin-bar .article-author-panel,
body.admin-bar .article-sidebar {
  top: 124px;
  max-height: none;
}

.article-author-panel {
  border-right: 1px solid var(--article-side-line);
  padding: 20px 28px 0 0;
}

.article-sidebar {
  border-left: 1px solid var(--article-side-line);
  padding: 20px 0 0 28px;
}

.article-author-card,
.article-share,
.article-facts,
.article-toc,
.article-newsletter {
  color: var(--article-text);
}

.article-author-photo {
  width: 144px;
  height: 144px;
  margin: 0 auto 22px;
  border: 1px solid rgba(0, 111, 255, .55);
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  background: rgba(6, 79, 247, .16);
}

.article-author-avatar {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
}

.article-eyebrow,
.article-toc h2 {
  margin: 0 0 16px;
  color: #0f75ff;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.article-author-card h2 {
  margin: 0 0 8px;
  color: var(--article-heading);
  font-size: 19px;
  line-height: 1.25;
}

.article-author-card p:not(.article-eyebrow) {
  margin: 0 0 18px;
  color: var(--article-muted);
  font-size: 14px;
  line-height: 1.65;
}

.article-author-link {
  min-height: 42px;
  border: 1px solid var(--article-side-line);
  border-radius: 999px;
  padding: 10px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--article-heading);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}

.article-author-link .arrow-icon {
  width: 30px;
  height: 30px;
  color: var(--article-accent-text);
  background: var(--article-accent);
  border-color: var(--article-accent);
}

.article-author-link:hover {
  transform: translateY(-1px);
  border-color: var(--article-accent);
  box-shadow: 0 12px 22px rgba(6, 79, 247, .14);
}

.article-author-link:hover .arrow-icon,
.article-newsletter > a:hover .arrow-icon,
.article-mobile-newsletter a:hover .arrow-icon {
  transform: scale(1.04);
}

.article-author-link:hover .arrow-icon svg,
.article-newsletter > a:hover .arrow-icon svg,
.article-mobile-newsletter a:hover .arrow-icon svg {
  transform: rotate(135deg);
}

.article-share {
  margin-top: 58px;
}

.article-share-links {
  display: flex;
  gap: 12px;
}

.article-share-links a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--article-side-line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--article-heading);
  font-size: 14px;
  font-weight: 900;
}

.article-facts {
  border-top: 1px solid var(--article-side-line);
  margin: 48px 0 0;
  padding: 22px 0 0;
  display: grid;
  gap: 20px;
}

.article-facts div {
  display: grid;
  gap: 4px;
}

.article-facts dt {
  color: var(--article-muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-facts dd {
  margin: 0;
  color: var(--article-text);
  font-size: 14px;
  line-height: 1.4;
}

.article-main {
  min-width: 0;
}

.article-page-redesign .article-hero {
  min-height: clamp(230px, 30vw, 330px);
  border: 1px solid var(--article-line);
  border-radius: 10px;
  margin-bottom: 30px;
  background-position: center;
  background-size: cover;
  box-shadow: var(--article-card-shadow);
}

.article-page-redesign .article-copy {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

:root[data-theme="dark"] .article-page-redesign .article-copy {
  border: 0;
  background: transparent;
  box-shadow: none;
}

.article-meta-row {
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.article-meta-row time,
.article-meta-row a {
  border-radius: 999px;
  padding: 8px 13px;
  color: #fff;
  background: #0647f7;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  text-transform: uppercase;
}

.article-meta-row a {
  color: var(--article-accent-text);
  background: var(--article-accent);
}

.article-page-redesign .article-copy h1 {
  max-width: 680px;
  margin: 0 0 24px;
  color: var(--article-heading);
  font-size: clamp(42px, 5.3vw, 64px);
  line-height: .98;
  font-weight: 900;
}

.article-page-redesign .entry-content {
  color: var(--article-text);
  font-size: 18px;
  line-height: 1.72;
}

.article-page-redesign .entry-content h2,
.article-page-redesign .entry-content h3 {
  scroll-margin-top: 118px;
  margin: 1.5em 0 .7em;
  color: var(--article-heading);
  line-height: 1.15;
}

.article-page-redesign .entry-content h2 {
  font-size: clamp(25px, 3vw, 34px);
}

.article-page-redesign .entry-content h3 {
  font-size: clamp(21px, 2.3vw, 26px);
}

.article-page-redesign .entry-content blockquote {
  border: 1px solid var(--article-line);
  border-radius: 8px;
  margin: 34px 0;
  padding: 28px 32px 28px 76px;
  color: var(--article-heading);
  background:
    radial-gradient(circle at 94% 50%, rgba(183, 255, 0, .16), transparent 13%),
    linear-gradient(135deg, var(--article-card-bg-strong), var(--article-soft-strong));
  position: relative;
}

.article-page-redesign .entry-content blockquote::before {
  content: "\201C";
  color: var(--article-accent);
  font-size: 74px;
  line-height: 1;
  font-weight: 900;
  position: absolute;
  left: 26px;
  top: 18px;
}

.article-related {
  margin-top: 34px;
}

.article-related h2 {
  margin: 0 0 14px;
  color: var(--article-heading);
  font-size: 24px;
  line-height: 1.2;
}

.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.article-related-card {
  border: 1px solid var(--article-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--article-card-bg);
}

.article-related-image {
  display: block;
  background-position: center;
  background-size: cover;
}

.article-related-image {
  min-height: 94px;
}

.article-related-body {
  min-height: 132px;
  padding: 16px;
  display: grid;
  gap: 8px;
}

.article-related-body span {
  color: var(--article-ink);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.article-related-body strong {
  color: var(--article-heading);
  font-size: 17px;
  line-height: 1.25;
}

.article-related-body small {
  color: var(--article-muted);
  font-size: 12px;
}

.article-toc {
  margin-bottom: 46px;
}

.article-toc h2::after {
  content: "";
  width: 36px;
  height: 2px;
  margin-top: 16px;
  display: block;
  background: var(--article-accent);
}

.article-toc ol {
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 18px;
  list-style: none;
}

.article-toc li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  color: var(--article-text);
  font-size: 13px;
  line-height: 1.35;
}

.article-toc li span {
  color: var(--article-accent);
  font-weight: 900;
}

.article-toc li a,
.article-mobile-toc li a {
  color: inherit;
  text-decoration: none;
}

.article-toc li a:hover,
.article-mobile-toc li a:hover {
  color: var(--article-accent);
}

.article-newsletter {
  border: 1px solid var(--article-line);
  border-radius: 10px;
  margin-bottom: 46px;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 75% 62%, rgba(6, 79, 247, .22), transparent 24%),
    linear-gradient(145deg, var(--article-card-bg-strong), var(--article-soft-strong));
}

.article-newsletter h2 {
  margin: 0 0 14px;
  color: var(--article-heading);
  font-size: 22px;
  line-height: 1.06;
  text-transform: uppercase;
}

.article-newsletter p {
  margin: 0 0 18px;
  color: var(--article-muted);
  font-size: 13px;
  line-height: 1.55;
}

.article-envelope {
  width: 112px;
  height: 86px;
  margin: 20px auto 24px;
  border-radius: 12px;
  background:
    linear-gradient(145deg, transparent 50%, rgba(0, 14, 62, .34) 51%),
    linear-gradient(35deg, #0758ff 0 50%, #0033aa 51% 100%);
  transform: rotate(-10deg);
  box-shadow: 0 18px 30px rgba(0, 19, 90, .42);
}

.article-newsletter > a {
  min-height: 40px;
  border-radius: 999px;
  padding: 11px 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--article-accent-text);
  background: var(--article-accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.article-newsletter .arrow-icon {
  width: 30px;
  height: 30px;
  color: var(--article-accent);
  background: #061329;
  border-color: #061329;
}

.article-newsletter > a:hover,
.article-mobile-newsletter a:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(6, 79, 247, .14);
}

.article-newsletter-fallback {
  display: none !important;
}

.article-newsletter-form {
  display: grid;
  gap: 10px;
}

.article-newsletter-form input {
  width: 100%;
  min-width: 0;
  height: 46px;
  border: 1px solid var(--article-line);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--article-heading);
  background: var(--article-card-bg);
  font-size: 16px;
  outline: none;
}

.article-newsletter-form input:focus {
  border-color: var(--article-accent);
  box-shadow: 0 0 0 3px rgba(6, 79, 247, .16);
}

.article-newsletter-form button {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  padding: 7px 48px 7px 20px;
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  color: var(--article-accent-text);
  background: var(--article-accent);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
  position: relative;
}

.article-newsletter-form button .arrow-icon {
  width: 32px;
  height: 32px;
  color: var(--article-accent);
  background: #061329;
  border-color: #061329;
  position: absolute;
  right: 7px;
  top: 50%;
  transform: translateY(-50%);
}

.article-mobile-info,
.article-mobile-toc,
.article-mobile-newsletter {
  display: none;
}

@media (max-width: 1180px) {
  .article-layout {
    width: min(100% - 32px, 1180px);
    grid-template-columns: minmax(140px, 180px) minmax(0, 1fr) minmax(180px, 230px);
    gap: 22px;
  }

  .article-author-panel {
    position: sticky;
    top: 92px;
    grid-column: auto;
    border-right: 1px solid var(--article-side-line);
    border-bottom: 0;
    padding: 20px 22px 0 0;
    display: block;
    align-self: start;
  }

  .article-author-card {
    display: block;
  }

  .article-author-photo {
    width: 112px;
    height: 112px;
    margin: 0 auto 18px;
  }

  .article-author-avatar {
    width: 86px;
    height: 86px;
  }

  .article-author-card p:not(.article-eyebrow) {
    max-width: none;
  }

  .article-share {
    margin-top: 36px;
  }

  .article-facts {
    border-top: 1px solid var(--article-side-line);
    margin-top: 36px;
    padding-top: 20px;
  }
}

@media (max-width: 1040px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-author-panel {
    position: static;
    grid-column: 1 / -1;
    border-right: 0;
    border-bottom: 1px solid var(--article-side-line);
    padding: 0 0 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 24px;
    align-items: center;
    max-height: none;
    overflow: visible;
  }

  .article-author-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 18px;
    align-items: center;
  }

  .article-author-photo {
    grid-row: span 4;
    margin: 0;
  }

  .article-share,
.article-facts {
    margin-top: 0;
  }

  .article-facts {
    border-top: 0;
    padding-top: 0;
  }

  .article-sidebar {
    position: static;
    border-left: 0;
    border-top: 1px solid rgba(142, 170, 220, .28);
    padding: 28px 0 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
    gap: 28px;
    max-height: none;
    overflow: visible;
  }

  .article-toc,
.article-newsletter {
    margin-bottom: 0;
  }

}

@media (min-width: 1041px) {
  .article-author-panel,
.article-sidebar {
    position: sticky;
    top: 92px;
    bottom: auto;
    z-index: 1;
    overflow: visible;
    scrollbar-width: thin;
  }

  body.admin-bar .article-author-panel,
body.admin-bar .article-sidebar {
    top: 124px;
  }

  .article-author-panel {
    left: auto;
    width: 220px;
  }

  .article-sidebar {
    right: auto;
    width: 250px;
  }

  .article-main {
    grid-column: 2;
  }
}

@media (min-width: 1041px) and (max-width: 1180px) {
  .article-author-panel {
    left: auto;
    width: 180px;
  }

  .article-sidebar {
    right: auto;
    width: 230px;
  }
}

@media (max-width: 760px) {
  .article-page-redesign {
    padding: 0 0 44px;
    --article-bg:
      radial-gradient(circle at 50% 12%, rgba(6, 79, 247, .08), transparent 30%),
      linear-gradient(115deg, #f8fbff 0%, #eef4ff 58%, #fff 100%);
    --article-ink: #07183c;
    --article-heading: #07183c;
    --article-text: #1c2d55;
    --article-muted: #71809d;
    --article-card-bg: rgba(255, 255, 255, .92);
    --article-card-bg-strong: #fff;
  }

  .article-layout {
    width: min(100% - 28px, 1180px);
    gap: 0;
  }

  .article-author-card,
.article-related-grid {
    grid-template-columns: 1fr;
  }

  .article-author-panel,
.article-sidebar {
    display: none;
  }

  .article-author-panel {
    align-items: start;
  }

  .article-author-card {
    gap: 14px;
  }

  .article-author-photo {
    grid-row: auto;
  }

  .article-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  .article-page-redesign .article-hero {
    min-height: 174px;
    border-radius: 8px;
    margin-top: 15%;
    margin-bottom: 24px;
  }

  .article-meta-row {
    margin-bottom: 16px;
  }

  .article-meta-row time,
.article-meta-row a {
    padding: 8px 12px;
    font-size: 10px;
  }

  .article-page-redesign .article-copy h1 {
    margin-bottom: 22px;
    font-size: clamp(32px, 9.4vw, 42px);
    line-height: 1.08;
  }

  .article-mobile-info {
    margin: 0 0 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(96px, .75fr) auto;
    align-items: center;
    gap: 14px;
    color: var(--article-heading);
  }

  .article-mobile-author {
    min-width: 0;
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
  }

  .article-mobile-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
  }

  .article-mobile-author span,
.article-mobile-read,
.article-mobile-share {
    min-width: 0;
  }

  .article-mobile-author strong,
.article-mobile-author small {
    display: block;
  }

  .article-mobile-author strong {
    font-size: 16px;
    line-height: 1.2;
  }

  .article-mobile-author small {
    margin-top: 3px;
    color: var(--article-muted);
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .article-mobile-read,
.article-mobile-share {
    min-height: 44px;
    border-left: 1px solid var(--article-side-line);
    padding-left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--article-heading);
    font-size: 14px;
    font-weight: 700;
  }

  .article-mobile-read span,
.article-mobile-share span {
    color: var(--blue);
    font-weight: 900;
  }

  .article-mobile-read span {
    width: 15px;
    height: 15px;
    border: 2px solid var(--blue);
    border-radius: 50%;
    position: relative;
  }

  .article-mobile-read span::after {
    content: "";
    width: 5px;
    height: 2px;
    background: var(--blue);
    position: absolute;
    left: 5px;
    top: 6px;
    transform: rotate(35deg);
  }

  .article-mobile-toc {
    border: 1px solid var(--article-line);
    border-radius: 8px;
    margin: 0 0 26px;
    padding: 18px 20px;
    display: block;
    background: var(--article-card-bg-strong);
    box-shadow: 0 18px 48px rgba(11, 35, 95, .08);
  }

  .article-mobile-toc h2 {
    margin: 0 0 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--article-heading);
    font-size: 17px;
    line-height: 1.2;
  }

  .article-mobile-toc h2 span {
    width: 20px;
    height: 16px;
    color: var(--blue);
    position: relative;
  }

  .article-mobile-toc h2 span::before {
    content: "";
    width: 20px;
    height: 3px;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 6px 0 currentColor, 0 12px 0 currentColor;
    position: absolute;
    left: 0;
    top: 0;
  }

  .article-mobile-toc ol {
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 22px;
    list-style: none;
  }

  .article-mobile-toc li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--article-heading);
    font-size: 13px;
    line-height: 1.2;
  }

  .article-mobile-toc li span {
    color: var(--article-accent);
    font-size: 12px;
    font-weight: 900;
  }

  .article-page-redesign .entry-content {
    font-size: 16px;
    line-height: 1.58;
  }

  .article-page-redesign .entry-content blockquote {
    padding: 24px 24px 24px 58px;
  }

  .article-page-redesign .entry-content blockquote::before {
    left: 18px;
    top: 18px;
    font-size: 58px;
  }

  .article-related {
    margin-top: 28px;
  }

  .article-related h2 {
    font-size: 19px;
    text-transform: uppercase;
  }

  .article-related-grid {
    margin-inline: -14px;
    padding: 0 14px 4px;
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .article-related-card {
    min-width: 204px;
    scroll-snap-align: start;
    background: var(--article-card-bg-strong);
  }

  .article-related-image {
    min-height: 82px;
  }

  .article-related-body {
    min-height: 118px;
    padding: 14px;
  }

  .article-mobile-newsletter {
    border: 1px solid var(--article-line);
    border-radius: 8px;
    margin-top: 26px;
    padding: 18px;
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    background: var(--article-card-bg-strong);
  }

  .article-mobile-newsletter .article-envelope {
    width: 74px;
    height: 56px;
    margin: 0;
  }

  .article-mobile-newsletter h2 {
    margin: 0 0 6px;
    color: var(--article-heading);
    font-size: 16px;
    line-height: 1.2;
    text-transform: uppercase;
  }

  .article-mobile-newsletter p {
    margin: 0;
    color: var(--article-text);
    font-size: 13px;
    line-height: 1.42;
  }

  .article-mobile-newsletter a {
    grid-column: 1 / -1;
    min-height: 42px;
    border-radius: 999px;
    padding: 11px 15px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--article-accent-text);
    background: var(--article-accent);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
  }

  .article-mobile-newsletter-fallback {
    display: none !important;
  }

  .article-mobile-newsletter-form {
    grid-column: 1 / -1;
    display: flex;
    gap: 8px;
  }

  .article-mobile-newsletter-form input {
    min-width: 0;
    min-height: 48px;
    border: 1px solid var(--article-line);
    border-radius: 999px;
    padding: 0 16px;
    flex: 1 1 auto;
    color: var(--article-heading);
    background: var(--article-card-bg);
    font-size: 16px;
    outline: none;
  }

  .article-mobile-newsletter-form input:focus {
    border-color: var(--article-accent);
    box-shadow: 0 0 0 3px rgba(6, 79, 247, .16);
  }

  .article-mobile-newsletter-form button {
    min-height: 48px;
    border: 0;
    border-radius: 999px;
    padding: 7px 52px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: var(--article-accent-text);
    background: var(--article-accent);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    position: relative;
  }

  .article-mobile-newsletter-form button .arrow-icon {
    width: 32px;
    height: 32px;
    color: var(--article-accent);
    background: #061329;
    border-color: #061329;
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
  }

  .article-mobile-newsletter .arrow-icon {
    width: 30px;
    height: 30px;
    color: var(--article-accent);
    background: #061329;
    border-color: #061329;
  }
}

@media (max-width: 480px) {
  .article-mobile-newsletter-form {
    flex-direction: column;
  }

  .article-mobile-newsletter-form button {
    width: 100%;
  }

  .article-mobile-info {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .article-mobile-read,
.article-mobile-share {
    border-left: 0;
    border-top: 1px solid var(--article-side-line);
    padding: 10px 0 0;
  }

  .article-mobile-newsletter {
    grid-template-columns: 1fr;
  }

  .article-facts {
    grid-template-columns: 1fr;
  }

  .article-share-links a {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 980px) {
  .nav {
    grid-template-columns: 1fr auto;
    align-items: center;
  }

  .nav-pills {
    min-width: 220px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 24px;
    background: rgba(0, 18, 91, .92);
    box-shadow: 0 22px 48px rgba(0, 18, 91, .28);
    display: grid;
    gap: 8px;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    justify-items: stretch;
  }

  .nav.is-menu-open .nav-pills {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-pills a {
    min-width: 160px;
    width: 100%;
    display: block;
    border-radius: 16px;
    padding: 13px 16px;
    background: rgba(255, 255, 255, .1);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-grid,
.newsletter {
    grid-template-columns: 1fr;
  }

  .home-content-grid {
    grid-template-columns: 1fr;
  }

  .home-sidebar {
    position: static;
  }

  .hero {
    padding: 54px 0 30px;
    min-height: auto;
  }

  .hero-art {
    height: 300px;
  }

  .featured-grid,
.post-grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .post-card.featured-box {
    min-height: 338px;
  }

  .featured-body h3 {
    font-size: 19px;
  }

  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .post-card.large,
.post-card.tall,
.post-tile,
.post-tile.small-row-three,
.post-tile.small-row-four {
    grid-column: auto;
  }
}

@media (max-width: 680px) {
  body {
    padding-top: 68px;
  }

  body.admin-bar {
    padding-top: 114px;
  }

  body.admin-bar .site-header {
    top: 46px;
  }

  .container {
    width: min(100% - 28px, 1180px);
  }

  .nav {
    min-height: 68px;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .brand {
    min-width: 0;
  }

  .nav-actions {
    gap: 8px;
  }

  .nav-pills {
    min-width: min(260px, calc(100vw - 28px));
    border-radius: 20px;
    right: 0;
  }

  .nav-pills a {
    min-width: 0;
    padding: 12px 14px;
    font-size: 11px;
    white-space: nowrap;
  }

  .theme-toggle {
    width: 40px;
    height: 40px;
  }

  .theme-toggle-icon {
    width: 19px;
    height: 19px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
  }

  .hero-copy h1 {
    font-size: 32px;
    line-height: 1.12;
    margin-bottom: 18px;
  }

  .hero {
    min-height: 460px;
    padding: 210px 0 36px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, .08) 0%, rgba(255, 255, 255, .16) 38%, rgba(255, 255, 255, .82) 74%, rgba(255, 255, 255, .94) 100%),
      url('/blog/media/2026/05/indexBG_mobile.png') center top / cover no-repeat;
  }

  :root[data-theme="dark"] .hero {
    background:
      linear-gradient(180deg, rgba(7, 17, 36, .08) 0%, rgba(7, 17, 36, .18) 38%, rgba(7, 17, 36, .82) 74%, rgba(7, 17, 36, .94) 100%),
      url('/blog/media/2026/05/indexBG_mobile.png') center top / cover no-repeat;
  }

  .hero-copy p {
    display: block;
  }

  .hero-copy .primary-cta {
    display: inline-flex;
  }

  .primary-cta,
.newsletter button {
    width: 100%;
    min-height: 50px;
    padding-inline: 18px;
    gap: 12px;
    text-align: center;
  }

  .catalog-home-banner {
    width: 100%;
    margin-bottom: 34px;
  }

  .catalog-home-banner img {
    aspect-ratio: 16 / 8.6;
    object-position: 70% center;
  }

  .catalog-home-banner-copy {
    width: 64%;
    left: 6%;
  }

  .catalog-home-banner-title {
    max-width: 230px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: .07em;
    white-space: normal;
  }

  .catalog-home-banner-next {
    right: 14px;
    top: auto;
    bottom: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    background: var(--lime);
    color: var(--blue-deep);
    border-color: transparent;
    transform: none;
  }

  .catalog-home-banner-next::before {
    display: none;
  }

  .catalog-home-banner:hover .catalog-home-banner-next {
    color: var(--blue-deep);
    transform: none;
  }

  .hero-art {
    display: none;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-grid,
.post-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid {
    grid-template-columns: 1fr;
  }

  .featured-box .card-hit {
    min-height: inherit;
  }

  .post-card.featured-box {
    min-height: 330px;
  }

  .archive-grid {
    grid-template-columns: 1fr;
  }

  .post-card,
.post-card.large,
.post-card.tall {
    min-height: 330px;
  }

  .featured-body p {
    display: none;
  }

  .featured-body {
    padding: 18px;
  }

  .tile-body {
    min-height: auto;
  }

  .archive-grid .tile-body h3 {
    min-height: 0;
    margin-bottom: 18px;
  }

  .newsletter {
    margin-top: 34px;
    padding: 28px 20px;
    gap: 22px;
    text-align: center;
  }

  .mail-art {
    display: none;
  }

  .newsletter-copy h2 {
    font-size: 28px;
  }

  .newsletter-copy p {
    margin-bottom: 20px;
  }

  .newsletter form {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .newsletter input,
.newsletter button {
    border: 1px solid #cfd9ea;
    border-radius: 999px;
  }

  .newsletter button {
    border-color: transparent;
  }

  .newsletter-list {
    justify-items: start;
    gap: 14px;
    text-align: left;
  }
}

.catalogs-landing .site-header {
  background: linear-gradient(180deg, #002567 0%, #06142c 100%);
  border-bottom: 1px solid rgba(178, 195, 232, .14);
}

.catalogs-landing .nav {
  position: relative;
  grid-template-columns: 1fr;
}

.catalogs-landing .brand {
  width: 168px;
  position: absolute;
  left: 50%;
  transform: translateX(calc(-50% + 8px));
}

.catalogs-landing .brand img {
  width: 100%;
}

.catalogs-landing .nav-pills,
.catalogs-landing .nav-actions {
  display: none;
}

.catalog-page {
  color: #f8fbff;
  font-size: 19px;
  background:
    radial-gradient(circle at 86% 5%, rgba(183, 255, 0, .14), transparent 15%),
    radial-gradient(circle at 76% 20%, rgba(6, 77, 255, .28), transparent 20%),
    linear-gradient(180deg, #002567 0%, #020814 48%, #002567 100%);
  overflow: hidden;
}

.catalog-page > section {
  padding-inline: 20px;
}

.catalog-hero {
  min-height: 760px;
  display: grid;
  align-items: center;
  padding: 70px 0 70px;
  position: relative;
  background:
    radial-gradient(circle at 73% 22%, rgba(183, 255, 0, .2), transparent 18%),
    radial-gradient(circle at 58% 34%, rgba(6, 77, 255, .28), transparent 25%),
    linear-gradient(180deg, #061226 0%, #020814 100%);
}

.catalog-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 22% 26%, rgba(6, 77, 255, .16), transparent 19%),
    radial-gradient(circle at 85% 12%, rgba(183, 255, 0, .12), transparent 18%);
  pointer-events: none;
}

.catalog-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.catalog-kicker {
  display: block;
  margin-bottom: 14px;
  color: #0b63ff;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.catalog-hero-copy h1 {
  max-width: 500px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(54px, 6.3vw, 78px);
  line-height: .9;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .01em;
}

.catalog-hero-copy h1 span {
  display: block;
  color: var(--lime);
}

.catalog-hero-copy > p {
  max-width: 380px;
  margin: 0 0 34px;
  color: #f2f6ff;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.42;
  font-weight: 800;
}

.catalog-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.catalog-prooflets {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 520px;
  margin-top: 64px;
}

.catalog-prooflets article {
  padding-right: 22px;
  border-right: 1px solid rgba(178, 195, 232, .24);
}

.catalog-prooflets article + article {
  padding-left: 22px;
}

.catalog-prooflets article:last-child {
  border-right: 0;
  padding-right: 0;
}

.catalog-prooflets h2 {
  margin: 12px 0 6px;
  color: #fff;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 900;
  height: 2.3em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.catalog-prooflets p {
  margin: 0;
  color: #f0f5ff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.catalog-hero-visual {
  min-height: 560px;
  position: relative;
}

.catalog-lime-disc {
  width: min(29vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #d8ff2e, #9bec00 72%);
  position: absolute;
  right: 22%;
  top: 18px;
  box-shadow: 0 0 55px rgba(183, 255, 0, .28);
}

.catalog-book {
  position: absolute;
  border-radius: 8px;
  box-shadow: 0 34px 56px rgba(0, 0, 0, .38);
  overflow: hidden;
}

.catalog-book-left {
  width: min(24vw, 250px);
  aspect-ratio: 3 / 4;
  left: 6%;
  top: 42px;
  z-index: 3;
  transform: rotate(-14deg) skewY(-3deg);
  background: #0c2a72;
}

.catalog-book-cover {
  width: 100%;
  height: 100%;
  padding: 34px 32px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 18, 70, .28), rgba(4, 18, 70, .78)),
    url('/blog/media/2026/05/KatalogAD.jpg') center / cover no-repeat;
}

.catalog-book-cover span,
.catalog-phone span {
  font-family: Popfine, Raleway, Arial, sans-serif;
  font-size: 24px;
  line-height: 1.02;
}

.catalog-book-open {
  width: min(39vw, 470px);
  aspect-ratio: 1.55;
  right: 5%;
  top: 108px;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  transform: rotate(10deg);
  background: #f5f7fb;
}

.catalog-book-open span:first-child {
  background:
    linear-gradient(90deg, rgba(2, 8, 20, .16), transparent 16%),
    url('/blog/media/2026/05/KatalogAD.jpg') center / cover no-repeat;
}

.catalog-book-open span:last-child {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .94), rgba(255, 255, 255, .78)),
    linear-gradient(#143f9f 0 0) 34px 54px / 110px 11px no-repeat,
    linear-gradient(#8da0c8 0 0) 34px 84px / 150px 7px no-repeat,
    linear-gradient(#8da0c8 0 0) 34px 103px / 122px 7px no-repeat;
}

.catalog-phone {
  width: min(14vw, 128px);
  aspect-ratio: 9 / 18;
  right: 1%;
  top: 284px;
  z-index: 4;
  padding: 10px;
  border: 7px solid #101a2f;
  border-radius: 26px;
  background: #061226;
  box-shadow: 0 24px 48px rgba(0, 0, 0, .38);
  position: absolute;
  transform: rotate(13deg);
}

.catalog-phone div {
  height: 100%;
  border-radius: 18px;
  padding: 18px 12px 12px;
  display: grid;
  align-content: space-between;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(4, 18, 70, .26), rgba(4, 18, 70, .74)),
    url('/blog/media/2026/05/KatalogAD.jpg') center / cover no-repeat;
}

.catalog-phone span {
  font-size: 15px;
}

.catalog-phone small {
  min-height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: #0041dc;
  background: #fff;
  font-size: 8px;
  font-weight: 900;
}

.catalog-note {
  position: absolute;
  right: 5%;
  top: 130px;
  z-index: 5;
  color: var(--lime);
  font-family: Popfine, Raleway, Arial, sans-serif;
  font-size: 19px;
  line-height: 1.25;
  transform: rotate(-8deg);
}

.catalog-mini-icon,
.catalog-card-icon {
  display: block;
  position: relative;
  flex: 0 0 auto;
}

.catalog-mini-icon {
  width: 34px;
  height: 34px;
  color: #0b63ff;
}

.catalog-mini-icon::before,
.catalog-mini-icon::after,
.catalog-card-icon::before,
.catalog-card-icon::after,
.catalog-price-icon::before,
.catalog-price-icon::after {
  content: "";
  position: absolute;
}

.catalog-mini-icon-target::before {
  inset: 4px;
  border: 3px solid currentColor;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #002567, inset 0 0 0 7px currentColor;
}

.catalog-mini-icon-sales::before {
  width: 25px;
  height: 20px;
  left: 4px;
  bottom: 5px;
  border: 3px solid currentColor;
  border-top: 0;
  transform: skewX(-16deg);
}

.catalog-mini-icon-sales::after {
  width: 8px;
  height: 8px;
  right: 2px;
  top: 4px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: rotate(-45deg);
}

.catalog-mini-icon-service::before {
  inset: 5px;
  border: 3px solid currentColor;
  border-radius: 7px;
}

.catalog-mini-icon-service::after {
  width: 12px;
  height: 6px;
  left: 11px;
  top: 14px;
  border-left: 3px solid currentColor;
  border-bottom: 3px solid currentColor;
  transform: rotate(-45deg);
}

.catalog-intro,
.catalog-calculator,
.catalog-faq {
  padding: 100px 0 0;
}

.catalog-faq {
  padding-bottom: 100px;
}

.catalog-section-title {
  max-width: 720px;
  margin: 0 auto 34px;
  text-align: center;
}

.catalog-zigzag {
  display: block;
  width: 42px;
  height: 3px;
  margin: 0 auto 18px;
  background: var(--lime);
  border-radius: 999px;
}

.catalog-section-title h2,
.catalog-panel-heading h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(33px, 3.2vw, 43px);
  line-height: 1.1;
  font-weight: 900;
}

.catalog-section-title p {
  max-width: 620px;
  margin: 16px auto 0;
  color: #f0f5ff;
  font-size: 19px;
  line-height: 1.55;
  font-weight: 700;
}

.catalog-section-title strong {
  color: var(--lime);
}

.catalog-benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  max-width: none;
  margin: 0 auto;
}

.catalog-benefit-card,
.catalog-panel {
  border: 1px solid rgba(178, 195, 232, .22);
  border-radius: 8px;
  background: linear-gradient(145deg, rgba(16, 29, 58, .78), rgba(8, 17, 38, .9));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

.catalog-benefit-card {
  min-height: 220px;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 22px;
  overflow: hidden;
  position: relative;
}

.catalog-benefit-card h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}

.catalog-benefit-card p {
  margin: 0;
  color: #f0f5ff;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.catalog-card-icon {
  width: 78px;
  height: 78px;
  border-radius: 8px;
}

.catalog-card-icon-finger {
  background: radial-gradient(ellipse at 50% 45%, transparent 0 20%, #002567 21% 26%, transparent 27% 32%, #002567 33% 38%, transparent 39%), var(--lime);
  transform: rotate(8deg);
}

.catalog-card-icon-paper::before {
  width: 86px;
  height: 54px;
  left: 2px;
  top: 22px;
  border-radius: 5px;
  background: linear-gradient(180deg, #f5f8ff 0 48%, #0041dc 49%);
  box-shadow: 0 -14px 0 #0a47df;
}

.catalog-card-icon-qr {
  background:
    linear-gradient(#fff 0 0) 13px 13px / 22px 22px no-repeat,
    linear-gradient(#fff 0 0) 54px 13px / 22px 22px no-repeat,
    linear-gradient(#fff 0 0) 13px 54px / 22px 22px no-repeat,
    repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 12px),
    #0041dc;
  border: 7px solid #eaf1ff;
}

.catalog-card-icon-formats::before,
.catalog-card-icon-formats::after {
  background: #f6f9ff;
  color: #0041dc;
  font-weight: 900;
  display: grid;
  place-items: center;
}

.catalog-card-icon-formats::before {
  content: "A6";
  width: 48px;
  height: 62px;
  left: 8px;
  bottom: 8px;
}

.catalog-card-icon-formats::after {
  content: "A3";
  width: 54px;
  height: 78px;
  right: 8px;
  top: 6px;
}

.catalog-card-icon-pdf::before {
  width: 78px;
  height: 54px;
  left: 6px;
  bottom: 8px;
  border: 5px solid #0b63ff;
  border-radius: 0 0 36px 36px;
  background: linear-gradient(90deg, #0b63ff 0 48%, #f6f9ff 49%);
}

.catalog-card-icon-pdf::after {
  width: 58px;
  height: 58px;
  left: 16px;
  top: 0;
  border: 5px solid var(--lime);
  border-radius: 50%;
}

.catalog-card-icon-proof {
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: .95;
  text-transform: uppercase;
}

.catalog-card-icon-proof::before {
  content: "CHYBA\A CHYBA\A DOBRE";
  white-space: pre;
  inset: 0;
  color: #fff;
}

.catalog-card-icon-proof::after {
  content: "DOBRE";
  left: 0;
  bottom: 0;
  color: var(--lime);
}

.catalog-card-icon-growth {
  display: grid;
  place-items: center;
  color: #fff;
  border: 5px solid rgba(183, 255, 0, .85);
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, .08), transparent 58%),
    #101d3a;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, .08);
}

.catalog-card-icon-growth::before {
  content: "+42%";
  position: static;
  font-size: 22px;
  font-weight: 900;
}

.catalog-comparison {
  margin-top: 120px;
}

.catalog-comparison h2 {
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(33px, 3.2vw, 43px);
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.catalog-comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  position: relative;
}

.catalog-compare-card {
  min-height: 250px;
  border: 1px solid rgba(178, 195, 232, .22);
  border-radius: 8px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 24px;
  align-items: center;
  background: linear-gradient(145deg, rgba(16, 29, 58, .74), rgba(8, 17, 38, .9));
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2);
  overflow: hidden;
  position: relative;
}

.catalog-compare-after {
  border-color: rgba(183, 255, 0, .72);
}

.catalog-compare-label {
  display: block;
  margin-bottom: 14px;
  color: #f0f5ff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-compare-after .catalog-compare-label,
.catalog-compare-after h3 {
  color: var(--lime);
}

.catalog-compare-card h3 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 800;
}

.catalog-compare-card ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.catalog-compare-card li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c5d0e7;
  font-size: 15px;
  font-weight: 700;
}

.catalog-compare-card li::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 1px solid currentColor;
  border-radius: 50%;
  flex: 0 0 auto;
  opacity: .75;
}

.catalog-compare-before li::before {
  background:
    linear-gradient(45deg, transparent 42%, currentColor 43% 55%, transparent 56%),
    linear-gradient(-45deg, transparent 42%, currentColor 43% 55%, transparent 56%);
}

.catalog-compare-after li::before {
  border-color: var(--lime);
  background:
    linear-gradient(135deg, transparent 46%, var(--lime) 47% 57%, transparent 58%) 7px 2px / 8px 12px no-repeat;
}

.catalog-paper-preview {
  width: 210px;
  height: 250px;
  justify-self: end;
  background:
    repeating-linear-gradient(0deg, transparent 0 17px, rgba(8, 25, 68, .2) 18px 19px),
    repeating-linear-gradient(90deg, rgba(8, 25, 68, .1) 0 42px, rgba(8, 25, 68, .22) 43px 44px),
    #f6f7fb;
  box-shadow: 0 24px 38px rgba(0, 0, 0, .28);
  transform: rotate(10deg) translateX(42px);
}

.catalog-premium-preview {
  width: 245px;
  height: 218px;
  justify-self: end;
  border-radius: 7px;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, .18), transparent 18%),
    url('/blog/media/2026/05/KatalogAD.jpg') center / cover no-repeat;
  box-shadow: 0 24px 40px rgba(0, 0, 0, .32);
  transform: rotate(8deg) translateX(46px);
}

.catalog-versus {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #002567;
  background: #fff;
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  transform: translate(-50%, -50%);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .24);
}

.catalog-process {
  padding: 100px 0 0;
}

.catalog-process h2 {
  margin: 0 0 34px;
  color: #fff;
  font-size: clamp(33px, 3.2vw, 43px);
  line-height: 1.1;
  font-weight: 900;
  text-align: center;
}

.catalog-process-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 28px;
}

.catalog-step {
  position: relative;
}

.catalog-step:not(:last-child)::after {
  content: "";
  width: 52%;
  height: 1px;
  border-top: 1px dashed rgba(178, 195, 232, .26);
  position: absolute;
  right: -38px;
  top: 23px;
}

.catalog-step-head {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}

.catalog-step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: #0041dc;
  font-size: 13px;
  font-weight: 900;
}

.catalog-step-icon {
  width: 42px;
  height: 42px;
  border: 2px solid #0b63ff;
  border-radius: 8px;
  position: relative;
}

.catalog-step-icon::before,
.catalog-step-icon::after {
  content: "";
  position: absolute;
}

.catalog-step-icon-1::before {
  inset: 7px;
  border: 2px solid #0b63ff;
  border-top: 0;
  border-bottom: 0;
}

.catalog-step-icon-1::after {
  width: 24px;
  height: 2px;
  left: 7px;
  top: 14px;
  background: #0b63ff;
  box-shadow: 0 10px 0 #0b63ff;
}

.catalog-step-icon-2,
.catalog-step-icon-3,
.catalog-step-icon-4,
.catalog-step-icon-5 {
  border-color: var(--lime);
}

.catalog-step-icon-2::before {
  inset: 8px 11px;
  border: 2px solid var(--lime);
  border-radius: 2px;
}

.catalog-step-icon-2::after {
  width: 12px;
  height: 2px;
  left: 15px;
  top: 15px;
  background: var(--lime);
  box-shadow: 0 7px 0 var(--lime);
}

.catalog-step-icon-3::before {
  width: 22px;
  height: 14px;
  left: 8px;
  bottom: 8px;
  border: 2px solid var(--lime);
}

.catalog-step-icon-3::after {
  width: 12px;
  height: 12px;
  right: 7px;
  top: 7px;
  border-top: 2px solid var(--lime);
  border-right: 2px solid var(--lime);
}

.catalog-step-icon-4::before {
  width: 26px;
  height: 18px;
  left: 7px;
  top: 9px;
  border: 2px solid var(--lime);
  border-top: 0;
  border-radius: 0 0 16px 16px;
}

.catalog-step-icon-5::before {
  inset: 8px;
  border: 2px solid var(--lime);
  border-radius: 50%;
}

.catalog-step-icon-5::after {
  width: 13px;
  height: 7px;
  left: 14px;
  top: 15px;
  border-left: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
  transform: rotate(-45deg);
}

.catalog-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 900;
}

.catalog-step p {
  margin: 0;
  color: #f0f5ff;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 700;
}

.catalog-stars {
  color: var(--lime);
  font-size: 28px;
  letter-spacing: 4px;
}

.catalog-panel {
  max-width: none;
  margin: 0 auto;
  padding: 34px 40px;
  position: relative;
  overflow: hidden;
}

.catalog-calculator .catalog-panel {
  padding: 46px 54px;
  background:
    radial-gradient(circle at 82% 64%, rgba(183, 255, 0, .16), transparent 24%),
    radial-gradient(circle at 72% 20%, rgba(6, 77, 255, .24), transparent 30%),
    linear-gradient(145deg, rgba(10, 22, 48, .98), rgba(2, 8, 20, .96));
}

.catalog-panel-heading {
  margin-bottom: 34px;
}

.catalog-calculator .catalog-panel-heading {
  margin-bottom: 66px;
}

.catalog-panel-heading span {
  display: block;
  margin-bottom: 6px;
  color: var(--lime);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.catalog-panel-heading p {
  margin: 8px 0 0;
  color: #f0f5ff;
  font-size: 14px;
  font-weight: 700;
}

.catalog-form-status {
  margin: 0 0 18px;
  border: 1px solid rgba(178, 195, 232, .18);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  font-weight: 800;
}

.catalog-form-status-success {
  color: #d6ff6b;
  background: rgba(183, 255, 0, .08);
}

.catalog-form-status-error {
  color: #ffb6c2;
  background: rgba(255, 117, 140, .08);
}

.catalog-calc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 58px;
  align-items: stretch;
  max-width: none;
  position: relative;
  z-index: 1;
}

.catalog-form {
  border: 0;
  border-radius: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 24px;
}

.catalog-form label,
.catalog-form fieldset {
  min-width: 0;
}

.catalog-form label {
  display: grid;
  gap: 10px;
  min-height: 64px;
  border: 1px solid rgba(178, 195, 232, .18);
  border-radius: 8px;
  padding: 20px 20px 14px;
  background: rgba(7, 17, 36, .36);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  position: relative;
}

.catalog-form legend span {
  color: #ff758c;
}

.catalog-field-label,
.catalog-form legend,
.catalog-range-title strong {
  width: fit-content;
  max-width: calc(100% - 24px);
  padding: 0 8px;
  color: #fff;
  background: #002567;
  line-height: 1.15;
}

.catalog-field-label {
  position: absolute;
  left: 18px;
  top: -8px;
}

.catalog-field-label span,
.catalog-range-title span,
.catalog-form legend span,
.catalog-check b {
  color: #ff758c;
}

.catalog-form input[type="text"],
.catalog-form input[type="email"],
.catalog-form input[type="tel"],
.catalog-form input[type="number"],
.catalog-form textarea {
  width: 100%;
  min-height: 28px;
  border: 0;
  border-radius: 0;
  padding: 0;
  color: #f8fbff;
  background: transparent;
  outline: 0;
  font-size: 15px;
  font-weight: 700;
}

.catalog-form textarea {
  min-height: 70px;
  padding: 0;
  resize: vertical;
}

.catalog-form input::placeholder,
.catalog-form textarea::placeholder {
  color: #8d9ab9;
}

.catalog-form input:focus,
.catalog-form textarea:focus {
  box-shadow: none;
}

.catalog-form fieldset {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(178, 195, 232, .18);
  border-radius: 8px;
  background: rgba(7, 17, 36, .36);
}

.catalog-form legend {
  margin: 0 0 8px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}

.catalog-form-wide {
  grid-column: 1 / -1;
}

label.catalog-form-wide {
  min-height: auto;
}

label.catalog-form-wide textarea {
  width: 100%;
}

.catalog-range-field,
.catalog-choice-field {
  min-height: auto;
  padding: 22px 18px 18px;
  border: 1px solid rgba(178, 195, 232, .18);
  border-radius: 8px;
  background: rgba(7, 17, 36, .36);
  position: relative;
}

.catalog-range-field:nth-child(-n+2),
.catalog-choice-field:nth-child(-n+2) {
  padding-top: 18px;
}

.catalog-range-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.catalog-range-title strong {
  margin-right: auto;
  position: absolute;
  left: 18px;
  top: -8px;
}

.catalog-range-title output {
  margin-left: auto;
  color: var(--lime);
  font-size: 23px;
  font-weight: 900;
}

.catalog-range-title small {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.catalog-pages-field {
  border-color: rgba(178, 195, 232, .28);
}

.catalog-pages-field .catalog-range-title {
  margin-bottom: 14px;
}

.catalog-pages-field .catalog-range-title strong {
  top: -8px;
}

.catalog-range-value {
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: 18px;
  white-space: nowrap;
}

.catalog-pages-field .catalog-range-value output {
  color: var(--lime);
  font-size: 23px;
  font-weight: 900;
}

.catalog-pages-field .catalog-range-value small {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.catalog-pages-field .catalog-range-scale {
  margin-top: 14px;
}

.catalog-field-head {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  margin-bottom: 30px;
  color: #fff;
}

.catalog-field-head strong {
  display: block;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.catalog-field-head small,
.catalog-range-scale {
  color: #f0f5ff;
  font-size: 15px;
  font-weight: 700;
}

.catalog-field-head output {
  margin-left: 18px;
  color: var(--lime);
  font-size: 29px;
  font-weight: 900;
}

.catalog-field-icon {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(178, 195, 232, .48);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0b63ff;
  flex: 0 0 auto;
  position: relative;
}

.catalog-field-icon::before,
.catalog-field-icon::after {
  content: "";
  position: absolute;
}

.catalog-field-icon::before {
  width: 20px;
  height: 24px;
  border: 2px solid currentColor;
  border-radius: 2px;
}

.catalog-field-icon::after {
  width: 10px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 6px 0 currentColor;
}

.catalog-field-icon-paper::before,
.catalog-field-icon-cover::before {
  border-radius: 50%;
}

.catalog-field-icon-bind::before {
  width: 24px;
  height: 17px;
  border-radius: 10px;
}

.catalog-field-icon-gift::before {
  width: 23px;
  height: 21px;
}

.catalog-field-icon-time::before {
  width: 22px;
  height: 22px;
  border-radius: 50%;
}

.catalog-field-icon-time::after {
  width: 8px;
  height: 8px;
  left: 23px;
  top: 17px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: transparent;
  box-shadow: none;
}

.catalog-range-field input[type="range"] {
  width: 100%;
  height: 22px;
  appearance: none;
  background: transparent;
  cursor: pointer;
  display: block;
}

.catalog-range-field input[type="range"]::-webkit-slider-runnable-track {
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0041dc 0 var(--range-fill, 50%), rgba(178, 195, 232, .22) var(--range-fill, 50%) 100%);
}

.catalog-range-field input[type="range"]::-webkit-slider-thumb {
  width: 24px;
  height: 24px;
  margin-top: -10px;
  appearance: none;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 22px rgba(6, 77, 255, .72);
}

.catalog-range-field input[type="range"]::-moz-range-track {
  height: 5px;
  border-radius: 999px;
  background: rgba(178, 195, 232, .22);
}

.catalog-range-field input[type="range"]::-moz-range-progress {
  height: 5px;
  border-radius: 999px;
  background: #0041dc;
}

.catalog-range-field input[type="range"]::-moz-range-thumb {
  width: 24px;
  height: 24px;
  border: 0;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 22px rgba(6, 77, 255, .72);
}

.catalog-range-scale {
  position: relative;
  height: 20px;
  margin-top: 14px;
}

.catalog-pages-field .catalog-range-scale {
  padding: 0;
}

.catalog-range-scale span {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  text-align: center;
}

.catalog-range-scale .is-active {
  color: var(--lime);
}

.catalog-segmented {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.catalog-segmented label {
  flex: 0 0 auto;
  min-width: 68px;
  min-height: 0;
  border: 0;
  padding: 0;
  background: transparent;
}

.catalog-segmented input {
  position: absolute;
  opacity: 0;
}

.catalog-segmented span {
  min-height: 34px;
  padding: 0 18px;
  border: 1px solid rgba(178, 195, 232, .2);
  display: grid;
  place-items: center;
  color: #eaf1ff;
  background: rgba(7, 17, 36, .32);
  font-size: 15px;
  font-weight: 700;
}

.catalog-segmented label:first-child span {
  border-radius: 8px;
}

.catalog-segmented label:last-child span {
  border-radius: 8px;
}

.catalog-segmented input:checked + span {
  color: #fff;
  border-color: #0041dc;
  background: linear-gradient(100deg, #0041dc, #003bd6);
}

.catalog-check {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  color: #eaf1ff;
  font-size: 15px;
  font-weight: 800;
  margin: 0;
}

.catalog-check input {
  width: 20px;
  height: 20px;
  accent-color: var(--lime);
  flex: 0 0 auto;
}

.catalog-check a {
  color: #2f7bff;
  text-decoration: underline;
}

.catalog-check b {
  color: #ff758c;
}

.catalog-option-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.catalog-form .primary-cta {
  width: max-content;
  margin-top: 2px;
}

.catalog-price-card {
  border: 1px solid rgba(178, 195, 232, .34);
  border-radius: 8px;
  padding: 28px 32px 20px;
  background:
    radial-gradient(circle at 90% 78%, rgba(183, 255, 0, .36), transparent 30%),
    linear-gradient(145deg, rgba(20, 36, 72, .98), rgba(0, 41, 180, .88));
  box-shadow: 0 28px 58px rgba(0, 41, 180, .28);
  display: flex;
  flex-direction: column;
  align-self: start;
}

.catalog-price-icon {
  width: 84px;
  height: 84px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  margin-bottom: 24px;
  position: relative;
}

.catalog-price-icon::before {
  width: 34px;
  height: 43px;
  left: 24px;
  top: 19px;
  border: 4px solid var(--lime);
  border-radius: 3px;
}

.catalog-price-icon::after {
  width: 17px;
  height: 4px;
  left: 34px;
  top: 34px;
  background: var(--lime);
  box-shadow: 0 10px 0 var(--lime), 0 20px 0 var(--lime);
}

.catalog-price-card p {
  margin: 0 0 6px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.catalog-price-card strong {
  color: var(--lime);
  font-size: 50px;
  line-height: 1;
  font-weight: 900;
}

.catalog-price-card small {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

.catalog-price-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 18px;
  padding: 0;
  list-style: none;
}

.catalog-price-card li {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #eaf1ff;
  font-size: 15px;
  font-weight: 800;
}

.catalog-price-card li::before {
  content: "";
  width: 17px;
  height: 17px;
  border: 2px solid var(--lime);
  border-radius: 50%;
  flex: 0 0 auto;
  background: radial-gradient(circle at 50% 50%, var(--lime) 0 2px, transparent 3px);
}

.catalog-price-note {
  margin: 0 0 16px;
  padding: 14px 16px;
  border: 1px solid rgba(178, 195, 232, .14);
  border-radius: 8px;
  background: rgba(2, 8, 20, .42);
}

.catalog-price-note strong,
.catalog-price-note span {
  display: block;
}

.catalog-price-note strong {
  margin-bottom: 7px;
  color: #fff;
  font-size: 15px;
  font-weight: 900;
}

.catalog-price-note span {
  color: #c5d0e7;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 700;
}

.catalog-price-book {
  min-height: 132px;
  margin: 0 -6px 14px;
  position: relative;
  background:
    radial-gradient(circle at 86% 62%, rgba(183, 255, 0, .72), transparent 28%),
    linear-gradient(90deg, transparent 0 28%, rgba(255, 255, 255, .06) 29% 30%, transparent 31%),
    url('/blog/media/2026/05/KatalogAD.jpg') center / cover no-repeat;
  clip-path: polygon(8% 18%, 52% 9%, 94% 26%, 91% 78%, 48% 90%, 7% 73%);
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, .34));
}

.catalog-price-book::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 8, 20, .18), rgba(2, 8, 20, .52) 49%, rgba(255, 255, 255, .12) 50%, rgba(2, 8, 20, .24));
}

.catalog-price-book::after {
  content: "Exclusive\A Pool";
  white-space: pre;
  position: absolute;
  left: 58px;
  top: 56px;
  color: #fff;
  font-family: Popfine, Raleway, Arial, sans-serif;
  font-size: 22px;
  line-height: .95;
}

.catalog-price-card .primary-cta {
  width: 100%;
  min-height: 52px;
  padding-inline: 54px;
  color: #002567;
  background: linear-gradient(100deg, #b4ff00, #91e600);
  box-shadow: 0 18px 34px rgba(183, 255, 0, .22);
  font-size: 14px;
  border: 0;
  cursor: pointer;
}

.catalog-price-card .primary-cta .arrow-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #b4ff00;
  background: #002567;
  border-color: #002567;
}

.catalog-price-card .primary-cta:hover .arrow-icon {
  transform: translateY(-50%);
}

.catalog-price-card em {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  text-align: center;
}

.catalog-faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.catalog-faq details {
  border: 1px solid rgba(178, 195, 232, .22);
  border-radius: 8px;
  background: rgba(7, 17, 36, .42);
  overflow: hidden;
}

.catalog-faq summary {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.catalog-faq summary::after {
  content: "";
  width: 10px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  transition: transform .2s ease;
  flex: 0 0 auto;
}

.catalog-faq details[open] summary::after {
  transform: rotate(225deg);
}

.catalog-faq details p {
  margin: 0;
  padding: 0 16px 16px;
  color: #f0f5ff;
  font-size: 16px;
  line-height: 1.5;
}

@media (max-width: 980px) {
  .catalog-hero-grid,
.catalog-calc-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero {
    padding-top: 42px;
    min-height: auto;
  }

  .catalog-hero-visual {
    min-height: 500px;
  }

  .catalog-book-left {
    width: min(34vw, 220px);
  }

  .catalog-book-open {
    width: min(56vw, 420px);
  }

  .catalog-phone {
    width: min(18vw, 116px);
  }

  .catalog-benefit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-comparison-grid {
    grid-template-columns: 1fr;
  }

  .catalog-process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-step:not(:last-child)::after {
    display: none;
  }

  .catalog-versus {
    position: relative;
    left: auto;
    top: auto;
    margin: -7px auto;
    transform: none;
  }

  .catalog-price-card {
    max-width: 360px;
  }

  .catalog-calculator .catalog-panel {
    background:
      linear-gradient(180deg, rgba(8, 17, 38, .98) 0%, rgba(8, 17, 38, .92) 100%),
      linear-gradient(145deg, rgba(16, 29, 58, .78), rgba(8, 17, 38, .9));
  }

  .catalog-calc-grid {
    max-width: none;
  }

  .catalog-form {
    grid-template-columns: 1fr;
  }

  .catalog-range-field,
.catalog-choice-field {
    padding-inline: 0;
    border-right: 0;
  }

  .catalog-range-field:nth-child(2),
.catalog-choice-field:nth-child(2) {
    border-top: 1px solid rgba(178, 195, 232, .12);
    padding-top: 26px;
  }

}

@media (max-width: 680px) {
  .catalog-page {
    font-size: 16px;
  }

  .catalog-page > section {
    padding-inline: 6px;
  }

  .catalog-hero {
    padding: 46px 0 38px;
    background:
      radial-gradient(circle at 78% 12%, rgba(183, 255, 0, .14), transparent 26%),
      radial-gradient(circle at 24% 22%, rgba(6, 77, 255, .18), transparent 30%),
      linear-gradient(180deg, #061226 0%, #020814 100%);
  }

  .catalog-hero-copy h1 {
    font-size: 46px;
    line-height: 1;
    margin-bottom: 18px;
  }

  .catalog-hero-copy > p {
    margin-bottom: 28px;
    font-size: 18px;
  }

  .catalog-hero-actions {
    gap: 16px;
  }

  .catalog-hero-visual {
    display: none;
  }

  .catalog-benefit-grid,
.catalog-form,
.catalog-faq-grid {
    grid-template-columns: 1fr;
  }

  .catalog-compare-card {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 24px 22px;
  }

  .catalog-process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .catalog-step {
    display: block;
    padding: 20px 18px;
    border: 1px solid rgba(178, 195, 232, .18);
    border-radius: 8px;
    background: linear-gradient(145deg, rgba(16, 29, 58, .72), rgba(8, 17, 38, .9));
  }

  .catalog-step-head {
    min-height: auto;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }

  .catalog-step-number {
    width: 42px;
    height: 42px;
    font-size: 14px;
  }

  .catalog-step-icon {
    width: 38px;
    height: 38px;
  }

  .catalog-step h3 {
    margin-bottom: 8px;
    font-size: 18px;
  }

  .catalog-step p {
    font-size: 14px;
  }

  .catalog-paper-preview,
.catalog-premium-preview {
    width: 100%;
    max-width: 260px;
    height: 170px;
    justify-self: center;
    transform: rotate(3deg);
  }

  .catalog-prooflets {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 34px;
  }

  .catalog-prooflets article,
.catalog-prooflets article + article {
    min-height: auto;
    padding: 16px;
    border: 1px solid rgba(178, 195, 232, .18);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 4px 12px;
    align-items: start;
    background: rgba(7, 17, 36, .38);
  }

  .catalog-prooflets article:last-child {
    padding: 16px;
    border: 1px solid rgba(178, 195, 232, .18);
  }

  .catalog-prooflets h2 {
    margin: 0;
    font-size: 15px;
  }

  .catalog-prooflets p {
    grid-column: 2;
    font-size: 13px;
    line-height: 1.4;
  }

  .catalog-mini-icon {
    grid-row: span 2;
    width: 32px;
    height: 32px;
  }

  .catalog-benefit-card {
    min-height: auto;
    padding: 20px;
  }

  .catalog-card-icon {
    width: 76px;
    height: 76px;
  }

  .catalog-benefit-card h3 {
    font-size: 18px;
  }

  .catalog-section-title p {
    font-size: 16px;
  }

  .catalog-panel {
    padding: 24px 20px;
  }

  .catalog-panel {
    margin-inline: -2px;
  }

  .catalog-calculator .container {
    width: min(100% - 28px, 1180px);
  }

  .catalog-calculator .catalog-panel {
    margin-inline: 0;
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
  }

  .catalog-calculator .catalog-panel-heading {
    margin-bottom: 34px;
  }

  .catalog-calculator .catalog-panel-heading h2 {
    font-size: 31px;
    line-height: 1.05;
  }

  .catalog-calculator .catalog-panel-heading p {
    font-size: 13px;
    line-height: 1.45;
  }

  .catalog-calc-grid {
    gap: 24px;
  }

  .catalog-form {
    padding: 20px;
    gap: 18px;
  }

  .catalog-calculator .catalog-form {
    padding: 0;
    gap: 24px;
  }

  .catalog-form label,
.catalog-form fieldset,
.catalog-range-field {
    padding: 18px 14px 14px;
  }

  .catalog-field-label,
.catalog-form legend,
.catalog-range-title strong {
    max-width: calc(100% - 18px);
    font-size: 12px;
  }

  .catalog-field-label,
.catalog-range-title strong {
    left: 14px;
  }

  .catalog-range-field,
.catalog-choice-field {
    min-height: auto;
    padding: 22px 14px 18px;
    border-right: 1px solid rgba(178, 195, 232, .18);
  }

  .catalog-range-title {
    min-height: 66px;
    align-items: flex-start;
    margin-bottom: 18px;
  }

  .catalog-range-title output {
    font-size: 24px;
  }

  .catalog-range-value {
    margin-left: auto;
    gap: 8px;
    padding: 12px 14px 10px;
    border: 1px solid rgba(183, 255, 0, .45);
    border-radius: 8px;
    background: rgba(255, 255, 255, .06);
  }

  .catalog-pages-field .catalog-range-value output {
    font-size: 24px;
  }

  .catalog-range-scale {
    height: 22px;
    font-size: 12px;
  }

  .catalog-range-field input[type="range"] {
    height: 28px;
    margin-top: 4px;
  }

  .catalog-field-head {
    align-items: flex-start;
    gap: 14px;
  }

  .catalog-segmented {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .catalog-segmented label:first-child span,
.catalog-segmented label:last-child span,
.catalog-segmented span {
    border-radius: 9px;
  }

  .catalog-price-card {
    max-width: none;
    padding: 24px 18px;
  }

  .catalog-price-card p {
    font-size: 16px;
  }

  .catalog-price-card strong {
    font-size: 44px;
  }

  .catalog-price-card ul {
    gap: 8px;
    margin: 18px 0 14px;
  }

  .catalog-price-card li {
    font-size: 13px;
    line-height: 1.35;
  }

  .catalog-price-note {
    padding: 12px 14px;
  }

  .catalog-price-book {
    display: none;
  }

  .catalog-option-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .catalog-check {
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.35;
  }

  .catalog-price-card .primary-cta {
    min-height: 54px;
    padding-inline: 42px 54px;
    font-size: 13px;
  }

  .catalog-form .primary-cta {
    width: 100%;
  }
}

@property --button-border-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

@keyframes shared-button-border-spin {
  to {
    --button-border-angle: 360deg;
  }
}

/* Unified subscription and load-more controls. */
.newsletter button,
.article-newsletter-form button,
.article-mobile-newsletter-form button,
.external-feed-load-more {
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 6px 48px 6px 20px;
  color: #fff;
  background: #0041dc;
  box-shadow: none;
}

.newsletter button .arrow-icon,
:root[data-theme="dark"] .newsletter button .arrow-icon,
.article-newsletter-form button .arrow-icon,
.article-mobile-newsletter-form button .arrow-icon,
.external-feed-load-more .arrow-icon {
  width: 36px;
  height: 36px;
  border: 0;
  right: 6px;
  color: #fff;
  background: #061329;
}

.newsletter button .arrow-icon svg,
:root[data-theme="dark"] .newsletter button .arrow-icon svg,
.article-newsletter-form button .arrow-icon svg,
.article-mobile-newsletter-form button .arrow-icon svg,
.external-feed-load-more .arrow-icon svg {
  width: 13px;
  height: 15px;
}

.newsletter button:is(:hover, :focus-visible),
.article-newsletter-form button:is(:hover, :focus-visible),
.article-mobile-newsletter-form button:is(:hover, :focus-visible),
.external-feed-load-more:is(:hover, :focus-visible) {
  border: 0;
  background: #0041dc;
  transform: none;
  box-shadow: none;
}

.newsletter button:is(:hover, :focus-visible) .arrow-icon,
.article-newsletter-form button:is(:hover, :focus-visible) .arrow-icon,
.article-mobile-newsletter-form button:is(:hover, :focus-visible) .arrow-icon,
.external-feed-load-more:is(:hover, :focus-visible) .arrow-icon {
  color: #fff;
  background: #061329;
  border: 0;
  transform: translateY(-50%);
}

.newsletter button:is(:hover, :focus-visible) .arrow-icon svg,
.article-newsletter-form button:is(:hover, :focus-visible) .arrow-icon svg,
.article-mobile-newsletter-form button:is(:hover, :focus-visible) .arrow-icon svg,
.external-feed-load-more:is(:hover, :focus-visible) .arrow-icon svg {
  transform: rotate(90deg);
}

@media (max-width: 980px) {
  .newsletter button,
.article-mobile-newsletter-form button {
    justify-content: center;
  }
}

.theme-toggle.is-theme-changing::before,
.menu-toggle.is-menu-changing::before {
  opacity: 1;
  animation: shared-button-border-spin .7s ease-in-out 1;
}

.theme-toggle.is-theme-animation-done:is(:hover, :focus-visible)::before,
.menu-toggle.is-menu-animation-done:is(:hover, :focus-visible)::before {
  opacity: 0;
  animation: none;
}

.theme-toggle.is-theme-animation-done:is(:hover, :focus-visible),
.menu-toggle.is-menu-animation-done:is(:hover, :focus-visible) {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 10px 24px rgba(0, 20, 90, .2);
}

@media (prefers-reduced-motion: reduce) {
  .theme-toggle.is-theme-changing::before,
.menu-toggle.is-menu-changing::before {
    animation: none;
  }
}

/* VISUALSPACE WIDE NAV */
.site-header .nav {
  width: 80%;
  max-width: none;
}

.nav-pills {
  align-items: center;
}

.nav-pills > :nth-child(-n + 2) {
  order: 1;
}

.nav-mark {
  width: 48px;
  height: 34px;
  margin-inline: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  order: 2;
  flex: 0 0 auto;
}

.nav-mark img {
  width: 40px;
  height: auto;
  display: block;
}

.nav-pills > :nth-child(n + 3):not(.nav-mark) {
  order: 3;
}

@media (max-width: 980px) {
  .site-header .nav {
    width: min(100% - 44px, 1180px);
  }

  .nav-mark {
    width: 100%;
    height: 32px;
    margin: 0;
  }

  .nav-mark img {
    width: 36px;
  }
}

@media (max-width: 680px) {
  .site-header .nav {
    width: min(100% - 28px, 1180px);
  }
}
/* VISUALSPACE FIXED CENTER MARK */
@media (min-width: 981px) {
  .nav-pills {
    min-width: 650px;
    position: relative;
  }

  .nav-mark {
    margin: 0;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .nav-pills > :nth-child(2) {
    margin-right: 70px;
  }
}
/* VISUALSPACE BALANCED NAV GROUPS */
.nav-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

@media (min-width: 981px) {
  .nav-pills {
    width: min(820px, 100%);
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
  }

  .nav-group-left {
    justify-content: flex-end;
  }

  .nav-group-right {
    justify-content: flex-start;
  }

  .nav-mark {
    width: 48px;
    margin: 0;
    position: static;
    transform: none;
  }

  .nav-pills > :nth-child(2) {
    margin-right: 0;
  }
}

@media (max-width: 980px) {
  .nav-group {
    display: grid;
    gap: 8px;
  }
}
/* IPAD PRO HEADER */
@media (min-width: 981px) and (max-width: 1180px) {
  .site-header .nav {
    width: calc(100% - 36px);
    grid-template-columns: 145px minmax(0, 1fr) 105px;
    gap: 12px;
  }

  .brand img {
    width: 140px;
  }

  .nav-pills {
    width: 100%;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr);
  }

  .nav-group {
    gap: 8px;
  }

  .nav-pills a {
    min-width: 0;
    padding: 10px 12px;
    font-size: 11px;
  }

  .nav-mark,
  .nav-mark img {
    width: 36px;
  }
}
/* TABLET HAMBURGER */
@media (min-width: 981px) and (max-width: 1180px) {
  .site-header .nav {
    width: min(100% - 44px, 1180px);
    grid-template-columns: 1fr auto;
    gap: 18px;
  }

  .nav-pills {
    width: auto;
    min-width: 250px;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 24px;
    background: rgba(0, 18, 91, .96);
    box-shadow: 0 22px 48px rgba(0, 18, 91, .28);
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .nav.is-menu-open .nav-pills {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-group {
    display: grid;
    gap: 8px;
  }

  .nav-pills a {
    width: 100%;
    min-width: 0;
    display: block;
    padding: 12px 14px;
  }

  .nav-mark {
    width: 100%;
    height: 32px;
  }

  .nav-mark img {
    width: 36px;
  }

  .menu-toggle {
    display: inline-flex;
  }
}
/* HIDE MARK IN HAMBURGER */
@media (max-width: 1180px) {
  .nav-mark {
    display: none;
  }
}

/* SOCIAL LINKS INSIDE HAMBURGER */
.mobile-menu-socials {
  display: none;
}

@media (max-width: 1180px) {
  .mobile-menu-socials {
    display: grid;
    gap: 11px;
    margin-top: 4px;
    padding: 16px 8px 6px;
    border-top: 1px solid rgba(255, 255, 255, .18);
  }

  .mobile-menu-socials-title {
    color: rgba(255, 255, 255, .65);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .16em;
  }

  .mobile-menu-socials-links {
    display: flex;
    gap: 9px;
  }

  .nav-pills .mobile-menu-socials a {
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
  }

  .nav-pills .mobile-menu-socials a::before,
.nav-pills .mobile-menu-socials a::after {
    display: none;
  }

  .nav-pills .mobile-menu-socials a:hover,
.nav-pills .mobile-menu-socials a:focus-visible {
    border-color: #b4ff00;
    background: rgba(180, 255, 0, .16);
    transform: translateY(-2px);
  }

  .nav-pills .nav-group a {
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .1);
    box-shadow: none;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
  }

  .nav-pills .nav-group a::before,
  .nav-pills .nav-group a::after {
    display: none;
  }

  .nav-pills .nav-group a:hover,
  .nav-pills .nav-group a:focus-visible {
    border-color: #b4ff00;
    background: rgba(180, 255, 0, .16);
    box-shadow: none;
    transform: translateY(-2px);
  }
  .mobile-menu-socials img {
    width: 20px;
    height: 20px;
    object-fit: contain;
  }

  .vs-footer-social {
    display: none;
  }
}
