.category-page {
  display: grid;
  gap: 1.35rem;
}

.top-category-shell {
  display: grid;
  gap: 0.95rem;
  margin-bottom: 1rem;
}

.generated-category-shell {
  margin-bottom: 0.9rem;
}

.generated-category-sections {
  display: grid;
  gap: 0.95rem;
}

.generated-category-bottom-content {
  margin-top: 1rem;
  border: 1px solid #dedede;
  background: #fff;
  padding: 1.1rem 1.3rem;
  box-shadow: var(--shadow-card-elevated);
}

.generated-category-bottom-content--priority {
  margin-top: 0;
}

.generated-category-bottom-content h2 {
  margin: 0 0 0.8rem;
  font-size: 1.9rem;
}

.generated-category-bottom-content p:last-child {
  margin-bottom: 0;
}

.sell-rich-content {
  display: grid;
  gap: 1rem;
}

.sell-section-card {
  border: 1px solid #dedede;
  background: #fff;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-card-elevated);
  display: grid;
  gap: 0.8rem;
}

.sell-section-card--notice {
  background: #ffda3b;
  border-color: #f0c400;
}

.sell-section-card h2,
.sell-process-step h2,
.sell-choice-card h3 {
  margin: 0;
}

.sell-section-card ul,
.sell-faq-content ul {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.45rem;
}

.sell-section-card p,
.sell-process-step p,
.sell-faq-content p,
.sell-choice-card p,
.sell-callout p {
  margin: 0;
}

.sell-process-list,
.sell-testimonials,
.sell-faq {
  display: grid;
  gap: 0.85rem;
}

.sell-process-step,
.sell-choice-card {
  border: 1px solid #e5e5e5;
  background: #fff;
  padding: 1rem 1.05rem;
  box-shadow: var(--shadow-card-elevated);
  display: grid;
  gap: 0.7rem;
}

.sell-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  min-height: 3.5rem;
  border-radius: 999px;
  background: #183f57;
  color: #fff !important;
  font-size: 1.18rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.05em;
}

.sell-inline-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1rem;
}

.sell-inline-links a {
  font-weight: 600;
}

.sell-quote {
  margin: 0;
  border-left: 4px solid #e9531b;
  background: #faf7f3;
  padding: 1rem 1rem 1rem 1.15rem;
  color: #2f2f2f;
}

.sell-faq-item {
  border: 1px solid #dfdfdf;
  background: #fff;
  box-shadow: var(--shadow-card-elevated);
}

.sell-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 0.9rem 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.sell-faq-item summary::-webkit-details-marker {
  display: none;
}

.sell-faq-item[open] summary {
  border-bottom: 1px solid #e6e6e6;
}

.sell-faq-content {
  padding: 0.9rem 1rem 1rem;
  display: grid;
  gap: 0.7rem;
}

.sell-callout {
  border: 1px solid #d7e6dc;
  background: #f4f8f5;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-card-elevated);
  display: grid;
  gap: 0.75rem;
}

.sell-action-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid #183f57;
  background: #183f57;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.sell-action-link:hover,
.sell-action-link:focus-visible {
  background: #102d3f;
  border-color: #102d3f;
  color: #fff;
}

.sell-choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.sell-screenshot-grid {
  display: grid;
  gap: 0.85rem;
}

.sell-screenshot-grid--two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sell-screenshot-card {
  margin: 0;
  border: 1px solid #e2e2e2;
  background: linear-gradient(180deg, #f8f8f8 0%, #f1f1f1 100%);
  padding: 0.7rem;
  box-shadow: var(--shadow-card-elevated);
}

.sell-screenshot-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.sell-price-table {
  width: 100%;
  border-collapse: collapse;
}

.sell-price-table th,
.sell-price-table td {
  padding: 0.8rem 0.75rem;
  border-bottom: 1px solid #e4e4e4;
  text-align: left;
  vertical-align: top;
}

.sell-price-table th {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #444;
  background: #f7f7f7;
}

.sell-muted-text {
  color: #5d5d5d;
  font-size: 0.9rem;
}

.generated-category-bottom-content p,
.content-shelf-header p,
.author-series-shelf-header p,
.category-product-description {
  font-size: 0.95rem;
  line-height: 1.32;
  color: #262626;
}

.top-category-hero {
  margin: 0;
  border: 1px solid #d9d9d9;
  overflow: hidden;
  background: #fff;
}

.top-category-hero img {
  width: 100%;
  aspect-ratio: 1280 / 614;
  object-fit: cover;
}

.top-category-intro {
  border: 1px solid #dedede;
  background: #fff;
  padding: 1.28rem 1.45rem;
  border-radius: 6px;
  box-shadow: var(--shadow-card-elevated);
}

.top-category-intro--overlay {
  margin-top: -5.4rem;
  margin-left: 1.8rem;
  margin-right: 1.8rem;
  position: relative;
  border-radius: 0;
  --category-intro-parallax-offset: 0px;
  --category-intro-parallax-tilt: 0deg;
  --category-intro-parallax-scale: 1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.05);
  transform: perspective(980px) translate3d(0, var(--category-intro-parallax-offset), 0) rotateX(var(--category-intro-parallax-tilt)) scale(var(--category-intro-parallax-scale));
  transform-origin: 50% 10%;
  will-change: transform;
}

.top-category-intro--no-hero {
  margin-top: 0.15rem;
}

@media (prefers-reduced-motion: reduce) {
  .top-category-intro--overlay {
    transform: none;
  }
}

.top-category-intro--no-hero h1 {
  font-size: 1.72rem;
}

.top-category-intro h1 {
  margin: 25px 0 0.62rem;
  font-size: 2.5rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.top-category-intro p {
  margin: 0 0 0.72rem;
  font-size: 0.95rem;
  line-height: 1.32;
  color: #262626;
}

.top-category-intro p:last-child {
  margin-bottom: 0;
}

.top-category-split {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 0.9rem;
}

.top-category-split--portrait {
  align-items: center;
}

@media (min-width: 861px) {
  .top-category-split > article {
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  .top-category-split > article .category-intro-copy {
    margin-bottom: 0.8rem;
  }

  .top-category-split > article .category-header-search {
    margin-top: auto;
  }
}

.top-category-note,
.top-category-quicklinks {
  background: #fff;
  border: 1px solid #e7e7e7;
  padding: 0.8rem 0.95rem;
}

.top-category-portrait {
  display: flex;
  justify-content: center;
  align-items: center;
}

.top-category-portrait-frame {
  width: min(250px, 100%);
  aspect-ratio: 1;
  border: 4px solid #111;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
  overflow: hidden;
}

.top-category-portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.top-category-note h2,
.top-category-quicklinks h2,
.top-category-section h2 {
  margin: 25px 0 0.62rem;
  font-size: 1.72rem;
}

.top-category-note h2 {
  font-size: 2rem;
}

.top-category-note ul,
.top-category-quicklinks ul {
  margin: 0;
  padding-left: 1.15rem;
  display: grid;
  gap: 0.4rem;
}

.top-category-section {
  display: grid;
  gap: 0.72rem;
}

.top-category-longform {
  margin-top: 0.6rem;
  line-height: 1.58;
}

.top-category-longform p,
.top-category-longform h3,
.top-category-longform h4,
.top-category-longform h5,
.top-category-longform ul,
.top-category-longform ol {
  margin: 0;
}

.top-category-longform ul,
.top-category-longform ol {
  padding-left: 1.3rem;
  display: grid;
  gap: 0.35rem;
}

.top-category-longform h2,
.top-category-longform h3,
.top-category-longform h4,
.top-category-longform h5 {
  margin-top: 0.85rem;
}

.top-category-longform h2:first-child {
  margin-top: 0;
}

.top-category-longform .author-bibliography-group {
  border-top: 1px solid #ededed;
  padding-top: 0.9rem;
  margin-top: 0.9rem;
}

.top-category-longform .author-biography {
  display: grid;
  gap: 0.7rem;
}

.top-category-longform .author-expandable {
  display: grid;
  gap: 0.7rem;
}

.top-category-longform .author-expandable-content {
  position: relative;
}

.top-category-longform .author-expandable[data-expanded="false"] .author-expandable-content {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 6;
  overflow: hidden;
}

.top-category-longform .author-expandable[data-expanded="false"] .author-expandable-content::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3.6rem;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff 88%);
  pointer-events: none;
}

.top-category-longform .author-expandable-toggle {
  justify-self: start;
  min-height: 42px;
  padding: 0.55rem 1rem;
  border: 1px solid #d6d6d6;
  border-radius: 999px;
  background: #f8f6f3;
  color: #111;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.top-category-longform .author-expandable-toggle:hover,
.top-category-longform .author-expandable-toggle:focus-visible {
  border-color: #b8b8b8;
  background: #f2eee7;
}

.top-category-longform .author-bibliography-group:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 0.35rem;
}

.top-category-longform .author-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.95rem;
}

.top-category-longform .author-jump-links a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.42rem 0.78rem;
  border: 1px solid #d8d8d8;
  border-radius: 999px;
  text-decoration: none;
  color: #111;
  background: #fafafa;
}

.top-category-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.top-category-tile {
  border: 1px solid #e5e5e5;
  background: #fff;
  border-radius: 4px;
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 0.72rem;
  align-items: center;
  padding: 0.7rem;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.top-category-tile img {
  width: 108px;
  height: 108px;
  object-fit: contain;
}

.top-category-tile h3 {
  grid-column: 2;
  margin: 0 0 0.34rem;
  font-size: 1.36rem;
}

.top-category-tile p {
  grid-column: 2;
  margin: 0;
  color: #505050;
  font-size: 0.93rem;
}

.top-category-icon-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem 0.85rem;
}

.top-category-icon-grid--hero {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.top-category-icon-item {
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 4px;
  padding: 0.75rem 0.82rem;
  display: grid;
  gap: 0.35rem;
  grid-template-columns: 98px 1fr;
  align-items: center;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.top-category-icon-item--compact {
  grid-template-columns: 36px 1fr;
  gap: 0.1rem 0.45rem;
  padding: 0.35rem 0.5rem;
  min-height: 48px;
  align-items: center;
}

.top-category-icon-item img {
  width: 96px;
  height: 96px;
  object-fit: contain;
}

.top-category-icon-item--compact img {
  width: 32px;
  height: 32px;
}

.top-category-icon-item h3 {
  grid-column: 2;
  margin: 0 0 0.26rem;
  font-size: 1.35rem;
}

.top-category-icon-item--compact h3 {
  margin: 0;
  font-size: 0.8rem;
  line-height: 1.2;
}

.top-category-icon-item h3:last-child,
.top-category-tile h3:last-child {
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
}

.top-category-icon-item p {
  grid-column: 2;
  margin: 0;
  color: #545454;
  font-size: 0.92rem;
}

.top-category-icon-item > a:first-child,
.top-category-tile > a:first-child {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}

.top-category-icon-item--compact > a:first-child {
  grid-row: 1;
}

.top-category-icon-item:hover,
.top-category-icon-item:focus-within,
.top-category-tile:hover,
.top-category-tile:focus-within {
  border-color: #d3b19f;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.top-category-icon-item a,
.top-category-tile a {
  color: inherit;
}

.top-category-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.top-category-chip {
  border: 1px solid #dbdbdb;
  background: #fff;
  color: #202020;
  padding: 0.55rem 0.82rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-category-chip:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

.top-category-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}

.top-category-steps article {
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 0.8rem;
}

.top-category-steps h3 {
  margin: 0 0 0.35rem;
  font-size: 1.12rem;
}

.top-category-steps p {
  margin: 0;
  color: #505050;
  font-size: 0.9rem;
}

.books-page-shell {
  display: grid;
  gap: 1rem;
}

.books-hero {
  margin: 0;
  border: 1px solid #d8d8d8;
  background: #fff;
  overflow: hidden;
}

.books-hero img {
  width: 100%;
  aspect-ratio: 1280 / 614;
  object-fit: cover;
}

.books-intro-card {
  margin-top: -5.35rem;
  margin-left: 1.8rem;
  margin-right: 1.8rem;
  background: #fff;
  border: 1px solid #dcdcdc;
  border-radius: 0;
  box-shadow: var(--shadow-card-elevated);
  position: relative;
  z-index: 2;
  display: grid;
  gap: 0.95rem;
  padding: 1rem 1.1rem 1.1rem;
}

.books-intro-copy h1 {
  margin: 0;
  font-size: 3.25rem;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.books-intro-copy h2 {
  margin: 0.32rem 0 0.6rem;
  font-size: 1.52rem;
}

.books-intro-copy p {
  margin: 0;
  font-size: 0.96rem;
  color: #2f2f2f;
}

.category-header-search,
.books-top-search {
  border: 1px solid #cfcfcf;
  background: #f4f4f4;
  padding: 0.75rem 0.8rem 1rem;
  border-radius: 3px;
  display: grid;
  gap: 0.35rem;
}

.category-intro-copy + .category-header-search {
  margin-top: 0.8rem;
}

.category-header-search label,
.books-top-search label {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.15rem;
}

.category-header-search > div,
.books-top-search > div {
  display: grid;
  grid-template-columns: 1fr 48px;
}

.category-header-search input,
.books-top-search input {
  height: 44px;
  border: 1px solid #bdbdbd;
  border-right: 0;
  border-radius: 999px 0 0 999px;
  padding: 0 0.75rem;
  font-size: 1rem;
}

.category-header-search button,
.books-top-search button {
  border: 1px solid #e9531b;
  border-radius: 0 999px 999px 0;
  background: #e9531b;
  color: #fff;
  display: inline-grid;
  place-items: center;
  line-height: 0;
  cursor: pointer;
}

.category-header-search button svg,
.books-top-search button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.category-header-search p,
.books-top-search p {
  margin: 0.5rem 0 0;
  min-height: 1rem;
  font-size: 0.82rem;
  color: #5f5f5f;
}

.category-header-search p:empty,
.books-top-search p:empty {
  display: none;
}

.top-category-section--subcategories {
  margin-top: 0.5rem;
  margin-left: 1.8rem;
  margin-right: 1.8rem;
  display: grid;
  gap: 0.35rem;
}

.top-category-section--subcategories h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #3f3f3f;
}

.books-curated-lanes {
  display: grid;
  gap: 1.15rem;
}

.books-lane {
  border-top: 1px solid #e6e6e6;
  padding-top: 1rem;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.books-lane aside h3 {
  margin: 0 0 0.45rem;
  font-size: 1.7rem;
}

.books-lane aside p {
  margin: 0 0 0.72rem;
  color: #4d4d4d;
  font-size: 0.94rem;
}

.books-lane aside a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #1d6859;
  color: #fff;
  border-radius: 20px;
  min-height: 40px;
  padding: 0 0.95rem;
  font-size: 0.88rem;
  font-weight: 700;
}

.books-lane-items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.7rem;
}

.books-lane-items a {
  display: grid;
  gap: 0.38rem;
  color: #222;
}

.books-lane-items img {
  width: 100%;
  aspect-ratio: 300 / 300;
  object-fit: cover;
  border: 1px solid #e8e8e8;
}

.books-lane-items span {
  font-size: 0.84rem;
  line-height: 1.28;
}

.books-lane--authors {
  grid-template-columns: 240px minmax(0, 1fr);
}

.books-author-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 0.6rem;
}

.books-author-grid a {
  display: grid;
  gap: 0.36rem;
}

.books-author-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 1px solid #e9e9e9;
}

.books-author-grid span {
  font-size: 0.8rem;
}

.category-breadcrumb {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 24px;
  margin: 0 0 0.12rem;
  color: #808080;
}

.category-breadcrumb-desktop {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
  flex-wrap: wrap;
  font-size: 0.58rem;
  text-transform: uppercase;
  font-weight: 500;
  color: inherit;
  text-align: right;
}

.category-breadcrumb-desktop li:not(:last-child)::after {
  content: "›";
  margin-left: 0.45rem;
  color: #999;
}

.category-breadcrumb-desktop li.is-current {
  color: #6c6c6c;
}

.category-breadcrumb a,
.category-breadcrumb span,
.category-breadcrumb summary {
  color: inherit;
}

.category-breadcrumb a {
  text-decoration: none;
}


.category-breadcrumb-mobile {
  display: none;
}

.category-breadcrumb-mobile-back {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  min-width: 0;
  max-width: 100%;
}

.category-breadcrumb-mobile-back span[aria-hidden="true"] {
  font-size: 0.82rem;
  line-height: 1;
}

.category-breadcrumb-mobile-back span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-breadcrumb-mobile-menu {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.category-breadcrumb-mobile-list {
  position: absolute;
  right: 0;
  top: calc(100% + 0.2rem);
  z-index: 10;
  min-width: 220px;
  max-width: min(90vw, 360px);
  background: #fff;
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgb(0 0 0 / 12%);
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
}

.category-breadcrumb-mobile-menu:not([open]) > .category-breadcrumb-mobile-list {
  display: none;
}

.category-breadcrumb-mobile-menu summary {
  list-style: none;
  border: 0;
  border-radius: 0;
  width: auto;
  height: auto;
  padding: 0;
  display: inline;
  cursor: pointer;
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  background: transparent;
}

.category-breadcrumb-mobile-menu summary::-webkit-details-marker {
  display: none;
}

.category-breadcrumb-mobile-menu[open] > .category-breadcrumb-mobile-list {
  display: block;
}

.category-breadcrumb-mobile-menu[open] li {
  margin: 0;
}

.category-breadcrumb-mobile-menu[open] a,
.category-breadcrumb-mobile-menu[open] span {
  display: block;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  line-height: 1.3;
  text-transform: none;
  font-weight: 600;
  color: #2b2b2b;
  text-align: left;
}

.category-breadcrumb-mobile-menu[open] li.is-current span {
  color: #6d6d6d;
  font-weight: 700;
}

.category-hero {
  margin: 0;
  border: 1px solid var(--color-border);
  overflow: hidden;
  background: #f5f5f5;
}

.category-hero img {
  width: 100%;
  aspect-ratio: 1280 / 614;
  object-fit: cover;
}

.category-intro {
  margin-top: 0;
  padding: 0 2.4rem;
  position: relative;
  z-index: 2;
}

.category-intro.has-hero {
  margin-top: -4.1rem;
}

.category-intro-card {
  background: #efefef;
  border: 1px solid #dfdfdf;
  border-radius: 6px;
  box-shadow: var(--shadow-card-elevated);
  padding: 1.5rem 1.55rem;
}

.category-intro.has-hero .category-intro-card {
  border-radius: 0;
}

.category-intro-card h1 {
  margin: 0 0 0.9rem;
  font-size: 2.7rem;
  line-height: 1.1;
}

.category-intro-copy p {
  margin: 0 0 0.95rem;
  color: #252525;
}

.category-intro-copy p:last-child {
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .top-category-intro--overlay {
    margin-top: calc(-5.4rem - 200px);
  }

  .category-intro.has-hero {
    margin-top: calc(-4.1rem - 200px);
  }
}

.category-teasers {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.5rem;
  margin-left: 1.8rem;
  margin-right: 1.8rem;
}

.generated-category-sections .category-teasers h2 {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #3f3f3f;
}

.category-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem;
}

.category-teaser {
  border: 1px solid #e7e7e7;
  background: #fff;
  border-radius: 4px;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.category-teaser:hover,
.category-teaser:focus-within {
  border-color: #d3b19f;
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-1px);
}

.category-teaser-link {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.1rem 0.45rem;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.5rem;
  color: inherit;
  text-decoration: none;
}

.category-teaser-link--text-only {
  grid-template-columns: 1fr;
}

.category-teaser-media {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.category-teaser-media img {
  max-width: 32px;
  max-height: 32px;
  width: auto;
  height: auto;
}

.category-teaser-body {
  min-width: 0;
}

.category-teaser h3 {
  margin: 0;
  min-width: 0;
  font-size: 0.8rem;
  line-height: 1.2;
}

.category-teaser p {
  margin: 0;
  color: #555;
  font-size: 0.93rem;
}

.category-link-index {
  border: 1px solid #e2e2e2;
  background: #fff;
  padding: 1rem 1.05rem;
  display: grid;
  gap: 0.75rem;
}

.category-link-index h2 {
  margin: 0;
  font-size: 1.4rem;
}

.category-link-index-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.45rem 0.9rem;
}

.category-link-index-grid a {
  color: #1f1f1f;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  line-height: 1.35;
}

.category-link-index-grid a:hover,
.category-link-index-grid a:focus-visible {
  color: var(--color-brand);
  border-bottom-color: currentColor;
}

.category-link-index-grid--authors {
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.55rem;
}

.category-link-index-grid--authors li {
  min-width: 0;
}

.category-link-index-grid--authors a {
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0 0.72rem;
  border: 1px solid #dddddd;
  border-radius: 8px;
  border-bottom-color: #dddddd;
  background: #fff;
  line-height: 1.2;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.category-link-index-grid--authors a:hover,
.category-link-index-grid--authors a:focus-visible {
  border-color: #d2d2d2;
  border-bottom-color: #d2d2d2;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.category-letter-grid + .category-link-index-grid--authors {
  margin-top: 0.2rem;
}

.category-letter-grid + .category-author-letter-groups {
  margin-top: 0.2rem;
}

.category-author-letter-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.65rem;
}

.category-author-letter-group {
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  background: #fff;
  padding: 0.7rem;
  display: grid;
  gap: 0.55rem;
}

.category-author-letter-group h3 {
  margin: 0;
  font-size: 1rem;
  font-weight: 500;
}

.category-author-letter-group .category-link-index-grid--authors {
  grid-template-columns: 1fr;
  gap: 0.4rem;
}

.category-author-letter-group .category-link-index-grid--authors a {
  min-height: 38px;
  padding: 0.38rem 0.6rem;
}

.category-letter-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 0.55rem;
}

.generated-category-sections[data-category-type="author-index"] .category-letter-grid {
  grid-template-columns: repeat(10, minmax(0, 1fr));
}

.category-letter-grid li {
  min-width: 0;
}

.category-letter-grid a,
.category-letter-grid span {
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid #dddddd;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
}

.category-letter-grid a {
  color: #1f1f1f;
  background: #fff;
  text-decoration: none;
  transition: transform 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

.category-letter-grid a:hover,
.category-letter-grid a:focus-visible {
  color: var(--color-brand);
  border-color: #d2d2d2;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
  transform: translateY(-1px);
}

.category-letter-grid span {
  color: #9d9d9d;
  background: #f8f8f8;
  border-style: dashed;
}

.author-page-experience {
  display: grid;
  gap: 1.1rem;
  margin-top: 0.2rem;
}

.category-hero-metadata {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 0.9rem;
  margin: 0 0 0.9rem;
  padding: 0;
  list-style: none;
  color: #4f4f4f;
  font-size: 0.9rem;
}

.category-hero-metadata li {
  display: inline-flex;
  gap: 0.3rem;
}

.category-hero-metadata-label {
  font-weight: 700;
  color: #183f57;
}

.author-section-header {
  display: grid;
  gap: 0.35rem;
}

.author-section-header h2,
.author-section-header p {
  margin: 0;
}

.author-reading-order,
.author-related-links,
.author-seo-copy,
.book-link-section {
  border: 1px solid #dedede;
  background: #fff;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-card-elevated);
}

.author-series-shelf,
.author-featured-works,
.content-shelf {
  border: 1px solid #dedede;
  background: #fff;
  padding: 1.1rem 1.2rem;
  box-shadow: var(--shadow-card-elevated);
}

.author-series-shelf,
.content-shelf {
  display: grid;
  gap: 0.9rem;
}

.author-series-shelf-header,
.content-shelf-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
}

.author-series-shelf-header h3,
.author-series-shelf-header p,
.content-shelf-header h2,
.content-shelf-header p {
  margin: 0;
}

.author-series-shelf-header h3,
.content-shelf-header h2 {
  font-size: 1.3rem;
}

.author-series-shelf-header p,
.content-shelf-header p {
  margin-top: 0.35rem;
}

.author-series-stock-note {
  font-size: 0.88rem;
}

.author-shelf-actions,
.content-shelf-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.author-shelf-link,
.author-featured-link,
.content-shelf-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 1rem;
  border-radius: 999px;
  border: 1px solid #183f57;
  background: #183f57;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.author-shelf-link:hover,
.author-featured-link:hover,
.author-shelf-link:focus-visible,
.author-featured-link:focus-visible,
.content-shelf-link:hover,
.content-shelf-link:focus-visible {
  background: #102d3f;
  border-color: #102d3f;
}

.author-shelf-nav,
.content-shelf-nav {
  display: inline-flex;
  gap: 0.45rem;
}

.author-shelf-nav-button,
.content-shelf-nav-button {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #d5d5d5;
  background: #fff;
  color: #111;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.author-shelf-nav-button:hover,
.author-shelf-nav-button:focus-visible,
.content-shelf-nav-button:hover,
.content-shelf-nav-button:focus-visible {
  border-color: #b8b8b8;
  background: #f5f5f5;
}

.author-shelf-nav-button:disabled,
.content-shelf-nav-button:disabled {
  opacity: 0.45;
  cursor: default;
}

.author-shelf-track,
.content-shelf-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(190px, 220px);
  gap: 0.8rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  padding-bottom: 0.3rem;
}

.author-shelf-slide,
.content-shelf-slide {
  scroll-snap-align: start;
  min-width: 0;
}

.author-shelf-slide .product-card,
.author-shelf-slide .book-card,
.content-shelf-slide .product-card {
  height: 100%;
}

.author-shelf-slide .book-card {
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
}

.author-shelf-slide .book-card-media,
.author-shelf-slide .book-card-media--static {
  width: 100%;
}

.author-shelf-slide .book-card-media img,
.author-shelf-slide .book-card-placeholder {
  aspect-ratio: 3 / 4;
}

.author-shelf-slide .book-card-body {
  min-width: 0;
}

.author-shelf-slide .book-card-title {
  font-size: 1rem;
  line-height: 1.25;
}

.author-shelf-slide .book-card-summary {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
  line-height: 1.45;
}

.top-category-featured-shelf .content-shelf-track {
  grid-auto-columns: calc((100% - (0.8rem * 3)) / 4);
}

.top-category-featured-shelf {
  margin-top: calc(0.55rem + 20px);
}

.author-placeholder-card {
  min-height: 100%;
}

.author-placeholder-media {
  display: grid;
  place-items: center;
  aspect-ratio: 1 / 1;
  border-bottom: 1px solid #e6e6e6;
  background:
    linear-gradient(135deg, #f7f3eb, #ede4d4),
    repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.06) 0 1px, transparent 1px 20px);
  color: #333;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.82rem;
}

.author-placeholder-media span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78%;
  aspect-ratio: 0.72;
  border: 2px solid #111;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.88);
  text-align: center;
  padding: 0.7rem;
}

.author-featured-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 0.9rem;
}

.book-card {
  display: grid;
  grid-template-columns: minmax(120px, 160px) minmax(0, 1fr);
  gap: 1rem;
  border: 1px solid #e2e2e2;
  background: #fcfbf9;
  padding: 0.9rem;
  min-height: 100%;
}

.book-card-media {
  display: block;
  background: #f4f4f4;
}

.book-card-media--static {
  min-height: 100%;
}

.book-card-media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.book-card-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  color: #333;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
  background:
    linear-gradient(135deg, #f7f3eb, #ede4d4),
    repeating-linear-gradient(90deg, rgba(17, 17, 17, 0.06) 0 1px, transparent 1px 20px);
}

.book-card-body {
  display: grid;
  gap: 0.5rem;
}

.book-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.8rem;
  color: #5d5d5d;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.book-card-title,
.book-card-summary {
  margin: 0;
}

.book-card-title {
  font-size: 1.2rem;
}

.book-card-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: auto;
}

.author-related-link-list,
.author-reading-order-list {
  display: grid;
  gap: 0.85rem;
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
}

.author-related-link-list li,
.author-reading-order-list li {
  margin: 0;
}

.author-related-link-list p,
.author-reading-order-list p {
  margin: 0.3rem 0 0;
  color: #4f4f4f;
}

.category-product-description {
  margin: 0.3rem 0 0;
  color: #4f4f4f;
}

.author-similar-authors {
  display: grid;
  gap: 0.8rem;
}

.author-series-shelf--similar {
  gap: 0.75rem;
}

.author-shelf-actions--solo {
  justify-content: flex-end;
}

.author-shelf-track--authors {
  grid-auto-columns: minmax(150px, 180px);
}

.author-similar-card {
  min-width: 0;
}

.author-similar-link {
  display: grid;
  gap: 0.65rem;
  color: #111;
  text-decoration: none;
}

.author-similar-link--static {
  cursor: default;
}

.author-similar-portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4f1ea, #e8e1d2);
  border: 1px solid #ded6c8;
  display: grid;
  place-items: center;
}

.author-similar-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.author-similar-initials {
  width: 72%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 2px solid #213547;
  background: rgba(255, 255, 255, 0.86);
  color: #213547;
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.author-similar-link h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.author-similar-link:hover h3,
.author-similar-link:focus-visible h3 {
  color: var(--color-brand);
}

.category-product-section {
  display: grid;
  gap: 1rem;
}

.category-product-header {
  display: grid;
  gap: 0;
  padding-top: 0.6rem;
}

.category-product-header h2 {
  margin: 25px 0 0;
  font-size: 1.72rem;
}

.category-product-header-row {
  display: flex;
  align-items: flex-end;
  gap: 1rem;
}

.category-header-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  justify-content: flex-end;
  margin-left: auto;
  flex-wrap: wrap;
}

.category-sort-control,
.category-filter-control {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.category-sort-label,
.category-filter-label {
  display: inline-block;
  margin: 0;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  color: #2d2d2d;
  letter-spacing: 0.02em;
}

.category-sort-select,
.category-filter-select {
  width: 180px;
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  height: 40px;
  padding: 0 0.72rem;
  font-size: 0.95rem;
  background: #fff;
}

.top-category-intro h1,
.top-category-note h2,
.top-category-quicklinks h2,
.top-category-section h2,
.top-category-tile h3,
.top-category-icon-item h3,
.books-intro-copy h1,
.books-intro-copy h2,
.books-lane aside h3,
.category-intro-card h1,
.category-teasers h2,
.category-teaser h3,
.category-link-index h2,
.category-product-header h2 {
  font-weight: 300;
}

.top-category-intro h1,
.content-shelf-header h2,
.category-product-header h2 {
  font-weight: 500;
}

.content-shelf-header h2,
.category-product-header h2 {
  font-size: 1.5rem;
}

.search-component {
  display: grid;
  gap: 0.35rem;
}

.category-search-label {
  display: inline-block;
  margin: 0;
  font-weight: 700;
  font-size: 0.87rem;
  text-transform: uppercase;
  color: #2d2d2d;
}

.category-search-input {
  width: min(100%, 400px);
  border: 1px solid #d4d4d4;
  border-radius: 2px;
  height: 40px;
  padding: 0 0.72rem;
  font-size: 0.96rem;
}

.search-status {
  min-height: 0;
  color: #6a6a6a;
  font-size: 0.88rem;
  margin: 0;
}

.search-status:empty {
  display: none;
}

.category-actions {
  display: flex;
  justify-content: center;
}

.category-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  color: #555;
  font-size: 0.92rem;
}

.category-pagination-link {
  color: #1f1f1f;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.category-pagination-link:hover,
.category-pagination-link:focus-visible {
  color: var(--color-brand);
  border-bottom-color: currentColor;
}

.category-pagination-current {
  font-weight: 700;
}

#load-more {
  border: 0;
  padding: 0.76rem 1.15rem;
  border-radius: 3px;
  background: var(--color-brand);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#load-more[disabled] {
  opacity: 0.65;
  cursor: default;
}

@media (max-width: 1100px) {
  .sell-choice-grid {
    grid-template-columns: 1fr;
  }

  .sell-screenshot-grid--two-up {
    grid-template-columns: 1fr;
  }

  .top-category-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .books-lane {
    grid-template-columns: 1fr;
  }

  .books-lane-items {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .books-author-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

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

  .category-teasers {
    margin-left: 0.95rem;
    margin-right: 0.95rem;
  }

  .category-link-index-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-link-index-grid--authors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-letter-grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
  }

  .top-category-featured-shelf .content-shelf-track {
    grid-auto-columns: calc((100% - (0.8rem * 2)) / 3);
  }
}

@media (max-width: 860px) {
  .top-category-intro--overlay {
    margin-left: 0;
    margin-right: 0;
    margin-top: 0.25rem;
  }

  .top-category-intro--no-hero {
    margin-top: 0;
  }

  .top-category-section--subcategories {
    margin-left: 0.95rem;
    margin-right: 0.95rem;
  }

  .top-category-split {
    grid-template-columns: 1fr;
  }

  .top-category-portrait-frame {
    width: min(220px, 72vw);
  }

  .top-category-intro h1 {
    font-size: 2.5rem;
  }

  .top-category-icon-grid,
  .top-category-tile-grid {
    grid-template-columns: 1fr;
  }

  .top-category-icon-grid--hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .books-intro-card {
    margin: 0;
    padding: 0.95rem;
  }

  .books-intro-copy h1 {
    font-size: 2.2rem;
  }

  .books-intro-copy h2 {
    font-size: 1.32rem;
  }

  .books-lane-items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .books-author-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-intro.has-hero {
    margin-top: -2.2rem;
  }

  .category-intro {
    padding: 0 1rem;
  }

  .category-intro-card h1 {
    font-size: 2rem;
  }

}

@media (max-width: 640px) {
  .sell-section-card,
  .sell-process-step,
  .sell-choice-card,
  .sell-callout {
    padding: 0.95rem;
  }

  .sell-faq-item summary,
  .sell-faq-content {
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .sell-price-table th,
  .sell-price-table td {
    padding: 0.65rem 0.55rem;
    font-size: 0.92rem;
  }

  .top-category-shell {
    gap: 0;
  }

  .category-breadcrumb {
    justify-content: flex-end;
    min-height: 18px;
    margin-bottom: 0.18rem;
  }

  .category-breadcrumb-desktop {
    display: none;
  }

  .category-breadcrumb-mobile {
    width: auto;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.18rem;
    margin-left: auto;
    max-width: min(100%, 18rem);
    font-size: 0.66rem;
    text-transform: none;
    font-weight: 500;
    line-height: 1.15;
  }

  .top-category-hero,
  .category-hero,
  .books-hero {
    display: grid;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    width: 100vw;
    border: 0;
    background: #fff;
  }

  .top-category-hero img,
  .category-hero img,
  .books-hero img {
    display: block;
    aspect-ratio: 5 / 4;
    height: auto;
    object-fit: cover;
    background: transparent;
  }

  .top-category-intro {
    padding: 0.9rem;
  }

  .top-category-intro--overlay {
    margin-top: -52vw;
    margin-left: 0.75rem;
    margin-right: 0.75rem;
    position: relative;
    z-index: 3;
  }

  .top-category-intro h1 {
    font-size: 1.72rem;
  }

  .top-category-note h2 {
    font-size: 1.4rem;
  }

  .top-category-intro--no-hero h1 {
    font-size: 1.72rem;
  }

  .category-teaser-grid {
    grid-template-columns: 1fr;
  }

  .category-teasers {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .category-link-index-grid {
    grid-template-columns: 1fr;
  }

  .category-link-index-grid--authors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .category-letter-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .category-teaser {
    display: block;
  }

  .category-teaser-link {
    grid-template-columns: 32px 1fr;
    min-height: 44px;
    padding: 0.32rem 0.42rem;
  }

  .category-teaser-link--text-only {
    grid-template-columns: 1fr;
  }

  .category-header-controls {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    gap: 0.6rem;
  }

  .category-sort-control,
  .category-filter-control {
    width: 100%;
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
  }

  .category-sort-select,
  .category-filter-select {
    width: 100%;
  }

  .category-product-header-row {
    flex-wrap: wrap;
    align-items: start;
  }

  .category-teaser-media {
    width: 28px;
    height: 28px;
  }

  .category-teaser-media img {
    max-width: 28px;
    max-height: 28px;
  }

  .category-intro {
    margin-top: 0;
    padding: 0;
  }

  .category-intro.has-hero {
    margin-top: -52vw;
  }

  .category-intro-card {
    padding: 0.85rem;
  }

  .top-category-icon-item,
  .top-category-tile {
    grid-template-columns: 74px 1fr;
    padding: 0.62rem;
  }

  .top-category-icon-item--compact {
    grid-template-columns: 32px 1fr;
    padding: 0.32rem 0.42rem;
    min-height: 44px;
  }

  .top-category-icon-item img,
  .top-category-tile img {
    width: 72px;
    height: 72px;
  }

  .top-category-icon-item--compact img {
    width: 28px;
    height: 28px;
  }

  .top-category-icon-item h3,
  .top-category-tile h3 {
    font-size: 1.12rem;
  }

  .top-category-icon-item--compact h3 {
    font-size: 0.8rem;
  }

  .top-category-icon-item p,
  .top-category-tile p {
    font-size: 0.97rem;
    line-height: 1.36;
  }

  .books-lane-items,
  .books-author-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .author-series-shelf,
  .author-featured-works,
  .content-shelf {
    padding: 1rem;
  }

  .author-series-shelf-header,
  .content-shelf-header {
    flex-direction: column;
  }

  .author-shelf-actions,
  .content-shelf-actions {
    width: 100%;
    justify-content: space-between;
  }

  .author-shelf-track,
  .content-shelf-track {
    grid-auto-columns: minmax(170px, 72vw);
  }

  .top-category-featured-shelf .content-shelf-track {
    grid-auto-columns: calc((100% - 0.8rem) / 2);
  }

  .author-shelf-track--authors {
    grid-auto-columns: minmax(140px, 42vw);
  }

  .author-featured-grid {
    grid-template-columns: 1fr;
  }

  .book-card {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 0.75rem;
  }

  .top-category-longform .author-expandable[data-expanded="false"] .author-expandable-content {
    -webkit-line-clamp: 4;
  }

}
