﻿.resource-main {
  width: var(--content-width);
  margin-inline: auto;
  padding-block: clamp(52px, 8vw, 100px);
}
.resource-hero {
  max-width: 900px;
  padding-bottom: clamp(32px, 5vw, 64px);
}
.resource-hero h1 {
  font-size: clamp(36px, 5vw, 68px);
  overflow-wrap: break-word;
}
.resource-back {
  display: inline-block;
  margin-bottom: 2rem;
}
.resource-library {
  max-width: 960px;
}
.resource-library > h2 {
  font-size: clamp(28px, 3.5vw, 42px);
}
.resource-card,
.guide-contents {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 48px);
  background: linear-gradient(130deg, rgba(169, 164, 200, 0.12), rgba(39, 36, 63, 0.65));
}
.resource-card h3 {
  max-width: 28ch;
  font-size: clamp(27px, 3.3vw, 42px);
}
.resource-card h3 a {
  text-decoration: none;
}
.resource-badge {
  display: inline-block;
  color: var(--accent);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 3px 12px;
  margin: 8px;
  white-space: nowrap;
}
.resource-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
}
.resource-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: 2rem;
}
.resource-actions p {
  font-size: 0.9rem;
  color: var(--muted);
  max-width: 46ch;
  margin: 0;
}
.hospitality-guide {
  max-width: 78ch;
  margin-inline: auto;
}
.hospitality-guide .resource-hero h1 {
  font-size: clamp(35px, 4.5vw, 60px);
}
.hospitality-guide h2,
.resource-closing h2 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.2;
}
.hospitality-guide h3 {
  font-size: clamp(21px, 2vw, 25px);
  line-height: 1.3;
  margin-top: 2rem;
  letter-spacing: -0.02em;
}
.hospitality-guide p,
.hospitality-guide li {
  line-height: 1.8;
}
.hospitality-guide p {
  max-width: 70ch;
  margin-bottom: 1.4rem;
}
.guide-contents ol {
  padding-left: 1.5rem;
}
.guide-contents li {
  margin-bottom: 0.65rem;
}
.guide-introduction,
.guide-chapter,
.guide-audit,
.guide-conclusion,
.guide-sources {
  padding-block: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
}
.guest-scenario,
.hospitality-guide blockquote {
  margin: 1.5rem 0;
  padding: 1.2rem 1.5rem;
  border-left: 3px solid var(--accent);
  background: rgba(169, 164, 200, 0.07);
}
.hospitality-guide blockquote p {
  margin: 0;
}
.resource-table {
  max-width: 100%;
  overflow-x: auto;
  margin-block: 2rem;
  border: 1px solid var(--line);
  border-radius: 8px;
}
.resource-table table {
  width: 100%;
  min-width: 540px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.resource-table caption {
  text-align: left;
  padding: 16px;
  color: var(--muted);
}
.resource-table th,
.resource-table td {
  padding: 14px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--line);
}
.resource-table thead {
  background: var(--panel);
}
.audit-list {
  list-style: none;
  padding: 0;
}
.audit-list li {
  margin-bottom: 1rem;
}
.audit-list label {
  display: flex;
  align-items: baseline;
  gap: 14px;
  cursor: pointer;
}
.audit-list input {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  accent-color: var(--accent);
}
.resource-closing {
  margin-top: 3rem;
}
.resources-page :is(a, button, input, [tabindex]):focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.resource-home-cta {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
@media (max-width: 600px) {
  .resource-actions .button {
    width: 100%;
  }
  .hospitality-guide {
    font-size: 17px;
  }
  .resource-closing .button {
    margin-bottom: 1rem;
  }
}
@page {
  size: A4;
  margin: 18mm 17mm 20mm;
}
@media print {
  html {
    scroll-padding: 0;
  }
  body.resources-page {
    background: white !important;
    color: #111 !important;
    font:
      11pt/1.5 Arial,
      sans-serif;
  }
  .resources-page
    :is(
      .site-header,
      .site-footer,
      .skip-link,
      .resource-actions,
      .resource-back,
      .guide-contents,
      .resource-closing
    ) {
    display: none !important;
  }
  .resources-page::before,
  .resources-page::after {
    display: none !important;
  }
  .resource-main,
  .hospitality-guide {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }
  .resource-hero {
    padding: 0 0 8mm;
    border-bottom: 1pt solid #555;
  }
  .hospitality-guide .resource-hero h1 {
    font-size: 28pt;
  }
  .hospitality-guide h2 {
    font-size: 19pt;
  }
  .hospitality-guide h3 {
    font-size: 13pt;
    margin-top: 5mm;
  }
  .hospitality-guide :is(h1, h2, h3, .eyebrow) {
    break-after: avoid;
    page-break-after: avoid;
    color: #111 !important;
  }
  .hospitality-guide :is(p, li) {
    line-height: 1.5;
    orphans: 3;
    widows: 3;
  }
  .hospitality-guide p {
    margin-bottom: 4mm;
    max-width: none;
  }
  .guide-chapter {
    break-before: page;
    page-break-before: always;
  }
  .guide-audit,
  .guide-sources {
    break-before: page;
  }
  .guide-introduction,
  .guide-chapter,
  .guide-audit,
  .guide-conclusion,
  .guide-sources {
    padding-block: 7mm;
    border: 0;
  }
  .guest-scenario,
  .hospitality-guide blockquote {
    background: none;
    border-color: #555;
    padding: 3mm 5mm;
    break-inside: avoid;
  }
  .resources-page a {
    color: #111;
    text-decoration: underline;
  }
  .resources-page .resource-note,
  .resource-table caption {
    color: #333;
  }
  .resource-table {
    overflow: visible;
    border-color: #888;
    border-radius: 0;
  }
  .resource-table table {
    min-width: 0;
    font-size: 9pt;
    table-layout: fixed;
  }
  .resource-table :is(th, td) {
    padding: 2mm;
    overflow-wrap: anywhere;
    border-color: #999;
  }
  .resource-table thead {
    display: table-header-group;
    background: none;
  }
  .resource-table tr,
  .audit-list li {
    break-inside: avoid;
  }
  .audit-list input {
    appearance: none;
    width: 10pt;
    height: 10pt;
    border: 1pt solid #333;
    border-radius: 0;
  }
  .audit-list input:checked {
    appearance: auto;
  }
  .guide-sources a::after {
    content: ' (' attr(href) ')';
    font-size: 8pt;
    overflow-wrap: anywhere;
  }
}

.guide-contents {
  display: block;
}
.guide-contents a {
  font-size: inherit;
  text-decoration: underline;
  padding: 0;
}

.resource-actions {
  justify-content: center;
  text-align: center;
}
.resource-actions > .button {
  margin-inline: 0;
}
.resource-closing .actions {
  gap: 20px;
}

.resource-availability {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* Match the homepage service shortcuts, including the two-column mobile layout. */
.resource-closing .actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
  max-width: 640px;
  margin-inline: auto;
}
.resource-closing .actions > .button {
  width: 100%;
  height: 100%;
  margin: 0;
  padding-inline: clamp(10px, 2vw, 23px);
}
.resource-card > .button {
  width: min(100%, 314px);
}

/* Resources uses the homepage's left-aligned photographic hero treatment. */
.resource-main.resource-index {
  width: 100%;
  padding-top: 0;
}
.resource-index > :is(.resource-library, .resource-closing) {
  width: var(--content-width);
  max-width: var(--content-max);
  margin-inline: auto;
}
.resource-index > .resource-library {
  padding-top: clamp(48px, 6vw, 80px);
}
.resource-image-hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  max-width: none;
  min-height: clamp(480px, 43vw, 660px);
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.resource-hero-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.resource-image-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(30, 27, 51, 0.92),
    rgba(30, 27, 51, 0.75) 38%,
    rgba(30, 27, 51, 0.12) 75%
  );
}
.resource-hero-image,
.resource-image-hero::before {
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 58%,
    rgba(0, 0, 0, 0.94) 68%,
    rgba(0, 0, 0, 0.65) 79%,
    rgba(0, 0, 0, 0.25) 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 58%,
    rgba(0, 0, 0, 0.94) 68%,
    rgba(0, 0, 0, 0.65) 79%,
    rgba(0, 0, 0, 0.25) 90%,
    transparent 100%
  );
}
.resource-image-hero::after {
  content: none;
}
.resource-image-hero .hero-copy {
  padding-block: 90px;
}
.resource-image-hero h1 {
  max-width: 12ch;
  font-size: clamp(42px, 5.3vw, 76px);
}
.resource-image-hero .lead {
  max-width: 40ch;
  color: var(--text);
  margin-bottom: 0;
}
@media (max-width: 760px) {
  .resource-image-hero {
    min-height: 520px;
    align-items: flex-start;
  }
  .resource-hero-image {
    object-position: 65% center;
  }
  .resource-image-hero::before {
    background: linear-gradient(90deg, rgba(30, 27, 51, 0.94), rgba(30, 27, 51, 0.72));
  }
  .resource-image-hero .hero-copy {
    padding-block: 64px 100px;
  }
}
@media print {
  .resource-hero-image,
  .resource-image-hero::before,
  .resource-image-hero::after {
    display: none;
  }
  .resource-image-hero {
    min-height: 0;
    background: none;
  }
  .resource-image-hero .hero-copy {
    width: 100%;
    padding: 0;
  }
  .resource-image-hero .lead {
    color: #111;
  }
}

/* One accessible link makes each guide an entire selectable catalogue item. */
.resource-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(140px, 220px);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}
.resource-card-copy {
  min-width: 0;
}
.resource-card-copy > :last-child {
  margin-bottom: 0;
}
.resource-card h3 a::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 18px;
}
.resource-card > .resource-card-action {
  width: 100%;
  margin: 0;
}
.resource-card:hover {
  border-color: rgba(184, 211, 163, 0.6);
}
.resource-card:is(:hover, :focus-within) .resource-card-action {
  border-color: var(--accent);
  background-position:
    -50% 0,
    0 0;
}
.resource-card:focus-within {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}
.resources-page .resource-card h3 a:focus-visible {
  outline: none;
}
@media (max-width: 600px) {
  .resource-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }
  .resource-card > .resource-card-action {
    width: 100%;
  }
}

.resource-card + .resource-card {
  margin-top: 24px;
}
.checkin-guide .guest-scenario h3 {
  margin-top: 0;
}
.checkin-guide .guest-scenario p {
  margin-bottom: 0;
}
@media print {
  .checkin-guide .guide-chapter {
    break-before: auto;
    page-break-before: auto;
    break-inside: avoid;
    padding-block: 4mm;
  }
  .checkin-guide .guest-scenario {
    break-inside: avoid;
  }
}
/* Upcoming toolkits are editorial previews, separate from the clickable free guides. */
.resource-index > .premium-resources {
  width: var(--content-width);
  max-width: var(--content-max);
  margin: clamp(64px, 8vw, 100px) auto 0;
  padding-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.premium-intro {
  max-width: 76ch;
}
.premium-intro h2 {
  font-size: clamp(30px, 3.5vw, 48px);
  line-height: 1.16;
}
.premium-controls {
  margin: 30px 0;
}
.premium-controls .currency-label {
  width: fit-content;
}
.premium-controls .resource-note {
  max-width: 90ch;
  margin-bottom: 8px;
}
.premium-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.premium-toolkit {
  min-width: 0;
  padding: clamp(24px, 3vw, 38px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(103, 91, 144, 0.16), rgba(39, 36, 63, 0.7));
  box-shadow: inset 0 1px 0 rgba(237, 234, 247, 0.05);
}
.premium-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.premium-labels span:first-child {
  color: var(--accent);
}
.premium-toolkit h3 {
  font-size: clamp(26px, 2.6vw, 35px);
  line-height: 1.2;
  margin-bottom: 10px;
}
.premium-subtitle {
  font-size: 18px;
  color: var(--text);
}
.premium-price {
  margin-block: 24px;
  padding-block: 18px;
  border-block: 1px solid var(--line);
}
.premium-price .price-exclusive {
  font-size: 30px;
}
.premium-price .price-inclusive {
  font-size: 16px;
}
.premium-toolkit dl {
  margin: 0;
}
.premium-toolkit dl > div + div {
  margin-top: 20px;
}
.premium-toolkit dt {
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 5px;
}
.premium-toolkit dd {
  margin: 0;
  color: #c8c3dd;
  font-size: 15px;
  line-height: 1.7;
}
.premium-bundle {
  border-color: rgba(168, 208, 141, 0.5);
  background: linear-gradient(135deg, rgba(116, 102, 160, 0.24), rgba(42, 44, 51, 0.8));
}
.premium-collection-label,
.premium-saving {
  color: var(--accent);
  font-weight: 600;
  font-size: 14px;
}
.premium-comparison {
  margin: -8px 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.premium-comparison p {
  margin: 0;
  font-size: 14px;
}
@supports (backdrop-filter: blur(10px)) {
  .premium-toolkit {
    backdrop-filter: blur(10px);
  }
}
@media (max-width: 700px) {
  .premium-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media print {
  .premium-controls {
    display: none;
  }
  .premium-grid {
    display: block;
  }
  .premium-toolkit {
    break-inside: avoid;
    background: none;
    margin-bottom: 8mm;
    box-shadow: none;
  }
  .premium-toolkit
    :is(
      dd,
      .premium-labels,
      .premium-collection-label,
      .premium-saving,
      .price-inclusive
    ) {
    color: #111;
  }
}
@media print {
  .premium-toolkit
    :is(
      h3,
      dt,
      dd,
      .premium-subtitle,
      .premium-labels,
      .premium-collection-label,
      .premium-saving,
      .price-exclusive,
      .price-inclusive
    ) {
    color: #111;
  }
  .premium-toolkit {
    border-color: #999;
  }
}
.premium-price-amount {
  display: block;
  color: var(--text);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
}
.premium-price > .tax-label {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}
@media print {
  .premium-price-amount,
  .premium-price > .tax-label {
    color: #111;
  }
}
.resource-image-hero .resource-hero-intro {
  max-width: 52ch;
  margin-top: 20px;
  margin-bottom: 0;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.75;
  color: var(--text);
}
/* Publication covers are live typography and CSS, not simulated PDF samples. */
.resource-editorial {
  width: var(--content-width);
  max-width: var(--content-max);
  margin-inline: auto;
  padding-block: clamp(44px, 6vw, 76px) 0;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: var(--layout-gap);
  align-items: start;
}
.resource-editorial h2 {
  font-size: clamp(30px, 3.5vw, 46px);
}
.resource-editorial p {
  font-size: 17px;
  color: #c8c3dd;
  line-height: 1.8;
}
.resource-editorial p:last-child {
  margin-bottom: 0;
}
.free-shelf-intro {
  max-width: 65ch;
  color: var(--muted);
  margin-bottom: 30px;
}
.resource-card {
  grid-template-columns: minmax(130px, 180px) minmax(0, 1fr) minmax(110px, 150px);
  gap: clamp(24px, 3vw, 44px);
}
.resource-card .resource-availability {
  display: inline-block;
  font-size: 13px;
  padding: 5px 10px;
  border: 1px solid rgba(168, 208, 141, 0.4);
  background: rgba(168, 208, 141, 0.08);
  border-radius: 4px;
}
.resource-card h3 {
  font-size: clamp(25px, 2.5vw, 35px);
}
.resource-card-copy > p:not([class]) {
  font-size: 16px;
}
.book-cover {
  --book-bg: #c5d1b3;
  --book-ink: #27243f;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  aspect-ratio: 2 / 3;
  padding: 20px 16px 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px 6px 6px 2px;
  color: var(--book-ink);
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.2),
      transparent 7%,
      rgba(255, 255, 255, 0.12) 9%,
      transparent 11%
    ),
    var(--book-bg);
  box-shadow:
    7px 10px 0 -5px #d2cfd8,
    10px 14px 24px rgba(9, 7, 20, 0.3);
  text-align: left;
  overflow: hidden;
}
.book-cover::after {
  content: '';
  position: absolute;
  inset: 9px;
  border: 1px solid currentColor;
  opacity: 0.18;
  pointer-events: none;
}
.book-imprint {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
}
.book-cover-title {
  font-size: clamp(18px, 1.7vw, 24px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.book-cover-subtitle {
  font-size: 10px;
  line-height: 1.4;
}
.book-edition {
  font-size: 8px;
  line-height: 1.3;
  border-top: 1px solid currentColor;
  padding-top: 7px;
  opacity: 0.85;
}
.book-motif {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 1;
}
.book-cover-lavender {
  --book-bg: #b7afd4;
}
.book-cover-before {
  --book-bg: #37324f;
  --book-ink: #d4dfc3;
}
.book-cover-during {
  --book-bg: #a3ae97;
  --book-ink: #252b2c;
}
.book-cover-after {
  --book-bg: #bda99b;
  --book-ink: #352e39;
}
.book-cover-collection {
  --book-bg: #29263f;
  --book-ink: #d2c5ec;
}
.key-motif {
  display: block;
  width: 54px;
  height: 34px;
  border: 2px solid currentColor;
  border-radius: 4px;
  transform: rotate(-14deg);
  position: relative;
}
.key-motif::before {
  content: '';
  position: absolute;
  inset: 7px auto 7px 10px;
  width: 5px;
  border-left: 2px solid currentColor;
}
.path-motif {
  width: 60px;
  height: 32px;
  border: 1px solid currentColor;
  border-left-width: 7px;
  transform: skewY(-12deg);
  box-shadow:
    8px -7px 0 -2px var(--book-bg),
    8px -7px 0 -1px currentColor;
}
.stay-motif {
  width: 42px;
  height: 42px;
  border: 1px solid currentColor;
  border-radius: 50%;
  box-shadow:
    12px 0 0 -1px var(--book-bg),
    12px 0 0 0 currentColor;
}
.return-motif {
  width: 42px;
  height: 42px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  transform: rotate(-30deg);
}
.collection-motif {
  display: flex;
  gap: 5px;
  height: 43px;
  align-items: end;
}
.collection-motif i {
  width: 15px;
  height: 36px;
  background: #aab69a;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transform: rotate(-6deg);
}
.collection-motif i:nth-child(2) {
  height: 43px;
  background: #b7afd4;
  transform: none;
}
.collection-motif i:nth-child(3) {
  background: #bda99b;
  transform: rotate(6deg);
}
.premium-book-top {
  display: grid;
  grid-template-columns: 125px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}
.premium-book-copy {
  min-width: 0;
}
.premium-book-top .book-cover {
  padding: 16px 12px 14px 18px;
  gap: 8px;
}
.premium-book-top .book-cover-title {
  font-size: 18px;
}
.premium-book-top .book-imprint {
  font-size: 7px;
}
.premium-book-top .book-cover-subtitle {
  font-size: 8px;
}
.premium-book-top .book-edition {
  font-size: 6px;
}
.premium-book-top h3 {
  font-size: clamp(24px, 2.3vw, 30px);
}
.premium-book-top .premium-subtitle {
  font-size: 16px;
  margin-bottom: 0;
}
.premium-labels {
  gap: 7px;
  letter-spacing: 0.03em;
  font-size: 10px;
  margin-bottom: 14px;
}
.premium-labels span {
  padding: 4px 7px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.premium-labels span:first-child {
  background: rgba(183, 175, 212, 0.12);
  color: #d6cdec;
  border-color: rgba(183, 175, 212, 0.4);
}
.journey-path {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin: 36px 0 20px;
  gap: 24px;
}
.journey-path li {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.journey-path li::before {
  content: '';
  position: absolute;
  top: -4px;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(168, 208, 141, 0.2);
}
.journey-path strong {
  display: block;
  font-size: 16px;
  font-weight: 600;
}
.journey-path span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 6px;
}
.premium-preview-note {
  font-size: 13px;
}
@media (prefers-reduced-motion: no-preference) {
  .resource-card .book-cover {
    transition:
      transform 0.25s ease,
      box-shadow 0.25s ease;
  }
  .resource-card:is(:hover, :focus-within) .book-cover {
    transform: translateY(-3px) rotate(-1deg);
  }
}
@media (max-width: 1100px) {
  .resource-card {
    grid-template-columns: 150px minmax(0, 1fr);
  }
  .resource-card > .book-cover {
    grid-row: 1 / span 2;
    align-self: center;
  }
  .resource-card > .resource-card-action {
    grid-column: 2;
    max-width: 200px;
  }
  .premium-book-top {
    grid-template-columns: 105px minmax(0, 1fr);
    gap: 20px;
  }
  .premium-toolkit {
    padding: 24px;
  }
}
@media (max-width: 760px) {
  .resource-editorial {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .resource-editorial h2 br {
    display: none;
  }
  .resource-editorial h2 {
    max-width: none;
  }
  .resource-editorial h2 br::after {
    content: ' ';
  }
}
@media (max-width: 540px) {
  .resource-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
  .resource-card > .book-cover {
    grid-row: auto;
    width: 158px;
    justify-self: center;
  }
  .resource-card > .resource-card-action {
    grid-column: auto;
    max-width: none;
  }
  .book-cover-title {
    font-size: 23px;
  }
  .premium-book-top {
    grid-template-columns: 100px minmax(0, 1fr);
    gap: 18px;
  }
  .premium-book-top h3 {
    font-size: 23px;
  }
  .journey-path {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    margin-block: 28px;
  }
  .journey-path li {
    padding-top: 14px;
  }
}
@media print {
  .book-cover {
    display: none;
  }
  .resource-editorial {
    display: block;
  }
  .resource-card,
  .premium-book-top {
    display: block;
  }
  .journey-path {
    display: none;
  }
}
/* Compact cover typography stays within the book at narrow widths. */
.book-cover {
  gap: 8px;
}
.book-motif {
  font-size: 46px;
}
.premium-book-top .book-cover-subtitle,
.premium-book-top .book-edition {
  display: none;
}
.premium-book-top .book-motif {
  min-height: 0;
  height: 34px;
  flex: 0 0 34px;
}
@media (max-width: 1100px) {
  .premium-book-top .book-cover-title {
    font-size: 15px;
  }
  .premium-book-top .book-motif {
    height: 30px;
    flex-basis: 30px;
  }
  .premium-book-top .book-cover {
    gap: 6px;
  }
}
@media (max-width: 540px) {
  .resource-card > .book-cover {
    width: 180px;
  }
}
