:root {
  --color-dark-gary: #333333;
  --color-dark-gray2: #666;
  --color-light-gray: #ccc;
  --color-medium-gray: #999;
  --color-magenta: #f0f;
  --font-lato: "Lato", sans-serif;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: var(--font-lato);
    color: dark grey;
}

/* Global Styles */
.container-center {
  width: 100%;
  max-width: 1200px;
  margin-left: 10%;
}

/* Header */
header {
  padding: 24px 0 12px;
  width: 100%;
  background-color: #fff;
}
header .header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-menu-toggler {
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
  background: #fff;
  color: var(--color-dark-gray2);
  border: none;
  width: 25px;
  height: 25px;
  cursor: pointer;
}
/* main wrapper */
.main-wrapper {
  display: flex;
  align-items: start;
}
/* sidebar */
.sidebar {
  width: 280px;
  position: sticky;
  top: 20px;
  background-color: #fff;
  /* flex-shrink: 0; */
}
.sidebar .sidebar-toggle-btn {
  display: flex;
  justify-content: end;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 15px;
}
.sidebar-toggle-btn .mobile-menu-close {
  display: none;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 0;
  background: #fff;
  color: var(--color-dark-gray2);
  border: none;
  width: 25px;
  height: 25px;
  cursor: pointer;
}
.sidebar nav {
  max-width: 280px;
}
.sidebar nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
.sidebar nav ul li:nth-of-type(2) {
  align-self: flex-end;
  margin-right: 50px;
}

.sidebar nav ul li:nth-of-type(3) {
  align-self: flex-end;
  margin-right: 80px;
}
.sidebar nav ul li:nth-of-type(4) {
  align-self: flex-end;
	  margin-right: 5px;
}

.sidebar nav ul li:nth-of-type(5) {
  align-self: flex-end;
  margin-right: 110px;
}
.sidebar nav ul li a {
  color: #000;
  text-decoration: none;
  text-transform: lowercase;
  transition: all 0.3s ease-in-out;
}
.sidebar nav ul li a .active-link-img,
.sidebar nav ul li a .hover-link-img {
  display: none;
}
.sidebar nav ul li a.active .default-link-img,
.sidebar nav ul li a.active .hover-link-img {
  display: none;
}
.sidebar nav ul li a.active .active-link-img {
  display: block;
}
.sidebar-bookshop-link {
  margin-top: 92px;
  margin-top: 92px;
  display: flex;
  align-items: center;
  justify-content: end;
  padding-right: 100px;
}
.sidebar-bookshop-link a {
  max-width: 94px;
}
.sidebar-bookshop-link img {
  width: 100%;
  object-fit: cover;
}
.sidebar-bookshop-link a .default-image {
  display: block;
}
.sidebar-bookshop-link a .active-image {
  display: none;
}
.sidebar-bookshop-link a.active .active-image {
  display: block;
}
.sidebar-bookshop-link a.active .default-image {
  display: none;
}
.sidebar-sub-link {
  margin-top: 92px;
  display: flex;
  justify-content: start;
  padding-left: 60px;
  width: 100%;
}
.sidebar-sub-link a .default-image {
  display: block;
}
.sidebar-sub-link a .active-image {
  display: none;
}
.sidebar-sub-link a.active .active-image {
  display: block;
}
.sidebar-sub-link a.active .default-image {
  display: none;
}
.sidebar-sub-link img {
  width: 100%;
  object-fit: cover;
}
.sidebar-social-links {
  margin-top: 172px;
  display: flex;
  gap: 15px;
  flex-direction: column-reverse;
}
.sidebar-social-links svg {
  width: 24px;
  height: 24px;
  object-fit: cover;
}
.sidebar-social-links a.icon-x {
  color: #3a7bd5;
}
.sidebar-social-links a.icon-instagram {
  color: var(--color-magenta);
}
/* Content */
.content {
  flex: 1;
  padding: 0 40px;
}
.content .home-hero-slider {
  width: 100%;
  max-width: 840px;
}
.home-hero-slider .hero-swiper-image {
  height: 350px;
}
.home-hero-slider .hero-swiper-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-social-links {
  margin: 30px 0;
  display: flex;
  align-items: center;
  gap: 30px;
}
.home-social-links svg {
  width: 24px;
  height: 24px;
  object-fit: cover;
}
.home-social-links a.icon-x {
  color: #3a7bd5;
}
.home-social-links a.icon-instagram {
  color: var(--color-magenta);
}
.home-social-links a img {
  width: 94px;
}
.text-area-wrapper {
  margin-top: 15px;
}
.text-area-wrapper h3 {
  font-size: 11px;
  color: var(--color-dark-gary);
  margin-bottom: 15px;
  font-weight: 400;
}
.text-area-wrapper .text-area-items {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 840px;
}
.text-area-wrapper .text-area-items p {
  font-size: 11px;
  color: var(--color-dark-gary);
  font-weight: 400;
}
.text-area-items p a {
  color: var(--color-dark-gray2);
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}
.text-area-items p a:hover {
  color: var(--color-magenta);
}

/* footer */
.footer {
  padding: 50px 0 50px;
  background: #fff;
}
.footer p {
  font-size: 12px;
  color: var(--color-medium-gray);
}
.footer p a {
  color: var(--color-dark-gray2);
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}
.footer p a:hover {
  color: var(--color-magenta);
  text-decoration: none;
}

/* works page */
.works-page-wrapper .works-gallery {
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.works-gallery .gallery-item {
  display: flex;
  align-items: end;
  gap: 50px;
}
.gallery-item .gallery-year p {
  color: var(--color-dark-gary);
  font-size: 11px;
  font-weight: 300;
}
.gallery-item .gallery-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.gallery-item .gallery-card-item {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}
.gallery-item .gallery-card-item img {
  width: 150px;
  height: 150px;
  object-fit: cover;
}
.gallery-item .gallery-card-item .card-hover-img {
  display: none;
}
.gallery-item .gallery-card-item:hover .card-hover-img {
  display: block;
}
.gallery-item .gallery-card-item:hover .card-default-img {
  display: none;
}
.works-page-heading {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.works-page-heading p {
    font-size: 11px;
    color: #D42E11;
    font-weight: 300;
}
.works-social-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  justify-content: end;
  margin-top: 50px;
}
.works-social-wrapper a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}
.works-social-wrapper a.icon-x {
  color: #3a7bd5;
}
.works-social-wrapper a.icon-pinterest {
  color: #d64545;
}
.works-social-wrapper a.icon-blog {
  color: var(--color-dark-gary);
}
/* Work details */
.works-detail-page {
  width: 100%;
  max-width: 750px;
}
.works-detail-page .book-image-gallery {
  display: flex;
  gap: 30px;
  height: 600px;
}
.book-image-gallery .book-image-large {
  flex: 1;
}
.book-image-gallery .book-image-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.book-image-gallery .book-image-thumb {
  width: 120px;
  height: 100%;
}
.book-image-gallery .book-image-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}
.works-detail-page .book-detail-content {
  padding: 40px 0;
}
.book-detail-content p em {
  color: var(--color-dark-gray2);
  font-size: 11px;
  font-weight: 200;
}
.book-detail-content p span {
  color: #fe1b52;
  font-size: 11px;
}
.book-detail-content p {
  font-size: 11px;
  color: var(--color-dark-gary);
}
.book-detail-content p a {
  font-size: 11px;
  color: var(--color-dark-gray2);
  transition: all 0.3s ease-in-out;
}
.book-detail-content p a:hover {
  color: var(--color-magenta);
}
.books-image-swiper,
.books-image-swiper-thumb {
  width: 100%;
  height: 100%;
}
.books-image-swiper .swiper-slide {
  width: 100% !important;
}
.books-image-swiper-thumb .swiper-slide {
  width: auto !important;
}
/* About page */
.about-page-content {
  width: 100%;
  max-width: 920px;
}
.about-page-content p {
  color: var(--color-dark-gary);
  font-size: 11px;
  margin-bottom: 11px;
}
.about-page-content p .item-highlighted {
    color: #F93507;
}
.about-page-content p .item-highlighted-light {
  color: #596f7e;
}
.about-page-content p a {
  color: var(--color-dark-gray2);
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}
.about-page-content p a:hover {
  color: var(--color-magenta);
}
.about-page-content .pronunciation-wrapper {
  margin-top: 40px;
}
.about-page-content .pronunciation-wrapper .highlighted-pronunciation {
  color: #fe1b52;
  font-size: 14px;
  font-weight: 300;
}
.about-page-content .pronunciation-wrapperp p {
  font-weight: 200;
}
/* Books page */
.books-page-wrapper {
  width: 100%;
  max-width: 930px;
}
.books-page-content p {
    font-size: 11px;
    color: #252526;
    margin-bottom: 30px;
    line-height: 170%;
}
books-page-content p {
  color: var(--color-dark-gary);
  font-size: 11px;
  margin-bottom: 11px;
}
.books-page-content p .item-highlighted {
    color: #F93507;
}
.books-page-content p .item-highlighted-light {
  color: #596f7e;
}
.books-page-content p a {
  color: var(--color-dark-gray2);
  text-decoration: underline;
  transition: all 0.3s ease-in-out;
}
.books-page-content p a:hover {
  color: var(--color-magenta);
}
	
.books-page-content .stars-block {
    color: #F93507;
}
.books-page-wrapper .books-page-content .line-divider {
  display: block;
  width: 100px;
  height: 1px;
  background-color: var(--color-light-gray);
  margin: 30px 0;
}
/* Mobile menu responsive styles */
@media (max-width: 1024px) {
  .container-center {
    margin-left: 0;
    padding: 0 15px;
  }

  header {
    padding: 0 0 10px;
    position: sticky;
    top: 0;
  }
  .logo img {
    width: 100%;
  }
  .logo {
    width: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .mobile-menu-toggler {
    display: flex;
  }
  .sidebar {
    width: 100%;
    position: fixed;
    left: -100%;
    top: 0;
    z-index: 999;
    height: 100%;
    padding: 20px 0;
    overflow-y: auto;
    transition: all 0.3s ease-in-out;
  }
  .sidebar.active {
    position: fixed;
    left: 0;
  }
  .sidebar-toggle-btn .mobile-menu-close {
    display: block;
  }
  .content {
    padding: 0 0;
    flex: none;
    width: 100%;
  }
  .sidebar-social-links {
    margin-top: 100px;
    padding-left: 15px;
  }
}

/* Responsive breakpoints */
@media (max-width: 767px) {
  .gallery-item .gallery-card-item img {
    width: 100px;
    height: 100px;
  }
  .works-gallery .gallery-item {
    align-items: start;
    gap: 20px;
    flex-direction: column;
  }
  .gallery-item .gallery-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .works-detail-page .book-image-gallery {
    height: auto;
    width: 100%;
    gap: 20px;
    flex-direction: column;
  }
  .book-image-gallery .book-image-large {
    flex: none;
    width: 100%;
    height: 100%;
  }
  .book-image-gallery .book-image-thumb {
    width: 100%;
    height: 150px;
  }
  /* .books-image-swiper-thumb .swiper-slide {
    width: 150px !important;
  } */
  .books-hero-image img {
    width: 100%;
  }
  .books-page-wrapper .books-page-content .line-divider {
    margin: 25px 0;
  }
  .home-social-links {
    margin: 16px 0;
    gap: 20px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .content .home-hero-image {
    max-width: none;
  }
  .text-area-wrapper .text-area-items {
    max-width: none;
  }
  .content .home-hero-slider {
    max-width: 100%;
  }
}
