/* Bijstellingen voor de besloten Duitstalige Lucas Sterling-site. */
.sample-side-image { width:100%; border-radius:4px; display:block; aspect-ratio:5/4; object-fit:cover; margin-bottom:28px; }
.ref-hero-desc {max-width: 545px;}
@media (max-width:1100px) { .nav-links { gap: 16px; } }
@media (max-width:600px) { .ref-hero-desc {max-width: 98%;} }

/* Duits is standaard; de tweede taal is voor het Nederlandstalige beheer. */
.lang-chooser { display:inline-flex; align-items:center; gap:7px; color:#7a524a; font-weight:700; font-size:12px; letter-spacing:.07em; white-space:nowrap; margin-left:2px; }
.lang-chooser a { color:#7a524a!important; text-decoration:none; border-bottom:1px solid transparent; padding:4px 2px; }
.lang-chooser a:hover,.lang-chooser a:focus { border-bottom-color:#7a524a; }
.lang-chooser .lang-current { color:#9b583c; border-bottom:2px solid #b37055; padding:4px 2px; }
.mobile-lang-switch { padding:12px 16px; border-top:1px solid #eedbd0; font-size:14px; color:#9b583c; }
.mobile-lang-switch a { display:inline!important; padding:0!important; margin:0!important; }
@media (max-width:1270px) { .nav-links { gap:10px; } .nav-links > a {font-size:12px;} }
@media (max-width:1100px) { .lang-chooser { font-size:11px; } }

.preview-cover-art {
  aspect-ratio: 184 / 262;
  container-type: inline-size;
  display: block;
  position: relative;
  width: 100%;
}

.ref-book-cover .preview-cover-art {
  aspect-ratio: auto;
  height: 100%;
}

.preview-cover-art > img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-aside .preview-cover-art {
  margin: 0 auto 20px;
  width: min(240px, 100%);
}

.article-aside .preview-cover-art > .book-cover-photo {
  height: 100%;
  margin: 0;
  width: 100%;
}

.preview-cover-author {
  background: #32241c;
  bottom: 7%;
  color: #fffaf5;
  font-size: clamp(.6rem, 9cqw, 1.25rem);
  font-weight: 700;
  left: 8%;
  line-height: 1.3;
  padding: .22em .3em;
  position: absolute;
  right: 8%;
  text-align: center;
  white-space: nowrap;
}

.book-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.book-card-link:hover h3,
.book-card-link:focus-visible h3 {
  text-decoration: underline;
}

/* Keep the navigation and the opening section in separate rows. */
.site-header .header-inner {
  width: min(1330px, calc(100% - 48px));
  gap: 22px;
}

.home-reference .site-header {
  position: relative;
  background: #fffbf8;
  border-bottom: 1px solid var(--line);
}

.site-header .nav-links {
  gap: clamp(12px, 1.35vw, 20px);
  flex-wrap: wrap;
  justify-content: flex-end;
}

.site-header .nav-links > a {
  font-size: 10px;
}

.home-reference .ref-hero {
  height: auto;
}

.home-reference .ref-hero-inner {
  min-height: 478px;
  height: auto;
}

.home-reference .ref-hero-copy {
  padding-block: 40px;
  min-width: 0;
}

.home-reference .ref-hero h1 {
  font-size: clamp(42px, 6vw, 88px);
}

.ref-book-title {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  line-height: 1.35;
}

.ref-book-title + .ref-book-status {
  margin-top: 3px;
}

.book-detail-layout {
  grid-template-areas: "description cover";
}

.book-detail-layout > .article-aside {
  grid-area: cover;
}

.book-detail-layout > :not(.article-aside) {
  grid-area: description;
}

@media (max-width: 1100px) {
  .site-header .nav-links {
    display: none;
  }

  .site-header .mobile-menu {
    display: block;
  }
}

@media (max-width: 780px) {
  .home-reference .ref-hero-inner {
    min-height: 685px;
  }

  .home-reference .ref-hero-copy {
    padding-block: 36px;
  }

  .home-reference .ref-hero h1 {
    font-size: clamp(40px, 9vw, 65px);
  }
}

@media (max-width: 760px) {
  .site-header .header-inner {
    width: calc(100% - 32px);
  }

  .book-detail-layout {
    grid-template-areas:
      "cover"
      "description";
  }

  .book-detail-layout > .article-aside {
    width: min(100%, 320px);
    position: static;
    justify-self: center;
  }
}

.about-actions {
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
}

.about-books {
  background: var(--sand);
}

.about-books h2 {
  font: normal clamp(30px, 4vw, 44px)/1.1 Georgia, serif;
  margin: 0 0 24px;
}

.about-book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: 20px;
}

.about-book {
  display: grid;
  grid-template-columns: minmax(65px, 105px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(12px, 2vw, 22px);
  padding: clamp(14px, 2.4vw, 26px);
  background: var(--ivory);
  border: 1px solid var(--line);
}

.about-book img {
  display: block;
  width: 100%;
  height: auto;
}

.about-book h3 {
  font: normal 26px/1.15 Georgia, serif;
  margin: 0 0 8px;
}

.about-book .hero-actions {
  margin-top: 14px;
}
