.btn-bd-primary {
  --bs-btn-font-weight: 600;
  --bs-btn-color: var(--bs-white);
  --bs-btn-bg: var(--bd-violet-bg);
  --bs-btn-border-color: var(--bd-violet-bg);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-hover-bg: shade-color(red, 10%);
  --bs-btn-hover-border-color: shade-color(red, 10%);
  --bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
  --bs-btn-active-color: var(--bs-btn-hover-color);
  --bs-btn-active-bg: shade-color(red, 20%);
  --bs-btn-active-border-color: shade-color(red, 20%);
}

.btn-pg-dark {
  padding: 12px 50px;
}

.hero {
  position: relative;
  padding-bottom: 32px;
/*  min-height: 650px; */
}
.hero__content-wrap{
  display: flex;
  justify-content: space-between;
}
.hero__img {
  max-width: 530px;
  height: 476px;
  flex-shrink: 0;
  background-image: url("/https/pgconf.ru/img/hero/hero_img_new.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
}
.hero__nav {
  margin-bottom: 16px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
@media (max-width: 991px) {
	.hero__nav {
		margin-bottom: 50px;
	}
 }
.hero__content {
  padding: 4px 1rem 1rem 1rem;
  border-radius: 20px;
}
@media (max-width: 1399px) {
  .hero__content {
    padding-top: 0;
  }	
}
@media (max-width: 1199px) {
  .hero__content {
    padding-top: 27px;
  }	
}
@media (max-width: 991px) {
  .hero__content {
    padding-top: 64px;
  }	
}

.hero__caption {
  display: inline-block;
  color: var(--main-color);
  font-weight: 400;
  font-size: 28px;
  line-height: 30px;
  text-transform: uppercase;
}
.hero__title {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  color: var(--main-color);
  font-weight: 500;
  font-size: 60px;
  font-family: TT Norms Pro;
  font-style: normal;
  line-height: 80px;
  letter-spacing: -1.52px;
}
.hero__title span {
  color: var(--main-color);
}
.hero__description {
  color: var(--main-text);
  font-size: 18px;
  font-family: TT Norms Pro;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
}
.banner-section {
  padding: 20px 0;
}
.banner-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
}
.banner-wrap picture{
  width: 100%;
}
.banner-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.nav {
  --bs-nav-link-color: var(--cool-tone-1);
  --bs-nav-link-font-size: 20px;
  --bs-nav-link-font-family: TT Norms Pro;
  --bs-nav-nav-link-font-style: normal;
  --bs-nav-link-font-weight: 400;
  --bs-nav-link-hover-color: var(--hi-light-cold);
  margin-left:calc(- var(--bs-nav-link-padding-y));
}

.events {
  padding: 28px 0;
}
.events__header {
  display: flex;
  flex-direction: column;
}
.events__list {
  margin-bottom: 30px;
}
.events__pagination {
  display: none;
  justify-content: space-between;
}

.pg-card {
  position: relative;
  min-height: 440px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  border-radius: 24px;
  --bs-card-cap-bg: none;
  color: var(--white);
}
.pg-card-blue {
	background-color: var(--main-color);
}
.pg-card-sm {
  min-height: 300px;
}
/*
	.pg-card__link {
	  position: absolute;
	  top: 0;
	  left: 0;
	  width: 100%;
	  height: 100%;
	  border-radius: 20px;
	}
*/
.pg-card__header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 0;
  margin-bottom: 28px;
  border: none;
}

.pg-card__header span {
  display: block;
  text-align: center;
  font-size: 30px;
  font-family: TT Norms Pro;
  font-style: normal;
  font-weight: 400;
  color: var(--white);
}
.pg-card__date {
  padding: 0 7px;
  border-radius: 10px;
}
.pg-card__body {
  display: flex;
  flex-direction: column;
  font-family: TT Norms Pro;
  color: var(--white);
}
.pg-card__title {
  margin-bottom: 16px;
  font-size: 26px;
  font-style: normal;
  font-weight: 400;
  line-height: 38px;
}
.pg-card__text {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
}
.pg-card__btn {
  margin-top: auto;
}

.pg-slider-container {
  position: relative;
}

.pg-slider-btn-prev,
.pg-slider-btn-next {
  position: absolute;
  top: 36%;
  width: 60px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--main-color);
  cursor: pointer;
  transition: var(--middle) ease;
}
.pg-slider-btn-prev.swiper-button-disabled,
.pg-slider-btn-next.swiper-button-disabled {
  opacity: 0;
}
.pg-slider-btn-prev:hover,
.pg-slider-btn-next:hover {
  color: var(--grey-tone-2);
}
.pg-slider-btn-prev:active,
.pg-slider-btn-next:active {
  color: var(--grey-tone-3);
}
.pg-slider-btn-prev i,
.pg-slider-btn-next i {
  display: inline-block;
  font-size: 50px;
}

.pg-slider-btn-next {
  right: -60px;
}

.pg-slider-btn-prev {
  left: -60px;
}

.pg-slider-fraction {
  color: var(--main-text);
  font-size: 14px;
  font-family: TT Norms Pro;
  font-style: normal;
  font-weight: 500;
  line-height: 14px;
  align-self: center;
}

.pg-slider-bullets {
  position: relative;
}
.pg-slider-bullets.swiper-pagination-bullets.swiper-pagination-horizontal {
  bottom: 0;
  width: auto;
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  border: 1px solid var(--grey-tone-1);
  background: var(--white);
  opacity: 1;
  transition: var(--middle) ease;
}
.swiper-pagination-bullet:hover {
  background-color: var(--grey-tone-2);
}

.swiper-pagination-bullet-active {
  background: var(--grey-tone-1);
  border: 1px solid var(--grey-tone-1);
}
.lines {
  padding: 50px 0;
}
.lines__wrap {
  overflow: hidden;
  white-space: nowrap;
}
.lines__text {
  font-family: TT Norms Pro;
  color: var(--main-text);
  font-weight: 400;
  line-height: 68.575px;
}
.lines__text-large {
  font-size: 60px;
  -webkit-transform: translateX(-15%);
  transform: translateX(-15%);
}
.lines__text-small {
  font-size: 36px;
  -webkit-transform: translateX(-10%);
  transform: translateX(-10%);
}
.lines__text span {
  color: var(--grey-tone-3);
}

.speakers {
  padding: 28px 0;
}
.speakers__wrap {
  padding: 72px;
  border-radius: 20px;
  background: var(--bg-grey-tone);
}

.best-presentations {
  padding: 28px 0;
}
.best-presentations__list {
  box-sizing: border-box;
  margin-bottom: 35px;
}
.best-presentations__item {
  height: calc((100% - 30px) / 2) !important;
}
.best-presentations__item {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 48px;
  border-radius: 20px;
  border: 2px solid var(--main-color);
}
.best-presentations__item:hover {
  background: linear-gradient( 180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 66.58% );
}
.best-presentations__item:not(:last-child) {
  margin-bottom: 32px;
}
.best-presentations__text-wrap:before {
  display: inline-block;
  width: 106px;
  height: 106px;
  margin-right: 74px;
  content: url("/https/pgconf.ru/img/best-presentations/cup.svg");
}
.best-presentations__link {
  z-index: 2;
/*  position: absolute; */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
}
.best-presentations__text {
  display: inline-block;
  margin-bottom: 0;
  margin-right: auto;
  color: var(--grey-tone-1);
  font-size: 22px;
  font-family: TT Norms Pro;
  font-style: normal;
  font-weight: 400;
  line-height: 30px;
}
.best-presentations__conf-title{
  font-family: TT Norms Pro;
  font-weight: 500;
  font-size: 32px;
  color: #000;
}

.best-presentations__pagination {
  display: none;
}

.person {
  display: flex;
  font-family: TT Norms Pro;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  align-items: center;
  justify-content: space-between;
}
.person__avatar {
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-content: center;
  width: 172px;
  height: 172px;
  max-width: 172px;
  max-height: 172px;
  align-items: center;
  color: var(--grey-tone-1);
  text-align: center;
  font-size: 48px;
  overflow: hidden;
  border-radius: 20px;
  background-color: var(--bg-grey-tone);
  margin-right: 30px;
}
.person__avatar img {
  display: block;
  width: 100%;
  height: 100%;
}
.person__info {
  width: 200px;
  display: flex;
  flex-direction: column;
  margin-right: 40px;
}
.person__status {
  margin-bottom: 8px;
  color: var(--grey-tone-3);
  font-size: 16px;
}
.person__name {
  color: var(--main-text);
  font-size: 20px;
}
.person__company {
  color: var(--grey-tone-3);
  font-size: 20px;
}

.lang {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-height: 90px;
  min-width: 150px;
  padding: 0 60px;
  border-left: 1px solid var(--grey-tone-3);
  font-family: TT Norms Pro;
  font-style: normal;
  font-weight: 400;
  line-height: 24px;
  color: var(--grey-tone-3);
}
.lang__title {
  margin-bottom: 8px;
  font-size: 16px;
}
.lang__item {
  font-size: 20px;
}
.lang__link {
  color: var(--hi-light-cold);
}

.partnership__wrap {
  padding: 60px;
  border-radius: 30px;
  background-image: url("/https/pgconf.ru/img/partnership/partnership_bg.png");
  background-repeat: no-repeat;
  background-size: cover;
}

.past-events {
  padding: 28px 0;
}
.past-events__header {
  display: flex;
  flex-direction: column;
}
.past-events__list {
  margin-bottom: 30px;
}
.past-events__pagination {
  display: none;
  justify-content: space-between;
}
.organizer {
  padding: 28px 0;
  
}
.organizer__wrap {
  padding: 80px;
  background-color: var(--cold-txt-buttom);
  border-radius: 20px;
}
.organizer__desc {
  font-size: 18px;
}
@media (max-width: 1399px) {
  .hero__caption {
    font-size: 24px;
  }
  .hero__title {
    font-size: 48px;
  }
}
@media (max-width: 1199px) {
  .hero__nav {
    --bs-nav-link-font-size: 16px;
  }
  .best-presentations__conf-title {
    font-size: 24px;
  }
  .hero__description {
    font-size: 16px;
    line-height: 24px;
  }
  .best-presentations__text-wrap:before {
    transform: scale(.7);
    margin-right: 12px;
  }
  .person__avatar {
    width: 96px;
    height: 96px;
  }
}
@media (max-width: 991px) {
  .hero{
    min-height: auto;
  }
  .hero__nav {
    --bs-nav-link-font-size: 10px !important;
    margin-bottom: 40px;
  }
  .hero__img{
    height: 425px;
  }
  .hero__title{
    font-size: 32px;
    line-height: normal;
  }
  .hero__caption{
    font-size: 20px;
    line-height: normal;
  }
  .best-presentations__person {
    margin-right: 20px;
  }
  .best-presentations__text {
    font-size: 16px;
  }
  .person__avatar {
    font-size: 34px;
  }
  .person__info {
    width: auto;
    margin-right: 20px;
  }
  .person__status {
    font-size: 12px;
  }
  .person__name {
    font-size: 16px;
  }
  .person__company {
    font-size: 16px;
  }
  .lang {
    padding: 0 20px;
  }
  .lang__title {
    font-size: 12px;
  }
  .lang__item {
    font-size: 16px;
  }
}

@media (max-width: 767px) {
  .hero {
    padding-top: 60px;
  }
  .hero__nav {
    position: absolute;
    display: flex;
    top: 20px;
    left: 5%;
    right: 5%;
  }
  .hero__content-wrap{
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero__img{
    max-width: 370px;
    height: 380px;
  }
  .events{
    padding-top: 40px;
  }

  .events__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .events__button-next,
  .events__button-prev {
    display: none;
  }
  .events__pagination {
    display: flex;
  }
  .lines__text {
    line-height: 40px;
    margin-bottom: 0;
  }
  .lines__text-large {
    font-size: 40px;
  }
  .lines__text-small {
    font-size: 24px;
  }
  .speakers__wrap {
    flex-direction: column-reverse;
    padding: 24px;
  }
  .best-presentations__list {
    margin-bottom: 0;
  }
  .best-presentations__item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
  }
  .best-presentations__text-wrap{
    margin-bottom: 32px;
  }
  .best-presentations__conf-title{
    font-size: 18px;
  }
  .best-presentations_speaker__text{
    font-size: 14px;
  }
  .best-presentations__pagination {
    display: flex;
    justify-content: space-between;
  }
  .past-events__header {
    flex-direction: column;
    align-items: flex-start;
  }
  .past-events__button-next,
  .past-events__button-prev {
    display: none;
  }
  .past-events__pagination {
    display: flex;
  }
  .organizer__wrap {
    padding: 20px;
  }
  .organizer__header{
    margin-bottom: 24px;
  }

  .organizer__desc {
    font-size: 16px;
  }
}
@media (max-width: 575px) {
  .btn-pg-dark {
    width: 100%;
  }
}

