:root {
  /* General and dark mode. */
}

:root[data-theme="default"] {
  /* Only applied if theme is selected. */
}

:root[data-mode="light"] {
  /* Only applied in light mode. */
}

:root[data-mode="light"][data-theme="default"] {
  /* Only applied in light mode and if theme is selected. */
}
@font-face {
  font-family: "GreatVibes";
  src: url("/wp-content/themes/fictioneer-child/fonts/GreatVibes-Regular.ttf");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
.advanced-chapters li.card .card__body{
        padding-bottom: 32px !important;
}
#buycred-checkout-wrapper.open #checkout-box form .cancel, #buycred-checkout-page .cancel {
    font-size: 12px;
    line-height: 14px;
    text-align: center;
    background-color: red;
    padding: 8px 16px;
    border-radius: 6px;
	    color: #fff;
}
#buycred-checkout-wrapper.open .checkout-inside .checkout-wrapper #checkout-box .checkout-footer button{
    text-align: center;
    padding: 8px 16px;
}


.showcase__image{
	object-position: top center;
}
.top-header__heading a {
	 font-family: "GreatVibes",'Helvetica Neue';
	font-weight:normal;
}

footer .footer__copyright a,
footer .footer__copyright span:nth-child(3){
  display: none !important;
  visibility: hidden !important;
}

.main-navigation .menu-item {
  font-weight: 500;
}

.main-navigation .sub-menu .menu-item {
  text-align: center;
  padding:8px 16px;
}


.main-navigation{
	margin:0;
	padding:16px;
}

.main-navigation__wrapper{
	    justify-content: flex-start;
}

.footer._footer-isolated{
	    background: #21a58d !important;
    color: #fff !important;
}

.footer._footer-isolated .footer__wrapper {
    margin: 1rem auto !important;
}

.main-navigation li.menu-item a:hover {
  color: #21a58d !important;
}

@media only screen and (min-width: 640px) {
  :is(.header-style-top, .header-style-none) .main-navigation {
    margin-bottom: 1rem;
  }
}
.app-stories-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
	max-height: 350px;
}
.slick-list,.slick-track{
	max-height:350px;
}

.app-stories-slider .slide {
  position: relative;
  width: 100%;
  height: 350px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* Align content to the left */
  padding: 0 20px;
}
.slick-track{
	overflow:hidden;
    display: flex;
    flex-direction: row;
}
.app-stories-slider .slide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Darker overlay */
  backdrop-filter: blur(10px); /* Blur effect */
  z-index: 1;
}

.app-stories-slider .slide-content {
  position: relative;
  z-index: 2; /* Ensure content is above overlay */
  padding: 16px;
  color: #fff;
  max-width: 70%;
  vertical-align: middle;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.app-stories-slider .slide img {
  position: relative;
  z-index: 2; /* Ensure image is above overlay */
  max-width: 50%; /* Adjust based on your layout needs */
  margin-left: auto; /* Align to the right */
	object-fit: scale-down;
}

.app-stories-slider h2 {
  font-size: 1.5em;
  margin: 0 0 10px;
  color: #fff;
}

.app-stories-slider p {
  font-size: 14px;
  line-height: normal;
  display: -webkit-box;
  -webkit-line-clamp: var(--line-clamp, 9999);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.app-stories-slider .slide-meta {
  margin: 10px 0;
}

.app-stories-slider .button {
  padding-left: 14px;
  padding-right: 14px;
  background: #fff;
  color: #000000;
  text-decoration: none;
}
.app-stories-slider .button:hover {
  background: #adffad;
  color: #000000;
}

.slick-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
	display: inline-flex;
  /*display: flex !important;
  justify-content: center;*/
  padding: 8px;
  margin: 0;
  list-style: none;
  z-index: 3;
}
.slick-dots li.slick-active button {
  background: #21a58d;
}
.slick-dots li {
  margin: 0 5px;
}

.slick-dots li button {
  border: none;
  background: #c1c1c161;
  border-radius: 50%;
  width: 12px;
  height: 12px;
  padding: 0;
  font-size: 0;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .app-stories-slider .slide-content {
    max-width: 60%;
  }
  .app-stories-slider .slide img {
    max-width: 40%;
  }
}

@media only screen and (max-width: 768px) {
  .app-stories-slider .slide {
    height: 400px; /* Adjust height for tablets */
  }
  .app-stories-slider .slide-content {
    max-width: 55%;
  }
  .app-stories-slider .slide img {
    max-width: 45%;
  }
}

@media only screen and (max-width: 480px) {
  .app-stories-slider .slide {
    height: 300px; /* Adjust height for mobile */
  }
  .app-stories-slider .slide-content {
    max-width: 90%;
    padding: 10px;
  }

  .app-stories-slider h2 {
    font-size: 1.2em;
  }
  .app-stories-slider p {
    display: none;
  }
	.slick-dots{
		left: 20%;
	}
}

.genres-sections {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Space between sections */
}

.genre-section {
  flex: 1;
  min-width: 200px; /* Adjust the minimum width of each section */
  margin: 0;
}

.non-empty-genres {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.non-empty-genres li {
  margin-bottom: 10px;
}

.non-empty-genres a {
  text-decoration: none;
  color: #21a58d; /* Adjust color as needed */
}

.non-empty-genres a:hover {
  color: #333;
}

/* Responsive adjustments */
@media only screen and (max-width: 1200px) {
  .genre-section {
    flex: 1 1 calc(50% - 20px); /* Two sections per row */
  }
}

@media only screen and (max-width: 768px) {
  .genre-section {
    flex: 1 1 100%; /* One section per row */
  }
}

@media only screen and (max-width: 480px) {
  .genres-sections {
    gap: 10px; /* Adjust gap for smaller screens */
  }
}