/* ============================================================
   MINA LJUDBÖCKER — Design System
   Scandinavian minimal: white canvas, black type, electric blue
   ============================================================ */

/* ----- Custom Properties ----- */
:root {
  --white: #FFFFFF;
  --black: #111111;
  --gray-500: #555555;
  --gray-300: #D1D5DB;
  --gray-100: #F3F4F6;
  --blue: #0055FF;
  --blue-dark: #0044CC;
  --blue-light: #EBF0FF;
  --gold: #F59E0B;

  --bookbeat: #FF6B35;
  --nextory: #00C2A8;
  --storytel: #FF5733;

  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'DM Mono', ui-monospace, 'SFMono-Regular', monospace;

  --max-width: 1200px;
  --prose-width: 720px;
  --radius: 0px;
  --border: 1px solid var(--gray-300);
}


/* ----- @font-face ----- */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-sans-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+0E00-0E7F, U+1E00-1EFF,
                 U+2000-206F, U+20A0-20CF, U+2100-214F, U+FB00-FB4F;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/dm-sans-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+0E00-0E7F, U+1E00-1EFF,
                 U+2000-206F, U+20A0-20CF, U+2100-214F, U+FB00-FB4F;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/dm-sans-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+0E00-0E7F, U+1E00-1EFF,
                 U+2000-206F, U+20A0-20CF, U+2100-214F, U+FB00-FB4F;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('/fonts/dm-sans-800-latin-ext.woff2') format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+0E00-0E7F, U+1E00-1EFF,
                 U+2000-206F, U+20A0-20CF, U+2100-214F, U+FB00-FB4F;
}

@font-face {
  font-family: 'DM Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/dm-mono-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0000-024F, U+0300-036F, U+0E00-0E7F, U+1E00-1EFF,
                 U+2000-206F, U+20A0-20CF, U+2100-214F, U+FB00-FB4F;
}


/* ----- Base Reset ----- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 15px;
  line-height: 1.6;
  color: var(--black);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--blue-dark);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}


/* ----- Typography ----- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.15;
  color: var(--black);
}

h1 {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 18px;
  font-weight: 600;
}

p + p {
  margin-top: 1em;
}

.label,
.meta {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--gray-500);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}


/* ----- Container ----- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

@media (min-width: 640px) {
  .container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1024px) {
  .container {
    padding-left: 32px;
    padding-right: 32px;
  }
}


/* ----- Header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.site-logo {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 20px;
  color: var(--black);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.site-logo span {
  color: var(--blue);
}

.site-nav {
  display: none;
  gap: 28px;
  align-items: center;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--blue);
}

.nav-search-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
  border: var(--border);
  padding: 6px 12px;
}

.nav-search-link:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--black);
  transition: transform 0.2s, opacity 0.2s;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-bottom: var(--border);
  padding: 8px 0;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  border-bottom: 1px solid var(--gray-100);
}

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--blue);
  background: var(--blue-light);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .hamburger {
    display: none;
  }

  .mobile-nav {
    display: none !important;
  }

  .site-header .container {
    height: 68px;
  }

  .site-logo {
    font-size: 22px;
  }
}


/* ----- Footer ----- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 0 32px;
  margin-top: 80px;
  font-size: 14px;
  line-height: 1.6;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.footer-grid h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-grid a {
  color: rgba(255, 255, 255, 0.6);
  display: block;
  padding: 3px 0;
  transition: color 0.15s;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-disclosure {
  font-size: 11px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
  max-width: var(--prose-width);
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ----- Book Grid ----- */
.book-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 640px) {
  .book-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

@media (min-width: 1024px) {
  .book-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}


/* ----- Book Card ----- */
.book-card {
  display: flex;
  flex-direction: column;
  position: relative;
}

.book-card a {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.book-card-cover {
  aspect-ratio: 2 / 3;
  overflow: hidden;
  background: var(--gray-100);
  margin-bottom: 10px;
}

.book-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.book-card:hover .book-card-cover img {
  transform: scale(1.03);
}

.book-card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--black);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book-card-author {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.book-card-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--gray-500);
}

.book-card-rating {
  color: var(--gold);
  letter-spacing: 1px;
}

.book-card-partners {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
}


/* ----- Book Page Layout ----- */
.book-layout {
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 32px;
  padding-bottom: 48px;
}

.book-cover-col {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}

.book-cover-col img {
  width: 100%;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--gray-100);
}

.book-details-col {
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .book-layout {
    flex-direction: row;
    gap: 48px;
    padding-top: 40px;
    padding-bottom: 64px;
  }

  .book-cover-col {
    width: 280px;
    flex-shrink: 0;
    margin: 0;
  }
}

@media (min-width: 1024px) {
  .book-cover-col {
    width: 320px;
  }
}


/* ----- Book Details ----- */
.book-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .book-title {
    font-size: 36px;
  }
}

.book-author {
  font-size: 16px;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.book-author a {
  color: var(--gray-500);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.book-author a:hover {
  color: var(--blue);
}

.book-meta-table {
  width: 100%;
  margin-bottom: 24px;
}

.book-meta-row {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 14px;
}

.book-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-500);
  width: 120px;
  flex-shrink: 0;
  padding-top: 2px;
}

.book-meta-value {
  flex: 1;
  color: var(--black);
}

.book-description {
  font-size: 15px;
  line-height: 1.7;
  color: var(--gray-500);
  margin-bottom: 28px;
  max-width: var(--prose-width);
}

.book-description p + p {
  margin-top: 0.8em;
}


/* ----- Rating Stars ----- */
.rating-stars {
  display: inline-flex;
  align-items: center;
  gap: 1px;
  font-size: 16px;
  letter-spacing: 2px;
  line-height: 1;
}

.rating-stars .star-filled {
  color: var(--gold);
}

.rating-stars .star-empty {
  color: var(--gray-300);
}

.rating-value {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-500);
  margin-left: 8px;
}


/* ----- Partner CTA Section ----- */
.partner-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 28px;
}

.partner-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.15s, transform 0.15s;
  border-radius: var(--radius);
}

.partner-cta:hover {
  opacity: 0.9;
  color: var(--white);
  transform: translateY(-1px);
}

.partner-cta--bookbeat {
  background: var(--bookbeat);
}

.partner-cta--nextory {
  background: var(--nextory);
}

.partner-cta--storytel {
  background: var(--storytel);
}

.partner-cta .partner-logo {
  height: 20px;
  width: auto;
}

.partner-cta .partner-arrow {
  font-size: 18px;
  opacity: 0.7;
}

.reklamelink {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 4px;
  text-align: right;
}

@media (min-width: 768px) {
  .partner-ctas {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .partner-cta {
    flex: 1;
    min-width: 180px;
  }
}


/* ----- Category Page ----- */
.category-header {
  padding-top: 32px;
  padding-bottom: 24px;
}

.category-header h1 {
  margin-bottom: 16px;
}

.sort-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--gray-100);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.sort-tab {
  display: block;
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-500);
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color 0.15s, border-color 0.15s;
}

.sort-tab:hover {
  color: var(--black);
}

.sort-tab.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

.category-count {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
}

.category-grid-section {
  padding-bottom: 48px;
}


/* ----- Pagination ----- */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 40px 0;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  color: var(--black);
  border: var(--border);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.pagination a:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.pagination .active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.pagination .disabled {
  color: var(--gray-300);
  border-color: var(--gray-100);
  pointer-events: none;
}

.pagination .ellipsis {
  border: none;
  min-width: 32px;
  color: var(--gray-500);
}


/* ----- Editorial / Prose ----- */
.prose {
  max-width: var(--prose-width);
  margin-left: auto;
  margin-right: auto;
  padding-top: 40px;
  padding-bottom: 48px;
}

.prose h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.prose h2 {
  font-size: 26px;
  margin-top: 48px;
  margin-bottom: 12px;
}

.prose h3 {
  font-size: 19px;
  margin-top: 32px;
  margin-bottom: 8px;
}

.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 1.2em;
}

.prose a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.prose a:hover {
  color: var(--blue-dark);
}

.prose ul,
.prose ol {
  margin-bottom: 1.2em;
  padding-left: 24px;
}

.prose ul {
  list-style: disc;
}

.prose ol {
  list-style: decimal;
}

.prose li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 0.3em;
}

.prose img {
  margin: 24px 0;
}

.prose blockquote {
  border-left: 5px solid var(--blue);
  background: var(--blue-light);
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
  color: var(--black);
}

.prose blockquote p {
  margin-bottom: 0;
}

.prose table {
  margin: 24px 0;
  font-size: 14px;
  border: var(--border);
}

.prose th {
  background: var(--gray-100);
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--gray-300);
}

.prose td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
}

.prose tr:last-child td {
  border-bottom: none;
}

.prose hr {
  border: none;
  border-top: var(--border);
  margin: 40px 0;
}

@media (min-width: 768px) {
  .prose h1 {
    font-size: 40px;
  }

  .prose h2 {
    font-size: 28px;
  }

  .prose h3 {
    font-size: 20px;
  }
}


/* ----- CTA Callout ----- */
.cta-callout {
  border-left: 5px solid var(--blue);
  background: var(--blue-light);
  padding: 20px 24px;
  margin: 32px 0;
}

.cta-callout h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 6px;
}

.cta-callout p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 12px;
  color: var(--black);
}

.cta-callout a.btn {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 10px 24px;
  text-decoration: none;
  transition: background 0.15s;
}

.cta-callout a.btn:hover {
  background: var(--blue-dark);
  color: var(--white);
}


/* ----- Breadcrumbs ----- */
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
  padding: 14px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}

.breadcrumbs a {
  color: var(--gray-500);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs .sep {
  margin: 0 8px;
  color: var(--gray-300);
  font-size: 10px;
}

.breadcrumbs .sep::after {
  content: '\203A';
}

.breadcrumbs .current {
  color: var(--black);
}


/* ----- Search Page ----- */
.search-page {
  padding-top: 40px;
  padding-bottom: 64px;
  max-width: var(--prose-width);
  margin: 0 auto;
}

.search-page h1 {
  margin-bottom: 24px;
}

.search-page .pagefind-ui {
  --pagefind-ui-scale: 1;
  --pagefind-ui-primary: var(--blue);
  --pagefind-ui-text: var(--black);
  --pagefind-ui-background: var(--white);
  --pagefind-ui-border: var(--gray-300);
  --pagefind-ui-border-width: 1px;
  --pagefind-ui-border-radius: 0px;
  --pagefind-ui-font: var(--font-sans);
}


/* ----- Cookie Consent ----- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--black);
  color: rgba(255, 255, 255, 0.85);
  padding: 16px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

.cookie-text {
  font-size: 13px;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--white);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  cursor: pointer;
  transition: opacity 0.15s;
}

.cookie-btn:hover {
  opacity: 0.85;
}

.cookie-accept {
  background: var(--blue);
  color: var(--white);
  border: none;
}

.cookie-decline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (min-width: 640px) {
  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}


/* ----- 404 Page ----- */
.not-found {
  text-align: center;
  padding: 120px 16px;
}

.not-found h1 {
  font-size: 72px;
  font-weight: 800;
  color: var(--gray-300);
  margin-bottom: 8px;
}

.not-found p {
  font-size: 18px;
  color: var(--gray-500);
  margin-bottom: 24px;
}

.not-found a {
  display: inline-block;
  background: var(--blue);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 28px;
  text-decoration: none;
  transition: background 0.15s;
}

.not-found a:hover {
  background: var(--blue-dark);
  color: var(--white);
}


/* ----- Similar Books Section ----- */
.similar-books {
  padding: 48px 0;
  border-top: var(--border);
  margin-top: 48px;
}

.similar-books h2 {
  margin-bottom: 24px;
}


/* ----- Related Sections ----- */
.related-section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-300);
}

.related-section h2 {
  font-size: 20px;
  margin-bottom: 20px;
}

.related-section .book-grid {
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .related-section .book-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .related-section .book-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

.section-link {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-link:hover {
  text-decoration: underline;
}


/* ----- Homepage Hero ----- */
.hero {
  padding: 48px 0 40px;
}

.hero h1 {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 640px;
  margin-bottom: 12px;
}

.hero p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 520px;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .hero {
    padding: 64px 0 48px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 18px;
  }
}


/* ----- Section Heading ----- */
.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gray-100);
}

.section-heading h2 {
  font-size: 20px;
}

.section-heading a {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-500);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-heading a:hover {
  color: var(--blue);
}

.section-block {
  margin-bottom: 48px;
}


/* ----- Utility ----- */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

.text-center {
  text-align: center;
}

.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mt-48 { margin-top: 48px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }


/* ----- Print Styles ----- */
@media print {
  .site-header,
  .site-footer,
  .site-nav,
  .hamburger,
  .mobile-nav,
  .cookie-banner,
  .pagination,
  .sort-tabs,
  .nav-search-link {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 12pt;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .book-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .partner-cta {
    border: 1px solid #ccc;
    color: #000 !important;
    background: #fff !important;
  }
}
