@import url("https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@300;400;500&family=Source+Serif+Pro:ital,wght@0,400;1,300;1,400&display=swap");

/* add color variables */
:root {
  --small-breakpoint: 600px;
  --medium-breakpoint: 900px;
  --large-breakpoint: 1200px;
  --max-width: 1048px;

  --color-black-100: #111111;
  --color-black-90: #11111190;
  --color-black-70: #11111170;
  --color-black-40: #11111140;
  --color-near-white: #f7f7f7;
  --color-white: #fff;
  --color-light-plum: #f6f6f6;
  --color-light-plum-2: #f3f3f3;
  --color-plum: #b3ae25;
  --color-plum-dark: #00000072;
  --border-radius-small: 3px;
  --border-radius-body: 6px;
  --border-radius-large: 12px;
  --horizontal-padding: 2rem;

  --font-size-body: 16px;
  --font-size-hero: 2.3rem;
  --font-size-h1: 2.4rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.5rem;
  --font-size-h4: 1.25rem;
  --font-size-small: 0.8rem;
  --font-size-x-small: 0.6rem;
  /* --font-family-serif: "Test Family", "Test Signifier", "Source Serif Pro",
    serif; */
  --font-family-serif: "Source Serif Pro", serif;
  --font-family-sans-serif: "Source Sans Pro", sans-serif;
  --letter-spacing-hero: normal;
  --main-grid: repeat(auto-fit, minmax(180px, 180px));
  --grid-3: 1fr 1fr 1fr;
  --main-grid-gap: 2rem;
  --color-light-pink: #fff1f6;
  --color-pink: #fff3f7;
  --color-light-blue: #edf9ff;
  --color-blue: #0000ff;
  --color-light-green: #f1feee;
  --color-green: #008000;
  --color-light-yellow: #fffbe3;
  --color-yellow: #f7c308;
}

html {
  height: 100%;
  font-family: var(--font-family-sans-serif), sans-serif;
  font-weight: 400;
  font-size: var(--font-size-body);
}

html p {
  font-family: var(--font-family-serif), serif;
  color: #333;
}

html .mono {
  font-family: var(--font-family-serif), monospace;
}

html a {
  text-decoration: none;
  text-decoration-thickness: 0;
}

body {
  background: #fff;
  overflow: unset;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  position: relative;
  min-height: 100%;
  max-width: 100vw;
  margin: 0;
  padding: 0;
  height: 100%;
}
#siteWrapper {
  min-height: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow-y: hidden;
}
#bodyWrapper {
  min-height: 100%;
  position: relative;
  flex-grow: 1;
}
.contentWrapper {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--horizontal-padding);
  padding-right: var(--horizontal-padding);
}
.contentWrapper section {
  padding: 0 0 1rem 0;
}
.contentWrapper section:first-of-type {
  padding-top: 1.5rem;
}

.contentWrapper section .sectionHeader {
  display: flex;
  margin-bottom: 1rem;
  align-items: center;
}

section .sectionHeader h2 {
  font-size: var(--font-size-h4);
  font-weight: 400;
}

#mainWrapper {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--horizontal-padding);
  padding-right: var(--horizontal-padding);
}

#mainWrapper > h1 {
  font-size: var(--font-size-hero);
  text-align: center;
  margin-bottom: 4rem;
  border-bottom: 1px solid var(--color-near-white);
}

body ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

main h1 {
  padding: 4rem 0rem;
  margin: 0;
}

h1 {
  font-family: var(--font-family-serif), serif;
  font-weight: 500;
}

h2,
h3 {
  font-family: var(--font-family-serif), serif;
  font-weight: 500;
}

main h1 a {
  color: var(--color-black-100);
  text-decoration: none;
}

#topNav {
  background-color: var(--color-main-offwhite);
  padding: 1rem 0rem;
  border-bottom: 1.5px solid var(--color-near-white);
}

#topNav .topNavContentWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--horizontal-padding);
  padding-right: var(--horizontal-padding);
}

#topNav .grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 2rem;
  margin-top: 0;
  width: initial;
}

#topNav .grid .menuSocialItemsWrapper {
  display: flex;
}

#mobileNav {
  display: none;
}
#topNav #desktopNav {
  display: flex;
  width: 100%;
  align-items: center;
}
#topNav #desktopNav .menuSocialItemsWrapper {
  display: flex;
}
#searchBoxWrapper {
  display: flex;
  width: 100%;
  padding: 0 4rem;
}
#searchBoxWrapper input {
  width: 100%;
  border: 1.5px solid var(--color-light-plum-2);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-size: var(--font-size-body);
  font-family: var(--font-family-sans-serif), sans-serif;
}

#topNav #desktopNav li {
  /* padding: 0 1.5rem; */
  margin: 0 3rem 0 0;
}

.topNavItems li a,
.topNavItems .grid a {
  color: var(--color-black-100) !important;
}
.topNavItems li a:hover {
  text-decoration: underline;
}

.logoWrapper {
  display: flex;
  white-space: nowrap;
  align-items: center;
}

.logoWrapper a img {
  margin-bottom: -4px;
}

.logoWrapper h1 {
  font-size: var(--font-size-h4);
  font-weight: 400;
  margin-left: 0.5rem;
}

#footer .logoWrapper h1 a {
  color: white;
  text-decoration: none;
  margin-right: 1rem;
}

.homeHero {
  overflow-y: hidden;
  padding: 4rem 0;
  border-bottom: 1px solid var(--color-light-plum-2);
  overflow: hidden;
  height: 24rem;
  box-sizing: border-box;
  display: flex;
  justify-content: start;
  align-items: center;
  background-color: var(--color-main-offwhite);
}
.homeHero .contentWrapper {
  width: 100%;
}
.homeHero .pageTitle {
  z-index: 2;
}

.homeHero h1 {
  font-size: var(--font-size-hero);
  margin-top: 0;
  letter-spacing: var(--letter-spacing-hero);
}

.homeHero h1,
.bookPageContent h1.bookTitle,
.pageHeader .contentWrapper h1.headline {
  letter-spacing: var(--letter-spacing-hero);
}
.pageHeader .contentWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pageHeader .contentWrapper a.button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--font-size-body);
  width: fit-content;
  color: var(--color-black-100);
  margin-right: 3rem;
}
.pageHeader .contentWrapper a.button img {
  width: 22px;
  height: 22px;
  /* opacity: 0.5; */
}
.pageHeader .contentWrapper a.button:hover {
  color: var(--color-black-100);
}
.pageHeader .contentWrapper a.button:hover img {
  opacity: 1;
}

.bookPageContent h1.bookTitle {
  max-width: 24rem;
  text-wrap: balance;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.bookPageContent h1.bookTitle a {
  color: var(--color-black-100);
  text-decoration: none;
}
.bookPageContent h1.bookTitle a:hover {
  color: var(--color-black-100);
  border-bottom: 2px solid black;
}

.homeHero img {
  align-self: center;
  margin: 0 auto;
  /* height: 75%; */
}

.homeHero .subheadline {
  font-family: var(--font-family-sans-serif);
  font-size: calc(var(--font-size-h4) - 0.15rem);
  font-weight: 400;
  max-width: 24rem;
  margin-top: 0;
  opacity: 0.4;
  text-wrap: balance;
}
.homeHero .headline {
  text-wrap: balance;
  font-size: var(--font-size-h4);
  font-weight: 400;
  letter-spacing: normal;
}
.homeHero .contentWrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  overflow: hidden;
}

.homeHero .pageTitle {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.homeHero .followWrapper {
  display: flex;
  align-items: center;
}

.homeHero .followWrapper .menuSocialItemsWrapper {
  display: flex;
  align-items: center;
}

.homeHero .followWrapper .navItemIconWrapper {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
}

.homeHero .followWrapper .navItemIconWrapper:nth-child(3) {
  display: none;
}

.homeHero .followWrapper .navItemIconWrapper a {
  display: flex;
  width: 24px;
  height: 24px;
}
.homeHero .followWrapper .navItemIconWrapper a img {
  width: 24px;
  height: 24px;
}

.pageHeader {
  background-color: var(--color-main-offwhite);
  padding: 5rem 0rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--color-light-plum-2);
}

.pageHeader .subtitle {
  font-size: calc(var(--font-size-h4) - 0.15rem);
  font-family: var(--font-family-sans-serif);
  max-width: 32rem;
  opacity: 0.7;
  line-height: 1.36;
  text-wrap: balance;
}

.squiggle-15 {
  background-image: url("/img/squiggles-15.svg");
  background-size: 100%;
  background-position: 50% 50%;
  background-blend-mode: multiply;
}
.squiggle-21 {
  background-image: url("/img/squiggles-9.svg");
  background-size: 100%;
  background-position: 50% 50%;
  background-blend-mode: multiply;
}

.squiggle-9 {
  background-image: url("/img/squiggles-9.svg");
  background-size: 100%;
  background-position: 50% 50%;
  background-blend-mode: multiply;
}

.squiggle-4 {
  background-image: url("/img/squiggles-4.svg");
  background-size: 100%;
  background-position: 50% 50%;
  background-blend-mode: multiply;
}

.squiggle-2 {
  background-image: url("/img/squiggles-2.svg");
  background-size: 100%;
  background-position: 50% 50%;
  background-blend-mode: multiply;
}

.squiggle-13 {
  background-image: url("/img/squiggles-13.svg");
  background-size: 100%;
  background-position: 50% 50%;
  background-blend-mode: multiply;
}

.pageHeader h1.headline {
  font-size: var(--font-size-h4);
  line-height: 1;
  letter-spacing: var(--letter-spacing-hero);
}

ul.grid {
  display: grid;
  width: 100%;
  grid-template-columns: var(--main-grid);
  grid-gap: 3.5rem 2rem;
}
ul.grid-3 {
  display: grid;
  width: 100%;
  grid-template-columns: var(--grid-3);
  grid-gap: 3.5rem 2rem;
}
ul.grid.grid-tight {
  grid-gap: 2rem 2rem;
}

ul.grid-3.grid-tight {
  grid-gap: 1rem 1rem;
}

ul.grid.grid-tight {
  row-gap: 0.5rem;
}

ul.carousel {
  display: flex;
  /* margin-top: 1rem; */
  margin-right: -2rem;
  margin-left: -2rem;
  padding-left: 2rem;
  padding-top: 0.5rem;
  overflow-y: visible;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  scrollbar-color: var(--color-light-plum) var(--color-near-white);
  /* padding-bottom: 1rem; */
}

ul.carousel::-webkit-scrollbar {
  display: none;
}

ul.carousel .bookListItem {
  margin-right: 2rem;
  max-width: 180px;
  min-width: 180px;
}

ul.carousel .carouselLastItem {
  display: none;
}

ul.grid-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  grid-gap: 2rem 2rem;
}
ul.authorsList li {
  margin-bottom: 1rem;
}
ul.authorsList li a {
  color: var(--color-black-100);
}
ul.authorsList li a:hover {
  text-decoration: underline;
}

.bookListItem,
.gridItem {
  grid-column: span 1;
  display: flex;
  flex-direction: column;
  list-style: none;
}

.bookListItemTop {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.bookListItem a,
#topNav h1 a {
  color: var(--color-black);
  text-decoration: none;
}
.bookListItem:hover .bookCoverWrapper {
  transform: translate(0px, -5px);
}
.bookListItem:hover h2 {
  text-decoration: underline;
}

#topNav h1 a:hover {
  text-decoration: underline;
}

.bookListItem .bookCoverWrapper {
  height: 100%;
  max-height: 250px;
  min-height: 250px;
  width: auto;
  display: flex;
  align-items: flex-end;
  border-radius: 13px;
  margin-top: 0rem;
  transition: all 0.2s ease-in-out;
}

a.bookCoverWrapper {
  text-decoration: none !important;
}

.bookListItem .bookCoverWrapper .bookCover {
  width: auto;
  height: 100%;
  max-height: inherit;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  overflow: hidden;
}

.prizeTagWrapper {
  display: flex;
  margin-bottom: 1rem;
  text-align: left;
  justify-content: flex-start;
  align-items: start;
  font-size: var(--font-size-small);
  color: var(--color-black);
  gap: 2px;
}

.prizeTagWrapper img {
  /* margin-top: 2px; */
  margin-right: 4px;
}
.prizeTagWrapper .prizeTagContentWrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
}
.prizeTagWrapper .prizeTagName {
  font-weight: 500;
  font-family: var(--font-family-serif);
}
.prizeTagWrapper .prizeTagMetadata {
  opacity: 0.5;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.prizeTagLink {
  color: var(--color-black);
}

.prizeTagLink:hover {
  text-decoration: underline;
}

.bookGenresWrapper {
  display: flex;
  margin-bottom: 2rem;
  margin-top: 1.5rem;
  margin-left: -0.5rem;
}
.bookGenresWrapper a {
  margin-right: 0.5rem;
}

.bookListItem .bookInfoWrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-top: 1.5rem;
}

.bookGroupThumbnail {
  display: flex;
  padding: 2rem;
  width: 100%;
  border-radius: var(--border-radius-large);
  border: 2px solid var(--color-near-white);
  color: var(--color-black);
  text-decoration: none;
  box-sizing: border-box;
  transition: all 0.1s ease-in-out;
  overflow: hidden;
  background-color: var(--color-light-plum);
  align-items: center;
  margin-bottom: 1rem;
  gap: 2rem;
}

.bookGroupThumbnail:hover {
  background-color: var(--color-light-plum-2);
}

.bookGroupThumbnail .bookGroupTitle {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.bookGroupThumbnail h1 {
  line-height: 1.6rem;
  font-size: var(--font-size-h4);
  font-weight: 400;
  margin-bottom: 0;
  margin-top: 0;
}

.button.button-secondary:hover,
.simpleBox:hover {
  background-color: var(--color-light-plum);
}

.bookGroupThumbnail .bookCoversWrapper {
  height: 100%;
  display: flex;
  margin-right: 2rem;
  margin-left: -2rem;
  margin-bottom: -4rem;
}

.bookGroupThumbnail .bookCoversWrapper .bookCover {
  max-width: 130px;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease-in-out;
}

.bookGroupThumbnail .bookCoversWrapper .bookCover:nth-child(2) {
  margin-left: -110px;
  transform: rotateZ(15deg);
}

.bookGroupThumbnail .bookCoversWrapper .bookCover:nth-child(3) {
  margin-left: -110px;
  transform: rotateZ(25deg);
}

.bookGroupThumbnail:hover .bookCoversWrapper .bookCover:nth-child(1) {
  transform: rotateZ(5deg);
}

.bookGroupThumbnail:hover .bookCoversWrapper .bookCover:nth-child(2) {
  margin-left: -110px;
  transform: rotateZ(20deg);
}

.bookGroupThumbnail:hover .bookCoversWrapper .bookCover:nth-child(3) {
  margin-left: -110px;
  transform: rotateZ(39deg) translateY(15px);
}

.bookGroupThumbnail .bookCoversWrapper .bookCover img {
  width: 100%;
  height: auto;
  border-radius: 3px;
  overflow: hidden;
}

.bookCover img {
  max-width: 100%;
}

.bookGroupThumbnail .bookCount {
  font-size: var(--font-size-body);
  color: var(--color-plum-dark);
  margin-bottom: 0;
  margin-top: 0;
}
.bookGroupThumbnail .bookGroupTitle p.description {
  font-family: var(--font-family-sans-serif);
  font-size: var(--font-size-body);
  opacity: 0.8;
  max-width: 27em;
  padding: 0;
  margin: 0;
}

.buttonWrapper {
  display: flex;
}

.button,
form input[type="submit"] {
  border-radius: var(--border-radius-body);
  padding: 0.8rem 1.2rem;
  width: 100%;
  text-align: center;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  background-color: var(--color-black-100);
  color: var(--color-near-white);
}

.button .button-primary {
  background-color: var(--color-black-100);
  color: var(--color-white);
  border: none;
}

.button.button-secondary {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-near-white);
  font-weight: 400;
  transition: all 0.1s ease-in-out;
}

.button.button-tertiary {
  background-color: var(--color-white);
  color: black;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 1000px;
  background-color: var(--color-light-plum-2);
  margin-left: 1.25rem;
  font-weight: 400;
  transition: all 0.1s ease-in-out;
}

.button.button-tertiary:hover {
  text-decoration: underline;
}

.tabsWrapper {
  display: flex;
  margin-bottom: 2rem;
  align-items: start;
}

.tabsWrapper .tab {
  text-align: center;
  border: 1px solid var(--color-near-white);
  border-radius: 100px;
  padding: 0.5em 1rem;
  font-size: var(--font-size-body);
  font-weight: bold;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  text-decoration: none;
  margin-right: 0px;
  background-color: var(--color-white-100);
  color: var(--color-black-100);
}
.tabsWrapper .tab:not(.active):hover {
  background-color: var(--color-light-plum);
}
.tabsWrapper .tab.active {
  background-color: var(--color-black-100);
  color: var(--color-near-white);
}
.tabsWrapper .tab:first-child {
  border-radius: var(--border-radius-large) 0px 0px var(--border-radius-large);
}
.tabsWrapper .tab:last-child {
  border-radius: 0px var(--border-radius-large) var(--border-radius-large) 0px;
}
.galleryNavigationWrapper {
  display: grid;
  grid-template-columns: repeat(5, minmax(1px, 1fr));
  grid-gap: 1rem;
  width: 100%;
}

.galleryNavigationAside {
  grid-column: 1 / 2;
  position: sticky;
  top: 2rem;
  align-self: start;
  padding-right: 1rem;
}

.galleryNavigationAside li {
  margin-bottom: 0.5rem;
}
.galleryNavigationAside li a {
  text-decoration: none;
  color: var(--color-black-100);
}

.galleryNavigationAside li a:hover {
  text-decoration: underline;
}

.galleryContent {
  display: block;
  grid-column: 2 / 6;
}

.galleryContent > h2 {
  grid-column: 1 / 5;
  margin-top: 5rem;
  margin-bottom: 4rem;
}

.galleryContent h2:first-child {
  margin-top: 0px;
}

#footer {
  padding: 4rem 0rem;
  background-color: black;
  color: white;
  margin-top: 5rem;
}

#footer .contentWrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: var(--font-size-body);
}
#footer .contentWrapper ul.grid {
  margin-top: 0;
}
#footer .contentWrapper h1,
#footer .contentWrapper h2 {
  font-size: var(--font-size-body);
}
#footer .logoWrapper {
  margin-bottom: 2rem;
}
#footer .disclaimer,
.bookInfo .disclaimer {
  font-size: var(--font-size-body);
  color: var(--color-black-40);
  /* font-family: var(--font-family-serif); */
  width: 100%;
  /* font-style: italic; */
  padding-top: 3rem;
  margin-top: 2rem;
  border-top: 1px solid var(--color-near-white);
}
#footer .disclaimer {
  margin-top: 3rem;
  padding-top: 0;
  opacity: 0.4;
  color: var(--color-white-50);
  border-top: none;
}
#footer .contentWrapper * a {
  color: var(--color-white);
  opacity: 0.8;
  text-decoration: none;
  line-height: 2rem;
}
#footer .contentWrapper * a:hover {
  color: var(--color-white);
  opacity: 1;
  text-decoration: underline;
}
#footer .contentWrapper li#col-4 a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bookPageHeader {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bookPageHeader .bookCoverWrapper {
  display: flex;
  border-radius: 10px;
  overflow: hidden;
}

.bookPageHeader .bookCoverWrapper img {
  border-radius: var(--border-radius);
}

.bookPageHeaderIllustration {
  width: 100%;
  height: 12rem;
  background-color: white;
  border-bottom: 1px solid var(--color-light-plum-2);
  background-color: var(--color-main-offwhite);
}

.bookPageHeaderBookCover {
  margin-top: -8rem;
  max-width: 180px;
  /* TODO: Replace this with a dynamic aspect ratio for each book cover */
  min-height: 160px;
  display: flex;
}

.bookPageHeaderBookCover .bookCover {
  max-width: 100%;
}

.bookPageContent {
  display: flex;
  width: 100%;
  flex-direction: column;
}

.bookPageContentMainInfo {
  align-self: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.bookPageContent h1 {
  font-size: var(--font-size-hero);
  text-align: center;
  margin-bottom: 1.5rem;
  line-height: 1;
  margin-top: 3rem;
}

.bookPageContent .bookPrizesWrapper {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.bookPrizesWrapper .prizeTagWrapper {
  margin-right: 1rem;
}

.bookPageContent p {
  font-size: var(--font-size-body);
  max-width: 50rem;
  line-height: 1.6rem;
}

.bookPageContent .bookInfo {
  width: 100%;
  max-width: 50rem;
  align-self: center;
  padding-top: 1rem;
  padding-bottom: 3rem;
  margin-bottom: 3rem;
  margin-top: 3rem;
  border-bottom: 1px solid var(--color-near-white);
  border-top: 1px solid var(--color-near-white);
}
.bookPageContent .prizeTagWrapper {
  font-size: var(--font-size-body);
  gap: 0.35rem;
}
.bookPageContent .prizeTagWrapper img {
  width: 1.25rem;
  height: 1.25rem;
}
.bookPageContent .prizeTagWrapper .prizeTagContentWrapper {
  gap: 0.4rem;
}
.bookPageContent .bookInfo h3 {
  border-top: 1.5px solid var(--color-near-white);
  padding-top: 1.5rem;
  font-size: var(--font-size-body);
  font-weight: 500;
  opacity: 0.5;
  font-family: var(--font-family-sans-serif);
}
.bookPageContent .bookInfo p {
  font-size: var(--font-size-body);
}
.bookPageContent .englishEdition {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-near-white);
  padding-top: 1.5rem;
  font-family: var(--font-family-sans-serif);
  /* font-style: italic; */
  color: var(--color-black-100);
}
.bookPageContent .englishEdition:hover {
  text-decoration: underline;
  color: var(--color-black-100);
}

.bookPageContent .bookInfo h3:first-child {
  border-top: none;
  padding-top: 0;
}

.bookPageContent .bookDescription {
  font-size: var(--font-size-body) !important;
  margin: 1rem 0 2rem;
}
.bookPageContent .bookAuthor {
  margin-bottom: 1.5rem;
  /* margin-top: 0.5rem; */
  font-family: var(--font-family-serif);
  font-size: var(--font-size-h4);
  color: var(--color-black-100);
  opacity: 0.5;
}
.bookPageContent .bookAuthor:hover {
  text-decoration: underline;
}

.button {
  white-space: nowrap;
}
a.backButton,
a.backButton:visited {
  color: var(--color-plum-dark);
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
}
a.backButton:hover {
  text-decoration: underline;
}
a.backButton img {
  width: 24px;
  height: 24px;
  margin-right: 1rem;
}
.bookPageContent .button {
  margin: 1rem 0 1rem;
}
.horizontalButtonGroup {
  overflow-y: scroll;
  margin-left: -2rem;
  margin-right: -2rem;
  padding: 0 2rem;
}

.horizontalButtonGroup ul {
  display: flex;
  flex-direction: row;
  width: 100%;
}

.emptyYearWrapper {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 100%;
  grid-column: span 1;
  text-align: center;
}
.emptyYearWrapperCover {
  padding: 2rem;
  border: 2px dashed var(--color-near-white);
  border-radius: var(--border-radius-large);
  height: 100%;
  max-height: 250px;
  min-height: 250px;
}
a.simpleBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem;
  border-radius: var(--border-radius-large);
  background-color: var(--color-near-white);
  /* border: 2px solid var(--color-near-white); */
  color: var(--color-black);
  font-size: var(--font-size-body);
  box-sizing: border-box;
  text-decoration: none;
}
.categoryItem.simpleBox {
  display: flex;
  flex-direction: row;
  font-size: var(--font-size-body);
  grid-column: span 1;
  max-height: 1rem;
  font-family: var(--font-family-sans-serif);
  justify-content: flex-start;
}
.categoryItem .categoryItemTitle {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.categoryItem img {
  margin-right: 0.6rem;
  width: 20px;
  height: 20px;
}

.embeddable-buttondown-form {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 0.5rem;
  padding: 2rem;
  border-radius: var(--border-radius-large);
  background-color: var(--color-light-plum);
  border: 2px solid var(--color-light-plum-2);
  color: var(--color-black);
  font-size: var(--font-size-h4);
  box-sizing: border-box;
  background-image: url("/img/sitting.svg");
  background-repeat: no-repeat;
  background-position: right 10px;
  background-size: auto 130%;
}

.embeddable-buttondown-form h1 {
  font-size: var(--font-size-h2);
  margin-bottom: 1rem;
  margin-top: 0rem;
  line-height: 1em;
}

.embeddable-buttondown-form .inputWrapper {
  display: flex;
  margin-top: 1rem;
}

.embeddable-buttondown-form label {
  font-family: var(--font-family-body);
  font-size: var(--font-size-body);
}

.embeddable-buttondown-form input {
  border-radius: 100px;
  border: 2px solid var(--color-near-white);
  padding: 0.5rem;
  width: 100%;
  font-size: var(--font-size-body);
}

.embeddable-buttondown-form input[type="submit"] {
  width: auto;
  border: none;
}
.selectWrapper {
  display: grid;
  grid-template-columns: var(--main-grid);
  column-gap: var(--main-grid-gap);
  margin-bottom: 3rem;
}
select {
  width: 100%;
  border: 2px solid var(--color-near-white);
  padding: 1rem 3rem 1rem 1rem;
  border-radius: var(--border-radius-large);
  margin-top: 1rem;
  font-family: var(--font-family-sans-serif);
  font-size: var(--font-size-body);
  margin: 0;
  background-color: #fff;
  display: inline-block;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, gray 50%),
    linear-gradient(135deg, gray 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 8px),
    calc(100% - 15px) calc(1em + 8px), calc(100% - 2.5em) 0.5em;
  background-size: 5px 5px, 5px 5px, 1px 1.5em;
  background-repeat: no-repeat;
  color: var(--color-black);
}

select:hover {
  cursor: pointer;
  background-color: var(--color-light-plum);
  border: 2px solid var(--color-light-plum-2);
}

.languageCheckbox {
  margin-bottom: 3rem;
}
.languageCheckbox:hover {
  cursor: pointer;
  text-decoration: underline;
}
.languageCheckbox input:hover {
  cursor: pointer;
}

.socialShareWrapper {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.socialShareWrapper a {
  margin-right: 1rem;
  opacity: 0.5;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--color-light-plum-2);
  border-radius: 1000px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0.25rem;
}
.socialShareWrapper a:last-child {
  margin-right: 0;
}
.socialShareWrapper a:hover {
  opacity: 0.8;
}

.bookListItem a.button.button-primary {
  display: none;
}

#topNav .navItemIconWrapper,
.grid .navItemIconWrapper {
  display: flex;
}
#topNav .navItemIconWrapper img,
.grid .navItemIconWrapper img {
  margin-right: 1rem;
  margin-top: 2px;
}

#mobileCategoryCarousel {
  display: none;
}

.prizeListWrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
}
#heroBooksOuterWrapper {
  display: flex;
  height: 24rem;
  position: absolute;
  top: 0;
  width: 60vw;
  bottom: 0;
  right: 0rem;
  overflow: hidden;
  z-index: 0;
}

#heroBooksMask {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(to left, transparent, var(--color-main-offwhite));
  z-index: 1;
}

#heroBooksWrapper {
  /* background: red; */
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 2fr 2fr 2fr 2fr 2fr 2fr 2fr 2fr;
  transform: scale(0.8);
  position: absolute;
  top: -8rem;
  width: 110%;
  /* height: 20rem; */
  /* div is always centered on parent, and overflow horizontal is hidden */
  overflow-x: hidden;
  justify-content: center;
  /* align-items: center; */
}

#heroBooksWrapper .book {
  width: 4rem;
  height: 5rem;
  position: relative;
  background: linear-gradient(293deg, var(--color-main-offwhite), white);
  margin: 1rem;
  border: none;
  border-top-left-radius: 4px;
  border-top-right-radius: 2px;
  transition: all 0.3s;
  border-right: 1px solid #ececec;
}

#heroBooksWrapper .book:hover {
  transform: translateY(-0.9rem) rotateZ(1deg);
}

.book#awardedBook {
  background: linear-gradient(298deg, #cb8c26, #f9d13e, #fff199);
  border-bottom-left-radius: 8px;
  border-right: 1px solid #d8a73b;
  box-shadow: 0px 2px 2px #ddd7c8;
}

.book#awardedBook img {
  mix-blend-mode: multiply;
  margin-top: -1rem;
  margin-left: -0.8rem;
}

#heroBooksWrapper .book::after {
  content: ".";
  position: absolute;
  width: 4rem;
  height: 0.5rem;
  background: red;
  margin: 1rem;
  /* position: absolute; */
  bottom: -1rem;
  left: -1rem;
  border-bottom-left-radius: 4px;
  border-top-left-radius: 4px;
  background: linear-gradient(115deg, #e8e3dd, #f0f0f0);
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  color: transparent;
}

#heroBooksWrapper .book::before {
  content: ".";
  position: absolute;
  width: 0.2rem;
  height: 5rem;
  background: red;
  margin: 1rem;
  /* position: absolute; */
  bottom: -0.9rem;
  left: -1rem;
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  background: linear-gradient(115deg, #eee, #f3f3f3);
  color: transparent;
}

#heroBooksWrapper .book#awardedBook::before {
  background: linear-gradient(415deg, #cb8c29, #eed67f);
  border-bottom-left-radius: 8px;
  /* border-top: 1px solid #ddd;
      border-left: 1px solid #ddd; */
}
#heroBooksWrapper .book#awardedBook::after {
  border-top: 1px solid #b08320;
  border-left: 1px solid #b08320;
}

a.blogLink {
  display: flex;
  flex-direction: row;
  align-items: center;
}
a.blogLink:hover h2 {
  text-decoration: underline;
}

@media (max-width: 650px) {
  a.blogLink {
    flex-direction: column;
    align-items: start;
  }
  a .blogLink-caret {
    display: none;
  }
}

.blog p {
  font-size: 1.1rem;
  line-height: 1.5rem;
}

.blog ol {
  margin-top: 4rem;
  padding-left: 0;
}

.blog ol li {
  list-style-type: none;
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 2.5rem;
}

.blog ol li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background-color: var(--color-black-100);
  color: var(--color-white);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}
.blog a {
  color: var(--color-black-100);
  text-decoration: underline;
}
.blog li p strong {
  display: block;
  margin-bottom: 0.5rem;
}

.authFormWrapper {
  display: flex;
  min-height: calc(100vh - 10rem);
  background-image: url("/img/squiggles-11.svg");
  background-size: 100%;
  background-position: 50% 50%;
  background-blend-mode: darken;
  /* compensates for site-wide footer margin */
  margin-bottom: -5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding-bottom: 10rem;
}

.switchBetweenSignupAndSignin {
  margin-left: 0rem;
  width: calc(320px + 4rem);
  margin-bottom: -1.5rem;
  margin-top: 1rem;
  text-align: center;
  border: 1px solid var(--color-light-plum-2);
  border-radius: 0px 0px 10px 10px;
}

.switchBetweenSignupAndSignin a {
  color: var(--color-black-100);
  text-decoration: underline;
}
.authForm {
  margin: 0rem auto 0rem;
  background: white;
  max-width: 320px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  background-color: "white";
  padding: 3rem 2rem 1.5rem;
  border-radius: 10px;
  box-shadow: 0px 0px 36px rgba(0, 0, 0, 0.03);
  border: 1.5px solid var(--color-near-white);
}

.authForm input,
.authForm button {
  font-size: var(--font-size-body);
  padding: 0.8rem;
  border-radius: 6px;
  width: 100%;
  box-sizing: border-box;
}
.authForm input {
  border: 1.5px solid var(--color-near-white);
}
.authForm input::placeholder {
  color: var(--color-black-40);
}
.authForm button {
  background-color: black;
  color: white;
  font-weight: 600;
  border: none;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.authForm button:disabled {
  opacity: 0.7;
  cursor: default;
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.authForm .spinner {
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

.authForm .spinner path {
  fill: white;
}

.authForm .spinner-dark path {
  fill: var(--color-black-100);
}

.authForm button:hover {
  background-color: var(--color-black-100);
  opacity: 0.9;
  cursor: pointer;
}
.authForm h1 {
  text-align: center;
  font-size: var(--font-size-h3);
  margin-top: 0px;
  margin-bottom: 2rem;
}

.authForm .instructions {
  margin-top: 0rem;
  color: var(--color-black-70);
  text-align: center;
  font-family: var(--font-family-sans-serif);
}

.forgotPasswordWrapper {
  width: 100%;
  text-align: left;
  margin-top: -0.5rem;
}

.authForm .forgotPassword {
  color: var(--color-black-70);
  text-decoration: none;
  border-bottom: none;
  font-size: var(--font-size-small);
}

.signupLink {
  margin-top: -2rem;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.2rem;
  color: var(--color-black-70);
  justify-content: center;
  margin-bottom: 1rem;
}
.signupLink a {
  width: fit-content;
  color: var(--color-black-70) !important;
}

.authFormWrapper p {
  font-family: var(--font-family-sans-serif);
  color: black;
}
.authFormWrapper a {
  color: black;
  border-bottom: 1.5px solid var(--color-near-white);
}
.authForm .logo {
  margin-bottom: 1rem;
}
.authForm.authCheckYourEmail {
  min-height: unset;
}
.authForm.authCheckYourEmail h1 {
  margin-bottom: 0;
}
.authForm.authCheckYourEmail p {
  text-align: center;
  color: var(--color-black-70);
}
#authNavButtons {
  display: flex;
  flex-direction: row;
  text-wrap: nowrap;
  padding: 0.5rem;
  border-radius: 6px;
  align-items: center;
}
#authNavButtons a {
  display: flex;
  flex-direction: row;
  align-items: center;
}
#authNavButtons img {
  width: 22px;
  height: 22px;
  margin-right: 0.5rem;
}
#userPage h1 {
  margin-top: 4rem;
  margin-bottom: 4rem;
  font-size: var(--font-size-h4);
}
#userBookList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  padding-bottom: 2rem;
}
.bookUserListItemImage {
  border-radius: 6px;
}
.emptyUserBookList {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  text-align: center;
  background-color: var(--color-light-plum);
  border-radius: var(--border-radius-large);
  border: 1px solid var(--color-light-plum-2);
}
.emptyUserBookList a {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
  /* make the button as wide as the text */
  width: fit-content;
}
.emptyUserBookList p {
  font-size: var(--font-size-h4);
  font-weight: 400;
  color: var(--color-black-90);
}
.shimmer {
  background-color: var(--color-near-white);
  border-radius: 4px;
}
.bookUserListItemShimmer {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid var(--color-near-white);
  padding: 0 0 1rem 0;
  gap: 1rem;
}
.bookUserListItemShimmerImage {
  width: 5rem;
  height: 7rem;
}
.bookUserListItemShimmerInfo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bookListItemShimmerInfoTitleAndAuthor {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 10rem;
  height: 1rem;
}
.bookUserListItemShimmerSavedStatus {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
  width: 10rem;
  height: 1rem;
}
.bookUserListItem {
  display: flex;
  flex-direction: row;
  align-items: center;
  border-bottom: 1px solid var(--color-near-white);
  padding: 0 0 1rem 0;
  gap: 1rem;
}
.bookUserListItemInfo {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.bookUserListItemInfoTitleAndAuthor {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.bookUserListItemInfoTitleAndAuthor p {
  font-size: var(--font-size-small);
}
.bookUserListItemInfoTitleAndAuthor a {
  text-decoration: none;
  color: var(--color-black-100);
}
.bookUserListItemInfoTitleAndAuthor a:hover {
  text-decoration: underline;
}
.bookUserListItemSavedStatus {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
}
.bookUserListItemInfo * {
  margin: 0;
  padding: 0;
}
.bookUserListItem img {
  width: 5rem;
  /* height: 5rem; */
  margin-right: 1rem;
}
#logoutButton {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 1rem 2rem;
  border: 1px solid var(--color-near-white);
  border-radius: 6px;
  background-color: white;
  color: var(--color-black-100) !important;
}
#logoutButton:hover {
  background-color: var(--color-near-white);
  cursor: pointer;
}
.statusButton {
  display: flex;
  flex-direction: row;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  background-color: var(--color-near-white);
}
.statusTag {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 4px;
  font-size: var(--font-size-small);
  color: var(--color-black-100);
  padding: 0.4rem 0.6rem;
  border-radius: 6px;
  border: 1.5px solid var(--color-near-white);
}
.statusTag img {
  width: 1rem;
  height: 1rem;
  margin-right: 0;
}
.saveBookButtonsWrapper {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  margin-top: 1rem;
}
.saveBookButtonWrapper {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  font-size: var(--font-size-small);
}
.saveBookButton {
  border: 1.5px solid var(--color-near-white);
  width: 3.5rem;
  height: 3.5rem;
  background-color: white;
  border-radius: 100px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.saveBookButton img {
  width: 1.5em;
  height: 1.5em;
}
.saveBookButtonWrapper label {
  font-size: var(--font-size-small);
  color: var(--color-black-90);
  text-align: center;
}
.saveBookButton:hover {
  background-color: var(--color-near-white);
  cursor: pointer;
}
.saveBookButton.readingButton[data-book-saved-status="reading"] {
  background-color: var(--color-light-yellow);
  border-color: var(--color-light-yellow);
}
.saveBookButton.finishedButton[data-book-saved-status="finished"] {
  background-color: var(--color-light-green);
  border-color: var(--color-light-green);
}
.saveBookButton.wishlistButton[data-book-saved-status="wishlist"] {
  background-color: var(--color-light-blue);
  border-color: var(--color-light-blue);
}
.saveBookButton.favoriteButton[data-book-saved-status="favorite"] {
  background-color: var(--color-light-pink);
  border-color: var(--color-light-pink);
}

@media screen and (max-width: 768px) {
  :root {
    --font-size-hero: 2.5rem;
    --font-size-h1: 1.9rem;
    --font-size-h2: 1.5rem;
    --font-size-h3: 1.25rem;
    --font-size-small: 0.9rem;
  }
  .bookGenresWrapper {
    display: flex;
    flex-direction: column;
    align-items: baseline;
  }
  .bookGenresWrapper a {
    margin-right: 0rem;
    margin-bottom: 0.5rem;
  }
  .galleryNavigationAside {
    display: none;
  }
  /* .prizeTagWrapper img {
    height: 12px;
  } */
  .galleryNavigationWrapper {
    display: flex;
    flex-direction: column;
  }
  .homeHero {
    padding: 1rem 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    height: auto;
    min-height: 192px;
    /* background-image: url("/img/squiggles-10.svg");
    background-size: 200% 200%; */
  }
  .homeHero .contentWrapper {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
  }
  .homeHero .contentWrapper .pageTitle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 80%;
    align-self: center;
    text-align: center;
    z-index: 2;
  }
  .homeHero .headline {
    font-size: var(--font-size-h4);
  }
  .homeHero .contentWrapper .subheadline {
    max-width: 100%;
    font-size: var(--font-size-body);
    margin-bottom: 0rem;
  }
  .homeHero .contentWrapper img {
    display: none;
  }
  .emptyYearWrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background-color: var(--color-light-plum);
    border-radius: var(--border-radius-large);
  }
  ul.grid {
    max-width: 100%;
    grid-template-columns: repeat(auto-fit, calc(50% - 1rem));
    row-gap: 2rem;
  }
  ul.grid .bookListItem .bookListItemTop .bookCoverWrapper {
    max-width: 100%;
    width: 100%;
    /* max-height: 190px; */
    align-self: flex-start;
    min-height: initial;
    margin-right: 1rem;
  }
  section#categorias ul.grid-3.grid-tight {
    grid-template-columns: auto;
    grid-gap: 0 0;
  }
  section#categorias ul a.categoryItem.simpleBox {
    border: 1px solid white;
    /* border-bottom: none; */
    border-radius: 0;
  }
  section#categorias ul a.categoryItem.simpleBox:first-child {
    border-top-left-radius: var(--border-radius-large);
    border-top-right-radius: var(--border-radius-large);
  }
  section#categorias ul a.categoryItem.simpleBox:last-child {
    border-bottom-left-radius: var(--border-radius-large);
    border-bottom-right-radius: var(--border-radius-large);
    border-bottom: 2px solid var(--color-light-plum-2);
  }
  .bookPageContent h1 {
    font-size: var(--font-size-h2);
  }
  .bookPageContent a.bookAuthor {
    font-size: var(--font-size-body);
  }
  .bookPageContent h1.bookTitle {
    margin-top: 1.75rem;
    margin-bottom: 1rem;
  }
  .pageHeader {
    padding: 2rem 0;
  }
  .pageHeader .subtitle {
    font-size: var(--font-size-body);
    font-family: var(--font-family-sans-serif);
  }
  .pageHeader h1.headline {
    font-size: var(--font-size-h4);
    line-height: 1.25;
    letter-spacing: var(--letter-spacing-hero);
  }
  .bookInfoWrapper p {
    margin: 0.5rem 0;
  }
  .contentWrapper section .sectionHeader {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  .contentWrapper section .sectionHeader .buttonWrapper a {
    display: none;
  }
  .contentWrapper section .sectionHeader:first-child {
    margin-top: 0rem;
  }
  .contentWrapper section > h2,
  .contentWrapper section .sectionHeader > h2 {
    margin-left: 0;
    padding-right: 0;
    font-size: var(--font-size-h4);
    font-weight: 400;
  }
  .homeHero h1 {
    font-size: var(--font-size-h2);
  }
  .homeHero .contentWrapper {
    padding: 2.5rem 0rem 2.5rem;
  }
  .homeHero .menuSocialItemsWrapper {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .homeHero .followWrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .homeHero .menuSocialItemsWrapper .navItemIconWrapper a img {
    margin-right: 1rem;
  }
  .homeHero .menuSocialItemsWrapper .navItemIconWrapper:last-child a img {
    margin-right: 0;
  }

  .homeHero .menuSocialItemsWrapper img {
    width: 20px;
    margin-right: 2rem;
  }
  #topNav {
    padding: 0.75rem 0rem;
  }
  #searchBoxWrapper {
    display: flex;
    width: 100%;
    padding: 0;
  }
  #searchBoxWrapper input {
    width: 100%;
    border: 1px solid var(--color-light-plum-2);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: var(--font-size-body);
    font-family: var(--font-family-sans-serif), sans-serif;
  }
  .bookPageHeaderIllustration {
    width: 100%;
    height: 9.5rem;
  }
  .bookPageHeaderBookCover .bookCoverWrapper img.bookCover {
    max-width: 100%;
  }
  .bookPageContent .bookInfo {
    padding-top: 1rem;
    margin-top: 1.5rem;
  }
  .bookPageContent .button {
    margin: 0rem 0 1rem;
  }
  .embeddable-buttondown-form input[type="submit"] {
    width: 100%;
  }
  .embeddable-buttondown-form {
    display: flex;
    flex-direction: column;
    align-items: start;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    background-image: url(/img/squiggles-15.svg);
    color: var(--color-black);
    font-size: var(--font-size-h3);
    box-sizing: border-box;
    background-size: cover;
    background-position: right 0px;
    /* margin-top: 2rem; */
  }
  .embeddable-buttondown-form .inputWrapper {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
    width: 100%;
  }
  .embeddable-buttondown-form .inputWrapper input {
    width: 100%;
    box-sizing: border-box;
    margin-bottom: 0.5rem;
  }
  ul.carousel .carouselLastItem {
    display: flex;
    min-width: 130px;
    max-height: 180px;
    padding: 2rem;
    border: 2px solid var(--color-near-white);
    border-radius: var(--border-radius-large);
    justify-content: center;
    align-items: center;
    color: var(--color-black);
    margin-right: 2rem;
  }
  #topNav #desktopNav {
    display: none;
  }
  #mobileNav {
    display: block;
  }
  #mobileNav #hiddenWrapper {
    position: absolute;
    z-index: 999;
    left: 0;
    right: 0;
    padding: 0rem 2rem 2rem;
    background-color: white;
    overflow-y: auto;
    transition: all 0.2s ease;
    top: 5rem;
    height: 100%;
  }
  #mobileNav h2 {
    font-size: var(--font-size-h4);
    margin-bottom: 2rem;
  }
  #mobilenav #mobileNav #hiddenWrapper h2:first-child {
    margin-top: 2rem;
  }
  #mobileNav #hiddenWrapper a:hover {
    text-decoration: underline;
  }
  #menuToggleButton {
    display: flex;
  }
  #menuToggleButton img {
    height: 24px;
    width: 24px;
    cursor: pointer;
  }
  #mobileNav .menuColumn {
    display: flex;
    flex-direction: column;
  }
  #mobileNav .menuColumn a {
    margin-bottom: 1rem;
    color: var(--color-black-100);
  }
  #mobileCategoryCarousel {
    display: block;
    margin: 2rem 0 0;
  }
  #mobileCategoryCarousel ul a {
    margin-right: 1rem;
  }
  #footer {
    padding: 2rem 0;
  }
  #footer .contentWrapper .grid {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
  }
  #footer .contentWrapper .grid .disclaimer,
  r {
    margin-top: 3rem;
    width: 100%;
  }
  #footer .contentWrapper h1 {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  #footer .contentWrapper ul.grid {
    grid-template-columns: 1fr;
    grid-row-gap: 0px;
  }
  #footer * a {
    font-size: var(--font-size-small);
    margin-bottom: 0.5rem;
  }
  .prizeListWrapper {
    grid-template-columns: 1fr;
  }
  .bookGroupThumbnail .bookCoversWrapper {
    width: 6rem;
    min-width: 6rem;
  }
  .bookGroupThumbnail .bookGroupTitle p.description {
    display: none;
  }
  .selectWrapper {
    display: flex;
    width: 100%;
    column-gap: 0;
  }
  select {
    width: 100%;
    border: 2px solid var(--color-near-white);
    padding: 1rem 3rem 1rem 1rem;
    border-radius: var(--border-radius-large);
    margin-top: 1rem;
    font-family: var(--font-family-sans-serif);
    font-size: var(--font-size-body);
    margin: 0;
    background-color: #fff;
    display: inline-block;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, gray 50%),
      linear-gradient(135deg, gray 50%, transparent 50%);
    background-position: calc(100% - 20px) calc(1em + 8px),
      calc(100% - 15px) calc(1em + 8px), calc(100% - 2.5em) 0.5em;
    background-size: 5px 5px, 5px 5px, 1px 1.5em;
    background-repeat: no-repeat;
  }
  .selectWrapper select:first-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  .selectWrapper select:nth-child(2) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    margin-left: -2px;
  }
  #heroBooksOuterWrapper {
    overflow: hidden;
    width: 100vw;
    height: 15rem;
  }
  #heroBooksWrapper {
    top: -7.25rem;
    width: 100%;
    transform: rotateZ(0deg) translateY(-160px) scale(0.65);
    overflow-x: visible;
  }
  #heroBooksMask {
    width: 100%;
    /* gradient starts at the top and ends at the bottom, with 30% step */
    background: radial-gradient(transparent 45%, white),
      linear-gradient(to bottom, transparent 33%, white);
  }
  .book#awardedBook img {
    mix-blend-mode: multiply;
    margin-top: -1rem;
    margin-left: -0.8rem;
    display: none;
  }
  .book#awardedBook {
    box-shadow: 0px 2px 4px #ddd7c8;
  }
  #userPage h1 {
    margin-top: 2rem;
    font-size: var(--font-size-h4);
  }
  .mobileAuthNavButtonWrapper {
    margin-bottom: 2rem;
  }
  .loginButtonMobileNav {
    display: flex;
    padding: 1.5rem 0;
    width: 100%;
    /* border-radius: var(--border-radius-large); */
    border-top: 2px solid var(--color-near-white);
    border-bottom: 2px solid var(--color-near-white);
    color: var(--color-black);
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.1s ease-in-out;
    /* background-color: var(--color-light-plum); */
    align-items: center;
    margin-bottom: 1rem;
  }
  .loginButtonMobileNavTitle {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    align-items: start;
    justify-content: start;
    width: 100%;
  }
  .loginButtonMobileNavTitle p.subtitle {
    margin-top: 0;
    margin-bottom: 0.5rem;
    padding-top: 0;
    padding-bottom: 0;
    font-size: var(--font-size-body);
    color: var(--color-black-100);
    opacity: 0.7;
    font-weight: 400;
    font-family: var(--font-family-sans-serif);
  }
  .loginButtonMobileNavButtons {
    display: flex;
    gap: 1rem;
    width: 100%;
  }
  .loginButtonMobileNavTitle h1 {
    margin-top: 0;
    margin-bottom: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-size: var(--font-size-h4);
  }
  .loginButtonMobileNavTitle a.button {
    color: white !important;
    display: flex;
    width: fit-content;
  }
  .loginButtonMobileNavButtons a.buttonSecondary {
    color: var(--color-black) !important;
    background-color: var(--color-near-white) !important;
    border: 2px solid var(--color-near-white) !important;
  }
  .authFormWrapper {
    display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    padding-bottom: 0;
    min-height: unset;
  }
  .switchBetweenSignupAndSignin {
    margin-left: unset;
    width: 100%;
    background: none;
    margin-bottom: unset;
    margin-top: unset;
    text-align: center;
    border: none;
    border-radius: unset;
  }
  .authForm {
    padding: 2rem 2rem 1.5rem;
    margin: 0;
    border: none;
    box-shadow: none;
    width: 100%;
  }
  .saveBookButton img {
    width: 1.75em;
    height: 1.75em;
  }
  .pageHeader .contentWrapper a.button {
    margin-right: 0.25rem;
    background-color: transparent;
    border: none;
    padding: 0;
  }
  .pageHeader .contentWrapper a.button .buttonText {
    display: none;
  }
}

.userBookListTabs {
  margin-top: -1rem;
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* Internet Explorer 11 */
  padding-bottom: 0.5rem;
}

.userBookListTabsShimmer {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 0.5rem;
}

.userBookListTabsShimmer::-webkit-scrollbar {
  display: none;
}

.userBookListTabsShimmer .tabShimmer {
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 100px;
  height: 0.5rem;
}

.userBookListTabsShimmer .tabShimmer .iconShimmer {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
}

.userBookListTabs .tab {
  padding: 0.75rem 1.25rem;
  border: none;
  background: none;
  cursor: pointer;
  font-family: var(--font-family-sans-serif);
  font-size: var(--font-size-body);
  color: var(--color-black-70);
  white-space: nowrap;
  border-radius: 6px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  position: relative;
}

.userBookListTabs .tab .tabIcon {
  width: 1.25rem;
  height: 1.25rem;
}

.userBookListTabs .tab .tabIcon.inactive {
  opacity: 0.5;
}

.userBookListTabs .tab:hover {
  background-color: var(--color-near-white);
}

.userBookListTabs .tab.active {
  color: var(--color-black-100);
  border-radius: 6px;
}

.userBookListTabs .tab.active::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--color-black-100);
}

.userBookList {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media screen and (max-width: 768px) {
  .userBookListTabs {
    margin: -2rem -2rem 1rem -2rem;
    padding: 0.5rem 2rem;
  }
}

#hiddenWrapper {
  display: none;
}

/* Account Settings Styles */
.account-section {
  padding: 1.5rem 0;
  border-top: 1.5px solid var(--color-near-white);
  border-bottom: 1.5px solid var(--color-near-white);
  margin: 0;
  gap: 1rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
}

.account-section:first-of-type {
  border-top: none;
}

.account-section:last-of-type {
  border-bottom: none;
}

.account-section + .account-section {
  border-top: none;
  margin-top: 0;
}

.account-section h2 {
  margin: 0;
  font-size: var(--font-size-h4);
  font-weight: 400;
}

.account-section .button {
  width: fit-content;
  font-size: var(--font-size-body);
  padding: 0.8rem 1.2rem;
  border: none;
}

/* Update specific section layouts */
.accountSettingsEmailRow {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
}

.accountSettingsEmailInfo {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.accountSettingsEmailInfo p {
  margin: 0;
}

/* Spinner styles */
.spinner {
  width: 20px;
  height: 20px;
  animation: spin 1s linear infinite;
}

.spinner path {
  fill: white;
}

.spinner-dark path {
  fill: var(--color-black-100);
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Button with spinner */
.button .spinner {
  margin: 0 auto;
}

/* Newsletter section */
.account-section label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.account-section input[type="checkbox"] {
  margin: 0;
}

/* Feedback section */
.account-section a.button {
  margin: 0;
}

/* Make feedback button secondary */
.account-section a.button:not(.button-danger) {
  background-color: var(--color-white);
  color: var(--color-black);
  border: 1px solid var(--color-near-white);
  font-weight: 400;
}

/* Alert styles */
.alert {
  padding: 1rem;
  border-radius: var(--border-radius-body);
  margin-bottom: 1rem;
}

.alert-error {
  background-color: var(--color-light-pink);
  color: #dc2626;
}

.alert-success {
  background-color: var(--color-light-green);
  color: #166534;
}

/* Danger button */
.button.button-danger {
  background-color: #dc2626;
  color: white;
  width: fit-content;
}

.button.button-danger:hover {
  background-color: #b91c1c;
}

/* Shimmer loading animation */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.shimmer {
  background: linear-gradient(
    90deg,
    var(--color-near-white) 0%,
    var(--color-light-plum) 50%,
    var(--color-near-white) 100%
  );
  background-size: 1000px 100%;
  animation: shimmer 2s infinite linear;
  border-radius: 6px;
}

.shimmer.h4 {
  width: 120px;
  height: 24px;
}

.shimmer.text {
  width: 200px;
  height: 16px;
  margin-top: 8px;
}

.shimmer.button {
  width: 120px;
  height: 40px;
}

.shimmer.checkbox {
  width: 200px;
  height: 24px;
}

/* User Book List Header */
.userBookListHeader {
  margin-bottom: 2rem;
}

.userBookListTabsWrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.userBookListTabsShimmer {
  display: flex;
  gap: 1rem;
  flex: 1;
}

.tabShimmer {
  width: 100px;
  height: 36px;
}

#userBookListTabs {
  flex: 1;
  display: flex;
  gap: 1rem;
}

.userBookListSettingsLink {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  border-radius: 6px;
  margin-left: 2rem;
  transition: all 0.2s ease;
}

.userBookListSettingsLink:hover {
  background-color: var(--color-near-white);
}

.userBookListSettingsLink img {
  opacity: 0.4;
  transition: opacity 0.2s ease;
  width: 24px;
  height: 24px;
}

.userBookListSettingsLink:hover img {
  opacity: 0.7;
}

@media screen and (max-width: 768px) {
  .userBookListHeader {
    margin: -2rem -2rem 1rem -2rem;
  }

  .userBookListTabsWrapper {
    padding: 0.5rem 2rem;
  }

  .userBookListSettingsLink {
    margin-left: 1rem;
  }
}

.privacyPolicy p {
  font-size: var(--font-size-body);
  line-height: 1.5;
  margin: 0;
  margin-bottom: 1rem;
  color: var(--color-black-100);
  font-weight: 400;
  font-family: var(--font-family-sans-serif);
}
.privacyPolicy p,
.privacyPolicy li {
  max-width: 800px;
}

.privacyPolicy h1,
.privacyPolicy h2,
.privacyPolicy h3,
.privacyPolicy h4,
.privacyPolicy h5,
.privacyPolicy h6 {
  margin-top: 3rem;
  font-family: var(--font-family-serif);
  /* font-weight: 600; */
}

.privacyPolicy h1,
.privacyPolicy h2 {
  font-size: var(--font-size-h4);
}

.privacyPolicy ul {
  margin-left: 1.5rem;
  list-style-type: disc;
}

.privacyPolicy li {
  margin-bottom: 1rem;
}

.privacyPolicy li p {
  margin: 0;
}

.privacyPolicy li strong {
  font-weight: 600;
}
