@import url("https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Shadows+Into+Light+Two&display=swap");
:root {
  --p-accent-color: #563ce9;
  --p-accent-color-hover: #422acf;
  --p-text-color: #262730;
}

.publishers {
  font-family: "Figtree", sans-serif;
  padding: clamp(80px, 12vw, 160px) 0 clamp(54px, 15vw, 200px);
  background-color: #fff;
  background: url("../img/publishers-bg.webp") no-repeat center/cover;
  color: var(--p-text-color);
  background-position: top center;
}
.publishers__title {
  max-width: 832px;
  margin: 0 auto clamp(30px, 3vw, 40px);
  text-align: center;
  font-size: clamp(36px, 5vw, 56px);
}
.publishers__title strong {
  font-family: "Shadows Into Light Two", cursive;
  font-weight: 400;
  font-style: normal;
  color: var(--p-accent-color);
}
.publishers__snippet {
  font-weight: 400;
  font-size: 16px;
  line-height: 140%;
  max-width: 764px;
  text-align: center;
  margin: 0 auto 30px;
}
.publishers__action {
  margin-bottom: 40px;
  text-align: center;
}
.publishers__tabs {
  box-shadow: 0 2.81px 28.13px 0 rgba(166, 130, 249, 0.4);
  border-radius: 16px;
  max-width: 1002px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.2);
}
@media (width < 1360px) and (width >= 1280px) {
  .publishers__tabs {
    zoom: 0.92;
  }
}
@media (width < 992px) {
  .publishers__tabs {
    box-shadow: unset;
    background: transparent;
  }
}
@media (width < 768px) {
  .publishers__action .pbtn {
    width: 100%;
  }
  .publishers__title strong {
    display: block;
  }
  .publishers__title br {
    display: none;
  }
}

.pbtn {
  font-family: inherit;
  padding: 17px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  line-height: 1.1;
  border-radius: 16px;
  cursor: pointer;
  transition: 0.3s;
  justify-content: center;
}
.pbtn--primary {
  background: var(--p-accent-color);
  color: #fff;
}
.pbtn--primary:hover {
  background: var(--p-accent-color-hover);
}
.pbtn svg {
  transition: 0.3s;
}
.pbtn:hover svg {
  transform: translateX(4px);
}

.ptabs {
  display: flex;
  padding: 22px 16px 12px;
  justify-content: center;
  overflow: auto;
  scrollbar-width: thin;
}
.ptabs__item {
  font-family: inherit;
  display: flex;
  align-items: center;
  padding: 8px 14px 5px;
  background: transparent;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: 0;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  white-space: nowrap;
}
.ptabs__item svg, .ptabs__item path {
  stroke: currentColor;
}
.ptabs__item:hover {
  color: var(--p-accent-color);
}
.ptabs__item--active {
  color: var(--p-accent-color);
  border-color: var(--p-accent-color);
}
@media (width < 992px) {
  .ptabs {
    padding: 0 12px 6px 12px;
    margin-bottom: 10px;
    justify-content: flex-start;
    margin-left: -12px;
    margin-right: -12px;
  }
  .ptabs__item {
    border-bottom: 0;
    padding: 8px 14px;
    border-radius: 8px;
  }
  .ptabs__item--active {
    background: #fff;
  }
}

.pbody {
  position: relative;
  aspect-ratio: 1002/572;
}
.pbody__item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.pbody__item--active {
  opacity: 1;
  pointer-events: auto;
}
.pbody__image {
  width: 100%;
  height: auto;
  display: block;
}
.pbody__arrow {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
}
.pbody__item--active .pbody__arrow {
  animation: fadeUp 0.6s ease forwards;
}
@media (width < 1280px) {
  .pbody__arrow {
    display: none !important;
  }
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body:has(.publishers) .header {
  position: fixed;
  width: 100%;
  transition: 0.2s;
}
@media (width >= 1280px) {
  body:has(.publishers) .header {
    top: 40px;
  }
  body:has(.publishers) .header__wrapper {
    margin: 0 auto;
    max-width: 1300px;
    padding: 10px 24px 10px 16px;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0px 3.39px 33.95px 0px rgba(166, 130, 249, 0.4);
    border-radius: 14px;
  }
  body:has(.publishers) .header__buttons {
    display: none;
  }
}
body:has(.publishers) .header .logo img {
  max-height: 24px;
  width: auto;
}
body:has(.publishers) .header .menu {
  margin: 0 0 0 auto;
}
body:has(.publishers) .header .menu a {
  font-family: Figtree, sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 16.97px;
  color: var(--p-text-color);
}
body:has(.publishers) .header .menu a:hover {
  color: var(--p-accent-color);
}
body:has(.publishers) .header .menu .menu__list .menu-item:not(:last-child) {
  margin-right: 36px;
}
body:has(.publishers) .header .burger::after, body:has(.publishers) .header .burger::before, body:has(.publishers) .header .burger span {
  height: 2px;
  border-radius: 0;
  background: var(--p-text-color);
}
body:has(.publishers) .header .burger--active::before {
  top: 0.95rem;
}
body:has(.publishers) .header .header__buttons .btn {
  background: var(--p-accent-color);
  padding: 16px 24px;
  border-radius: 16px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
}
body:has(.publishers) .header .header__buttons .btn:after {
  content: "";
  width: 16px;
  height: 16px;
  mask: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuNTIxOTcgMTIuNjY3TDE0IDguMDAwMzNMOS41MjE5NyAzLjMzMzY2IiBzdHJva2U9IndoaXRlIiBzdHJva2Utd2lkdGg9IjEuNSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxsaW5lIHgxPSIwLjc1IiB5MT0iLTAuNzUiIHgyPSIxMS4wNzIiIHkyPSItMC43NSIgdHJhbnNmb3JtPSJtYXRyaXgoLTEgMCAwIDEgMTMuODIyMSA4LjY0NTUxKSIgc3Ryb2tlPSJ3aGl0ZSIgc3Ryb2tlLXdpZHRoPSIxLjUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4=") no-repeat center/contain;
  background: currentColor;
}
body:has(.publishers) .header .header__buttons .btn:hover {
  background: var(--p-accent-color-hover);
}
@media (width <= 1200px) {
  body:has(.publishers) .header #menu-header-menu {
    padding: 0;
    margin-top: 6.5rem;
  }
  body:has(.publishers) .header #menu-header-menu .menu-item {
    padding: 0;
  }
  body:has(.publishers) .header #menu-header-menu .menu-item + .menu-item {
    margin-top: 28px;
  }
  body:has(.publishers) .header #menu-header-menu a {
    display: block;
    font-size: 20px;
    padding: 12px 0;
    font-weight: 600;
    font-family: Figtree, sans-serif;
  }
}
body:has(.publishers) .header.scrolled {
  top: 0;
  box-shadow: 0px 3.39px 33.95px 0px rgba(166, 130, 249, 0.4);
}
body:has(.publishers) .header.scrolled .header__wrapper {
  box-shadow: unset !important;
  padding: 16px 0;
}

