:root {
  --almost-black: #111;
}

.big-text {
  font-size: var(--fs-big-text);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.discover-more {
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all ease-in-out;
  color: var(--green);
  text-decoration: none;
}
.discover-more:hover {
  opacity: 0.6;
}

.cta {
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all ease-in-out;
  color: var(--green);
  font-size: 1em;
  margin-top: auto;
  padding-bottom: 20px;
  text-transform: uppercase;
}
.cta:hover {
  opacity: 0.6;
}
@media screen and (min-width: 1620px) {
  .cta {
    font-size: 1.5em;
    padding-bottom: 0px;
  }
}

.hero {
  padding-left: 10px;
  padding-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-weight: 400;
  height: 75vh;
  max-height: 500px;
  min-height: 400px;
}
@media screen and (min-width: 768px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }
}

:root {
  --almost-black: #111;
}

.big-text {
  font-size: var(--fs-big-text);
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.discover-more {
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all ease-in-out;
  color: var(--green);
  text-decoration: none;
}
.discover-more:hover {
  opacity: 0.6;
}

.cta {
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all ease-in-out;
  color: var(--green);
  font-size: 1em;
  margin-top: auto;
  padding-bottom: 20px;
  text-transform: uppercase;
}
.cta:hover {
  opacity: 0.6;
}
@media screen and (min-width: 1620px) {
  .cta {
    font-size: 1.5em;
    padding-bottom: 0px;
  }
}

.hero {
  padding-left: 10px;
  padding-right: 10px;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: white;
  font-weight: 400;
  height: 75vh;
  max-height: 500px;
  min-height: 400px;
}
@media screen and (min-width: 768px) {
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }
}

.hero-gallery {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slider {
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  position: absolute;
  overflow: hidden;
}
.gallery-slider .flickity-viewport,
.gallery-slider .flickity-slider {
  height: 100%;
}
.gallery-slider .gallery-slider-item {
  width: 100%;
  height: 100%;
  opacity: 0 !important;
  transition: opacity 1s ease !important;
}
.gallery-slider .gallery-slider-item.is-selected {
  opacity: 1 !important;
}
.gallery-slider .gallery-slider-item .gallery-image {
  height: 100%;
  width: 100%;
  position: absolute;
  z-index: 1;
}
.gallery-slider .gallery-slider-item .gallery-image img {
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
  width: 100%;
}

.site-title {
  align-items: center;
  color: #fff;
  font-family: "Strawford", serif;
  display: flex;
  justify-content: center;
  pointer-events: none;
  position: absolute;
  height: 100%;
  top: 0;
  width: 100%;
  z-index: 2;
}
.site-title h1 {
  font-weight: 300;
  font-size: 32px;
}
@media screen and (min-width: 920px) {
  .site-title h1 {
    font-size: 48px;
  }
}

.carousel-controller {
  align-items: center;
  position: absolute;
  width: 100%;
  top: 0;
  display: flex;
  height: 80vh;
  height: calc(var(--vh, 1vh) * 80);
  justify-content: space-between;
  padding: 0px calc(1.3em + 1vw);
}

.btn-carousel {
  color: #ffffff;
  position: relative;
  z-index: 2;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  cursor: pointer;
  background-color: transparent;
  border: none;
  display: none;
}
.btn-carousel svg {
  cursor: pointer;
  width: 25px;
  display: block;
  opacity: 1;
}
.btn-carousel svg:hover {
  opacity: 1 !important;
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all ease-in-out;
}
.btn-carousel svg:hover:hover {
  opacity: 0.6;
}
@media screen and (min-width: 920px) {
  .btn-carousel svg {
    width: 40px;
    opacity: 0.6;
  }
}
@media screen and (min-width: 2100px) {
  .btn-carousel svg {
    width: 60px;
  }
}

.btn-carousel-after {
  position: relative;
  z-index: 2;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  cursor: pointer;
  background-color: transparent;
  border: none;
  display: none;
}
.btn-carousel-after svg {
  width: 25px;
  transform: rotate(180deg);
  cursor: pointer;
  display: block;
  opacity: 1;
}
.btn-carousel-after svg:hover {
  opacity: 1 !important;
  cursor: pointer;
  text-decoration: underline;
  transition: 0.3s all ease-in-out;
}
.btn-carousel-after svg:hover:hover {
  opacity: 0.6;
}
@media screen and (min-width: 920px) {
  .btn-carousel-after svg {
    width: 40px;
    opacity: 0.6;
  }
}
@media screen and (min-width: 2100px) {
  .btn-carousel-after svg {
    width: 60px;
  }
}

.header {
  z-index: 11;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ddd;
  height: 130vw;
  height: 40vw;
  position: relative;
}
.hero-image img {
  position: absolute;
  -o-object-fit: cover;
     object-fit: cover;
  height: 100%;
  width: 100%;
}
@media screen and (min-width: 768px) {
  .hero-image {
    height: 40vw;
  }
}

.intro {
  padding-left: 10px;
  padding-right: 10px;
  margin-top: var(--medium-space);
  margin-bottom: var(--large-space);
}
@media screen and (min-width: 768px) {
  .intro {
    padding-left: 20px;
    padding-right: 20px;
  }
}
@media screen and (min-width: 768px) {
  .intro {
    font-size: 1.3675em;
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: var(--medium-space);
    margin-bottom: var(--large-space);
  }
  .intro * {
    grid-column: span 7;
  }
}

.subtitle {
  align-items: center;
  display: flex;
  height: 40px;
  margin-bottom: 10px;
}
@media screen and (min-width: 768px) {
  .subtitle {
    margin-bottom: var(--medium-space);
  }
}

.book-news {
  padding-left: 10px;
  padding-right: 10px;
  border-top: 1px solid var(--blue);
  margin-bottom: var(--large-space);
}
@media screen and (min-width: 768px) {
  .book-news {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.book-news .cards {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .book-news .cards {
    gap: var(--medium-space);
    grid-template-columns: 1fr 1fr;
  }
}
.book-news .cards .item {
  font-size: 1.375em;
  background-color: #f3e1da;
  display: grid;
  gap: var(--small-space);
  grid-template-columns: 2fr 1fr;
  padding: 10px;
}
.book-news .cards .item article {
  display: flex;
  flex-direction: column;
}
.book-news .cards .item article .title {
  font-size: 1em;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .book-news .cards .item article .title {
    font-size: 0.925em;
  }
}
.book-news .cards .item article .author {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.book-news .cards .item article .release-date {
  align-items: flex-end;
  display: flex;
  flex: 1;
}

.books {
  padding-left: 10px;
  padding-right: 10px;
  border-top: 1px solid var(--blue);
  margin-bottom: var(--large-space);
}
@media screen and (min-width: 768px) {
  .books {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.books .grid-vertical {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--medium-space);
}
@media screen and (min-width: 768px) {
  .books .grid-vertical {
    grid-template-columns: repeat(8, 1fr);
  }
}
@media screen and (min-width: 768px) {
  .books .grid-vertical .item:nth-child(3n+1) {
    grid-column: 1/span 2;
  }
  .books .grid-vertical .item:nth-child(3n+2) {
    grid-column: 4/span 2;
  }
  .books .grid-vertical .item:nth-child(3n+3) {
    grid-column: 7/span 2;
  }
}
.books .grid-vertical .item article {
  margin-top: var(--small-space);
}
.books .grid-vertical .item h2 {
  font-size: 1em;
  font-weight: 400;
}

.next-events {
  padding-left: 10px;
  padding-right: 10px;
  border-top: 1px solid var(--blue);
  margin-bottom: var(--large-space);
}
@media screen and (min-width: 768px) {
  .next-events {
    padding-left: 20px;
    padding-right: 20px;
  }
}
.next-events .cards {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
}
@media screen and (min-width: 768px) {
  .next-events .cards {
    gap: var(--medium-space);
    grid-template-columns: 1fr 1fr;
  }
}
.next-events .cards .item-book {
  font-size: 1.375em;
  background-color: #f3e1da;
  display: grid;
  gap: var(--small-space);
  grid-template-columns: 2fr 1fr;
  padding: 10px;
}
.next-events .cards .item-book article {
  display: flex;
  flex-direction: column;
}
.next-events .cards .item-book article .title {
  font-size: 1em;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .next-events .cards .item-book article .title {
    font-size: 0.925em;
  }
}
.next-events .cards .item-book article .author {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.next-events .cards .item-book article .release-date {
  align-items: flex-end;
  display: flex;
  flex: 1;
}
.next-events .cards .item-book {
  font-size: 1.375em;
  background-color: #f3e1da;
  display: grid;
  gap: var(--small-space);
  grid-template-columns: 2fr 1fr;
  padding: 10px;
  aspect-ratio: 2/1;
}
.next-events .cards .item-book article {
  display: flex;
  flex-direction: column;
}
.next-events .cards .item-book article .title {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 1em;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .next-events .cards .item-book article .title {
    font-size: 0.925em;
  }
}
.next-events .cards .item-book article .author {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.next-events .cards .item-book article .release-date {
  align-items: flex-end;
  display: flex;
  flex: 1;
}
.next-events .cards .item {
  aspect-ratio: 2/1;
  background-color: #f3e1da;
  color: #fff;
  display: flex;
  flex-direction: column;
  font-size: 1.375em;
  overflow: hidden;
  padding: 10px;
}
.next-events .cards .item:nth-child(1) {
  background-color: #ff4700;
}
.next-events .cards .item:nth-child(2) {
  background-color: #00a3ff;
}
.next-events .cards .item .title {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 1em;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .next-events .cards .item .title {
    font-size: 0.925em;
  }
}
.next-events .cards .item .by {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.next-events .cards .item .what {
  margin-top: var(--small-space);
}
.next-events .cards .item .datetime {
  align-items: flex-end;
  display: flex;
  flex: 1;
}
