/* RON WILBUR WEBSITE STYLES
   Edit colors, type sizes and spacing here.
   The colorful redesign begins at: Colorful poster-inspired home page.
*/

:root  {
  --ink: #20242a;
  --muted: #636b74;
  --paper: #ffffff;
  --page: #f4f1eb;
  --line: #ddd7cd;
  --fiction: #274c77;
  --business: #9a6a18;
  --christian: #4d6b50;
}

*  {
  box-sizing: border-box;
}

html  {
  scroll-behavior: smooth;
}

body  {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--page);
  line-height: 1.58;
}

a  {
  color: #174f86;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover  {
  color: #0b365f;
}

.site-header  {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.nav-wrap  {
  max-width: 1100px;
  margin: 0 auto;
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand  {
  font-weight: 700;
  letter-spacing: .03em;
  color: var(--ink);
  text-decoration: none;
}

nav  {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 14px;
}

nav a  {
  color: #3c434a;
  text-decoration: none;
  font-weight: 700;
}

main  {
  max-width: 1100px;
  margin: 28px auto 60px;
  padding: 0 24px;
}

.hero  {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 42px;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.045);
}

.eyebrow  {
  margin: 0 0 5px;
  color: var(--muted);
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

h1  {
  margin: 0 0 10px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(40px, 6vw, 66px);
  line-height: 1.02;
}

.tagline  {
  margin: 0 0 24px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 21px;
  color: #565d64;
}

.hero p  {
  max-width: 700px;
}

.portrait  {
  width: 100%;
  max-width: 280px;
  border-radius: 12px;
  display: block;
  justify-self: center;
}

.category-grid  {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 26px 0 46px;
}

.category-card  {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top-width: 6px;
  border-radius: 12px;
  padding: 24px;
}

.category-card.fiction  {
  border-top-color: var(--fiction);
}

.category-card.business  {
  border-top-color: var(--business);
}

.category-card.christian  {
  border-top-color: var(--christian);
}

.category-card h2  {
  margin: 0 0 12px;
  font-size: 23px;
}

.category-card ul  {
  padding-left: 20px;
  margin: 0 0 18px;
  color: #50575e;
}

.category-card .button  {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 9px 14px;
  border-radius: 6px;
}

.fiction .button  {
  background: var(--fiction);
}

.business .button  {
  background: var(--business);
}

.christian .button  {
  background: var(--christian);
}

.major-section  {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 34px 38px;
  margin: 28px 0;
}

.section-kicker  {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
}

.major-section > h2  {
  margin: 3px 0 8px;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 36px;
}

.section-intro  {
  color: #596169;
  max-width: 820px;
  margin-bottom: 28px;
}

/* Existing fiction-library content */
.fiction-library h2  {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 28px;
  color: var(--fiction);
  margin-top: 34px;
  border-bottom: 1px solid #d8e0e8;
  padding-bottom: 7px;
}

.fiction-library h3  {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 22px;
  margin-top: 28px;
}

.fiction-library .story-description  {
  height: auto;
  background: transparent;
}

.fiction-library .paradiv  {
  width: auto;
  max-width: 760px;
  background: transparent;
  padding-left: 24px;
  color: #5b6269;
  margin: 1px 0 0;
}

.fiction-library .story-item  {
  margin: 3px 0 5px 42px;
}

.fiction-library .story-item a  {
  display: inline-block;
}

.fiction-library .book-series-content  {
  margin-left: 42px;
}

.fiction-library .book-item  {
  margin: 4px 0 7px 0;
}

.fiction-library .book-desc  {
  margin: 1px 0 0 28px;
  color: #5b6269;
}

.fiction-library .story-item + br  {
  display: none;
}

.fiction-library img  {
  max-width: 100%;
  height: auto;
}

.article-groups  {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.article-group  {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 20px;
  background: #fcfbf8;
}

.article-group h3  {
  margin: 0 0 6px;
  font-size: 18px;
}

.article-group p  {
  margin: 0;
  color: #656c73;
  font-size: 14px;
}

.placeholder-note  {
  margin-top: 22px;
  padding: 14px 16px;
  background: #f5f3ee;
  border-left: 4px solid #aaa;
  color: #555;
}

footer  {
  text-align: center;
  color: #596169;
  font-size: 13px;
  padding: 22px 12px 50px;
}

@media (max-width: 820px)  {
  .hero  {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .portrait  {
    max-width: 240px;
  }

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

  .article-groups  {
    grid-template-columns: 1fr;
  }

  .nav-wrap  {
    align-items: flex-start;
    flex-direction: column;
  }

  .major-section  {
    padding: 26px 22px;
  }

}

@media (max-width: 520px)  {
  main  {
    padding: 0 14px;
  }

  .hero  {
    padding: 22px;
  }

  nav  {
    gap: 10px 15px;
  }

  .fiction-library .paradiv  {
    padding-left: 20px;
  }

  .fiction-library .story-item  {
    margin-left: 24px;
  }

  .fiction-library .book-series-content  {
    margin-left: 24px;
  }

  .fiction-library .book-item  {
    margin-left: 0;
  }

  .fiction-library .book-desc  {
    margin-left: 20px;
  }

}

/* Dramatic featured story presentation; original library stays intact. */
:root  {
  --page: #ede9e2;
  --fiction: #233f5c;
}

[hidden]  {
  display: none !important;
}

.site-header  {
  background: #101d2b;
  border-bottom: 1px solid #38434d;
}

.nav-wrap  {
  max-width: 1240px;
  padding-top: 17px;
  padding-bottom: 17px;
}

.brand  {
  color: #f9f5ee;
  font-family: Georgia, serif;
  font-size: 24px;
  letter-spacing: .08em;
}

nav a  {
  color: #e2e4e6;
  font-size: 13px;
}

nav a:hover  {
  color: #edbf75;
}

main  {
  max-width: 1240px;
  margin-top: 30px;
}

.masthead  {
  padding: 6px 0 24px;
}

.masthead .eyebrow  {
  font-size: 11px;
  letter-spacing: .2em;
  color: #646564;
}

.masthead h1  {
  font-size: clamp(31px, 4.5vw, 58px);
  letter-spacing: -.045em;
  line-height: 1.15;
}

.masthead h1 span  {
  color: #294e6b;
}

.masthead > p:last-child  {
  margin: 7px 0 0;
  font-size: 16px;
  color: #606168;
}

.featured-carousel  {
  background: #101d2b;
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 20px 50px #17273824;
}

.carousel-topline  {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 36px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  border-bottom: 1px solid #ffffff20;
  color: #bdc6cf;
}

.carousel-slide  {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  padding: 28px 38px 30px;
  gap: 24px;
  align-items: center;
  background: radial-gradient(ellipse at 94% 10%, #ffffff0a, transparent 56%), #101d2b;
}

.slide-copy  {
  padding: 10px 0 10px 8px;
}

.slide-eyebrow  {
  color: var(--accent);
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-weight: 700;
  margin: 0 0 20px;
}

.slide-copy h2  {
  color: #fff;
  margin: 0 0 22px;
  font-size: clamp(37px, 4.65vw, 64px);
  line-height: 1.05;
  letter-spacing: -.02em;
  overflow-wrap: anywhere;
}

.slide-caption  {
  color: #e0e5e8;
  margin: 0 0 28px;
  font-size: 19px;
  line-height: 1.55;
  max-width: 420px;
}

.story-button  {
  display: inline-flex;
  gap: 36px;
  align-items: center;
  padding: 11px 18px;
  background: var(--accent);
  color: #142232;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  border-radius: 2px;
}

.story-button:hover  {
  color: #142232;
  box-shadow: 0 0 0 3px #ffffff40;
}

.slide-byline  {
  font-size: 11px;
  letter-spacing: .07em;
  color: #a5b1bd;
  margin: 18px 0 0;
}

.slide-art  {
  margin: 0;
  height: 425px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #07121c;
  border: 1px solid #ffffff20;
  padding: 16px;
  box-shadow: 0 15px 26px #0004;
}

.slide-art img  {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.slide-art.low-resolution img  {
  width: 310px;
  max-width: 100%;
  border: 9px solid #ece4d7;
  box-shadow: 0 10px 25px #0006;
  transform: rotate(-3deg);
}

.title-memoir h2  {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-style: italic;
}

.title-bold h2  {
  font-family: Impact, 'Arial Narrow', sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .005em;
}

.title-playful h2  {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 54px);
}

.title-slab h2  {
  font-family: 'Arial Black', Impact, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
}

.title-warm h2  {
  font-family: 'Palatino Linotype', 'Book Antiqua', Georgia, serif;
  font-weight: 700;
}

.title-typewriter h2  {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  font-size: clamp(34px, 4.1vw, 55px);
}

.title-space h2  {
  font-family: 'Arial Black', Arial, sans-serif;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .035em;
}

.title-classic h2  {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
}

.title-condensed h2  {
  font-family: Impact, 'Arial Narrow', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .03em;
}

.title-storybook h2  {
  font-family: 'Palatino Linotype', Georgia, serif;
  font-weight: 700;
  font-style: italic;
}

.title-festive h2  {
  font-family: 'Trebuchet MS', Verdana, sans-serif;
  font-weight: 900;
  font-size: clamp(34px, 4vw, 54px);
}

.title-christmas h2  {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-style: italic;
}

.carousel-controls  {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 36px;
  border-top: 1px solid #ffffff20;
}

.slide-status  {
  display: flex;
  align-items: center;
  gap: 15px;
}

.carousel-counter  {
  font-size: 12px;
  color: #edbf75;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.carousel-timing  {
  font-size: 10px;
  color: #a9b6c2;
  white-space: nowrap;
}

.carousel-buttons  {
  display: flex;
  gap: 7px;
}

.carousel-buttons button  {
  color: #e2e7eb;
  background: #ffffff09;
  border: 1px solid #ffffff35;
  padding: 7px 12px;
  min-height: 36px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 2px;
}

.carousel-buttons button:hover  {
  background: #ffffff24;
}

.carousel-buttons button:disabled  {
  opacity: .35;
  cursor: default;
}

.carousel-dots  {
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
  justify-content: center;
}

.carousel-dots button  {
  border: 0;
  width: 16px;
  height: 24px;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.carousel-dots button::before  {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff60;
  display: block;
  margin: auto;
}

.carousel-dots button[aria-pressed="true"]::before  {
  background: #edbf75;
  width: 7px;
  height: 7px;
}

.carousel-progress  {
  height: 3px;
  background: #ffffff12;
}

.carousel-progress span  {
  height: 100%;
  display: block;
  width: 100%;
  background: #edbf75;
  transform: scaleX(0);
  transform-origin: left;
}

.carousel-progress span.running  {
  animation: story-timer 10s linear forwards;
}

@keyframes story-timer  {
  to  {
    transform: scaleX(1);
  }

}

.sr-only  {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

a:focus-visible, button:focus-visible, .featured-carousel:focus-visible  {
  outline: 3px solid #dc9b36;
  outline-offset: 4px;
}

.category-grid  {
  margin: 35px 0 40px;
  gap: 20px;
}

.category-card  {
  border-radius: 3px;
  padding: 28px;
  border-top-width: 4px;
  box-shadow: 0 6px 20px #25344208;
}

.category-card h2  {
  font-family: Georgia, serif;
  font-size: 27px;
  line-height: 1.2;
}

.category-card .button  {
  border-radius: 2px;
  font-size: 13px;
}

.major-section  {
  border-radius: 3px;
}

.major-section > h2  {
  font-size: clamp(30px, 4vw, 43px);
}

section[id]  {
  scroll-margin-top: 105px;
}

.hero  {
  border-radius: 3px;
  margin-top: 40px;
  grid-template-columns: 1fr 220px;
}

.hero h2  {
  font-family: Georgia, serif;
  font-size: 36px;
  line-height: 1.1;
  margin: 8px 0 22px;
}

footer  {
  background: #101d2b;
  color: #c0c8d0;
  padding: 28px 20px;
}

@media (max-width: 950px)  {
  .carousel-slide  {
    grid-template-columns: 1.05fr .95fr;
    padding: 26px;
    min-height: 540px;
    gap: 20px;
  }

  .slide-art  {
    height: 385px;
  }

  .carousel-controls  {
    padding-right: 26px;
    padding-left: 26px;
  }

  .carousel-timing  {
    display: none;
  }

  .category-grid  {
    gap: 14px;
  }

  .category-card  {
    padding: 23px;
  }

}

@media (max-width: 820px)  {
  .hero  {
    grid-template-columns: 1fr;
  }

  .portrait  {
    max-width: 220px;
  }

  .nav-wrap  {
    flex-direction: column;
    gap: 8px;
    padding-top: 13px;
    padding-bottom: 13px;
  }

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

  nav  {
    gap: 9px 15px;
  }

  nav a  {
    font-size: 12px;
  }

  section[id]  {
    scroll-margin-top: 150px;
  }

}

@media (max-width: 640px)  {
  main  {
    margin-top: 20px;
  }

  .masthead  {
    padding-bottom: 20px;
  }

  .masthead h1  {
    font-size: 37px;
  }

  .masthead > p:last-child  {
    font-size: 14px;
  }

  .carousel-topline  {
    padding: 14px 20px;
    font-size: 9px;
  }

  .carousel-topline span:last-child  {
    display: none;
  }

  .carousel-slide  {
    grid-template-columns: 1fr;
    padding: 22px;
    gap: 18px;
    min-height: 700px;
  }

  .slide-copy  {
    padding: 0;
  }

  .slide-copy h2  {
    font-size: clamp(34px, 9vw, 44px);
    margin-bottom: 15px;
  }

  .slide-eyebrow  {
    margin-bottom: 15px;
    font-size: 10px;
  }

  .slide-caption  {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .slide-byline  {
    display: none;
  }

  .slide-art  {
    height: 290px;
    padding: 12px;
  }

  .slide-art.low-resolution img  {
    width: 230px;
  }

  .carousel-controls  {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }

  .carousel-dots  {
    order: 3;
    width: 100%;
  }

  .carousel-buttons button  {
    min-height: 42px;
  }

  .category-grid  {
    margin-top: 26px;
  }

  .brand  {
    font-size: 22px;
  }

}

@media (prefers-reduced-motion: reduce)  {
  html  {
    scroll-behavior: auto;
  }

  .carousel-progress span.running  {
    animation: none;
  }

}

/* Colorful poster-inspired home page. The featured carousel is preserved. */
:root  {
  --page:#f7f0df;
  --ink:#17151c;
  --line:#17151c;
}

body  {
  background:#f7f0df;
  color:#17151c;
}

.site-header  {
  background:#17151c;
  position:relative;
  border:0;
}

.nav-wrap  {
  max-width:1280px;
  padding:22px 32px;
}

.brand  {
  font-family:Arial,Helvetica,sans-serif;
  font-size:23px;
  font-weight:900;
  letter-spacing:-.04em;
}

.brand::after  {
  content:'.';
  color:#ff6544;
  font-size:36px;
  line-height:0;
}

nav  {
  gap:24px;
}

nav a  {
  color:#fff8e7;
  font-size:12px;
}

nav a:hover  {
  color:#d9ef49;
}

main  {
  max-width:1280px;
  margin:0 auto;
  padding:0 32px 64px;
}

.poster  {
  margin:28px 0 34px;
  position:relative;
  isolation:isolate;
  background:#ff694b;
  border:3px solid #17151c;
  padding:30px 42px 38px;
  overflow:hidden;
}

.poster::before  {
  content:'';
  position:absolute;
  z-index:-1;
  width:550px;
  height:550px;
  right:-190px;
  top:-180px;
  border:60px solid #f6bdce;
  border-radius:50%;
}

.poster::after  {
  content:'';
  position:absolute;
  z-index:-1;
  width:270px;
  height:270px;
  right:36px;
  bottom:-194px;
  background:repeating-linear-gradient(135deg,#17151c 0 4px,transparent 4px 13px);
  transform:rotate(12deg);
}

.poster-top  {
  display:flex;
  justify-content:space-between;
  align-items:center;
  position:relative;
  gap:20px;
}

.poster-label  {
  font-size:11px;
  font-weight:900;
  letter-spacing:.22em;
  text-transform:uppercase;
  margin:0;
}

.poster-spark  {
  font-size:56px;
  line-height:1;
}

.poster h1  {
  font-family:Arial,Helvetica,sans-serif;
  font-weight:900;
  font-size:clamp(78px,12.4vw,158px);
  line-height:.81;
  letter-spacing:-.085em;
  margin:28px 0 29px;
  position:relative;
  max-width:850px;
}

.poster h1 span  {
  display:block;
}

.poster h1 .surname  {
  color:#fff4db;
  text-shadow:3px 3px 0 #17151c;
}

.poster-bottom  {
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:25px;
  position:relative;
}

.poster-tag  {
  margin:0;
  font-family:Georgia,serif;
  font-size:clamp(20px,2.3vw,28px);
  font-style:italic;
  max-width:430px;
  line-height:1.22;
}

.poster-rule  {
  width:150px;
  border-top:4px solid #17151c;
  margin-bottom:10px;
}

.word-sticker  {
  position:absolute;
  right:42px;
  top:123px;
  width:175px;
  height:175px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#274df4;
  color:#fff4db;
  border:3px solid #17151c;
  transform:rotate(12deg);
  box-shadow:7px 7px 0 #17151c;
  font-size:23px;
  line-height:1.05;
  font-weight:900;
  text-align:center;
  letter-spacing:-.04em;
}

.sticker-small  {
  display:block;
  font-size:10px;
  letter-spacing:.16em;
  margin-top:10px;
}

.featured-heading  {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:14px;
}

.featured-heading h2  {
  font-size:13px;
  font-weight:900;
  letter-spacing:.15em;
  text-transform:uppercase;
  margin:0;
}

.featured-heading span  {
  color:#17151c;
  font-size:24px;
  letter-spacing:8px;
}

.featured-carousel  {
  border:3px solid #17151c;
  border-radius:0;
  box-shadow:8px 8px 0 #d9ef49;
}

.explore  {
  margin-top:64px;
}

.explore-heading  {
  display:flex;
  justify-content:space-between;
  gap:28px;
  align-items:end;
  margin-bottom:24px;
}

.explore-heading h2  {
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(36px,5vw,64px);
  font-weight:900;
  letter-spacing:-.065em;
  line-height:.94;
  margin:0;
}

.explore-heading p  {
  font-family:Georgia,serif;
  font-style:italic;
  font-size:19px;
  margin:0;
}

.portal-grid  {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:24px;
}

.portal  {
  min-height:295px;
  display:flex;
  flex-direction:column;
  padding:27px 30px 25px;
  position:relative;
  isolation:isolate;
  overflow:hidden;
  color:#17151c;
  background:var(--tile);
  border:3px solid #17151c;
  text-decoration:none;
  transition:transform .18s,box-shadow .18s;
}

.portal:hover  {
  color:#17151c;
  transform:translate(-3px,-3px);
  box-shadow:6px 6px 0 #17151c;
}

.portal:focus-visible  {
  outline:4px solid #274df4;
  outline-offset:5px;
}

.portal-top  {
  display:flex;
  justify-content:space-between;
  align-items:start;
}

.portal-number  {
  border:1px solid currentColor;
  border-radius:50%;
  display:grid;
  place-items:center;
  width:34px;
  height:34px;
  font-size:11px;
  font-weight:700;
}

.portal-symbol  {
  font-family:Georgia,serif;
  font-size:85px;
  line-height:.75;
  position:absolute;
  right:28px;
  top:32px;
}

.portal h3  {
  font-family:Arial,Helvetica,sans-serif;
  font-size:clamp(31px,3.5vw,45px);
  font-weight:900;
  letter-spacing:-.06em;
  line-height:1;
  margin:38px 0 16px;
  max-width:82%;
  position:relative;
}

.portal p  {
  margin:0 0 22px;
  font-size:14px;
  line-height:1.5;
  max-width:340px;
  position:relative;
}

.portal-link  {
  font-size:11px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.12em;
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-top:auto;
  position:relative;
}

.portal-arrow  {
  font-size:27px;
  line-height:1;
}

.portal::after  {
  content:'';
  z-index:-1;
  position:absolute;
  width:175px;
  height:175px;
  right:-60px;
  bottom:-88px;
  border:22px solid #17151c18;
  border-radius:50%;
}

.portal-fiction  {
  --tile:#274df4;
  color:#fff9e7;
}

.portal-fiction:hover  {
  color:#fff9e7;
}

.portal-fiction::after  {
  border-color:#fff9e733;
}

.portal-business  {
  --tile:#d9ef49;
}

.portal-business .portal-symbol  {
  font-family:Arial,sans-serif;
  font-weight:900;
  font-size:70px;
}

.portal-christian  {
  --tile:#f6b9d0;
}

.portal-about  {
  --tile:#ffa348;
}

.portal-about .portal-symbol  {
  font-size:53px;
  font-family:Arial,sans-serif;
  font-weight:900;
  letter-spacing:-.1em;
  border-bottom:6px solid #17151c;
  padding-bottom:10px;
}

.decorative-ribbon  {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  padding:22px 4px;
  margin-top:38px;
  border-top:2px solid #17151c;
  border-bottom:2px solid #17151c;
  font-size:clamp(11px,1.8vw,20px);
  font-weight:900;
  letter-spacing:.05em;
}

.decorative-ribbon i  {
  font-size:28px;
  font-style:normal;
  color:#274df4;
}

footer  {
  background:#17151c;
  color:#fff4db;
  padding:30px 32px;
}

.footer-inner  {
  max-width:1216px;
  margin:auto;
  display:flex;
  justify-content:space-between;
  gap:20px;
  align-items:center;
  text-align:left;
}

.footer-brand  {
  font-weight:900;
  font-size:24px;
  letter-spacing:-.05em;
}

.footer-copy  {
  font-size:12px;
}

.collection-view  {
  padding-top:42px;
}

.back-home  {
  display:inline-block;
  color:#17151c;
  font-size:13px;
  font-weight:900;
  text-decoration:none;
  border-bottom:2px solid #17151c;
  padding-bottom:5px;
}

.collection-view .major-section,.collection-view .hero  {
  border:3px solid #17151c;
  background:#fffaf0;
  margin-top:26px;
  box-shadow:8px 8px 0 var(--collection-accent,#d9ef49);
}

.collection-view .major-section > h2,.collection-view .hero h2  {
  font-family:Arial,Helvetica,sans-serif;
  font-weight:900;
  letter-spacing:-.055em;
}

.collection-view .fiction-library h2  {
  color:#274df4;
}

.collection-view .article-group  {
  border-color:#ddd2bf;
  background:#f7f0df;
}

.collection-view .eyebrow  {
  color:#555;
}

@media(max-width:1000px)  {
  .word-sticker  {
    width:145px;
    height:145px;
    right:25px;
    top:110px;
    font-size:20px;
  }

  .poster h1  {
    max-width:640px;
  }

  nav  {
    gap:15px;
  }

}

@media(max-width:820px)  {
  .nav-wrap  {
    flex-direction:row;
    align-items:center;
  }

  nav  {
    display:none;
  }

  .poster  {
    padding:25px 28px 32px;
  }

  .word-sticker  {
    width:110px;
    height:110px;
    right:22px;
    top:100px;
    font-size:17px;
    box-shadow:4px 4px 0 #17151c;
  }

  .sticker-small  {
    font-size:7px;
  }

  .poster h1  {
    font-size:clamp(78px,14.8vw,120px);
  }

  .portal  {
    padding:25px;
  }

  .portal h3  {
    font-size:34px;
    max-width:90%;
  }

  .portal p  {
    max-width:270px;
  }

  .portal-symbol  {
    font-size:65px;
  }

  .explore-heading  {
    align-items:start;
    flex-direction:column;
    gap:10px;
  }

}

@media(max-width:580px)  {
  main  {
    padding:0 18px 38px;
  }

  .nav-wrap  {
    padding:18px;
  }

  .poster  {
    margin-top:18px;
    padding:22px 20px 26px;
  }

  .poster-label  {
    font-size:9px;
    letter-spacing:.13em;
  }

  .poster-spark  {
    font-size:35px;
  }

  .poster h1  {
    font-size:clamp(67px,19vw,106px);
    margin:30px 0 26px;
  }

  .word-sticker  {
    display:none;
  }

  .poster-tag  {
    font-size:22px;
    max-width:260px;
  }

  .poster-rule  {
    display:none;
  }

  .poster::before  {
    right:-310px;
    top:-250px;
  }

  .featured-heading h2  {
    font-size:11px;
  }

  .featured-heading span  {
    font-size:19px;
    letter-spacing:4px;
  }

  .featured-carousel  {
    box-shadow:5px 5px 0 #d9ef49;
  }

  .explore  {
    margin-top:45px;
  }

  .portal-grid  {
    grid-template-columns:1fr;
    gap:18px;
  }

  .portal  {
    min-height:270px;
    padding:25px;
  }

  .portal h3  {
    font-size:39px;
    max-width:80%;
  }

  .portal-symbol  {
    font-size:75px;
  }

  .decorative-ribbon  {
    gap:8px;
    font-size:10px;
  }

  .decorative-ribbon i  {
    font-size:20px;
  }

  .footer-inner  {
    flex-direction:column;
    align-items:start;
    gap:8px;
  }

  .collection-view .major-section  {
    padding:25px 20px;
  }

}

@media(prefers-reduced-motion:reduce)  {
  .portal  {
    transition:none;
  }

}
