@font-face {
  font-family: "Bebas Neue";
  src: url("fonts/BebasNeue-Regular.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}
@font-face {
  font-family: "DM Sans";
  src: url("fonts/DMSans-Variable.ttf") format("truetype");
  font-display: swap;
  font-weight: 100 1000;
}
.xp-surface {
  --xp-red: #cc1b1b;
  --xp-ink: #11100f;
  --xp-paper: #fffdf9;
  --xp-warm: #f3efe8;
  --xp-muted: #68635d;
  --xp-line: #d9d2c9;
  --xp-display: "Bebas Neue", Impact, sans-serif;
  --xp-sans: "DM Sans", system-ui, sans-serif;
  --xp-shadow: 0 18px 54px rgba(17, 16, 15, 0.1);
  width: 100%;
  max-width: none;
  overflow: clip;
  background: var(--xp-paper);
  color: var(--xp-ink);
  font-family: var(--xp-sans);
  font-size: 16px;
  line-height: 1.55;
}
.xp-surface,
.xp-surface *,
.xp-surface *::before,
.xp-surface *::after {
  box-sizing: border-box;
}
body.xp-drawer-open {
  overflow: hidden;
}
.xp-surface a {
  color: inherit;
}
.xp-surface button,
.xp-surface input,
.xp-surface select {
  font: inherit;
}
.xp-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}
.xp-skip-link {
  position: fixed;
  left: 12px;
  top: -100px;
  z-index: 9999;
  background: var(--xp-ink);
  color: #fff;
  padding: 12px 18px;
}
.xp-skip-link:focus {
  top: 12px;
}
.xp-header {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid var(--xp-line);
  background: rgba(255, 253, 249, 0.96);
}
.xp-header__inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xp-brand {
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}
.xp-brand__mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--xp-red);
  color: #fff;
  font-family: var(--xp-display);
  font-size: 24px;
  letter-spacing: 0.03em;
}
.xp-header nav {
  display: flex;
  gap: 28px;
}
.xp-header nav a {
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}
.xp-header nav a:hover,
.xp-header nav a:focus {
  text-decoration: underline;
  text-decoration-color: var(--xp-red);
  text-underline-offset: 5px;
}
.xp-kicker {
  margin: 0 0 10px;
  color: var(--xp-red);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.xp-hero {
  padding: 66px 0 64px;
  background: linear-gradient(
    135deg,
    var(--xp-paper) 0 65%,
    var(--xp-warm) 65%
  );
}
.xp-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 64px;
  align-items: center;
}
.xp-hero h1 {
  max-width: 100%;
  margin: 0;
  font: 400 clamp(4.8rem, 7vw, 7rem) / 0.84 var(--xp-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.xp-hero__lead {
  max-width: 580px;
  margin: 22px 0 0;
  color: var(--xp-muted);
  font-size: 1.1rem;
  line-height: 1.65;
}
.xp-hero__search {
  background: #fff;
  border: 1px solid var(--xp-line);
  padding: 26px;
  box-shadow: var(--xp-shadow);
}
.xp-filters {
  position: relative;
}
.xp-search label,
.xp-filter-row label {
  display: grid;
  gap: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.xp-search__control {
  display: grid;
  grid-template-columns: 1fr auto;
}
.xp-search input {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--xp-ink);
  border-right: 0;
  padding: 15px 16px;
  background: #fff;
  color: var(--xp-ink);
}
.xp-search button {
  border: 1px solid var(--xp-red);
  background: var(--xp-red);
  color: #fff;
  padding: 0 20px;
  font-weight: 700;
  cursor: pointer;
}
.xp-autocomplete {
  position: absolute;
  z-index: 50;
  left: 0;
  right: 0;
  top: 78px;
  margin: 0;
  padding: 8px;
  list-style: none;
  border: 1px solid var(--xp-line);
  background: #fff;
  box-shadow: var(--xp-shadow);
}
.xp-autocomplete a {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 10px;
  text-decoration: none;
}
.xp-autocomplete a:hover,
.xp-autocomplete a:focus {
  background: var(--xp-warm);
}
.xp-autocomplete span {
  color: var(--xp-muted);
  font-size: 0.8rem;
}
.xp-autocomplete__empty {
  display: block;
  padding: 10px;
}
.xp-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 120px) minmax(0, 1.25fr) auto;
  gap: 12px;
  margin-top: 18px;
}
.xp-hero__search .xp-filter-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.75fr);
}
.xp-hero__search .xp-filter-row label:nth-child(3) {
  grid-column: 1 / -1;
}
.xp-filter-row select {
  width: 100%;
  min-width: 0;
  height: 44px;
  border: 1px solid var(--xp-line);
  background: #fff;
  padding: 0 32px 0 10px;
}
.xp-filter-reset {
  align-self: end;
  height: 44px;
  border: 1px solid var(--xp-ink);
  background: transparent;
  padding: 0 14px;
  cursor: pointer;
}
.xp-filter-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: var(--xp-muted);
  font-size: 0.86rem;
}
.xp-section {
  padding-top: 72px;
  padding-bottom: 72px;
}
.xp-section-heading {
  margin-bottom: 32px;
}
.xp-section-heading--row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.xp-section-heading h1,
.xp-section-heading h2,
.xp-entry h2,
.xp-related h2 {
  margin: 0;
  font: 400 clamp(2.5rem, 5vw, 4.6rem) / 0.92 var(--xp-display);
  text-transform: uppercase;
}
.xp-section-heading--row > p {
  margin: 0;
  color: var(--xp-muted);
}
.xp-category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--xp-line);
  border-top: 1px solid var(--xp-line);
}
.xp-category-tile {
  min-height: 240px;
  padding: 28px;
  border-right: 1px solid var(--xp-line);
  border-bottom: 1px solid var(--xp-line);
  text-decoration: none;
  transition:
    background 0.2s,
    color 0.2s;
}
.xp-category-tile:hover,
.xp-category-tile:focus {
  background: var(--xp-ink);
  color: #fff;
}
.xp-category-tile__count {
  color: var(--xp-red);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.xp-category-tile h3 {
  margin: 30px 0 12px;
  font: 400 2.25rem/1 var(--xp-display);
  text-transform: uppercase;
}
.xp-category-tile p {
  margin: 0 0 20px;
  color: var(--xp-muted);
}
.xp-category-tile:hover p,
.xp-category-tile:focus p {
  color: #d7d1c8;
}
.xp-text-link {
  font-weight: 700;
  text-decoration: none;
}
.xp-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.xp-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid var(--xp-line);
  background: #fff;
}
.xp-card__media {
  display: block;
  aspect-ratio: 1;
  background: var(--xp-warm);
  overflow: hidden;
}
.xp-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.xp-card__image-frame {
  display: block;
  width: 100%;
  height: 100%;
}
.xp-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}
.xp-card__eyebrow {
  margin: 0 0 9px;
  color: var(--xp-red);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}
.xp-card h2 {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.2;
}
.xp-card h2 a {
  text-decoration: none;
}
.xp-card h2 a:hover,
.xp-card h2 a:focus {
  text-decoration: underline;
  text-decoration-color: var(--xp-red);
  text-underline-offset: 3px;
}
.xp-card__relation {
  min-height: 2.8em;
  margin: 10px 0 0;
  color: var(--xp-muted);
  font-size: 0.77rem;
  font-weight: 600;
}
.xp-card__hook {
  display: -webkit-box;
  min-height: 3.1em;
  margin: 12px 0 18px;
  overflow: hidden;
  color: var(--xp-muted);
  font-size: 0.86rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.xp-card__actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.xp-card__actions a,
.xp-quick-button {
  font-size: 0.78rem;
}
.xp-quick-button {
  border: 0;
  border-bottom: 1px solid var(--xp-ink);
  background: none;
  padding: 2px 0;
  cursor: pointer;
}
.no-js .xp-quick-button {
  display: none;
}
.xp-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

[data-catalog-pagination][hidden] {
  display: none;
}
.xp-pagination a,
.xp-pagination button,
.xp-pagination span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--xp-line);
  text-decoration: none;
}
.xp-pagination form {
  display: contents;
}
.xp-pagination button {
  border: 0;
  cursor: pointer;
  font: inherit;
}
.xp-pagination span {
  border-color: var(--xp-red);
  background: var(--xp-red);
  color: #fff;
}
.xp-categories-section {
  border-top: 1px solid var(--xp-line);
}
.xp-category-hero {
  padding: 58px 0 62px;
  background: var(--xp-warm);
}
.xp-category-hero h1 {
  margin: 0;
  font: 400 clamp(4rem, 8vw, 6.8rem) / 0.88 var(--xp-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.xp-category-hero > div > p:last-child {
  max-width: 650px;
  color: var(--xp-muted);
  font-size: 1.1rem;
}
.xp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 34px;
  color: var(--xp-muted);
  font-size: 0.82rem;
}
.xp-breadcrumb a {
  text-underline-offset: 3px;
}
.xp-entry {
  padding: 30px 0 96px;
}
.xp-entry-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
  padding: 22px 0 72px;
}
.xp-entry-hero__copy {
  min-width: 0;
}
.xp-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 0;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
  color: var(--xp-red);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}
.xp-entry-meta li {
  display: flex;
  align-items: center;
}
.xp-entry-meta li:not(:last-child)::after {
  content: "·";
  margin-inline: 9px;
  color: var(--xp-line);
}
.xp-entry-lead {
  max-width: 62ch;
  margin: 24px 0 0;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--xp-muted);
}
.xp-entry h1.xp-entry-title--normal {
  margin: 0;
  font: 400 clamp(4rem, 6vw, 6.3rem) / 0.86 var(--xp-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.xp-entry h1.xp-entry-title--long {
  max-width: 16ch;
  margin: 0;
  font: 400 clamp(3.3rem, 5vw, 5.2rem) / 0.88 var(--xp-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.xp-entry h1.xp-entry-title--very-long {
  max-width: 18ch;
  margin: 0;
  font: 400 clamp(2.8rem, 4vw, 4.25rem) / 0.9 var(--xp-display);
  letter-spacing: 0.01em;
  text-transform: uppercase;
  overflow-wrap: break-word;
}
.xp-relation-pill {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 12px;
  border: 1px solid var(--xp-red);
  color: var(--xp-red);
  font-size: 0.78rem;
  font-weight: 700;
}
.xp-gallery {
  min-width: 0;
}
.xp-gallery__main {
  margin: 0;
  background: var(--xp-warm);
  border: 1px solid var(--xp-line);
}
.xp-gallery__stage {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  touch-action: pan-y;
}
.xp-gallery__stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.xp-gallery__main figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  min-height: 48px;
  padding: 12px 14px;
  border-top: 1px solid var(--xp-line);
  color: var(--xp-muted);
  font-size: 0.72rem;
}
.xp-gallery__position {
  flex: 0 0 auto;
  font-weight: 700;
}
.xp-gallery__controls {
  display: none;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}
.xp-gallery.is-enhanced .xp-gallery__controls {
  display: flex;
}
.xp-gallery__controls button {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--xp-ink);
  background: var(--xp-paper);
  cursor: pointer;
  font-size: 1.1rem;
}
.xp-gallery__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
}
.xp-gallery__dot {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: var(--xp-line);
  padding: 0;
}
.xp-gallery__dot[aria-current="true"] {
  background: var(--xp-red);
}
.xp-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 9px;
  margin-top: 10px;
}
.xp-gallery__thumbs a {
  display: grid;
  aspect-ratio: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--xp-line);
  background: var(--xp-warm);
}
.xp-gallery__thumbs a[aria-current="true"] {
  border: 2px solid var(--xp-red);
}
.xp-gallery__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.xp-entry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 78px;
  border-top: 1px solid var(--xp-line);
  padding-top: 70px;
}
.xp-entry-copy section {
  margin-bottom: 56px;
}
.xp-entry-copy section > p:not(.xp-kicker) {
  max-width: 68ch;
  font-size: 1.08rem;
  line-height: 1.75;
}
.xp-caveat {
  border-left: 5px solid var(--xp-red);
  background: var(--xp-warm);
  padding: 24px;
  margin-bottom: 62px;
}
.xp-caveat p {
  margin-bottom: 0;
}
.xp-facts {
  align-self: start;
  position: sticky;
  top: 24px;
  border: 1px solid var(--xp-line);
  padding: 25px;
}
.xp-facts dl,
.xp-drawer__facts {
  display: grid;
  grid-template-columns: 100px 1fr;
  margin: 0;
}
.xp-facts dt,
.xp-facts dd,
.xp-drawer__facts dt,
.xp-drawer__facts dd {
  margin: 0;
  padding: 10px 0;
  border-bottom: 1px solid var(--xp-line);
}
.xp-facts dt,
.xp-drawer__facts dt {
  color: var(--xp-muted);
  font-size: 0.78rem;
}
.xp-entry-body {
  width: min(820px, 100%);
  margin-inline: auto;
  padding-top: 64px;
  border-top: 1px solid var(--xp-line);
}
.xp-entry-body h2 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  line-height: 0.95;
}
.xp-entry--concise .xp-entry-body {
  width: min(760px, 100%);
}
.xp-entry-identity {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 28px 0 0;
  padding: 18px 0;
  border-block: 1px solid var(--xp-line);
  color: var(--xp-muted);
  font-size: 0.9rem !important;
}
.xp-entry-identity span {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 7px;
}
.xp-entry-identity strong {
  color: var(--xp-ink);
}
.xp-editorial-note {
  margin: 0 0 56px;
  padding: 4px 0 4px 24px;
  border-left: 2px solid var(--xp-red);
}
.xp-editorial-note p:last-child {
  max-width: 68ch;
  margin-bottom: 0;
  color: var(--xp-muted);
  font-size: 1rem;
  line-height: 1.7;
}
.xp-sources {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid var(--xp-line);
}
.xp-sources li {
  margin: 0;
  border-top: 1px solid var(--xp-line);
}
.xp-sources a {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  text-decoration: none;
  font-weight: 650;
}
.xp-sources a:hover,
.xp-sources a:focus {
  color: var(--xp-red);
}
.xp-sources a span {
  flex: 0 0 auto;
}
.xp-back-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 2px;
  border-bottom: 1px solid currentColor;
  text-decoration: none;
  font-weight: 700;
}
.xp-related {
  margin-top: 96px;
  padding-top: 56px;
  border-top: 1px solid var(--xp-line);
}
.xp-related > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 24px;
}
.xp-related a {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 18px;
  border: 1px solid var(--xp-line);
  text-decoration: none;
  font-weight: 700;
}
.xp-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(17, 16, 15, 0.48);
}
.xp-drawer {
  position: fixed;
  /* Keep the close control above the WordPress admin toolbar (99999). */
  z-index: 100001;
  inset: 0 0 0 auto;
  width: min(560px, 100%);
  overflow: auto;
  background: var(--xp-paper);
  padding: 34px;
  box-shadow: var(--xp-shadow);
}
.xp-drawer__close {
  display: block;
  margin: 0 0 48px auto;
  border: 0;
  background: none;
  font-weight: 700;
  cursor: pointer;
}
/* The site's admin toolbar uses the maximum z-index and can wrap to two rows. */
body.admin-bar .xp-drawer {
  top: 80px;
}
.xp-drawer__close span {
  font-size: 1.5rem;
  margin-left: 7px;
}
.xp-drawer__content h2 {
  margin: 0;
  font: 400 3.5rem/1 var(--xp-display);
  text-transform: uppercase;
}
.xp-drawer__image {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 26px;
  background: var(--xp-warm);
}
.xp-drawer__relation {
  color: var(--xp-red);
  font-weight: 700;
}
.xp-drawer__summary {
  font-size: 1.05rem;
  line-height: 1.65;
}
.xp-drawer__context {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--xp-line);
  color: var(--xp-muted);
  line-height: 1.65;
}
.xp-drawer__facts {
  margin: 26px 0;
}
.xp-caveat-inline {
  background: var(--xp-warm);
  padding: 18px;
}
.xp-primary-link {
  display: inline-block;
  margin-top: 18px;
  background: var(--xp-red);
  color: #fff;
  padding: 13px 18px;
  text-decoration: none;
  font-weight: 700;
}
.xp-empty {
  grid-column: 1/-1;
  padding: 50px;
  background: var(--xp-warm);
  text-align: center;
}
:focus-visible {
  outline: 3px solid #21759b;
  outline-offset: 3px;
}
@media (max-width: 1050px) {
  .xp-hero__grid,
  .xp-entry-hero {
    grid-template-columns: 1fr;
    gap: 38px;
  }
  .xp-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .xp-category-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .xp-entry-layout {
    grid-template-columns: 1fr;
  }
  .xp-facts {
    position: static;
  }
  .xp-filter-row {
    grid-template-columns: 1fr 1fr;
  }
  .xp-filter-reset {
    width: max-content;
  }
}
@media (max-width: 640px) {
  .xp-shell {
    width: min(100% - 28px, 1180px);
  }
  .xp-header__inner {
    height: 64px;
  }
  .xp-header nav {
    display: none;
  }
  .xp-hero {
    padding: 42px 0 48px;
  }
  .xp-hero__grid {
    gap: 30px;
  }
  .xp-hero h1 {
    max-width: 100%;
    font-size: clamp(3.4rem, 17vw, 4.5rem);
    line-height: 0.86;
  }
  .xp-category-hero h1 {
    overflow-wrap: anywhere;
    font-size: clamp(2.7rem, 12vw, 4.2rem);
  }
  .xp-entry h1.xp-entry-title--normal {
    font-size: clamp(3.35rem, 15vw, 4.5rem);
  }
  .xp-entry h1.xp-entry-title--long {
    max-width: 18ch;
    font-size: clamp(2.8rem, 12vw, 3.7rem);
    line-height: 0.9;
  }
  .xp-entry h1.xp-entry-title--very-long {
    max-width: 20ch;
    font-size: clamp(2.35rem, 10vw, 3.05rem);
    line-height: 0.92;
    overflow-wrap: anywhere;
  }
  .xp-hero__lead {
    margin-top: 18px;
    font-size: 1rem;
  }
  .xp-hero__search {
    padding: 16px;
  }
  .xp-search__control {
    grid-template-columns: 1fr;
  }
  .xp-search input {
    border-right: 1px solid var(--xp-ink);
  }
  .xp-search button {
    height: 46px;
  }
  .xp-filter-row {
    grid-template-columns: 1fr;
  }
  .xp-hero__search .xp-filter-row {
    grid-template-columns: 1fr;
  }
  .xp-section {
    padding-block: 50px;
  }
  .xp-category-grid {
    grid-template-columns: 1fr;
  }
  .xp-category-tile {
    min-height: 205px;
  }
  .xp-grid {
    grid-template-columns: 1fr;
  }
  .xp-card {
    display: grid;
    grid-template-columns: 124px 1fr;
  }
  .xp-card__media {
    height: 100%;
    aspect-ratio: auto;
  }
  .xp-card__body {
    padding: 14px;
  }
  .xp-card__relation {
    min-height: 0;
  }
  .xp-card__hook {
    display: none;
  }
  .xp-card__actions {
    align-items: flex-end;
  }
  .xp-section-heading--row {
    display: block;
  }
  .xp-entry-hero {
    gap: 34px;
    padding: 10px 0 48px;
  }
  .xp-entry-meta {
    margin-bottom: 14px;
    font-size: 0.68rem;
  }
  .xp-entry-lead {
    margin-top: 20px;
    font-size: 1.02rem;
    line-height: 1.65;
  }
  .xp-gallery__thumbs {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 4px;
  }
  .xp-gallery__thumbs a {
    flex: 0 0 76px;
    scroll-snap-align: start;
  }
  .xp-gallery__main figcaption {
    min-height: 0;
  }
  .xp-entry-body {
    padding-top: 44px;
  }
  .xp-entry-copy section {
    margin-bottom: 44px;
  }
  .xp-editorial-note {
    margin-bottom: 44px;
    padding-left: 18px;
  }
  .xp-related > div {
    grid-template-columns: 1fr;
  }
  .xp-drawer {
    padding: 22px;
  }
  .xp-drawer__content h2 {
    font-size: 3rem;
  }
  .xp-breadcrumb {
    margin-bottom: 26px;
  }
  .xp-category-hero {
    padding: 42px 0 46px;
  }
}
@media (max-width: 380px) {
  body.xp-site #header .site-branding,
  body.xp-site #header .site-title-container {
    min-width: 0;
    max-width: 100%;
  }
  body.xp-site #header .site-title {
    font-size: 23px;
    line-height: 1;
    letter-spacing: 0.8px;
    white-space: nowrap;
  }
  body.xp-site #header .site-description {
    display: none;
  }
  .xp-card {
    grid-template-columns: 100px 1fr;
  }
  .xp-card h2 {
    font-size: 1rem;
  }
  .xp-card__actions {
    display: grid;
  }
  .xp-quick-button {
    width: max-content;
  }
  .xp-shell {
    width: calc(100% - 20px);
  }
  .xp-hero h1 {
    font-size: clamp(3.1rem, 16vw, 3.65rem);
  }
  .xp-entry h1.xp-entry-title--normal {
    font-size: clamp(3rem, 14vw, 3.5rem);
  }
  .xp-entry h1.xp-entry-title--long {
    font-size: clamp(2.6rem, 11vw, 3.15rem);
  }
  .xp-entry h1.xp-entry-title--very-long {
    font-size: clamp(2.15rem, 9.5vw, 2.7rem);
  }
}
/* Editorial R1: consistent product content and compact, usable search. */
.xp-filter-options { margin-top: 16px; }
.xp-filter-options > summary { cursor: pointer; font-weight: 700; padding: 10px 0; }
.xp-filter-options[open] > summary { margin-bottom: 6px; }
.xp-filter-row,
.xp-hero__search .xp-filter-row { grid-template-columns: minmax(0, 1fr) minmax(155px, .65fr) auto; }
.xp-filter-row label { min-width: 0; }
.xp-filter-reset { align-self: end; display: inline-flex; align-items: center; justify-content: center; min-height: 46px; text-decoration: underline; padding-inline: 8px; }
.xp-specifications { margin: 24px 0; font-size: .95rem; }
.xp-specifications > div { display: grid; grid-template-columns: minmax(130px, .7fr) minmax(0, 1.3fr); gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--xp-line); }
.xp-specifications dt { font-weight: 700; }
.xp-specifications dd { margin: 0; overflow-wrap: anywhere; }
.xp-editorial-links { list-style: none; padding: 0; margin: 24px 0; }
.xp-editorial-links li { margin-bottom: 12px; }
.xp-editorial-links a { display: grid; grid-template-columns: 1fr auto; gap: 8px 16px; padding: 22px; border: 1px solid var(--xp-ink); background: var(--xp-paper); text-decoration: none; }
.xp-editorial-links a:hover { border-color: var(--xp-red); }
.xp-editorial-links__kind { grid-column: 1 / -1; text-transform: uppercase; font-size: .7rem; letter-spacing: .09em; color: var(--xp-red); font-weight: 700; }
.xp-entry-identity { flex-wrap: wrap; }
.xp-grid[aria-busy="true"] { opacity: .65; }
.xp-pagination[hidden] { display: none; }
.xp-card__hook { margin-top: 12px; }
.xp-entry-updated { margin-top: 18px; font-size: .8rem; color: var(--xp-muted); }
@media (min-width: 701px) {
  .xp-filter-options > summary { display: none; }
}
@media (max-width: 700px) {
  .xp-hero { padding-block: 30px; }
  .xp-hero__grid { gap: 24px; }
  .xp-hero h1 { font-size: clamp(2.75rem, 12vw, 4.2rem); }
  .xp-hero__lead { margin-top: 14px; }
  .xp-hero__search { padding: 14px; }
  .xp-search__control { grid-template-columns: minmax(0, 1fr) auto; }
  .xp-search input { border-right: 0; }
  .xp-search button { height: auto; min-height: 46px; padding-inline: 16px; }
  .xp-filter-options { margin-top: 4px; }
  .xp-filter-options:not([open]) .xp-filter-row { display: none; }
  .xp-filter-row,
  .xp-hero__search .xp-filter-row { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .xp-filter-status:empty { display: none; }
  .xp-filter-status { margin-block: 8px 0; }
  .xp-header nav { display: flex; gap: 14px; font-size: .78rem; }
  .xp-header__inner { gap: 12px; }
  .xp-brand { font-size: 1rem; }
  .xp-brand__mark { width: 30px; height: 30px; }
  .xp-section { padding-block: 32px; }
  .xp-specifications > div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .xp-editorial-links a { padding: 16px; }
}
/* Compact catalog entry: products belong in the first desktop viewport. */
.xp-catalog-page .xp-hero { padding: 20px 0 16px; background: var(--xp-paper); }
.xp-catalog-page .xp-hero__grid { display: block; }
.xp-catalog-page .xp-hero h1 { font-size: clamp(2.8rem, 4.3vw, 4rem); line-height: 1; }
.xp-catalog-page .xp-hero__lead { max-width: none; margin: 6px 0 18px; font-size: 1rem; line-height: 1.5; }
.xp-catalog-page .xp-hero__search { padding: 16px; background: var(--xp-warm); box-shadow: none; }
.xp-catalog-page .xp-kicker { margin-bottom: 5px; }
.xp-catalog-page #catalogo { padding-top: 16px; }
.xp-catalog-page #catalogo .xp-section-heading { margin-bottom: 20px; align-items: center; gap: 16px; }
.xp-catalog-page #catalogo .xp-section-heading h1,
.xp-catalog-page #catalogo .xp-section-heading h2 { font-size: 2rem; line-height: 1.1; }
.xp-catalog-page .xp-filter-status:empty { display: none; }
.xp-catalog-page .xp-filter-reset { border: 0; }
.xp-catalog-page .xp-search input { height: 46px; padding-block: 10px; }
@media (min-width: 701px) {
  .xp-catalog-page .xp-card__media { aspect-ratio: 16 / 10; max-height: 180px; }
}
@media (min-width: 1000px) {
  .xp-catalog-page .xp-filters { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(440px, 1.25fr); gap: 16px; align-items: end; }
  .xp-catalog-page .xp-filter-options { margin: 0; }
  .xp-catalog-page .xp-filter-row { margin: 0; grid-template-columns: minmax(180px, 1fr) minmax(140px, .7fr) auto; }
  .xp-catalog-page .xp-filter-status { grid-column: 1 / -1; margin: 0; }
}
@media (max-width: 700px) {
  .xp-catalog-page .xp-hero { padding: 20px 0 12px; }
  .xp-catalog-page .xp-hero h1 { font-size: 2.8rem; }
  .xp-catalog-page .xp-hero__lead { font-size: .92rem; margin-bottom: 14px; }
  .xp-catalog-page .xp-hero__search { padding: 12px; }
  .xp-catalog-page #catalogo .xp-section-heading { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: 14px; }
  .xp-catalog-page #catalogo .xp-section-heading h1,
  .xp-catalog-page #catalogo .xp-section-heading h2 { font-size: 1.7rem; }
  .xp-catalog-page #catalogo .xp-section-heading > p { font-size: .82rem; }
}
@media (prefers-reduced-motion: reduce) {
  .xp-surface,
  .xp-surface *,
  .xp-surface *::before,
  .xp-surface *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
@media print {
  .xp-header,
  .xp-drawer,
  .xp-drawer-backdrop,
  .xp-quick-button,
  .xp-filters {
    display: none !important;
  }
  .xp-entry {
    padding: 0;
  }
  .xp-entry-layout {
    display: block;
  }
}

/* Catalog cover presentation: original assets stay untouched in previews/details. */
.xp-catalog-page .xp-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f4f1;
}
.xp-catalog-page .xp-card__image-frame {
  position: relative;
  overflow: hidden;
  flex: none;
  width: min(calc(148px * var(--xp-image-ratio, 1)), calc(100% - 40px));
  height: auto;
  aspect-ratio: var(--xp-image-ratio, 1);
  mix-blend-mode: multiply;
}
.xp-catalog-page .xp-card__image-frame img {
  position: absolute;
  width: var(--xp-image-width, 100%);
  height: var(--xp-image-height, 100%);
  left: var(--xp-image-left, 0%);
  top: var(--xp-image-top, 0%);
  max-width: none;
  object-fit: contain;
}
@media (max-width: 700px) {
  .xp-catalog-page .xp-card__image-frame {
    width: min(calc(112px * var(--xp-image-ratio, 1)), calc(100% - 20px));
  }
}

/* Historical entry points stay below the first product viewport. */
.xp-catalog-meta { display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
.xp-catalog-meta p { margin:0; }
.xp-origins { scroll-margin-top:90px; }
.xp-origins__intro { max-width:82ch; line-height:1.7; }
.xp-origins__timeline { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px; list-style:none; padding:0; margin:28px 0; }
.xp-origins__timeline > li { border-left:3px solid var(--xp-accent, #e86125); padding-left:20px; }
.xp-origins__timeline h3 { font-size:18px; margin:0 0 12px; line-height:1.5; }
.xp-origins__timeline h3 a { color:inherit; text-underline-offset:4px; }
.xp-origins__products { display:flex; flex-wrap:wrap; gap:8px 18px; list-style:none; padding:0; margin:0; }
.xp-origins__products a, .xp-origins__sources a { text-decoration:underline; text-underline-offset:3px; }
.xp-origins__note, .xp-origins__sources { font-size:14px; line-height:1.65; color:#59616b; max-width:100ch; }
@media (max-width:700px) { .xp-origins__timeline { grid-template-columns:1fr; } .xp-catalog-meta { gap:6px 16px; } }
