/* Reset CSS */
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
  background: #fafafa;
  overflow-x: hidden; /* Prevent horizontal scrolling */
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* end reset css */

/* Global Styles */
:root {
  /* Primary colors */
  --primary-color: #8917ee;
  --primary-color-50: #581192;
  --primary-color-100: #f3e6ff;
  --primary-color-500: #6b13b6;

  /* Bg colors */
  --bg-tertiary-focused: #F5F5F5;

  /* Text colors */
  --text-white: #fff;
  --text-headline-color: #0a0a0a;
  --text-tagline-color: #525252;
  --text-details-color: #202020;
}

html {
  font-size: 62.5%;
  font-family: "SVN ", sans-serif;
  scroll-behavior: smooth;
  text-rendering: optimizeSpeed;
}

body {
  font-size: 1.6rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "SVN-Tiempos Fine", sans-serif;
}

h1 {
  font-size: 5.1rem;
}

h2 {
  font-size: 6.4rem;
}

h3 {
  font-size: 3rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
}

figcaption {
  margin-top: 8px;
  text-align: center;
  font-size: 1.4rem;
  line-height: 1.6;
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
  color: var(--text-details-color);
}

b,
strong {
  font-weight: bold;
}

/* reset button, textarea, input, select */
button,
textarea,
input,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
  border: none !important;
  outline: none !important;
}

/* animation */
@keyframes moveUpDown {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(150px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}
/* end animation */

.moving-element {
  animation: moveUpDown 2s infinite ease-in-out;
}

/* Common */
.common-spacing {
    height: 72px;
}

.container__history-grid {
  margin-top: 300px;
}

.container__video-grid {
  margin-top: 0;
}

p.text-details {
  font-size: 1.8rem;
  font-family: "SVN-Tiempos Text", sans-serif;
  color: var(--text-details-color);
}

.hide {
    display: none !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  height: 40px;
  border-radius: 99px;
  font-size: 1.6rem !important;

  font-family: "SVN-Basis Grotesque Pro", sans-serif;
  font-weight: 500;

  color: var(--primary-color-500) !important;
  background: var(--primary-color-100) !important;
  cursor: pointer;
}

.btn-common  {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    border-radius: 9999px;
    border-width: 1px;
    border-color: transparent;
    padding: 0 12px;
    text-align: center;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.32px;
}

.btn-common-success {
    background-color: rgb(209 255 238);
    color: rgb(0 134 112);
}

.cursor-pointer {
    cursor: pointer;
}

.item-spacing {
    height: 36px;
}

@media screen and (max-width: 768px) {
    .common-spacing {
        height: 48px;
    }
    .item-spacing {
        height: 32px;
    }
}

@media screen and (max-width: 640px) {
    .common-spacing {
        height: 32px;
    }
    .item-spacing {
        height: 30px;
    }
}
/* End Common */

/* Line clamp */
.line-clamp {
  display: -webkit-box;
  -webkit-line-clamp: var(--line-clamp, 1);
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp.line-2 {
  --line-clamp: 2;
}

.line-clamp.line-3 {
  --line-clamp: 3;
}

/* Modal */
.menu-modal {
  position: fixed;
  z-index: 9999;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity, visibility;
  transition-duration: 0.3s;
}

.menu-modal.show {
  opacity: 1;
  visibility: visible;
}

.menu-modal.show .modal__container {
  transform: translateX(0);
}

.modal__container {
  position: relative;
  left: 0;
  width: 400px;
  height: 100vh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s;
}

.modal__search {
  position: relative;
  display: flex;
  align-content: center;
  gap: 16px;
  padding: 21px;
  border-bottom: 1px solid #e9d1ff;
  /* animation: fadeInRight 0.3s ease-out 0.5s forwards; */
}

.modal__search svg {
  width: 24px;
  height: 24px;
  margin-left: 16px;
  opacity: 0.7;
  cursor: pointer;
}

.modal__search input {
  flex: 1;
  padding-right: 16px;
  font-family: "SVN-Tiempos Fine";
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--primary-color);
  cursor: pointer;
}

.modal__search input::placeholder {
  color: var(--primary-color);
  opacity: 0.7;
  font-family: "SVN-Tiempos Fine";
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  line-height: 1.5rem;
}

.modal__body {
  padding: 48px 52px;
}

.modal__list + .modal__list {
  margin-top: 40px;
}

.modal__link {
  font-family: "SVN-Tiempos Fine";
  display: block;
  padding: 14px 0;
  font-size: 3.6rem;
  font-weight: 300;
  font-style: italic;
  line-height: 31px;
  color: var(--primary-color-50);
  transition: transform 0.7s;
}

.modal__link:hover {
  transform: translateX(30px);
  color: var(--primary-color);
}

.modal-detail {
  position: fixed;
  inset: 0;
  z-index: 99;

  background: #ffffff99;
  backdrop-filter: blur(30px);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s;
}

.modal-detail.show {
  visibility: visible;
  opacity: 1;
}

.modal-detail.show .modal-detail__body {
  transform: translateX(0);
  opacity: 1;
}

.modal-detail__content {
  position: absolute;
  right: 0;
  top: 230px;
}

.modal-detail__body {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  transform: translateX(100%);
  opacity: 0;

  transition: transform 0.3s, opacity 0.3s;
}

.modal-detail__gr {
  display: flex;
  align-items: center;
  gap: 5px;
}

.modal-detail__text {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.modal-detail__text span {
  color: #a3a3a3;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
}

.modal-detail__text p {
  color: var(--text-headline-color);
  font-family: "SVN-Tiempos Fine";
  font-size: 1.8rem;
  font-style: italic;
  line-height: 23.4px;
  max-width: 253px;
}

.modal-detail__num {
  color: #a3a3a3;
  font-family: "SVN-Tiempos Fine";
  font-size: 7.2rem;
  font-style: italic;
  margin-right: 24px;
}

.modal-detail__line {
  height: 1px;
  width: 28px;
  background: #00000033;
}

.modal-detail__line--two {
  height: 1px;
  width: 18px;
  background: #00000033;
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #fefefe;

}

.video-modal__container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 64px;
  height: 100%;
}

.video-modal__video {
  position: relative;
  width: 100%;
  top: 0;
  height: 0;
  padding-bottom: 56.25%;
  margin-left: 64px;
}

.video-modal__video::before {
  content: "";
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
}

.video-modal__video iframe {
  position: absolute;
  top: 51%;
  left: 50%;
  translate: -50% -50%;
  width: 100%;
  height: 500px;
  margin-top: -45px;
  border: none;
}

.video-modal__video iframe {
  border-radius: 12px;
}

.video-modal__content {
  margin-left: 32px;
}

.video-modal__close-icon {
  border-radius: 50%;
  background: #e4e4e4;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-bottom: 20px;
}

.video-modal__source {
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
  font-size: 2rem;
  line-height: 2.4rem;
  color: var(--text-headline-color);
  margin-bottom: 24px;
  text-align: center;
}

.video-modal__sticker {
  width: 248px;
  max-width: 100%;
}

.video-modal__desc {
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: var(--text-headline-color);
  margin-top: 24px;
  width: 250px;
}

.video-modal__btn-wrap {
  margin-top: 50px;
  text-align: center;
}

.video-modal__btn {
  padding: 0 12px;
}
/* End modal */

/* Loading bar */
.progress-bar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-color);
  z-index: 100;
  transition: width 0.1s linear;
}

/* End loading bar */

/* Decor */
.decor-message {
  position: fixed;
  bottom: 50px;
  right: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #727272;

  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, scale 0.3s;
  scale: 0;
}

.decor-message.show {
  visibility: visible;
  opacity: 1;
  scale: 1;
}

/* End decor */

/* Header */
.header {
  position: fixed;
  z-index: 998;
  left: 0;
  right: 0;
  top: 0;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
  transition: background-color 0.3s ease;
  background-color: transparent;
  color: #fff;
  width: 100vw;
}

.header.header--podcast-player {
  background: #fff;
  color: var(--primary-color);
  height: 56px;
}

.header.header--podcast-player .logo__svg {
  width: 148px;
}

.header.header--comic-series {
  color: var(--primary-color) !important;
  background: #fafafa !important;
  height: 56px;
}

.header.header--comic-series .logo__svg {
  width: 148px;
}

.header.header--sign-in {
  color: var(--primary-color);
  background: #fafafa;
}

.header__btn {
  display: flex;
  align-items: center;
  justify-content: center;

  color: var(--primary-color-500);
  background: #f3e6ff;
  border-radius: 9999px;
  height: 40px;
  width: 100px;
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: 500;
}

.header__icon-login {
  display: none;
}

.header__btn:hover {
  box-shadow: 0px 1px 3px 1px rgba(0, 0, 0, 0.05),
    0px 1px 2px 0px rgba(0, 0, 0, 0.3);
}

.logo__svg {
  position: relative;
  left: 10%;
  width: 228px;
  object-fit: cover;
  transition: all 1s;
}

.logo__svg.logo__small {
  scale: 0.65;
}

.header__notification,
.header__notification-icon {
  position: relative;
}

.header__notification-badge {
  position: absolute;
  top: -8px;
  right: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2px 4px;
  border-radius: 50rem;
  background: red;
  color: #fff;
  font-size: 1rem;
}

.header__notification-board {
  content: "";
  position: absolute;

  right: 0;
  top: 125%;
  box-sizing: border-box;

  width: 428px;
  padding: 8px 16px;

  background: #fff;

  border-radius: 24px;
  visibility: hidden;
  opacity: 0;

  transition: visibility 0.3s, opacity 0.3s;
}

.header__notification:hover .header__notification-board {
  visibility: visible;
  opacity: 1;
}

.header__notification-board::before {
  content: "";
  display: block;

  position: absolute;
  top: -22px;
  right: -1px;

  width: 30px;
  height: 30px;
}

.header__notification-title {
  padding: 12px 0;
}

.header__notification-title:first-of-type {
  border-bottom: 1px solid #0003;
  padding: 16px 0;
}

.header__notification-title:last-of-type {
  border-top: 1px solid #0003;
  padding: 16px 0;
}

.header__notification-title h3 {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
  color: #000;
  text-align: center;
  line-height: 24px;
}

.header__notification-title h4 {
  font-family: "SVN-Tiempos Fine";
  font-size: 1.6rem;
  color: var(--text-headline-color);
  text-align: center;
  font-weight: 300;
  line-height: 24px;
}

.header__notification-body {
  display: flex;
  flex-direction: column;
}

.header__notification-item {
  display: flex;
  column-gap: 16px;
  align-items: center;

  padding: 16px 0;

  border-bottom: 1px solid #0003;
}

.header__notification-item:hover .header__notification-img-wrap {
  opacity: 0.8;
}

.header__notification-item:last-of-type {
  border-color: transparent;
}

.header__notification-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-color-500);
}
.header__notification-content {
  color: var(--text-headline-color);
  font-family: "SVN-Tiempos pro";
  font-size: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.header__notification-time {
  color: var(--primary-color-500);
  font-size: 1.4rem;
}

.header__logined {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__avatar {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.header__avatar .header__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.header__avatar:hover .avatar-active {
  visibility: visible;
  opacity: 1;
}

.avatar-active {
  content: "";
  visibility: hidden;
  opacity: 0;

  position: absolute;
  top: 125%;
  right: 0;

  width: 231px;
  height: auto;
  background: #fff;
  padding: 0 8px;

  border-radius: 24px;

  transition: visibility 0.3s, opacity 0.3s;
}

.avatar-active::before {
  content: "";
  display: block;
  position: absolute;
  top: -18px;
  right: -1px;
  width: 41px;
  height: 40px;
}

.avatar-active__img-wrap {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  overflow: hidden;

  margin: 28px auto 12px;
}

.avatar-active__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-active__body {
  margin: 16px 0;
}

.avatar-active__link {
  display: block;
  color: var(--text-headline-color);
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
  font-weight: 500;
  padding: 10px 0;
  text-align: center;
  line-height: 24px;
  border-radius: 12px;
  transition: background 0.2s, color 0.2s;
}

.avatar-active__link:hover {
  background: #f3e6ff;
  color: rgb(107 19 182 / 1);
}

.avatar-active__setting {
  padding: 8px 0;
  border-top: 1px solid #e9d1ff;
}

@media screen and (max-width: 640px) {
  .header__btn {
    display: none;
  }

  /* logo */
  .logo__svg {
    scale: 0.65;
  }

  .header__icon-login {
    display: block;
  }

  .logo {
    margin-left: -50px;
  }
}

@media screen and (max-width: 640px) {
  .header__btn {
    display: none;
  }

  /* logo */
  .logo__svg {
    scale: 0.65;
  }

  .header__icon-login {
    display: block;
  }

  .logo {
    margin-left: -50px;
  }
}

/* End header */

.main.viegazine {
  padding: 0;
}

.main__end img {
  display: flex;
}

/* Hero section adjustment */
.hero {
  width: 100vw;
  position: relative;
  width: 100%;
  left: 0;
  right: 0;
  height: calc(100vh - 60px);
}

.hero--details {
  height: 100vh;
}

.hero.hero--comic::before {
  content: none;
}
.hero--comic {
  height: 0;
}

.hero.hero--comic-series {
  margin-top: 56px;
  height: auto;
}

.hero img {
  width: 100vw;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero--main img {
  height: 100vh;
}

.hero--others {
  height: 80vh;
}

.hero--viegazine,
.hero--comic,
.hero--video,
.hero--category {
  margin-top: -66px;
}

.hero--others .hero__heading {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.hero--category {
  height: 75vh;
}

.hero--video {
  height: 101vh;
}

.hero--video__text {
  font-style: italic;
  margin-top: 48px;
  font-size: 9.6rem;
  font-family: "SVN-Tiempos Fine";
  font-weight: 300;
}

h2.category__heading {
  font-size: 7.6rem;
}

h2.category__heading--small {
  font-size: 5.6rem;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0) 32.29%,
      rgba(0, 0, 0, 0.2) 66.15%,
      rgba(0, 0, 0, 0.82) 100%
    );
  pointer-events: none;
}

.detail__desc {
  margin-bottom: 20px;
  text-align: center;
  color: var(--text-headline-color);

  padding-top: 48px;

  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.8rem;
  font-weight: bold;
}

.detail__row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.detail__row button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 7px 12px;

  background-color: #cfcdc8;
  color: var(--text-tagline-color);
  border: 1px solid #cfcdc8;
  box-shadow: 0px 4px 4px 0px rgba(32, 32, 32, 0.18) !important;
  border-radius: 12px;
}

.detail__row button svg {
  width: 20px;
  height: 20px;
}

.detail__btn-list {
    display: flex;
    align-item: center;
    justify-content: center;
}

.detail__btn {
   display: inline-flex;
   width: 32px;
   height: 32px

}

/* Add this new rule for the details page gradient */
.hero--details::before {
  background-image: none; /* Reset the previous gradients */
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(217, 217, 217, 0) 34.9%,
    rgba(0, 0, 0, 0.7) 100%
  );
}

.hero.hero--detail {
  height: 100vh;
  margin-top: 0;
}

.hero--detail img {
  height: 100vh;
}

.hero__body {
  position: absolute;
  width: 100%;
  color: #fff;
  text-align: center;

  bottom: 20px;
}

.hero__body--details {
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.hero__series {
  font-size: 2rem;
  font-family: "SVN-Basis Grotesque Pro";
  position: relative;
  display: inline-block;
  text-shadow: #000 1px 0 10px;
}

.hero__series::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  opacity: 0.8;
}

.hero__action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.hero__action-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: var(--text-headline-color)44;
  cursor: pointer;
}

.hero__action-btn {
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero__action-btn.hero__action-btn--active {
    background: #8917EE;
}

.hero__action-btn::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: var(--primary-color-500);
  transition: height 0.3s ease;
  z-index: -1;
}

.hero__action-btn:hover::before {
  height: 100%;
}

.hero__action-btn:nth-child(1) svg {
  width: 15px;
}

.hero__action-btn:nth-child(2) svg {
  width: 11px;
}

.hero__action-btn:nth-child(3) svg {
  width: 15px;
}

.hero__action-btn:nth-child(4) svg {
  width: 15px;
  opacity: 1;
}

.hero__sub-heading {
  font-size: 2.4rem;
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
}

.hero__heading {
  font-size: 4.8rem;
  line-height: 1.4;
}

.hero__heading--details {
  margin: 32px 0;
  line-height: 1.4;
}

.hero__author {
  margin-bottom: 40px;
  font-size: 2rem;
  font-family: "SVN-Basis Grotesque Pro";
}

.hero__author:hover a {
  text-decoration: underline;
}

.hero__updown {
  margin-top: 33px;
  width: 44px;
  height: 44px;
  animation: moveUpDown 2s infinite ease-in-out;
}

/* Hero Series Section */
.hero-series {
  background: linear-gradient(to right, #000000, #8b0000);
  padding: 40px 0;
  margin-top: -66px;
  min-height: 110vh;
}

.hero-series__updown-wrapper {
  display: flex;
}

.hero__updown--series {
  margin-top: -20px;
  margin-left: auto;
  margin-right: auto;
}

.hero-series__container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100vh;
}

.hero-series img {
  position: relative;
  width: 60%;
}

.hero-series__desc {
  font-size: 1.6rem;
  font-weight: 500;
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
}

.hero-series__content {
  position: relative;
  flex: 1;
  max-width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  color: #fff;
}

.hero-series__content img {
  width: 480px;
  max-width: 80%;
  margin-bottom: 24px;
}

.hero-series__desc {
  color: #fff;
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 80%;
}

.hero-series__bg {
  flex: 1;
  margin-bottom: 150px;
  max-width: 60%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
}

.hero-series__bg img {
  width: 55%;
  height: auto;
  border-radius: 8px;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.8);
  object-fit: cover;
}

.hero-series__bg:hover img {
  transform: scale(1.1);
  filter: brightness(1.2);
}

/* Start of Comic */
.store-comic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.store-comic__img-wrap {
  width: 100%;
  height: 432px;
}

.store-comic__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-comic__content {
  padding: 4px 16px;
  background: #404040;
  border-radius: 0 0 12px 12px;
}

.store-comic__title {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.8rem;
  font-weight: 500;
  color: #fafafa;
  line-height: 27px;
}

.store-comic__row--last {
  text-align: center;
}

.store-comic__btn {
  margin: 0 auto;
  width: min(360px, 31%);
}

.comic-main-end {
  margin-top: 100px;
  background: red;
  width: 100%;
  height: 1300px;
}

.hero--comic__bottom {
  height: 1300px;
  background-image: url("../images/comic-cover-2-high-res-1350x1080.jpg");

  display: flex;
  justify-content: center;
  align-items: center;
}

.hero--comic__bottom::before {
  background-color: #000;
  opacity: 0.7;
}

.hero--comic__bottom::after {
  content: "Chuyện sắp kể";
  display: block;
  position: absolute;

  top: 62px;
  left: 50%;
  transform: translateX(-50%);

  font-family: "SVN-Tiempos Fine";
  font-size: 5.6rem;
  font-style: italic;
  color: #a3a3a3;
}

.hero--comic__bottom img {
  position: absolute;
  z-index: 99;
  height: 84%;
  width: 70%;
  object-fit: cover;
  bottom: 45px;
  border-radius: 12px;
}
/* End of Comic */

/* Start of comic-series */
.comic-series {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.comic-series__img-title-wrap {
  width: 400px;
  height: 191px;
}

.comic-series__img-title-wrap .comic-series__img-title {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.comic-series__list {
  display: flex;
  justify-content: center;
  gap: 6px;
}

.comic-series__item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 12px;
  background: #f3e6ff;
  color: var(--primary-color-500);
  border-radius: 9999px;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
  font-weight: 500;
}

.comic-series__item-only-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e5e5e5;
  border-radius: 50%;
  width: 40px;
  height: 42px;
}

.comic-series__desc {
  max-width: 660px;
  margin: 24px 0;
  font-family: "SVN-Basis Grotesque Pro";
  line-height: 24px;
  color: var(--text-headline-color);
}

.comic-series__text-update {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
  color: var(--text-tagline-color);
}

.comic-series__list-story-top {
  margin-top: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.comic-series__num-story {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.8rem;
  font-weight: 500;
}

.comic-series__arrange {
  display: flex;
  align-items: center;
  gap: 24px;
}

.comic-series__new {
   display: flex;
  align-items: center;
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: 500;
  font-size: 1.8rem;
}

.comic-series__arrange-text {
  font-family: "SVN-Tiempos Headline";
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
}

.comic-series__arrange-select {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 18px;
  font-weight: 500
}

.comic-series__grid-store {
  display: flex;
  flex-direction: column;
  gap: 20px;

  margin: 24px 0;
}

.comic-series__btn {
  margin: 40px 0 90px 0;
}

/* End of comic-series */

.store-comic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px;
}

.store-comic__gr {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease;
  background: #404040;
}

.store-comic__img-wrap {
  width: 100%;
  height: auto;
  overflow: hidden;
}

.store-comic__img-wrap img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s;
}

.store-comic__gr:hover .store-comic__img-wrap img {
  transform: scale(1.05);
}

.store-comic__content {
  padding: 12px 16px;
  background: #404040;
  border-radius: 0 0 12px 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.store-comic__title {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.8rem;
  font-weight: 500;
  color: #fafafa;
  line-height: 27px;
  margin: 0;
}

@media screen and (max-width: 767.98px) {
  .store-comic {
    grid-template-columns: 1fr;
  }

  .store-comic__img-wrap {
    height: 240px;
  }
}

@media screen and (max-width: 768px) {
  .hero-series {
    flex-direction: column;
    padding: 40px 0;
    position: relative;
    z-index: 1;
    color: #fff;
    overflow: hidden;
  }

  .hero-series::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("../images/series-CLQSK_series-thumbnail.jpg") no-repeat
      center center/cover;
    filter: blur(48px) brightness(0.6) saturate(2.1);
    z-index: -1;
    transform: scale(1.1);
    background-color: rgba(139, 0, 0, 0.3);
  }
  .hero-series__content {
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    max-width: 100%;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
    z-index: 2;
    height: 100vh;
  }

  .hero-series__content img {
    width: 100%;
    height: auto;
    margin-bottom: 24px;
  }

  .hero-series__bg {
    position: absolute;
  }

  .hero-series__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
  }

  .hero-series__desc {
    max-width: 90%;
    position: relative;
    z-index: 2;
  }
}

/* Reading */

/* Reading List Button */
.reading-list-btn {
  position: fixed;
  right: 20px;
  top: 20%;
  z-index: 999;

  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: #e5e5e5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  transition: all 0.3s ease;
  cursor: pointer;
}

.reading-list-btn__wrap {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  gap: 5px;

  width: 100%;
  height: 100%;
  padding-right: 10px;
}

.reading-list-btn__wrap span {
  display: block;
  height: 0.8px;
  width: 8px;
  border-radius: 9px;
  background: var(--text-headline-color);
  transition: all 0.3s;
}

.reading-list-btn__wrap span:nth-of-type(2) {
  width: 24px;
}

.reading-list-btn__wrap span:nth-of-type(3) {
  width: 14px;
  height: 0.5px;
}

.reading-list-btn__item-one.active {
  transform: rotate(48deg) translateX(2px);
  width: 10px;
  height: 1px;
}

.reading-list-btn__item-three.active {
  transform: rotate(-44deg) translateX(2px);
  width: 12px !important;
  height: 1px !important;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 66px;
  z-index: 998;
  background: #fafafa;
  width: 100%;
  height: 60px;
}

.navbar-viegazine .navbar__list {
  margin: 0 auto;
}

.navbar.navbar-viegazine--active {
  background: #fafafa;
}

.navbar-viegazine--active .navbar__link {
  color: var(--text-tagline-color);
}

.navbar__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.navbar__list.navbar__list--homepage {
  margin: 0 auto;
}

.navbar__link {
  padding: 20px 8px;
  display: inline-block;
  font-family: "SVN-Tiempos Headline";
  font-size: 24px;
  line-height: 24px;
  color: rgb(10, 10, 10);
  font-weight: 300;
  font-style: italic;
}

.navbar__link.viegazine {
  color: #e5e5e5;
}

.navbar__link--active {
  position: relative;
  color: rgb(88, 17, 146);
}

.navbar__link--active::after {
  position: absolute;
  content: "";
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 2px;
  background: rgb(238 177 23);
}

/* Add this new code for navbar--bottom layout */
.navbar--bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 0 10px;
  margin-bottom: 50px;
}

.navbar-viegazine .navbar__list--bottom {
  margin: initial;
}

.navbar--bottom .navbar__btn-newText {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: "SVN-Basis Grotesque Pro";
}
.navbar__btn-svg {
  transition: rotate 0.3s;
}
.navbar__btn-svg.navbar__btn-svg--rotate {
  rotate: 180deg;
}

.navbar__sub-menu {
  position: absolute;
  z-index: 99;
  bottom: -206px;
  left: 16px;
  background: #fff;
  border: 1px solid #ccc;
  width: 148px;
  visibility: hidden;
  opacity: 0;

  transition: visibility 0.3s, opacity 0.3s;
}

.navbar__sub-menu.show {
  visibility: visible;
  opacity: 1;
}

.navbar__sub-menu ul {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0 16px;
}

.navbar__sub-menu a {
  display: block;
  text-align: start;
  padding: 8px 0;
}

.navbar__sub-menu a:hover {
  text-decoration: underline;
}

.navbar--bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #e9d1ff;
}

.navbar__list--bottom {
  justify-content: flex-start;
}

/* Search form styling */
.search-form--bottom {
  display: flex;
  align-items: center;
  position: relative;
  max-width: 260px;
  width: 100%;
  height: 40px;
  border-radius: 20px;
  background-color: #f3f3f3;
  overflow: hidden;
}

.search-form__input,
.search-form__input::placeholder {
  color: #a3a3a3;
  font-size: 1.4rem;
  font-style: italic;
  font-weight: 300;
  font-family: "SVN-Tiempos Headline";
}

.search-form__input {
  width: 100%;
  height: 100%;
  padding: 0 4px 0 16px;
}

.search-form__button {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  color: var(--text-tagline-color);
  cursor: pointer;
  transition: color 0.2s;
}

.search-form__button:hover {
  color: var(--primary-color);
}

/* Navbar top */
.navbar--top {
  background: transparent;
}

.navbar--top.navbar-viegazine .navbar__list {
  margin: 0 auto;
}

.navbar__link--top {
  color: #fff;
  font-size: 1.8rem;
}

.navbar__link--bottom {
  font-size: 1.6rem;
  padding: 7px 12px;
  border-radius: 99px;
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: 500;
  color: var(--text-tagline-color);
  font-style: normal;
}

.navbar__link--bottom--active {
  color: var(--primary-color-500) !important;
  background-color: var(--bg-tertiary-focused) !important;
}

.navbar__link--bottom:hover {
  color: var(--primary-color-500);
  background: #f3e6ff;
}

.video-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  border: 1px solid #fff;
  border-radius: 50%;
  padding: 10px;
  background: #6f717088;
}

/* Vietnam-stories */
.vietnam-stories__heading {
  font-family: "SVN-Tiempos Fine";
  margin: 80px 0 50px;
  text-align: center;
  font-size: 6.4rem;
  color: var(--primary-color-50);
}

.vietnam-stories__heading--homepage {
  font-weight: 300;
  font-style: italic;
}

.vietnam-stories__heading--comic {
  color: var(--text-headline-color);
  font-size: 5.2rem;
  font-style: italic;
}

.vietnam-stories-heading-large {
  font-size: 9.6rem;
  font-style: italic;
}

.vietnam-stories__heading--small {
  font-size: 5.6rem;
}

.vietnam-stories__heading--Viegazine {
  margin-top: 50px;
}

.vietnam-stories__body {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.vietnam-stories__item {
  position: relative;
  width: 100%;
  height: 478px;
  border-radius: 20px;
  overflow: hidden;
}

.vietnam-stories__item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.3) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0) 32.29%,
      rgba(0, 0, 0, 0.2) 66.15%,
      rgba(0, 0, 0, 0.82) 100%
    );
  pointer-events: none;
}

.vietnam-stories__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}
.vietnam-stories__title {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
  font-size: 3.6rem;
  color: #fff;
}
/* End vietnam-stories */

/* fascinating-books */
.fascinating-book__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 64px 32px;
}

.fascinating-book__list.fascinating-book__list--two {
    grid-template-columns: 1fr 1fr;
}

.fascinating-books__body {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 52px 28px;
}

.fascinating-books__bg-wrapper {
    padding: 48px 0 64px;
    background: #8b4843;
}

.fascinating-books-comic__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  justify-content: space-between;
  gap: 28px;

  max-width: 952px;
  margin: 0 auto;
}

.fascinating-books-comic__img-wrap {
  position: relative;
  width: 100%;
  min-height: 693px;
  border-radius: 24px;
  overflow: hidden;
}

.fascinating-books-comic__img {
  width: 100%;
  min-height: 693px;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
  transition: transform 2.5s ease;
}

.fascinating-books-comic__img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0) 26.04%,
      rgba(0, 0, 0, 0) 47.92%,
      rgba(0, 0, 0, 0.03) 73.96%,
      rgba(0, 0, 0, 0.03) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 29.17%, rgba(0, 0, 0, 0.38) 91.67%);
    pointer-events: none;
}

.fascinating-books-comic__img-wrap--right {
  background-image: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0) 26.04%,
      rgba(0, 0, 0, 0) 47.92%,
      rgba(0, 0, 0, 0.03) 73.96%,
      rgba(0, 0, 0, 0.03) 100%
    ),
    linear-gradient(180deg, rgba(0, 0, 0, 0) 29.17%, rgba(0, 0, 0, 0.38) 91.67%),
    url("https://vietales.vn/wp-content/uploads/2024/01/series_su-teu-scaled.jpg");
}

.fascinating-books-comic__img-wrap:hover .fascinating-books-comic__img {
  transform: scale(1.1);
}

.fascinating-books-comic__img-wrap .fascinating-books-comic__img-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 14px;
}

.fascinating-books__info img {
  border-radius: 16px;
}

.fascinating-books__info-wrap {
    background: yellow;
}

.fascinating-book {
  width: 100%;
}

.fascinating-books__row-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 38px;

  border-bottom: 1px solid #f3e6ff;
  margin-bottom: 50px;
  padding-bottom: 14px;
}

.fascinating-books__more {
  position: relative;
  display: none;
}

.fascinating-books__more-btn {
  display: flex;
  align-items: center;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
}

.fascinating-books__more-list {
  position: absolute;
  bottom: -180px;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 8px 16px;
  width: 134px;
  border-radius: 24px;
  border: 1px solid #ccc;
  visibility: hidden;
  opacity: 0;
}

.fascinating-books__more-list.show {
  visibility: visible;
  opacity: 1;
}

.fascinating-books__more-link {
  display: block;
  padding: 8px 0px;
}

.fascinating-books__row-list-btn {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.fascinating-books__text {
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: bold;
  color: var(--text-tagline-color);
  opacity: 0.8;
  padding: 7px 12px;
}

.fascinating-books__text:hover {
  color: var(--primary-color-500);
  background: #f5f5f5;

  border-radius: 14px;
}

.fascinating-books__text.fascinating-books__text--active {
  color: var(--primary-color-500);
  background: #f5f5f5;
  border-radius: 14px;
}

.fascinating-books__input-gr {
  display: flex;
  align-items: center;
  width: 242px;
  padding: 8px 20px;
  background: #f5f5f5;
  border-radius: 99px;
}

.fascinating-books__input-gr input {
  font-family: "SVN-Tiempos Headline";
  font-style: italic;
  color: #a3a3a3;
  font-size: 1.4rem;
  flex: 1;
}

.fascinating-book:hover .fascinating-book__img {
  transform: scale(1.1);
}

.fascinating-book__img-wrap {
  position: relative;
  width: 100%;
  height: 224px;
  border-radius: 20px 20px 0 0;
  border-radius: 16px;
  overflow: hidden;
}

.fascinating-book__img-wrap::before {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  z-index: 99999;

  display: block;

  width: 100px;
  height: 100px;
  border-radius: 50%;
  opacity: 1;
  transform-origin: center center;
  transition: background 1s, transform 1s;
}

.fascinating-book:hover .fascinating-book__img-wrap::before {
  background: #e9e5ca1a;
  transform: translate(-50%, -50%) scale(6);
}

.fascinating-book__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
  border-radius: 16px;
}

.fascinating-book__title {
  margin: 16px 0;
  font-size: 3rem;
  font-family: "SVN-Tiempos Fine";
  font-weight: 300;
  line-height: 135%;
}

.fascinating-book__title:hover {
  color: var(--primary-color-50);
}

.fascinating-book__desc {
  font-size: 1.8rem;
  font-family: "SVN-Basis Grotesque Pro";
  line-height: 27px;
  color: var(--text-tagline-color);
}
.fascinating-book__row {
  margin-top: 16px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.fascinating-book__viegazine {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
}

.fascinating-book__row p {
  font-size: 1.8rem;
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: bold;
  color: var(--text-tagline-color);
}
.fascinating-book__row > p:last-child {
  position: relative;
  padding-left: 25px;
}
.fascinating-book__row > p:last-child::after {
  position: absolute;
  left: 0;
  top: 50%;
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-tagline-color);
}

.fascinating-book__viegazine svg {
  width: 20px;
  height: 20px;
}

.fascinating-book__viegazine p {
  color: var(--primary-color);
}

.fascinating-books__info img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

@media screen and (max-width: 991.98px) {
    .fascinating-book__list {
        grid-template-columns: 1fr 1fr;
    }
}

 @media screen and (max-width: 575.98px) {
    .fascinating-book__list {
        grid-template-columns: 1fr;
    }
  }

/*End fascinating-books */

/* category */
.category-books__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.category-book {
  height: 400px;
}

.category-book__img-wrap {
  height: 100%;
}

.category-books__img {
}

/* series */

.series__heading {
  margin-bottom: 0;
}

.series__desc {
  text-align: center;
  margin-top: 24px;
  color: var(--text-tagline-color);
  font-family: "SVN-Tiempos Headline";
  font-size: 2rem;
  font-weight: 300;
  font-style: italic;
}

.series__btn {
  padding-top: auto;
}

@media screen and (max-width: 991.98px) {
  .history-grid__row.series__btn {
    padding-top: 0;
  }
}

/* Series Content Grid Layout */
.series-content__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 60px;
}

.series-content__item {
  width: 100%;
  position: relative;
}

.series-content__item::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: inherit;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0) 26.04%,
      rgba(0, 0, 0, 0) 47.92%,
      rgba(0, 0, 0, 0.03) 73.96%,
      rgba(0, 0, 0, 0.03) 100%
    ),
    linear-gradient(rgba(0, 0, 0, 0) 29.17%, rgba(0, 0, 0, 0.38) 91.67%);
  pointer-events: none;
  border-radius: 22px;
}

.series-content__link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  position: relative;
}

.series-content__link img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.9);
  border-radius: 28px;
}

.series-content__link img:nth-child(2) {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  max-height: 50%;
  object-fit: contain;
  z-index: 1;
}

.series-content__link:hover img:first-child {
  transform: scale(1.05);
  filter: brightness(1.1);
  border-radius: 28px;
}

/* Series swiper */
.stack-swiper {
    justify-self: center;
}

.stack-swiper .swiper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 90px 0 75px;
    overflow: initial;
}

.stack-swiper .swiper-wrapper {
    overflow: visible;
}

.stack-swiper .swiper-slide {
    width: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    border-radius: 10px;
    transition: transform 0.3s ease, z-index 0.3s ease;
    position: relative;
    margin-left: -175px;
}

.stack-swiper .swiper-slide:first-child {
    margin-left: 0;
}

.stack-swiper .swiper-slide img {
    transition: transform 0.25s ease-in-out;
}

.stack-swiper .swiper-slide:hover img,
.stack-swiper .swiper-slide-selected img {
    transform: scale(1.2);
}

.stack-swiper .swiper-slide__img {
    width: 100%,
    height: 420px;
    border-radius: 24px;
}

@media screen and (max-width: 768px) {
  .stack-swiper .swiper-slide {
    width: 280px;
    height: 380px;
  }
}

@media screen and (max-width: 480px) {
    .stack-swiper .swiper {
        padding: 40px 0 25px;
    }
    .stack-swiper .swiper-slide {
        width: 210px;
        height: 320px;
    }

    .stack-swiper .swiper-slide:hover img,
    .stack-swiper .swiper-slide-selected img {
        transform: scale(1.1);
    }
}
/* End series */

/* Painting */
.painting {
  background: #8b4843;
  padding: 52px 0 64px;
}

.painting__desc {
  text-align: center;
  margin-bottom: 40px;
  color: #ffcc00;
  text-align: center;
  font-family: "SVN-Tiempos Headline";
  font-size: 2.4rem;
  font-style: italic;
  text-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
}
.painting__img-wrap {
  width: 100%;
  height: 438px;
  border-radius: 20px;
  overflow: hidden;
  display: block;
}
.painting__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* End Painting */

/* history-grid */
.history-grid {
  margin-top: 72px;
}

.history-grid__row {
  display: flex;
  justify-content: center;
}

.history-grid__btn {
  white-space: nowrap;
  padding: 12px 24px;
  height: initial;

  font-weight: bold;
  letter-spacing: -0.5px;
  transition: all 0.3s;
}

.history-grid__btn:hover {
  color: var(--primary-color-500);
  background: #000;
  background-color: #e9d1ff;
  cursor: pointer;
  scale: 1.15;
}
/* End history-grid */

/*Story told */
.story-told__btn {
  width: 400px;
  margin-top: 44px;
}

.story-told__img-wrap {
  height: 260px;
}
/* End story told */

/* Main end */
.main-end__img-wrap {
    display: block;
    width: 100%;
}

.main-end__img {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
}
/*===*/

/* Start of detail */

/* End of detail */

/* Footer */
.footer {
  background-color: #171717;
  padding: 48px;
  text-align: center;
  color: #fff;
}

.footer__social {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px 0;
  gap: 30px;
}

.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  width: 44px;
  border-radius: 50%;
  color: var(--primary-color-500);
  background: #f3e6ff;
}

.footer__social a:first-child svg {
  width: 12px;
}

.footer__social svg {
  width: 16px;
}
.footer__copyright {
  margin-bottom: 42px;
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: 700;
  font-size: 1.8rem;
  color: #fafafa;
}
.footer__desc {
  font-family: "SVN-Basis Grotesque Pro";
  color: #d4d4d4;
  line-height: 24px;
  font-weight: bold;
}

.footer__img {
  margin: 20px auto 0;
}
/* End footer */

/* ======== Login form ======== */
.login-form {
  height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
}

.login-form__header {
  text-align: center;
}

.login-form__heading {
  font-family: " SVN-Tiempos Fine";
  text-align: center;
  font-size: 4.8rem;
  font-style: italic;
  color: var(--primary-color-500);
}

.login-form__desc {
  color: var(--text-headline-color);
  margin-top: 30px;
  font-size: 1.4rem;
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
}

.login-form__signup-text {
  margin-left: 12px;
  color: var(--primary-color-500);
  font-weight: bold;
  font-family: " SVN-Basis Grotesque Pro";
  color: var(--primary-color-500);
}

/* ======== Form Group ======== */
.login-form__inner {
  flex-basis: 100%;
  max-width: 480px;
}

.form-group__email-wrap,
.form-group__pasword-wrap {
  position: relative;
  margin-top: 28px;
}

.form-group__pasword-wrap:hover .form-group__input {
  border-width: 2px;
  border-color: #e9d1ff;
}

.form-group__email-wrap:hover .form-group__input {
  border-width: 2px;
  border-color: #e9d1ff;
}

.form-group__pasword-wrap:hover .form-group__label {
  color: rgb(88 17 146 / 1);
}

.form-group__email-wrap:hover .form-group__label {
  color: rgb(88 17 146 / 1);
}

.form-group__input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  font-family: "SVN-Basis Grotesque Pro";
  border-radius: 14px;
  border: 1px solid #79747e;
  background: transparent;
  transition: all 0.3s;
}

.form-group__label {
  position: absolute;
  left: 16px;
  top: 50%;
  padding: 0;
  color: var(--text-tagline-color);
  font-style: italic;
  font-family: "SVN-Tiempos Headline";
  font-size: 1.6rem;
  transition: all 0.1s ease-out;
  pointer-events: none;
  background: transparent;
  transform: translateY(-50%);
  opacity: 0.8;

  font-size: 1.6rem;
}

.form-group__label:placeholder-shown,
.form-group__forgotpw {
  font-family: "SVN-Basis Grotesque Pro";
}

.form-group__input:hover {
  border-color: var(--primary-color-500);
}

.form-group__input:focus,
.form-group__input:not(:placeholder-shown) {
  outline: none;
  border-color: var(--primary-color-500);
}

.form-group__input:focus + .form-group__label,
.form-group__input:not(:placeholder-shown) + .form-group__label {
  top: 0;
  color: var(--primary-color-500);
  font-style: italic;
  padding: 0 8px;
  transform: translateY(-50%);
  background: #fff;
}

.form-group__forgotpw {
  color: #000;
  font-size: 1.4rem;
  padding: 14px;
  text-align: right;
  display: block;
  font-family: "SVN-Basis Grotesque Pro";
}

.form-group__agreement {
  font-size: 1.2rem;
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
  text-align: center;
  line-height: 18px;
}

.form-group__agreement strong {
  text-transform: uppercase;
  font-weight: 600;
}

.form-group__agreement--signup {
  margin-top: 15px;
}

/* Submit button */
.form-group__submit-btn {
  width: 100%;
  height: 40px;
  margin-top: 40px;
  border-radius: 99px;
  background: var(--primary-color);
  color: var(--text-white);
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: 600;
  font-size: 1.6rem;
  cursor: pointer;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.form-group__submit-btn--signup {
  margin-top: 24px;
}

.form-group__submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--primary-color-500);
  transition: left 0.5s ease;
  z-index: -1;
}

.form-group__submit-btn:hover::before {
  left: 0;
}

/* Social login section */
.form-group__separator {
  color: #5f5f5f;
  position: relative;
  text-align: center;
  margin: 16px 0;
}

.form-group__separator::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 0.5px;
  background: #5f5f5f;
  z-index: 0;
}

.form-group__separator span {
  position: relative;
  background: #fafafa;
  padding: 0 16px;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
  color: var(--text-tagline-color);
  z-index: 1;
}

.form-group__social-icons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 16px;
}

.form-group__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 44px;
  font-weight: 600;
  border-radius: 99px;
  border: 1px solid #e9d1ff;
  transition: box-shadow 0.2s ease;
  text-decoration: none;
  background: #fafafa;
}

.form-group__social-link:hover {
  box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
}

.form-group__social-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 100%;
  border-right: 1px solid #e0e0e0;
}

.form-group__social-icon {
  width: 20px;
  height: 20px;
}

.form-group__social-text {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
  color: var(--text-headline-color);
}

/* Password toggle styling */
.form-group__password-toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  z-index: 2;
}

.form-group__toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.form-group__eye-icon {
  width: 24px;
  height: 24px;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.hide-password {
  display: none;
}

.form-group__toggle-checkbox:checked
  ~ .form-group__password-toggle
  .show-password {
  display: none;
}

.form-group__toggle-checkbox:checked
  ~ .form-group__password-toggle
  .hide-password {
  display: inline-block;
}

.form-group__toggle-checkbox:checked ~ .form-group__input {
  -webkit-text-security: none;
  text-security: none;
}

/* For browsers that don't support text-security */
.form-group__toggle-checkbox:checked ~ .form-group__input[type="password"] {
  font-family: "SVN-Basis Grotesque Pro", sans-serif;
}

.form-group__password-toggle:hover .form-group__eye-icon {
  opacity: 1;
}

.form-group__pasword-wrap .form-group__input {
  padding-right: 45px;
}

/* Start of love-page */
.container-fluid {
  padding: 0;
}

.page-love__info {
  position: relative;
  width: 100%;
  min-height: 460px;
  background-image: url("../images/cover-profile.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-love__info img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-love__user {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;

  padding-top: 109px;
}

.page-love__avatar-wrap {
  position: absolute;
  left: 50%;
  bottom: -93px;
  transform: translateX(-50%);

  width: 186px;
  height: 186px;
}

.page-love__avatar-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.page-love__pen-edit {
  position: absolute;
  right: 5px;
  bottom: 1%;

  display: flex;
  align-items: center;
  justify-content: center;

  width: 44px;
  height: 44px;
  border-radius: 50%;

  background-color: #f3e6ff;
}

.page-love__sub {
  font-family: "SVN-Tiempos Headline";
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  color: #171717;
}

.page-love__setting {
  display: flex;
  align-items: center;
  padding: 7px 12px;
  margin-top: 3px;
  height: 40px;
  gap: 6px;
  border: 1px solid transparent;
  border-radius: 9999px;
  transition: "background" 1s;
}

.page-love__setting:hover {
  background: #f3e6ff;
}

.page-love__setting:hover .page-love__setting-text {
  color: var(--primary-color-500);
}

.page-love__setting-text {
  color: var(--text-tagline-color);
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: 500;
  font-size: 1.6rem;
}

.page-love__nav-list-wrap {
  margin: 60px auto 18px;
  width: min(1480px, 100%);
  padding-bottom: 10px;
  border-bottom: 1px solid #e9d1ff;
}

.page-love__nav-drop-down {
  position: relative;

  display: none;
  align-items: center;
  gap: 10px;
}

.page-love__nav-drop-down p {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
}

.page-love__nav-drop-content {
  position: absolute;
  bottom: -172px;
  padding: 0 16px;
  box-shadow: 0 0 #0000, 0 0 #0000, 0 10px 15px -3px rgb(0 0 0 / 0.1),
    0 4px 6px -4px rgb(0 0 0 / 0.1);
  border: 1px solid #e5e7eb;

  visibility: hidden;
  opacity: 0;
  transition: all 1s;
}

.page-love__nav-drop-content.show {
  visibility: visible;
  opacity: 1;
}

.page-love__nav-drop-content a {
  display: block;
  padding: 8px 0;
  line-height: 24px;
}

.page-love__nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-love__nav-link {
  display: block;
  padding: 6px 22px;

  border-radius: 9999px;

  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;

  color: #000;
  transition: color 0.3s;
}

.page-love__nav-link.page-love__nav-link--active {
  color: var(--primary-color-500);
  font-weight: 500;
  background: #f5f5f5;
}

.page-love__body-content {
  height: 100%;
}

.page-love__item-content {
  padding: 48px 0;
  width: min(1480px, 100%);
  margin: 0 auto;
  text-align: center;
}

.page-love__heading-text {
  font-family: "SVN-Tiempos Fine";
  font-size: 5.2rem;
  font-style: italic;
  font-weight: 300;
  color: #000;
  margin-bottom: 60px;
}

.page-love__desc-text {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
  color: #000;
  text-align: center;
}

.row > * {
  padding: 0;
}

/* Podcast Player */
.main--podcast-player {
  background: #5f5f5f;
  display: flex;
}

.container--podcast-player {
  max-width: 100%;
  background-color: #5F5F5F;
}

.podcast-player {
  margin: 20px 0;
  color: #fff;
  background: #262626;
  padding: 32px;
  border-radius: 32px;
}

.podcast-player__heading {
  margin-top: 70px;
  padding-top: 30px;
  color: #FAFAFA;
  font-style: italic;
  font-size: 5.2rem;
  text-align: center;
}

.podcast-player__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.podcast-player__title {
  font-size: 3.6rem;
  font-weight: 300;
}

.video-modal__cta,
.podcast-player__col {
  display: flex;
  gap: 8px;
}

.video-modal__icon-link,
.podcast-player__icon-link {
  display: flex;
  flex-direction: row;
  gap: 10px;
  background: var(--text-tagline-color);
  border-radius: 12px;
  padding: 8px;
  opacity: 0.8;
}

.video-modal__icon-link {
  padding: 12px;
  background: #e5e5e5;
}

.video-modal__icon-link:hover,
.podcast-player__icon-link:hover {
  background: var(--primary-color-500);
  transition: background ease 0.3s;
}

.video-modal__icon-link:hover {
  background: #f3e6ff;
}

.video-modal__icon-link svg,
.podcast-player__icon-link svg {
  width: 20px;
  height: 20px;
  font-weight: 300;
}

.video-modal__icon-link svg {
  color: var(--text-headline-color);
}

.video-modal__icon-link--active {
    background: #e9d1ff;
}

.podcast-player__desc {
  max-width: 800px;
  margin-top: 40px;
  color: #a3a3a3;
  font-size: 1.8rem;
  font-family: "SVN-Basis Grotesque Pro";
  line-height: 27px;
}

.podcast-player__media {
  padding-top: 80px;
}

.podcast-player__media-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.podcast-player__play {
   position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #9320fd;
  color: #fff;
  font-size: 2.4rem;
  flex-shrink: 0;
}

.podcast-player__play svg {
  color: #fff;
}

.podcast-player__play i {
    position: absolute;
    left: 12px;
}

.podcast-player__waveform {
    position: relative;
    width: 100%;
    background: url("../images/icon-wave-podcast.svg");
    height: 36px;
    overflow: hidden;
}

.podcast-player__progress {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;

    height: 100%;

    background:url("/images/icon-wave-podcast-color.svg");
    pointer-events: none;
}

.podcast-player__waveform img {
  width: 100%;
  height: 100%;
  display: block;
}

.podcast-player__time-display {
  color: #fff;
  font-size: 1.8rem;
  font-family: "SVN-Basis Grotesque Pro";
  line-height: 27px;
}

.podcast-player__media-podcast {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px 0;
    gap: 24px;
}

.podcast-player__media-podcast-text {
    color: #fafafa;
    font-family: "SVN-Basis Grotesque Pro";
    font-size: 1.6rem;
    line-height: 18px;
}

.podcast-player__media-podcast-link {
     color: #bf78ff;
    font-family: "SVN-Basis Grotesque Pro";
    font-size: 1.6rem;
    font-weight: 500;
}

.playlist {
  border-radius: 20px;
  background: #3c3c3c;
  height: 340px;
  overflow: auto;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 12px;
  cursor: pointer;
}

.playlist-item--active {
  background: #505050;
  border-radius: 20px;
}

.playlist-item--active .playlist-item__btn {
  color: #fff;
  background: #404040;
}

.playlist-item__media {
  display: flex;
  align-items: center;
  gap: 20px;
}

.playlist-item__number {
  font-size: 1.8rem;
}

.playlist-item__btn {
    position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--text-tagline-color);
  color: #000;
  font-size: 2.4rem;
  flex-shrink: 0;
}

.playlist-item__btn i {
    position: absolute;
    left: 13px;
    font-size: 1.6rem;
}

.playlist-item__time,
.playlist-item__title {
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.6;
  font-family: "SVN-Basis Grotesque Pro";
}

.playlist-item__time {
  font-size: 1.6rem;
  font-weight: 400;
}

.podcast-player__cta {
  padding: 32px 0;
  text-align: center;
}
/* Responsive of page-love */
@media screen and (max-width: 1281px) {
  .page-love__nav-list {
    display: none;
  }

  .page-love__nav-drop-down {
    display: flex;
  }
}

/* End of love-page */

/* Start of user-profile */
.user-profile__wrap {
  padding-bottom: 100px;
}

.user-profile {
  max-width: 560px;
  margin: 0 auto;
  padding-top: 60px;
  text-align: center;
}

.user-profile__fisrt {
  padding-top: 90px;
}

.user-profile__title {
  font-family: "SVN-Tiempos Fine";
  font-size: 2.4rem;
  font-style: italic;
  font-weight: 300;
}

.user-profile__desc {
  text-align: left;
}

.form-group__label-user-profile {
  opacity: 1;
}

.form-group__sub-user-profile {
  position: relative;
  margin-top: 28px;
}

.form-group__sub-user-profile input {
  width: 100%;
  height: 56px;
  padding: 0 16px;
  font-family: "SVN-Basis Grotesque Pro";
  border-radius: 14px;
  border: 1px solid #79747e;
  background: transparent;
  transition: all 0.3s;
}

.form-group__sub-user-profile:hover input {
  border: 2px solid #e9d1ff;
}

.form-group__sub-user-profile label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translate(17px, -45px);

  font-family: SVN-Tiempos Headline;
  font-size: 16px;
  font-style: italic;
  line-height: 24px;
  color: var(--text-tagline-color);
  background: #fff;
  padding: 0 8px;
}

.user-profile__info {
  margin: -28px 0 2px;
}

.user-profile__info-body textarea.form-group__input {
  height: 108px;
}

.user-profile__info-body label.form-group__label-user-info {
  top: 28px;
}

.user-profile__info-body textarea#intro {
  padding: 16px;
}

.user-profile__row {
  display: flex;
  gap: 20px;
}

.user-profile__row .form-group__email-wrap {
  flex: 1;
}

.user-profile__row input.form-group__input {
  border-color: initial;
}

.user-profile__row .form-group__email-wrap input {
  height: 56px !important;
}

.form-group__gender-user-profile {
  flex: 1;
  position: relative;
  display: flex;
  margin-top: 28px;
  z-index: 10;
  height: 56px;
  padding: 0 16px;
  border: 1px solid #79747e;
  border-radius: 12px;
  cursor: pointer;
  background: #fff;
}

.form-group__gender-user-profile select {
  width: 100%;
  height: 100%;
}

.form-group__gender-user-profile-row {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

.form-group__gender-user-profile-row p {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
  color: #444444;
}

.form-group__gender-user-profile-body {
  position: absolute;
  left: 0;
  z-index: 9;
  bottom: -204%;
  right: 0;
  background-color: white;
  border: 1px solid #aaa;
  visibility: visible;
  opacity: 0;
  transition: all 0.4s;
}

.form-group__gender-user-profile-body.show {
  visibility: visible;
  opacity: 1;
}

.form-group__gender-user-profile-body li {
  line-height: 36px;
  padding: 0 6px;
  text-align: left;
}

.form-group__gender-user-profile-body li:hover {
  background: var(--primary-color-500);
  color: #fff;
}

.form-group__gender-user-profile-body li:not(:hover) {
  color: #000;
}

li.form-group__gender-user-profile-active {
  background: #bf78ff;
  color: #fff;
}

.user-profile__action {
  display: flex;
  justify-content: end;
  gap: 20px;

  margin-top: -30px;
}

.user-profile__btn-cancel {
  padding: 8px 12px;

  border-radius: 9999px;

  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
  font-weight: 500;
  background: transparent;
  transition: background 0.3s;
}

.user-profile__btn-cancel:hover {
  background: #e9d1ff;
}

.user-profile__btn-save {
  width: 155px;
  height: 40px;
  padding: 0 16px;

  background: #404040;
  color: #fff;

  border-radius: 9999px;

  font-size: 1.6rem;
  font-weight: 500;
  font-family: "SVN-Basis Grotesque Pro";

  transition: background 0.4s;
}

.user-profile__btn-save:hover {
  background: var(--primary-color-500);
}

@media screen and (max-width: 640px) {
  .user-profile__row {
    flex-direction: column;
  }

  .form-group__gender-user-profile-row {
    height: 56px;
  }
}
/* End of user-profile */

/* Start of user-page */
@media screen and (max-width: 640px) {
  .user-page__img-wrap {
    height: auto !important;
  }

  .fascinating-book__title.user-page__title {
    margin: 16px 0;
    font-size: 3rem;
    text-align: left;
    color: var(--text-headline-color);
  }

  .fascinating-book__desc.user-page__desc {
    text-align: left;
    font-size: 1.6rem;
  }
}
/* End of user-page */

/* ======== RESPONSIVE STYLES ======== */

/* PC breakpoint */
@media screen and (min-width: 992px) {
  /* PC styles are mostly the default styles defined above */
  /* Adjusting container width for smaller desktops */
  .container {
    width: 90%;
    max-width: 1480px;
  }

  .hero-series__bg img {
    width: 58%;
  }
}

/* Responsive adjustments for search form */
@media screen and (max-width: 767.98px) {
}

/* PC breakpoint */
@media screen and (max-width: 1280px) {
  .navbar--bottom {
    justify-content: space-between;
  }

  .navbar--bottom .navbar__btn-newText {
    display: flex;
  }
  .navbar__list--bottom {
    display: none;
  }
}

/* Tablet and mobile */
@media screen and (max-width: 991.98px) {
  /* Video modal */
  .video-modal {
    top: 10%;
  }

  .video-modal__container {
    flex-direction: column;
    padding: 0 32px;
  }

  .video-modal__cta {
    flex-direction: row;
    order: 2;
    margin-top: 170px;
  }

  .video-modal__video {
    order: 1;
    margin-left: 0;
    top: 0;
    width: 100%;
  }

  .video-modal__video iframe {
    width: 100vw;
    margin-top: 100px;
    border-radius: 0;
  }

  .video-modal__content {
    order: 3;
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .video-modal__desc {
    width: 100%;
    text-align: justify;
  }

  .video-modal__close-icon {
    position: absolute;
    bottom: -120px;
    left: 18px;
  }

  .video-modal__source {
    margin-bottom: 0;
    margin-top: 20px;
  }
}

/* Tablet breakpoint */
@media screen and (min-width: 768px) and (max-width: 991.98px) {
  /* html {
		font-size: 58%;
	} */

  /* Podcast player */
  .podcast-player {
    padding: 32px 16px 16px;
  }

  .playlist {
    height: auto;
  }

  .container {
    width: 90%;
  }

  .container__history-grid {
    margin-top: 0;
  }

  /* Header adjustments */
  .header {
    padding: 0 32px;
  }

  /* Hero section */
  .hero__heading {
    line-height: 1.2;
    padding: 0 20px;
  }

  /* Navigation */
  .navbar__link {
    font-size: 2.4rem;
  }

  .hero-series__bg img {
    width: 100%;
  }

  /* Grid layouts */
  .vietnam-stories__body {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }

  .vietnam-stories__item {
    height: 250px;
  }

  .fascinating-books__body {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 20px;
  }

  .fascinating-book__row > p:last-child {
    padding-left: 0;
  }

  .category-books__body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .category-books__body--history {
    display: block;
  }

  .fascinating-book__img-wrap {
    height: 131px;
  }

  .fascinating-books__info {
    height: 300px;
    border-radius: 16px;
  }

  .fascinating-books__info img {
    border-radius: 16px;
    height: 275px;
  }

  .fascinating-book__row > p:last-child::after {
    display: none;
  }

  .fascinating-book__viegazine {
    width: 100%;
    margin-bottom: 10px;
  }

  .category__heading {
    font-size: 5.6rem;
  }

  .painting {
    padding: 40px 74px;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .painting__desc {
    font-size: 2rem;
    margin-bottom: 64px;
    line-height: 1.6;
  }

  .painting__img-wrap {
    height: 614px;
  }

  .story-told__btn {
    width: 220px;
    height: 40px;
    font-weight: 600;
    font-size: 1.6rem;
  }

  /* Modal adjustments */
  .modal__container {
    width: 350px;
  }

  /* Login form */
  .form-group {
    width: 450px;
  }

  /* Footer */
  .footer {
    padding: 40px 20px;
  }

  .series-content__list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .series-content__item {
    height: 350px;
  }

  /* Reading section */
  .reading {
    padding: 48px 0;
  }

  .reading__container {
    width: 90%;
    max-width: 680px;
  }

  .elementor-inner-section {
    padding: 0 30px;
  }
}

/* Mobile breakpoint */
@media screen and (max-width: 767.98px) {
  /* Podcast playlist */
  .playlist-item {
    padding: 10px;
    height: auto;
    flex-wrap: wrap;
    margin-left: auto;
  }

  .playlist-item__time {
    margin-top: 10px;
    position: relative;
    left: 40%;
    translate: -40%;
  }

  .podcast-player__row {
    flex-wrap: wrap;
    gap: 10px;
  }

  .container {
    width: 92%;
  }

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

  /* Header adjustments */
  .header {
    padding: 0 15px;
  }

  .header__btn btn {
    min-width: 80px;
    font-size: 1.4rem;
  }

  /* Hero section */
  .hero {
    height: 100vh;
  }

  .hero__sub-heading {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }

  .hero__heading {
    font-size: 3rem;
    line-height: 1.2;
    padding: 0 15px;
  }

  .hero__updown {
    margin-top: 20px;
  }

  .hero__updown--series {
    margin-top: -20px;
  }

  /* Navigation */
  .navbar {
    height: auto;
    top: 56px;
    overflow-x: auto;
  }

  .navbar--bottom {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
    gap: 10px;
  }

  .navbar-viegazine.navbar--bottom {
    flex-direction: initial;
  }
  .navbar-viegazine.navbar--bottom .search-form--bottom {
    width: auto;
  }

  .search-form--bottom {
    width: 90%;
    max-width: 100%;
    margin-bottom: 10px;
  }

  .navbar__list {
    height: auto;
    padding: 10px 0;
    justify-content: flex-start;
    gap: 1.5rem;
    width: max-content;
    padding: 10px 15px;
  }

  .navbar__link {
    font-size: 18px;
    white-space: nowrap;
    padding: 10px 5px;
  }

  /* Grid layouts */
  .vietnam-stories__heading,
  .fascinating-books__heading,
  .series__heading {
    font-size: 4.5rem;
    margin: 50px 0 30px;
  }

  .vietnam-stories__heading {
    font-size: 4rem;
  }

  .vietnam-stories__body {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .vietnam-stories__item {
    height: 320px;
  }

  .vietnam-stories__title {
    font-size: 2.8rem;
  }

  .fascinating-books__body {
    grid-template-columns: 1fr;
    gap: 40px 0;
  }

  .fascinating-book__img-wrap {
    height: 200px;
  }

  .fascinating-book__title {
    font-size: 2.4rem;
    margin: 12px 0;
  }

  h2.category__heading {
    font-size: 5.6rem;
  }

  .category-book__title {
    font-size: 3rem;
  }

  .category-book__img-wrap {
    height: 225px;
  }
  .container__history-grid {
    margin-top: 200px;
  }

  .category-book {
    /* height: 0; */
    margin: 40px 0;
  }

  /* Painting section */
  .painting {
    padding: 52px 56px 64px;
  }

  .painting__desc {
    font-size: 2rem;
  }

  .painting__img-wrap {
    height: 400px;
  }

  .history-grid__btn,
  .story-told__btn {
    padding: 10px 15px;
  }

  /* Footer */
  .footer {
    padding: 30px 15px;
  }

  .footer__social {
    gap: 20px;
    margin: 25px 0;
  }

  .footer__social a:first-child svg {
    width: 12px;
  }

  .footer__copyright {
    margin-bottom: 30px;
    font-size: 1.6rem;
  }

  .footer__desc {
    font-size: 1.4rem;
    line-height: 1.5;
  }

  /* Modal */
  .modal__container {
    width: 280px;
  }

  .modal__search {
    padding: 15px 0;
  }

  .modal__body {
    padding: 30px 20px;
  }

  .modal__link {
    font-size: 2.8rem;
    padding: 10px 0;
  }

  /* Login form */
  .login-form__heading {
    font-size: 3.6rem;
  }

  .form-group {
    width: 90%;
    max-width: 400px;
  }

  .form-group__input {
    height: 50px;
  }

  .form-group__social-link {
    height: 40px;
  }

  .form-group__submit-btn {
    margin-top: 30px;
  }

  .series-content__list {
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
  }

  .series-content__item {
    height: 400px;
  }

  /* Reading section */
  .reading {
    padding: 40px 0;
  }

  .reading__container {
    width: 85%;
  }

  .reading figure {
    margin: 24px 0;
  }

  .elementor-inner-section {
    flex-direction: column;
    padding: 0 20px;
    margin-top: 24px;
    margin-bottom: 24px;
  }

  .elementor-inner-section figure {
    max-width: 100%;
    margin-bottom: 16px;
  }

  .reading__end {
    margin-top: 40px;
  }

  .reading__end-title {
    font-size: 1.8rem;
  }

  .reading__socials-group {
    gap: 10px;
  }

  .elementor-share-btn {
    width: 44px;
    height: 44px;
  }

  /* Media COMIC */
  .fascinating-books-comic__body {
    grid-template-columns: 1fr;
  }

  .store-comic {
    grid-template-columns: repeat(2, 1fr);
  }

  .store-comic__img-wrap {
    height: auto;
  }

  .store-comic__img-wrap::after {
    padding: 20px;
  }
}

/* Extra small devices */
@media screen and (max-width: 479.98px) {
  /* Header */
  .header__btn btn {
    min-width: 70px;
    height: 32px;
    font-size: 1.2rem;
  }

  .navbar {
    display: none;
  }

  /* Hero */
  .hero__heading {
    font-size: 2.6rem;
    padding: 0 10px;
  }

  .vietnam-stories__body {
    gap: 44px;
  }

  .vietnam-stories__item {
    height: 187px;
  }

  .vietnam-stories__title {
    font-size: 3.6rem;
  }

  .story-told__btn {
    width: 32%;
    height: 39px;
    font-size: 1.6rem;
    font-weight: bold;
  }

  /* Login form */
  .login-form__heading {
    font-size: 3.2rem;
  }

  .form-group__social-text {
    font-size: 1.2rem;
  }

  /* Footer */
  .footer__row img {
    max-width: 90%;
  }

  .series-content__item {
    height: 561px;
  }

  /* Reading section */
  .reading {
    padding: 32px 0;
  }

  .reading__container {
    width: 94%;
  }

  .reading figure {
    margin: 20px 0;
  }

  .reading__img-group {
    padding: 0 15px;
    gap: 12px;
  }

  .reading__socials-link {
    width: 40px;
    height: 40px;
  }

  .reading__socials-link svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 991px) {
  .category-books__body--history {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .category-books__body--history .first-item-row {
    grid-column: 1 / -1;
    width: 100%;
  }

  .category-books__body--history .first-item-row .fascinating-book__img-wrap {
    height: 400px;
  }

  .category-books__body--history .first-item-row .fascinating-book__title {
    font-size: 3.2rem;
  }

  /* Comic */
  .comic-series__img-title-wrap .comic-series__img-title {
    height: auto;
    width: 250px;
  }

  .comic-series__img-title-wrap {
    height: 191px;
    width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile layout */
@media (max-width: 767px) {
  .category-books__body--history {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 992px) {
  .category-books__body--history {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
  }

  .category-books__body--history .first-item-row {
    grid-column: auto;
  }

  .category-books__body--history .first-item-row .fascinating-book__img-wrap {
    height: 224px;
  }

  .category-books__body--history .first-item-row .fascinating-book__title {
    font-size: 3rem;
  }
}

/* Start of search page */
.header__btn-search-page {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__text-search {
  font-family: "SVN-Tiempos Headline";
  font-size: 18px;
  font-style: italic;
  font-weight: 300;

  color: var(--primary-color-50);
}

.header__heading-search-page {
  margin: 136px 0 48px;

  color: var(--text-tagline-color);

  font-family: "SVN-Tiempos Fine";
  font-size: 92px;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  line-height: 138px;
}
.seach-page__row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 52px 48px;
}
.search-page__btn {
  width: min(450px, 100%);
  height: 40px;
  border: 1px solid transparent;

  background-color: #f3e6ff;
  color: var(--primary-color-500);

  font-size: 1.6rem;
  font-family: "SVN-Basis Grotesque Pro";
  border-radius: 9999px;
  font-weight: 500;
}

.search-page__notsuitable {
  display: none;
  text-align: center;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
  color: #000;
  height: 472px;
  margin-bottom: 48px;
}

@media screen and (max-width: 480px) {
  .search-page__img-wrap {
    height: auto;
  }
}

/* Start of search page */
.header__btn-search-page {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header__text-search {
  font-family: "SVN-Tiempos Headline";
  font-size: 18px;
  font-style: italic;
  font-weight: 300;

  color: var(--primary-color-50);
}

.header__heading-search-page {
  margin: 136px 0 48px;

  color: var(--text-tagline-color);

  font-family: "SVN-Tiempos Fine";
  font-size: 92px;
  font-style: italic;
  font-weight: 300;
  text-align: center;
  line-height: 138px;
}
.seach-page__row {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 52px 48px;
}
.search-page__btn {
  width: min(450px, 100%);
  height: 40px;
  border: 1px solid transparent;

  background-color: #f3e6ff;
  color: var(--primary-color-500);

  font-size: 1.6rem;
  font-family: "SVN-Basis Grotesque Pro";
  border-radius: 9999px;
  font-weight: 500;
}

.search-page__notsuitable {
  display: none;
  text-align: center;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
  color: #000;
  height: 472px;
  margin-bottom: 48px;
}

@media screen and (max-width: 640px) {
  .search-page__img-wrap {
    height: auto;
  }
}
/* End of search page */

/* Comic modal */
.row {
  --bs-gutter-x: 0;
}

.comic-modal {
  position: fixed;
  z-index: 999999999;
  inset: 0;
  background: #cccc;
  background-color: rgb(100 100 100);
  visibility: hidden;
  opacity: 0;

  transition: visibility 0.4s, opacity 0.4s;
}

.comic-modal.show {
  visibility: visible;
  opacity: 1;
  backdrop-filter: blur(20px)
}

.comic-modal__btn-close-modal {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: #fff;

    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 9;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 32px;
    height: 32px;

    background: var(--text-tagline-color);
    border-radius: 50%;
    cursor: pointer;
}

.comic-modal__header {
  display: flex;
  background: #fff;
  align-items: center;
  justify-content: space-between;
  color: var(--primary-color-500);
  padding: 0 40px;
  height: 56px;
}

.comic-modal__logo {
  width: 148px;
}

.scroll-block {
  overflow: hidden;
}

.comic-modal__login {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  font-family: "SVN-Basis Grotesque Pro";
  font-weight: 500;
  height: 40px;

  background-color: rgb(243 230 255);
  color: rgb(107 19 182);
  border-radius: 9999px;
}

.comic-modal__body {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  height: 100vh;
  padding: 10%;
}

.comic-modal__content {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;

  width: 100%;
  border: 8px solid #bdbdbd;
  border-radius: 16px;
  background: var(--text-tagline-color);
}

.comic-modal__left {
  background: var(--text-tagline-color);
  padding: 0 48px;
  border-radius: 16px;
}

.comic-modal__img {
  display: block;
  height: 100%;
  object-fit: cover;
}

.comic-modal__right {
  position: relative;
  background: #fff;
  overflow: auto;
}

.comic-modal__text {
  position: absolute;
  inset: 0;

  padding: 32px;
  overflow-y: auto;
}

.comic-modal__sub-title {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
  font-weight: 500;
  color: #000;
}

.comic-modal__title {
  margin: 4px 0 8px;
  font-family: "SVN-Tiempos Fine";
  font-size: 3.6rem;
  font-weight: 300;
  line-height: 54px;
}

.comic-modal__value {
  margin-top: 8px;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.8rem;
  line-height: 27px;
}

.comic-modal__btn-left,
.comic-modal__btn-right {
  position: absolute;
  left: -68px;
  top: 50%;
  transform: translateY(-50%);

  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;

  border: 1px solid #fff !important;
}

.comic-modal__btn-right {
  left: initial;
  right: -68px;
  transform: rotate(180deg);
}

.comic-modal__icon-list {
  position: fixed;
  right: 11px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.comic-modal__icon-list .comic-modal__icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--text-tagline-color);
  border-radius: 12px;
  color: #fff;
  transition: background 0.5s;
}

.comic-modal__icon-list .comic-modal__icon-btn:hover {
  background: #e9d1ff;
}

.comic-modal__icon-btn.comic-modal__icon-btn--active {
  background: #e9d1ff;
}

.comic-modal__mobile {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;

  height: 100vh;
  background: #5f5f5fb3;

}

.comic-modal__mobile-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    overflow-y: auto;
    height: 100%;
    background: #5f5f5fb3;
}

.comic-modal__mobile-img-wrap {
  border: 8px solid #ccc;
  border-radius: 12px;
  overflow-y: auto;
}

.comic-modal__mobile-img {
  display: block;
  height: 100%;
  width: auto;
  object-fit: cover;
}

.comic-modal__mobile-body {
  padding: 20px 20px;
}

.comic-modal__mobile-sub-title {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
}
.comic-modal__mobile-title {
  margin: 4px 0 8px;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 2.4rem;
  font-weight: 500;
  color: #fff;
  line-height: 33px;
}

.comic-modal__mobile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.comic-modal__mobile-btn {
  padding: 0 12px;
  height: 40px;
  border-radius: 12px;
  color: #f3e6ff;
  background: #ffffff1a;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
  font-weight: 500;
}

.comic-modal__mobile-btn:hover {
  color: #5f5f5f;
  background: rgb(233 209 255);
}

.comic-modal__mobile-btn.comic-modal__mobile-btn--active {
  color: #5f5f5f;
  background: rgb(233 209 255);
}

.comic-modal__icon-list.comic-modal__mobile-icon-list {
  position: initial;
  flex-direction: row;
      transform: translateY(0);
}

.comic-modal__mobile-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #ffffff1a;
  border-radius: 12px;
  color: #fff;
}

.comic-modal__mobile-icon-btn:hover {
  background: #e9d1ff;
}

.comic-modal__mobile-icon-btn.comic-modal__icon-btn--active {
  background: #e9d1ff;
}

.comic-modal__mobile-btn-row {
  display: flex;
  align-items: center;
  justify-content: center;

  margin-top: 8px;
}
.comic-modal__mobile-btn-down {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  color: #fff;
}

.comic-modal__mobile-bottom {
    position: fixed;
    inset: 0;
    background: #0000004d;
}

.comic-modal__mobile-bottom::before {
    content:"";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;

    height: 200px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.34) 48.96%, rgba(0, 0, 0, 0.80) 100%);
}

.comic-modal__mobile-bottom-inner {
  padding: 40px 20px 100px;
  height: 100%;
  overflow-y: auto;
  background: #0000004d;
}

.comic-modal__mobile-bottom-inner-sub-text {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.4rem;
  font-weight: 500;
  color: #fff;
}

.comic-modal__mobile-bottom-inner-heading-text {
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 2.4rem;
  font-weight: 500;
  color: #fff;
  line-height: 33px;
  margin-top: 12px;
  margin-bottom: 12px;
}

.comic-modal__mobile-bottom-inner p {
  margin-top: 8px;
}

.comic-modal__mobile-bottom-inner .comic-modal__mobile-value {
    font-family: "SVN-Basis Grotesque Pro";
    font-size: 1.8rem;
    color: #fff;
    line-height: 27px;
}

.comic-modal__mobile-bottom-btn-list {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.comic-modal__mobile-bottom-btn-list .comic-modal__mobile-bottom-btn {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 40px;
  height: 40px;
  background: var(--text-tagline-color);
  color: #fff;
  border-radius: 8px;
}

.comic-modal__mobile-bottom-btn-list
  .comic-modal__mobile-bottom-btn:nth-child(2) {
  margin-left: auto;
}

.comic-modal__mobile-bottom-btn.comic-modal__icon-btn--active {
  background: #e9d1ff;
}

.comic-modal__mobile-bottom-btn:hover {
  background: #e9d1ff;
}

.hide {
  display: none;
}

@media screen and (max-width: 639px) {
  .comic-modal__body {
    display: none;
  }

  .comic-modal__mobile {
    display: flex;
  }

  .comic-modal {
    backdrop-filter: blur(42px);
    background: initial;
  }
}

.menu-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    display: none;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
    height: 54px;
    background: #fff;
    color: #000;
    width: 100vw;
}

.menu-mobile__item {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 4px;

    padding: 6px 4px;
}

.menu-mobile__item  {
    color: #000;
}
.menu-mobile__text {
    font-size: 1.2rem;
    font-family: SVN-Basis Grotesque Pro;
    font-weight: 500;
}

.menu-mobile__item.menu-mobile__item--active {
    color: var(--primary-color-50);
}

@media screen and (max-width: 639px) {

    .menu-mobile {
        display: flex;
    }
}

/* Start of choose img */
.form-control {
    font-size: 1.6rem;
}

.d-flex.align-items-center.px-2.pb-3 {
    gap: 8px;
    margin-bottom: 16px;
}
/* End of choose img */

/* Start of toast */
.toast-header {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px;
    font-size: 1.6rem;
    font-family "SVN-Tiempos Fine"
}

.toast-header strong.text-primary {
   color: var(--primary-color-50) !important;
}

.toast-body {
    padding: 8px;
    font-family "SVN-Tiempos Headline";

    font-size: 1.4rem;
}
/* End of toast */

/* Start of page 404 */
.page-wrapper,
.error-page-wrapper {
    padding-top: 132px;
    text-align: center;
    min-height: calc(100vh - 316px );
}

.error-content {
    padding: 16px 32px;
}

.error-content h3{
    width: 80%;
    margin: 16px auto;
}

.error-content p{
    line-height: 24px;
    font-size: 1.6rem;
    font-family: "SVN-Basis Grotesque Pro";
}

/* Start of page success */
.simple-container {
    padding-top: 132px;
    text-align: center;
    min-height: calc(100vh - 316px );
}

.simple-container h1 {
    margin-bottom: 32px;
}

.simple-container span{
    margin-top: 8px;
    line-height: 24px;
    font-size: 1.6rem;
    font-family: "SVN-Basis Grotesque Pro";
    text-align: justify;
}

.simple-container button{
    padding: 8px 16px;
}

/* Start of video-details*/
.video-detail {
    margin-top: 112px;
}

.video-detail__video-container {
  position: relative;
  width: 100%;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

.video-detail__video {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  width: 100%;
}

/* Ensure the video container maintains aspect ratio */
.video-detail__video {
  position: relative;
  width: 100%;
}

.video-detail__info {
    margin-top: 24px;
}

.video-detail__iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

/* Add this to your existing styles */

/* Custom Video.js styling */
.video-js {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
}

/* Style the video player to match original design */
.vjs-default-skin {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.vjs-icon-placeholder::before {
  position: absolute;
  background: red;
}

/* Custom control bar styling to match the design */
.video-js .vjs-control-bar {
  background-color: rgba(43, 51, 63, 0.7);
  border-radius: 0 0 8px 8px;
}

.video-js .vjs-big-play-button {
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  line-height: 76px;
  font-size: 3rem;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.video-js:hover .vjs-big-play-button,
.video-js .vjs-big-play-button:focus {
  background-color: rgba(0, 0, 0, 0.7);
  border-color: #fff;
}

/* Make sure the video maintains its position */
.video-detail__video .video-js {
  position: static;
  top: auto;
  left: auto;
  transform: none;
  height: auto !important;
}

/* Video Information Styles */
.video-detail__chapter {
  font-size: 1.8rem;
  color: var(--text-tagline-color);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.video-detail__tag {
  margin-left: 16px;
  color: #a3a3a3;
}

.video-detail__title {
    margin-top: 16px;
  font-size: 4rem;
  color: var(--text-headline-color);
  font-family:  "SVN-Tiempos Fine", sans-serif;
  line-height: 50px;
}

.video-detail__description {
margin-top: 24px;
  color: var(--text-tagline-color);
    font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.8rem;
  line-height: 27px;
}

/* CTA Button Styles */
.video-detail__cta {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: flex-end;
}

.video-detail__icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #e5e5e5;
  color: #151515;
  transition: all 0.3s ease;
}
.video-detail__icon-link:hover,
.video-detail__icon-link.video-modal__icon-link--active {
    background: #E9D1FF;
}

/* Playlist Styles */
.video-detail__playlist {
  max-height: 425px;
  background: var(--gray-bg);
  border-radius: 12px;
  position: relative;
  overflow-y: auto;
  outline: #ccc solid 1px;
  margin-left: 32px;
}

.playlist-title {
    padding: 12px 32px;

    color: var(--text-headline-color);
    font-size: 2.4rem;
    font-weight: 500;
    font-family: "SVN-Basis Grotesque Pro"
}

.playlist-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 25px;

  padding: 14px 0 42px;

  border-top: 0.5px solid #0003;
}

.playlist-item {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 24px;

  width: 100%;

  border-radius: 8px;
  cursor: pointer;
  position: relative;
  height: 80px;
}
.playlist-item__thumbnail {
  position: relative;
  width: 148px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}

.playlist-item__thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.playlist-item__content {
  flex: 1;
}

.playlist-item__title {
  font-size: 2rem;
  font-family: "SVN-Tiempos Fine", sans-serif;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-item__desc {
  font-size: 1.2rem;
  color: var(--text-tagline-color);
  font-weight: 500;
  font-family: "SVN-Basis Grotesque Pro"
}

.playlist-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 12px;
    padding: 0 16px;
}

.playlist-count {
    font-family: "SVN-Basis Grotesque Pro";
    color: var(--text-headline-color);
    font-size: 1.4rem;
    font-weight: 500;
}

.btn-share,
.btn-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.5s;
}

.btn-follow {
  gap: 6px;
  width: min(118px, 100%);
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  color: var(--text-headline-color);
  background: #e5e5e5;
  font-family: "SVN-Basis Grotesque Pro";
  font-size: 1.6rem;
  font-weight: 500;
}

.btn-share {
  width: 42px;
  height: 42px;
  margin-left: 8px;
  border-radius: 50%;
  border: 1px solid #dee2e6;
  background: #e5e5e5;
}

.btn-share svg {
  color: #444;
}

.btn-share:hover,
.btn-follow:hover {
  background: #E9D1FF;
}

.video-detail__body {
    padding: 88px 0;
}

.video-detail-content__title {
  margin-bottom: 32px;

  color: var(--text-headline-color);
  text-align: center;

  font-size: 5.2rem;
  font-weight: 300;
  font-style: italic;
  font-family: "SVN-Tiempos Fine", sans-serif;
}

.video-detail-content__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.video-detail-content__list-mobile {
    display: none;
}

.video-detail-content__item {
  width: 100%;
  position: relative;
}

.video-detail-content__item::before {
  content: "";
  position: absolute;
  z-index: 99999;
  inset: 0;
  width: 100%;
  height: inherit;
  background-image: linear-gradient(
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0) 26.04%,
      rgba(0, 0, 0, 0) 47.92%,
      rgba(0, 0, 0, 0.03) 73.96%,
      rgba(0, 0, 0, 0.03) 100%
    ),
    linear-gradient(rgba(0, 0, 0, 0) 29.17%, rgba(0, 0, 0, 0.38) 91.67%);
    /* background: red;*/
  pointer-events: none;
  border-radius: 22px;
}

.video-detail-content__link {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
  position: relative;
}

.video-detail-content__link img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 2.5s ease, filter 0.5s ease;
  border-radius: 28px;
}

.video-detail-content__link img:nth-child(2) {
  position: absolute;
  top: 80%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  max-height: 50%;
  object-fit: contain;
  z-index: 1;
}

.video-detail-content__link:hover img:first-child {
  transform: scale(1.05);
  border-radius: 28px;
}

.video-detail__row {
    display: flex;
    justify-content: center;
    margin-bottom: 88px;
}

.video-detail__btn-more {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 200px;
    height: 40px;
    margin-top: 30px;

    border-radius: 9999px;
    color: var(--primary-color-500);
    background: #F3E6FF;

    font-family: "SVN-Basis Grotesque Pro";
    font-weight: 500;

    transition: background 0.5s
}

.video-detail__btn-more:hover {
    background: #E9D1FF;
}

.video-detail__slider-wrapper {
  width: 80vw;
  overflow: hidden;
  border-radius: 10px;
}

.video-detail__slider {
  display: flex;
  transition: transform 0.3s ease-in-out;
}

.video-detail__slide {
  min-width: 80vw;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  font-weight: bold;
  color: #fff;
}


/* Responsive Adjustments */
@media (max-width: 991px) {
  .video-detail__description {
    max-width: 100%;
  }

  .video-detail__cta {
    margin-top: 20px;
    justify-content: flex-start;
  }

  .playlist-container {
    align-items: flex-start;
  }
}

@media (max-width: 767.98px) {
    .video-detail__body {
        padding: 44px 0;
    }
    .video-detail-content__slider {
       width: 80vw;
       height: 550px;
       overflow: hidden;
       margin: 0 auto;
    }

   .video-detail-content__list {
        width: 300%;
        height: 100%;
        display: flex;
        gap: 0;
        margin: 0 auto;
        transition: all 0.4s;
   }

   .video-detail-content__item {
        width: 33.33333%;
        flex-shrink: 0;
   }

  .video-detail__cta {
    margin-top: 20px;
    justify-content: flex-start;
  }

  .playlist-item {
    flex-wrap: wrap;
  }

  .playlist-item__thumbnail {
    width: 100px;
    height: 56px;
  }
}

@media screen and (max-width: 1199.998px) {
    .video-detail__cta {
        justify-content: start;
        margin: 32px 0;
    }

    .video-detail__playlist {
        margin-left: 0;
    }
}

/* End of video-details */

/* Start of loading */
.screen-loading {
    position: fixed;
    inset: 0;
    z-index: 999999999999;

    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    opacity: 0.8;
}
/* End of loading */

/* Start of toast */
.global-toast {
    z-index: 9999999999;
    top: 66px !important;
}
/* End of toast */

/**** share modal ****/
.share-modal {
    position: fixed;
    inset: 0;
    z-index: 99999999999;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgb(0 0 0 / .2);
}

.share-modal .modal-content {
    max-width: 320px;
    width: 100%;
    border-radius: 0.5rem;
    background-color: #fff;
    position: relative;
    padding: 1.5rem !important;
}

.share-modal .modal-content .share-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.share-modal .modal-content .share-header .close-icon {
    padding: 5px;
}

.share-modal .modal-content .icon-list {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 15px 0;
}

.share-modal .modal-content .icon-list img {
    width: 30px;
    height: 30px;
    object-fit: cover;
}

.share-modal .modal-content .share-url {
    color: rgb(75 85 99);
    font-size: 12px;
    line-height: 1.25rem;
    background-color: rgb(243 244 246);
    border-radius: 0.375rem;
    padding: .5rem;
    margin-bottom: 15px;
    overflow: hidden;
}

.share-modal .modal-content .copy-button {
    color: rgb(107 114 128);
    font-size: 12px;
    line-height: 1.25rem;
    text-align: center;
    width: 100%;
}

/**** checkout ****/
.shopping-cart-checkout-wrapper {
  margin-top: 136px !important;
  margin-bottom: 45px;
}

.shopping-cart-checkout-wrapper .form-group {
    width: inherit !important;
}

.checkout-order-delivery-information {
  h2, span {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.shopping-cart-checkout-title {
  padding-bottom: 30px;
  text-align: center;
  text-transform: uppercase;
  font-size: 36px;
  font-weight: 700;
  color: var(--primary-color-50);
}

.shopping-cart-checkout-wrapper .section-title {
    font-size: 24px; !important;
    color: var(--primary-color-50);
}

.shopping-cart-checkout-wrapper .checkout-minus-product-button,
.shopping-cart-checkout-wrapper .checkout-plus-product-button,
.shopping-cart-checkout-wrapper .delete-shopping-cart-product-button{
    background-color: inherit !important;
    padding: 10px !important;
    height: inherit !important;
    min-width: inherit !important;
}

.shopping-cart-checkout-wrapper .card {
    --bs-card-spacer-x: 0;
    --bs-card-border-width: 0;
    --bs-card-bg: inherit;
    --bs-card-cap-bg: inherit;
}

.shopping-cart-checkout-wrapper .form-select {
    font-size: inherit; !important;
}

.shopping-cart-checkout-wrapper .discount-form-separator {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
}

.shopping-cart-checkout-wrapper .shopping-cart-checkout-summary {
    gap: 10px !important;
}

.shopping-cart-checkout-wrapper #deliveryOptionStoreBody {
    padding-left: 1rem !important;
}

.shopping-cart-checkout-wrapper .checkout-bank-account-information {
    gap: 10px;
}

@media screen and (min-width: 768px) {
    .shopping-cart-checkout-content-left {
        padding-right: 12px;
    }

    .shopping-cart-checkout-content-right {
        padding-left: 12px;
    }
}

/********** order ***********/
.account-sidebar {
    padding-right: 12px;
}

.account-sidebar .nav-sidebar {
    text-align: left;
}

.account-sidebar .nav-sidebar li a {
    padding: 8px 10px;
    color: var(--primary-color-500) !important;
}

.account-sidebar .nav-pills .nav-link.active,
.account-sidebar .nav-pills .show>.nav-link {
    background-color: var(--primary-color-100) !important;
}

/********** author **********/
.author-container {
    margin-top: 120px;
}

.author-information-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.author-avatar-wrapper {
    display: flex;
    justify-content: center;
}

.author-avatar-wrapper .author-avatar {
    width: 200px;
    height: 200px;
    object-fit: cover;
}

.page-wrapper .page-header .page-title {
    text-transform: uppercase;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color-50);
    padding-bottom: 30px;
}

.page-wrapper .container {
    padding-bottom: 30px;
}

.order-details-order-id {
    text-align: left;
    font-size: 24px;
}

.order-details-status-wrapper,
.order-details-created-at,
.order-details-approved-at {
    text-align: left;
    padding-bottom: 10px;
}

.order-list-table th,
.order-list-table td {
    background-color: inherit;
}

.order-details-product-price,
.order-details-product-total-amount-money {
    text-align: left;
}

/******** pagination *********/
.pagination .page-link {
    font-size: 1rem;
}
.pagination-arrows {
    display:flex;
    align-items: center;
    justify-content: center;
}
.pagination-arrows a,
.pagination-arrows span {
    display:flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    cursor: pointer;
}
.pagination-arrows a,
.pagination-arrows span {
    color: #fff;
}
.pagination-arrows a:hover,
.pagination-arrows span:hover {
    text-decoration: none;
}
.pagination-arrows a:nth-child(1),
.pagination-arrows a:nth-child(5),
.pagination-arrows #prevPageButton,
.pagination-arrows #nextPageButton {
    color: var(--primary-color);
}
.pagination-arrows span:nth-child(1),
.pagination-arrows span:nth-child(5) {
    background: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border-width: 1px;
    border-color: var(--primary-color);
}
.pagination-sm .page-link { font-size: 1rem; }
