* {
  box-sizing: border-box;
}

body {
  font-family: "Nunito", sans-serif;
  background: linear-gradient(180deg, #fff 0%, #fff6fb 100%);
  color: #3F3A6D;
  margin: 0;
  min-width: 360px;
}
body a {
  text-decoration: none;
  color: inherit;
}
body img {
  max-width: 100%;
  display: block;
}
body button, body a {
  outline: unset;
}
body .playlist-notice {
  position: absolute;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 99999;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
body .playlist-notice:before {
  content: "";
  position: absolute;
  top: -6px;
  right: 33px;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(0, 0, 0, 0.85);
}
body .playlist-notice.show {
  opacity: 1;
  transform: translateY(10px);
}

header {
  background: linear-gradient(120deg, #6EC1FF, #FF9EB5, #FFD166);
  box-shadow: 0 4px 20px rgba(138, 167, 255, 0.25);
  padding: 5px 40px;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 999999;
}
header .header-inner {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 77px;
  max-width: 1300px;
}
header .header-inner .dropdown-menu {
  position: absolute;
  top: calc(100% + 2px);
  left: 0;
  min-width: -moz-max-content;
  min-width: max-content;
  background: #f9dae5;
  list-style: none;
  padding: 8px 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: 0.2s ease;
  border-radius: 18px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  z-index: 1000;
}
header .header-inner .dropdown-menu li a {
  padding: 10px 16px;
  font-size: 14px;
  color: #e5e7eb;
}
header .header-inner .dropdown-menu li a:hover {
  background: #1f2933;
}
header .header-inner .dropdown:hover .icon-arrow-down {
  transform: rotate(180deg);
}
header .header-inner .dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
header .header-inner .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}
header .header-inner .menu .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}
header .header-inner .menu .menu-list > li {
  position: relative;
  flex-shrink: 0;
}
header .header-inner .menu .menu-list .dropdown-menu > li {
  padding: 9px 15px;
  border-radius: 999px;
  text-decoration: none;
  color: #3F3A6D;
  font-weight: 600;
  transition: 0.3s;
  flex-shrink: 0;
}
header .header-inner .menu .menu-list .dropdown-menu > li a {
  background: transparent;
  padding: unset;
  display: block;
  font-size: 16px;
}
header .header-inner .menu .menu-list a {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  color: #3F3A6D;
  font-weight: 600;
  transition: 0.3s;
  gap: 3px;
}
header .header-inner .menu .menu-list a .icon-arrow-down {
  background-color: #3F3A6D;
  width: 20px;
  height: 20px;
  transition: 0.3s;
}
header .header-inner .menu .menu-list a:hover .icon-arrow-down {
  transform: rotate(180deg);
}
@media (max-width: 990px) {
  header .header-inner .menu .menu-list a {
    font-size: 13px;
    padding: 7px 13px;
  }
}
header .header-inner .logo {
  font-size: 28px;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: 10px;
  flex-shrink: 0;
}
header .header-inner .logo img {
  max-width: 100%;
  width: 150px;
}
@media (max-width: 990px) {
  header .header-inner .logo img {
    width: 140px;
  }
}
header .header-inner .search {
  background: #fff;
  border-radius: 30px;
  padding: 8px 18px;
  min-width: 240px;
  display: flex;
}
header .header-inner .search input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 14px;
}
header .header-inner .search button {
  outline: unset;
  border: none;
  background: unset;
  cursor: pointer;
}
@media (max-width: 990px) {
  header .header-inner .search {
    padding: 4px 16px;
    min-width: 230px;
  }
  header .header-inner .search .icons {
    width: 20px;
    height: 20px;
  }
}
header .header-inner .burger {
  display: none;
}
@media (max-width: 990px) {
  header .header-inner {
    height: 70px;
  }
}
header .header-inner .favorite {
  animation: shake-pause 3s ease-in-out infinite;
  transform-origin: center;
}
@keyframes shake-pause {
  0%, 70%, 100% {
    transform: rotate(0deg);
  }
  75% {
    transform: rotate(-5deg);
  }
  80% {
    transform: rotate(5deg);
  }
  85% {
    transform: rotate(-3deg);
  }
  90% {
    transform: rotate(3deg);
  }
}

.categories {
  max-width: 1200px;
  margin: 32px auto 32px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 16px;
}
.categories .cat {
  padding: 26px;
  border-radius: 24px;
  text-align: center;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 700;
  color: #3F3A6D;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.categories .cat:hover {
  transform: translateY(-6px);
}
.categories .magic {
  background: #E8F2FF;
  border: 1px solid #bed7f7;
}
.categories .dragon {
  background: #FFE9E1;
  border: 1px solid #ffc9b4;
}
.categories .royal {
  background: #FFF3CC;
  border: 1px solid #ffdd76;
}
.categories .night {
  background: #ECE9FF;
  border: 1px solid #e6baed;
}
.categories .animal {
  background: #E6FAF1;
  border: 1px solid #b5ebd3;
}
.categories .holiday {
  background: #FFEFF4;
  border: 1px solid #f9d5e0;
}

.layout {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px;
}
.layout .hero {
  margin: 20px auto;
  background: linear-gradient(120deg, #fdf1ff, #e9fbff);
  border-radius: 40px;
  padding: 48px 28px;
  text-align: center;
  border: 1px solid rgba(63, 81, 181, 0.1215686275);
}
.layout .hero h1 {
  font-size: clamp(23px, 4vw, 44px);
  margin-bottom: 16px;
  margin-top: 0;
}
.layout .hero p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16px;
  opacity: 0.85;
}
.layout .block-tags {
  --visible-tags: 6;
  margin: 40px auto;
  background: linear-gradient(120deg, #fdf1ff, #e9fbff);
  border-radius: 40px;
  padding: 10px 40px 20px 40px;
  border: 1px solid rgba(63, 81, 181, 0.1215686275);
}
.layout .block-tags h2 {
  font-size: 25px;
  margin-bottom: 25px;
}
.layout .block-tags .tags {
  gap: 5px;
}
.layout .block-tags .tag {
  opacity: 1;
  transform: translateY(0);
  max-height: 40px;
  margin: 4px;
  padding: 9px 16px;
  border: 1px solid #e7e7e7;
  background: rgba(255, 255, 255, 0.6);
  color: #3f3a6d;
  transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease, margin 0.35s ease;
}
.layout .block-tags .tag.hidden {
  opacity: 0;
  transform: translateY(8px);
  max-width: 0;
  max-height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  pointer-events: none;
}
.layout .block-tags .cats-wrapper .tag {
  padding: 26px;
  border-radius: 24px;
  text-align: center;
  font-weight: 700;
  color: #3F3A6D;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
}
.layout .block-tags hr {
  opacity: 0.1;
  margin-top: 30px;
}
.layout .block-tags .show-more-btn {
  display: flex;
  width: -moz-max-content;
  width: max-content;
  align-self: flex-start;
  background: linear-gradient(90deg, #6EC1FF, #FF9EB5);
  color: #fff;
  padding: 10px 18px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  margin-top: 17px;
}
.layout .stories {
  max-width: 1200px;
  margin: 35px auto 35px auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}
.layout .stories .story {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
  border: 1px solid #e2e2e2;
}
.layout .stories .story img {
  width: 100%;
  height: 180px;
  -o-object-fit: cover;
     object-fit: cover;
}
.layout .stories .story .story-content {
  padding: 15px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.layout .stories .story .story-name {
  margin: 0;
  font-size: 20px;
  font-weight: bold;
}
.layout .stories .story .mini-story {
  font-size: 14px;
  opacity: 0.8;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.layout .stories .story:hover {
  transform: translateY(-6px);
}
.layout .stories .story .story-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.layout .stories .story .story-footer .story-info {
  display: flex;
  align-items: center;
  gap: 5px;
}
.layout .stories .story .story-footer .story-info span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #3f3a6d;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 8px;
  border-radius: 999px;
  border: 1px solid #e7e7e7;
  cursor: help;
}
.layout .stories .story .story-footer .story-info span .icons {
  width: 18px;
  height: 18px;
  background-color: #3f3a6d;
}
.layout .stories .story .story-footer .story-info span.btn-favorite {
  cursor: pointer;
}
.layout .stories .story .story-footer .story-info span.btn-favorite.active {
  border: 1px solid #F44336;
  background: rgb(255, 107, 96);
}
.layout .stories .story .story-footer .story-info span.btn-favorite.active .icons {
  background-color: #ffffff;
}
.layout .stories .story .btn-story {
  align-self: flex-start;
  background: linear-gradient(90deg, #6EC1FF, #FF9EB5);
  color: #fff;
  padding: 6px 12px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.25s ease;
}
.layout .stories .story .btn-story:hover {
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  opacity: 0.8;
}
.layout .tags {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 14px;
}
.layout .tags a {
  background: linear-gradient(90deg, #6EC1FF, #FF9EB5);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 500;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.layout .tags a:hover {
  transform: translateY(-3px);
}
.layout .contact-page {
  max-width: 1200px;
  margin: 0 auto;
}
.layout .contact-page .contact-text {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  font-size: 18px;
  border: 1px solid #ebebeb;
}
.layout .contact-page .contact-text p {
  margin-bottom: 22px;
}
.layout .contact-page .contact-text ul {
  line-height: 2;
}
.layout .contact-page .contact-text h1 {
  margin-top: 0;
  text-align: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s, transform 0.1s;
  white-space: nowrap;
}
.btn.btn-primary {
  background: linear-gradient(135deg, #1e88e5, #ffd54f);
  color: #0d1b2a;
  box-shadow: 0 8px 18px rgba(25, 118, 210, 0.35);
}
.btn.btn-primary:hover {
  box-shadow: 0 10px 22px rgba(25, 118, 210, 0.45);
  transform: translateY(-1px);
}
.btn.btn-outline {
  background: transparent;
  border: 1px solid rgba(25, 118, 210, 0.3);
  color: #0d47a1;
}
.btn.btn-outline:hover {
  background: rgba(25, 118, 210, 0.06);
  transform: translateY(-1px);
}

.error-mess {
  text-align: center;
}

.active-menu .close-overlay {
  background-color: rgba(0, 0, 0, 0.5);
  display: block;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  transition: all 0.5s;
  width: 100%;
  z-index: 999;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 15px;
  position: relative;
}
.form-group .form-control {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-clip: padding-box;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 20px;
  box-sizing: border-box;
  color: #212529;
  display: block;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 0.375rem 0.95rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  width: 100%;
}
.form-group input {
  padding: 10px;
  border-radius: 13px;
  border: 1px solid #ddd;
}
.form-group .btn-send {
  background: #1575e2;
  border: unset;
  border-radius: 19px;
  color: #fff;
  cursor: pointer;
  font-size: 16px;
  margin-top: 10px;
  outline: unset;
  padding: 10px 20px;
  transition: all 0.3s ease;
  width: -moz-max-content;
  width: max-content;
}
.form-group .alert-danger {
  color: #F44336;
  font-size: 13px;
  padding-top: 5px;
  position: absolute;
  bottom: 4px;
  right: 8px;
}
.form-group label {
  color: #656565;
  display: inline-block;
  font-size: 15px;
}

.icons {
  display: inline-block;
  -webkit-mask-size: contain !important;
          mask-size: contain !important;
  background-color: black;
  width: 24px;
  height: 24px;
}
.icons.icon-facebook {
  -webkit-mask: url("/images/icons/facebook.svg") no-repeat center;
          mask: url("/images/icons/facebook.svg") no-repeat center;
}
.icons.icon-facebook-f {
  -webkit-mask: url("/images/icons/facebook-f.svg") no-repeat center;
          mask: url("/images/icons/facebook-f.svg") no-repeat center;
}
.icons.icon-telegram {
  -webkit-mask: url("/images/icons/telegram.svg") no-repeat center;
          mask: url("/images/icons/telegram.svg") no-repeat center;
}
.icons.icon-viber {
  -webkit-mask: url("/images/icons/viber.svg") no-repeat center;
          mask: url("/images/icons/viber.svg") no-repeat center;
}
.icons.icon-whatsapp {
  -webkit-mask: url("/images/icons/whatsapp.svg") no-repeat center;
          mask: url("/images/icons/whatsapp.svg") no-repeat center;
}
.icons.icon-twitter-x {
  -webkit-mask: url("/images/icons/twitter-x.svg") no-repeat center;
          mask: url("/images/icons/twitter-x.svg") no-repeat center;
}
.icons.icon-share {
  -webkit-mask: url("/images/icons/share.svg") no-repeat center;
          mask: url("/images/icons/share.svg") no-repeat center;
}
.icons.icon-search {
  -webkit-mask: url("/images/icons/search.svg") no-repeat center;
          mask: url("/images/icons/search.svg") no-repeat center;
}
.icons.icon-eye {
  -webkit-mask: url("/images/icons/eye.svg") no-repeat center;
          mask: url("/images/icons/eye.svg") no-repeat center;
}
.icons.icon-clock {
  -webkit-mask: url("/images/icons/clock.svg") no-repeat center;
          mask: url("/images/icons/clock.svg") no-repeat center;
}
.icons.icon-arrow-down {
  -webkit-mask: url("/images/icons/arrow-down.svg") no-repeat center;
          mask: url("/images/icons/arrow-down.svg") no-repeat center;
}
.icons.icon-arrow-right {
  -webkit-mask: url("/images/icons/arrow-right.svg") no-repeat center;
          mask: url("/images/icons/arrow-right.svg") no-repeat center;
}
.icons.icon-arrow-left {
  -webkit-mask: url("/images/icons/arrow-right.svg") no-repeat center;
          mask: url("/images/icons/arrow-right.svg") no-repeat center;
  transform: rotate(180deg);
}
.icons.icon-calendar {
  -webkit-mask: url("/images/icons/calendar.svg") no-repeat center;
          mask: url("/images/icons/calendar.svg") no-repeat center;
}
.icons.icon-heart {
  -webkit-mask: url("/images/icons/heart.svg") no-repeat center;
          mask: url("/images/icons/heart.svg") no-repeat center;
}
.icons.icon-favorite {
  -webkit-mask: url("/images/icons/favorite.svg") no-repeat center;
          mask: url("/images/icons/favorite.svg") no-repeat center;
}
.icons.icon-mp3 {
  -webkit-mask: url("/images/icons/ext_mp3.svg") no-repeat center;
          mask: url("/images/icons/ext_mp3.svg") no-repeat center;
}
.icons.icon-doc {
  -webkit-mask: url("/images/icons/ext_doc.svg") no-repeat center;
          mask: url("/images/icons/ext_doc.svg") no-repeat center;
}
.icons.icon-print {
  -webkit-mask: url("/images/icons/print.svg") no-repeat center;
          mask: url("/images/icons/print.svg") no-repeat center;
}

@media (max-width: 1060px) {
  header {
    padding: 5px 15px;
  }
  header .header-inner .menu {
    display: none;
  }
  header .header-inner .search {
    min-width: unset;
    width: 100%;
  }
  header .header-inner .burger {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    height: 18px;
    justify-content: space-between;
    min-width: 25px;
    padding: 0;
    width: 24px;
  }
  header .header-inner .burger span {
    background: #836ba4;
    border-radius: 3px;
    display: block;
    height: 3px;
    transition: all 0.3s ease;
    width: 100%;
  }
  header .header-inner .burger.active span:first-child {
    transform: rotate(45deg) translate(5.7px, 5px);
  }
  header .header-inner .burger.active span:nth-child(2) {
    opacity: 0;
  }
  header .header-inner .burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  .active-menu {
    overflow: hidden;
  }
  .active-menu header .header-inner .menu {
    display: flex;
    position: absolute;
    top: 80px;
    padding: 12px 0px;
    background: linear-gradient(120deg, #6EC1FF, #FF9EB5, #FFD166);
    box-shadow: 0 4px 20px rgba(138, 167, 255, 0.25);
    border-top: 1px solid rgba(0, 0, 0, 0.0901960784);
    height: calc(-80px + 100dvh);
    width: 270px;
    right: 0;
    overflow-y: auto;
  }
  .active-menu header .header-inner .menu .menu-list {
    flex-direction: column;
    width: 100%;
    padding: 0 10px;
    justify-content: flex-start;
    margin-bottom: 15px;
    height: -moz-max-content;
    height: max-content;
  }
  .active-menu header .header-inner .menu .menu-list a .icon-arrow-down {
    display: none;
  }
  .active-menu header .header-inner .menu .menu-list .dropdown-menu {
    opacity: 1;
    visibility: visible;
    position: unset;
    transform: translateY(10px);
    background: transparent;
    list-style: circle;
    padding-left: 35px;
    line-height: 1.3;
    box-shadow: unset;
  }
  .active-menu .overlay {
    background-color: rgba(0, 0, 0, 0.5);
    display: block;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    transition: all 0.5s;
    width: 100%;
    z-index: 9999;
  }
  .layout .stories {
    padding: 0;
  }
}
@media (max-width: 834px) {
  .categories {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .header-inner .search input {
    font-size: 16px !important;
  }
  .header-inner .search input::-moz-placeholder {
    font-size: 14px !important;
  }
  .header-inner .search input::placeholder {
    font-size: 14px !important;
  }
}
@media (max-width: 600px) {
  .logo img {
    width: 125px !important;
  }
  .layout .hero {
    margin: 25px auto;
  }
  .layout .categories {
    margin: 25px auto 20px;
  }
  .layout .stories {
    margin: 25px auto 25px auto;
  }
  .layout .block-tags {
    margin: 25px auto;
    padding: 10px 20px 20px 20px;
  }
}
@media (max-width: 560px) {
  .categories {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  .categories .cat {
    padding: 19px;
  }
}
@media (max-width: 560px) {
  .story-desc span .icon-clock, .story-desc span .icon-eye {
    display: none;
  }
  .story-desc span .icon-heart {
    width: 19px;
    height: 19px;
  }
}
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 7px;
}
.pagination-wrapper .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-family: sans-serif;
  flex-wrap: wrap;
  padding-top: 7px;
}
.pagination-wrapper .pagination a, .pagination-wrapper .pagination span.dots {
  width: 47px;
  height: 47px;
  display: flex;
  border-radius: 18px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 14px;
  border: 1px solid;
  border-color: rgb(226, 226, 226);
  background: #ffffff;
  color: #6b717f;
  align-items: center;
  justify-content: center;
}
.pagination-wrapper .pagination span.active {
  background: #5649a7;
  color: #fff;
  cursor: default;
}
@media (min-width: 860px) {
  .pagination-wrapper .pagination a:hover {
    background: #5649a7;
    color: #fff;
  }
}
.pagination-wrapper .pagination a.active {
  background: #5649a7;
  color: #fff;
  pointer-events: none;
}
.pagination-wrapper .pagination .dots {
  pointer-events: none;
  background: transparent;
  box-shadow: none;
}
.pagination-wrapper .pagination .disabled {
  pointer-events: none;
}
.pagination-wrapper .prev, .pagination-wrapper .next {
  padding: 10px 30px;
  border-radius: 8px;
  text-decoration: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.6));
  border-color: rgba(255, 255, 255, 0.45);
  color: #0f1226;
  transition: all 0.3s ease;
  font-size: 14px;
}
.pagination-wrapper .prev .icons, .pagination-wrapper .next .icons {
  display: flex;
  align-items: center;
  width: 15px;
  height: 16px;
  background-color: #5d5d5d;
  flex-shrink: 0;
}
@media (max-width: 550px) {
  .pagination-wrapper .prev, .pagination-wrapper .next {
    display: none;
  }
}
@media (min-width: 860px) {
  .pagination-wrapper .prev:hover, .pagination-wrapper .next:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
  }
  .pagination-wrapper .prev:hover .icons, .pagination-wrapper .next:hover .icons {
    background-color: white;
  }
}
.pagination-wrapper .prev.disabled, .pagination-wrapper .next.disabled {
  pointer-events: none;
  background: #f3f3f3;
}
@media (max-width: 860px) {
  .pagination-wrapper {
    justify-content: center;
  }
}

footer {
  margin-top: 45px;
  background: #eaeafb;
  padding: 40px 20px;
  text-align: center;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
  font-size: 14px;
  opacity: 0.8;
  border-top: 1px solid #ced5ff;
}
footer .menu {
  margin-bottom: 15px;
}
footer .menu .menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}
footer .menu .menu-list > li {
  position: relative;
}
footer .menu .menu-list a {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.6);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #3F3A6D;
  font-weight: 600;
  transition: 0.3s;
  gap: 3px;
}
@media (max-width: 990px) {
  footer .menu .menu-list a {
    font-size: 13px;
    padding: 7px 13px;
  }
}

#social-buttons {
  display: flex;
  gap: 9px;
  justify-content: center;
  margin: 15px 0;
}

.social-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: white;
  font-size: 20px;
  transition: transform 0.3s, opacity 0.3s;
  text-decoration: none;
}
.social-button .icons {
  width: 36px;
  height: 36px;
}

.social-button:hover {
  transform: scale(1.1);
  opacity: 0.9;
}

.telegram .icons {
  background: #0088cc;
}

.viber .icons {
  background: #665CAC;
}

.facebook .icons {
  background: #3b5998;
}

.whatsapp .icons {
  background: #25D366;
}

.twitter .icons {
  background: #000;
}

.mobile .icons {
  background-color: #5f48f5;
}

.breadcrumbs {
  color: rgb(131, 131, 131);
  font-size: 11px;
  font-weight: 400;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: -5px;
  margin-bottom: 8px;
}
.breadcrumbs ul {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  flex-wrap: nowrap;
  display: flex;
  gap: 3px;
  justify-content: flex-start;
  flex-direction: row;
  padding: 0;
  margin: 0;
}
.breadcrumbs ul .icon-forward-arrow {
  background-color: #777777;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-left: 3px;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  color: rgb(103, 103, 103);
  font-size: 10px;
}
.breadcrumbs li span {
  color: #4d4d4d;
}
.breadcrumbs a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 5px;
}

@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/Nunito/XRXV3I6Li01BKofIOOaBXso.woff2) format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/Nunito/XRXV3I6Li01BKofIOOaBXso.woff2) format("woff2");
}
@font-face {
  font-family: "Nunito";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/fonts/Nunito/XRXV3I6Li01BKofIMeaBXso.woff2) format("woff2");
}
.story-page {
  max-width: 1200px;
  margin: 0 auto;
  margin-top: 15px;
}
.story-page .block-social {
  margin: 40px auto;
  background: linear-gradient(120deg, #fdf1ff, #e9fbff);
  border-radius: 40px;
  padding: 10px 40px 20px 40px;
  border: 1px solid rgba(63, 81, 181, 0.1215686275);
  text-align: center;
}
.story-page .story-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(241, 241, 241, 0.7490196078);
  padding-bottom: 14px;
  margin-bottom: 17px;
  color: #3f3a6d;
}
.story-page .story-top .btn-favorite {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #3f3a6d;
  background: rgba(255, 255, 255, 0.6);
  padding: 3px 10px;
  border-radius: 999px;
  border: 1px solid #e7e7e7;
  flex-shrink: 0;
  cursor: pointer;
}
.story-page .story-top .btn-favorite.active {
  border: 1px solid #F44336;
  background: rgb(255, 107, 96);
  color: #fff;
}
.story-page .story-top .btn-favorite.active .icons {
  background-color: #ffffff;
}
.story-page .story-top .story-date {
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-page .story-top .story-date .icons {
  background-color: #3f3a6d;
  height: 18px;
  width: 18px;
}
.story-page .story-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.story-page .story-actions .btn-action, .story-page .story-actions .btn-print {
  padding: 4px;
  border-radius: 8px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
  color: #333;
  transition: 0.2s;
}
.story-page .story-actions .btn-action img, .story-page .story-actions .btn-print img {
  height: 24px;
  width: 24px;
}
.story-page .story-actions .btn-action:hover, .story-page .story-actions .btn-print:hover {
  background: #ffe8b3;
}
.story-page .story-actions .btn-action .icon-print, .story-page .story-actions .btn-print .icon-print {
  background-color: #607D8B;
  height: 24px;
  width: 24px;
}
.story-page .story-actions .only-desktop {
  display: none;
}
@media (min-width: 1024px) {
  .story-page .story-actions .only-desktop {
    display: inline-flex;
  }
}
.story-page .story-hero {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 16px 22px;
  margin-bottom: 20px;
  border: 1px solid #ebebeb;
}
.story-page .story-bottom {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 30px;
}
.story-page .story-bottom .story-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.story-page .story-bottom .story-right .right-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}
@media (max-width: 768px) {
  .story-page .story-bottom .story-right .right-title {
    flex-direction: column;
    gap: 0;
    align-items: center;
  }
}
.story-page .story-bottom .story-right .info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(241, 241, 241, 0.7490196078);
}
.story-page .story-bottom .story-right .info ul {
  text-transform: uppercase;
  display: flex;
  flex-direction: row;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 10px;
}
.story-page .story-bottom .story-right .info ul li {
  display: flex;
  align-items: center;
  gap: 5px;
}
.story-page .story-bottom .story-right .info ul li:not(:last-child)::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  background-color: #3f3a6d;
  margin-left: 0.4rem;
  border-radius: 50%;
}
@media (max-width: 595px) {
  .story-page .story-bottom .story-right .info {
    flex-direction: column-reverse;
    gap: 13px;
  }
}
.story-page .story-bottom img {
  width: 100%;
  border-radius: 18px;
  -o-object-fit: cover;
     object-fit: cover;
  max-width: 260px;
  height: 325px;
}
.story-page .story-bottom h1 {
  margin: 0 0 12px;
  font-size: clamp(23px, 4vw, 34px);
}
.story-page .story-bottom .story-desc {
  color: #6b6f80;
  margin-bottom: 20px;
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.story-page .story-bottom .story-desc span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: #3f3a6d;
  background: rgba(255, 255, 255, 0.6);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid #e7e7e7;
  cursor: help;
  flex-shrink: 0;
}
.story-page .story-bottom .story-categories {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.story-page .story-bottom .story-categories a {
  color: #6b6f80;
  width: -moz-max-content;
  width: max-content;
}
.story-page .story-text {
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px;
  font-size: 18px;
  border: 1px solid #ebebeb;
}
.story-page .story-text .story-paginate {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  background: rgba(97, 97, 97, 0.0509803922);
  padding: 9px;
  border-radius: 15px;
}
.story-page .story-text .story-paginate a {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.story-page .story-text .story-paginate a:last-child {
  text-align: end;
}
.story-page .story-text .story-paginate a img {
  width: 60px;
  height: 60px;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
}
.story-page .story-text .story-paginate a div {
  display: flex;
  flex-direction: column;
  font-size: 13px;
  gap: 5px;
}
.story-page .story-text .story-paginate a div span {
  width: 100%;
  max-width: 188px;
  font-size: 13px;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}
.story-page .story-text .story-paginate a div span:nth-child(1) {
  opacity: 0.8;
}
@media (max-width: 660px) {
  .story-page .story-text .story-paginate a div span {
    max-width: 125px;
  }
}
.story-page .story-text p {
  margin-bottom: 22px;
}
.story-page .story-text p:first-child::first-letter {
  font-size: 64px;
  font-weight: 700;
  float: left;
  line-height: 1;
  padding-right: 10px;
  color: #FF9EB5;
}
.story-page .story-info {
  margin-top: 40px;
  background: linear-gradient(120deg, #fdfbff, #eef2ff);
  border-radius: 24px;
  padding: 30px;
}
.story-page .story-info h2 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
}
.story-page .story-info ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.story-page .story-info ul li {
  margin-bottom: 10px;
  color: #6b6f80;
}
.story-page .story-info b {
  color: #2e2e38;
}
.story-page .related div {
  padding: 16px;
  font-weight: 600;
}
.story-page .related h2 {
  margin-bottom: 10px;
  font-size: 22px;
}
.story-page .related .related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.story-page .related .related-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: transform 0.25s ease;
}
.story-page .related .related-card:hover {
  transform: translateY(-6px);
}
.story-page .related img {
  width: 100%;
  height: 140px;
  -o-object-fit: cover;
     object-fit: cover;
}
.story-page .story-share {
  display: flex;
  align-items: center;
  flex-direction: column;
  margin-top: 25px;
}
.story-page .story-share .share-title {
  font-size: 22px;
  font-weight: 700;
}
@media (max-width: 768px) {
  .story-page .story-bottom {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 15px;
  }
  .story-page .story-bottom img {
    max-height: 260px;
    margin: 0 auto;
  }
  .story-page .story-text {
    padding: 28px;
  }
}
@media (max-width: 410px) {
  .story-page .story-bottom .story-desc {
    gap: 5px;
  }
}

.reaction-box {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  background: #fff7e6;
  border: 1px solid #efe9ad;
  padding: 4px 5px;
  border-radius: 10px;
  font-family: Arial, sans-serif;
}

.reaction-title {
  font-weight: 600;
  margin-right: 10px;
}
@media (max-width: 920px) {
  .reaction-title {
    display: none;
  }
}
@media (max-width: 765px) {
  .reaction-title {
    display: inline-flex;
  }
}

.reaction-btn {
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s;
  opacity: 0.6;
}

.reaction-btn:hover {
  transform: scale(1.1);
}

.reaction-btn.like {
  color: #4CAF50;
}

.reaction-btn.dislike {
  color: #E53935;
}

.reaction-btn.active {
  transform: scale(1.2);
  opacity: 1;
}

.reaction-btn.active.like {
  color: #2e7d32;
}

.reaction-btn.active.dislike {
  color: #c62828;
}
