.ihl-book-page {
  --ihl-navy: #101e35;
  --ihl-ink: #16263c;
  --ihl-gold: #d9b875;
  --ihl-border: #d8c7a6;
  --ihl-paper: #fffdf8;
  background: #f7f4ec;
  color: var(--ihl-ink);
}
.ihl-book-page:lang(ar), .ihl-book-page [lang="ar"] {
  font-family: Amiri, serif;
  font-size: 1.17rem;
  line-height: 1.75;
}
.ihl-book-page:lang(ar) :is(h1, h2, h3) { font-family: inherit; }
.ihl-book-page .sn-header__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.1rem; }
.ihl-book-page .sn-logo { display: inline-flex; align-items: center; gap: .65rem; }
.ihl-book-page .sn-logo img { width: 44px; height: 44px; object-fit: contain; }
.ihl-book-page .ihl-main { max-width: 76rem; margin: auto; padding: clamp(.85rem, 3vw, 2rem); }
.ihl-book-intro {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  border-radius: 1rem;
  overflow: hidden;
  color: #fff4df;
  background: #101e35;
  text-align: center;
}
.ihl-hero-art { display: block; width: 100%; height: auto; }
.ihl-hero-copy { padding: 1.4rem 1rem 1.75rem; }
.ihl-book-intro h1 { margin: .65rem 0; color: inherit; font-size: clamp(1.65rem, 3.7vw, 3.3rem); line-height: 1.18; }
.ihl-book-intro h1 span { display: block; margin-block-start: .4em; font-size: .65em; }
.ihl-book-page:lang(en) .ihl-book-intro h1 { font-size: clamp(1.65rem, 3vw, 2.55rem); }
.ihl-hero-copy p { margin: .6rem 0; }
.ihl-subtitle { font-size: clamp(1.05rem, 2.15vw, 1.65rem); color: #f3d699; }
.ihl-author, .ihl-release { font-weight: bold; }
.ihl-release { color: #f3d699; }
.ihl-format { font-size: .93em; }
.ihl-book-intro .ihl-status {
  display: inline-block;
  border: 1px solid #c8a35c;
  border-radius: 2rem;
  padding: .15rem .85rem;
  background: #101b2cdf;
  color: #f1d497;
}
.ihl-book-intro a.ihl-primary {
  display: inline-block;
  margin-block-start: .5rem;
  border: 1px solid #f1d291;
  border-radius: .55rem;
  padding: .35rem 1.65rem;
  background: linear-gradient(#efcc80, #c89a48);
  color: #172133;
  font-weight: bold;
  text-decoration: none;
}
.ihl-book-intro a.ihl-primary:hover { background: #efcc80; }
.ihl-book-intro a.ihl-primary:focus-visible { outline-color: #fff4df; }
.ihl-announcement img {
  display: block; width: 100%; height: auto; object-fit: contain;
  border: 1px solid var(--ihl-gold); border-radius: .45rem;
}
@media (min-width: 52rem) {
  .ihl-book-intro { min-height: 30rem; aspect-ratio: 16 / 9; }
  .ihl-hero-art { position: absolute; z-index: -2; inset: 0; height: 100%; object-fit: cover; object-position: right center; }
  .ihl-book-intro::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse 33% 63% at 26% 46%, #080f20c9, #080f207a 69%, transparent);
  }
  .ihl-hero-copy { position: relative; justify-self: left; width: 52%; padding: 1.25rem 2.4%; }
}
@media (max-width: 51.999rem) {
  .ihl-hero-art { height: clamp(13rem, 60vw, 24rem); object-fit: cover; object-position: right center; }
}
.ihl-book-page main > section { margin-block: clamp(2rem, 5vw, 4rem); }
.ihl-overview { display: grid; grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr); gap: 1.6rem 3rem; align-items: start; }
.ihl-overview h2, #browse h2 { margin-block-start: 0; }
.ihl-announcement { margin: 0 auto; max-width: 18rem; }
.ihl-announcement figcaption { margin-block-end: .35rem; font-weight: bold; }
.ihl-announcement > a:last-child { display: inline-block; margin-block-start: .3rem; }
.ihl-jumps, .ihl-chapter-nav, .ihl-related { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; }
.ihl-jumps a, .ihl-chapter-nav a { display: inline-block; padding: .35rem .65rem; border: 1px solid var(--ihl-border); border-radius: .4rem; text-underline-offset: .2em; }
.ihl-note { margin-block: .85rem; }
.ihl-reader-panel { margin-block: 1.25rem; padding: clamp(.9rem, 3vw, 1.7rem); background: var(--ihl-paper); border: 1px solid var(--ihl-border); border-radius: .8rem; }
.ihl-reader-panel > h3 { margin-block-start: 0; }
.ihl-toc { list-style: none; padding: 0; margin: 0; }
.ihl-toc li { display: flex; justify-content: space-between; align-items: baseline; gap: .65rem; padding-block: .3rem; border-block-end: 1px solid #e7dfd1; }
.ihl-toc li > :last-child { white-space: nowrap; }
.ihl-toc-part { margin-block-start: .55rem; font-weight: bold; }
.ihl-toc-chapter { padding-inline-start: clamp(.25rem, 2vw, 1.25rem); }
.ihl-part { padding-block: 1rem; border-block-start: 1px solid var(--ihl-border); }
.ihl-part h3 { margin-block: 0 .4rem; }
.ihl-book-page details { margin-block: .55rem; border: 1px solid var(--ihl-border); border-radius: .5rem; }
.ihl-book-page summary { cursor: pointer; padding: .6rem .8rem; font-weight: bold; }
.ihl-book-page details[open] > summary { background: #f3ecde; border-radius: .5rem .5rem 0 0; }
.ihl-chapter-body, .ihl-intro-text, .ihl-original > :not(summary) { padding: .4rem .85rem .8rem; }
.ihl-quote { margin: .75rem 0; }
.ihl-quote blockquote { margin: 0; border-inline-start: 3px solid #ad8344; background: #f7f1e4; padding: .65rem 1rem; }
.ihl-quote figcaption { margin: .45rem 0; font-size: .9em; }
.ihl-book-page :target { scroll-margin-top: 1rem; }
.ihl-book-page a:focus-visible, .ihl-book-page summary:focus-visible { outline: 3px solid #ad8344; outline-offset: 3px; }
@media (max-width: 650px) {
  .ihl-overview { grid-template-columns: 1fr; }
}
