.pol-expert-page {
  background: #fafafa;
  padding: 48px 0 72px;
}

.pol-expert-hero {
  margin-bottom: 48px;
}

.pol-expert-hero__grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  align-items: start;
}

.pol-expert-hero__photo {
  display: block;
  width: 100%;
  border-radius: 28px;
  height: auto;
}

.pol-expert-hero__title {
  margin: 0 0 14px;
  font-size: 42px;
  line-height: 1.1;
  color: #2c2c2c;
}

.pol-expert-hero__position {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 600;
  color: #ff2da8;
}

.pol-expert-hero__description {
  margin-bottom: 20px;
  font-size: 18px;
  line-height: 1.6;
  color: #2c2c2c;
}

.pol-expert-hero__competencies {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pol-expert-hero__competency {
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #FF2DAA;
  font-size: 14px;
  font-weight: 600;
  color: #FAFAFA;
}

.pol-expert-content-wrap {
  margin-top: 24px;
}

.pol-expert-content {
  max-width: 920px;
  color: #2c2c2c;
  font-size: 18px;
  line-height: 1.7;
}

.pol-expert-content h2,
.pol-expert-content h3,
.pol-expert-content h4 {
  margin: 40px 0 18px;
  color: #2c2c2c;
  line-height: 1.2;
}

.pol-expert-content h2 {
  font-size: 34px;
}

.pol-expert-content h3 {
  font-size: 28px;
}

.pol-expert-content p {
  margin: 0 0 18px;
}

.pol-expert-content ul,
.pol-expert-content ol {
  margin: 0 0 20px 22px;
}

.pol-expert-content li {
  margin-bottom: 8px;
}

.pol-expert-content img {
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

.pol-expert-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #e7e7e7;
}

/* Статьи эксперта */

.pol-expert-articles {
  margin-top: 64px;
}

.pol-expert-articles__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
}

.pol-expert-articles__title {
  margin: 0;
  font-size: 34px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #171717;
}

.pol-expert-articles__nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.pol-expert-articles__arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(44, 44, 44, 0.12);
  border-radius: 999px;
  background: transparent;
  color: #2C2C2C;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all .22s ease;
}

.pol-expert-articles__arrow:hover:not(:disabled) {
  border-color: rgba(255, 45, 170, 0.28);
  color: #FF2DAA;
  transform: translateY(-1px);
  background: rgba(255, 45, 170, 0.04);
}

.pol-expert-articles__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.pol-expert-articles__viewport {
  overflow: hidden;
  width: 100%;
}

.pol-expert-articles__track {
  display: flex;
  gap: 28px;
  transition: transform .32s ease;
  will-change: transform;
}

.pol-expert-articles__slide {
  flex: 0 0 calc((100% - 56px) / 3);
  max-width: calc((100% - 56px) / 3);
  min-width: 0;
}

.pol-expert-articles .pol-blog-card {
  width: 100%;
  height: 100%;
}

.pol-expert-articles .pol-blog-card__inner {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Форма */

.pol-expert-discuss {
  margin: 84px 0 0;
  padding: 0 0 80px;
}

.pol-expert-discuss .pol-discuss__inner {
  position: relative;
  display: block;
  min-height: 560px;
  padding: 58px 46px 42px;
  border-radius: 34px;
  overflow: hidden;
  background: #FF2DA8;
}

.pol-expert-discuss .pol-discuss__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 630px;
  color: #fff;
}

.pol-expert-discuss .pol-discuss__title {
  margin: 0 0 22px;
  max-width: 520px;
  font-size: 46px;
  line-height: 0.95;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.pol-expert-discuss .pol-discuss__title span {
  color: #FF9AD5;
}

.pol-expert-discuss .pol-discuss__text {
  margin: 0 0 16px;
  max-width: 610px;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 300;
  color: #fff;
}

.pol-expert-discuss .pol-discuss__text--second {
  margin-bottom: 26px;
}

.pol-expert-discuss .pol-discuss__visual {
  position: absolute;
  top: 48px;
  right: 24px;
  z-index: 1;
  width: 430px;
  pointer-events: none;
}

.pol-expert-discuss .pol-discuss__visual img {
  display: block;
  width: 100%;
  max-width: 430px;
  height: auto;
}

.pol-expert-discuss .pol-discuss__form {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 586px;
}

.pol-expert-discuss .wpcf7-form {
  display: block;
  max-width: none;
}

.pol-expert-discuss .wpcf7-form p {
  margin: 0;
}

.pol-expert-discuss .pol-cf7,
.pol-expert-discuss .pol-cf7__row,
.pol-expert-discuss .pol-cf7__field {
  width: 100%;
}

.pol-expert-discuss .pol-cf7__row {
  margin-bottom: 8px;
}

.pol-expert-discuss .pol-cf7__row--2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.pol-expert-discuss .pol-cf7__input,
.pol-expert-discuss .wpcf7 input.pol-cf7__input,
.pol-expert-discuss .wpcf7 textarea.pol-cf7__input,
.pol-expert-discuss .wpcf7 select.pol-cf7__input {
  width: 100%;
  height: 46px;
  min-height: 46px;
  padding: 0 14px;
  border: none;
  border-radius: 4px;
  background: #F5F5F5;
  color: #2C2C2C;
  font-size: 15px;
  line-height: 1.2;
  box-sizing: border-box;
  box-shadow: none;
}

.pol-expert-discuss .pol-cf7__input::placeholder {
  color: #4F4F4F;
  opacity: 1;
}

.pol-expert-discuss textarea.pol-cf7__input {
  min-height: 120px;
  height: 120px;
  padding: 14px;
  resize: vertical;
}

.pol-expert-discuss .pol-cf7__actions,
.pol-expert-discuss .pol-cf7__bottom,
.pol-expert-discuss .pol-cf7__submit {
  width: 100%;
}

.pol-expert-discuss .pol-cf7__button,
.pol-expert-discuss input.pol-cf7__button,
.pol-expert-discuss .wpcf7-submit {
  width: 100%;
  height: 54px;
  min-height: 54px;
  padding: 0 18px;
  border: none;
  border-radius: 4px;
  background: #2C2C2C;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  font-weight: 500;
  cursor: pointer;
  box-sizing: border-box;
}

.pol-expert-discuss .wpcf7-spinner {
  display: none !important;
}

.pol-expert-discuss .pol-cf7__checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
  max-width: 760px;
}

.pol-expert-discuss .pol-cf7__check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.45;
  cursor: pointer;
  position: relative;
}

.pol-expert-discuss .pol-cf7__check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  flex: 0 0 18px;
  accent-color: #2C2C2C;
  cursor: pointer;
}

.pol-expert-discuss .pol-cf7__check-text {
  display: inline;
  margin: 0;
  color: #fff;
}

.pol-expert-discuss .pol-cf7__check a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pol-expert-discuss .pol-cf7__check a:hover {
  opacity: 0.85;
}

.pol-expert-discuss .pol-cf7__check-error {
  display: none;
  margin-top: 6px;
  margin-left: 30px;
  color: #ffd6e9;
  font-size: 13px;
  line-height: 1.35;
}

.pol-expert-discuss .pol-cf7__check.is-error input[type="checkbox"] {
  outline: 1px solid #ff4d4f;
  outline-offset: 2px;
}

.pol-expert-discuss .wpcf7-response-output {
  display: none !important;
}

.pol-expert-discuss .wpcf7 form.sent .wpcf7-response-output,
.pol-expert-discuss .wpcf7 form.invalid .wpcf7-response-output,
.pol-expert-discuss .wpcf7 form.failed .wpcf7-response-output,
.pol-expert-discuss .wpcf7 form.unaccepted .wpcf7-response-output {
  display: block !important;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 14px;
}

.pol-expert-discuss .wpcf7-not-valid-tip {
  display: block !important;
  margin-top: 6px;
  color: #ffd6e9;
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 1279.98px) {
  .pol-expert-articles__track {
    gap: 24px;
  }

  .pol-expert-articles__slide {
    flex: 0 0 calc((100% - 48px) / 3);
    max-width: calc((100% - 48px) / 3);
  }
}

@media (max-width: 1199px) {
  .pol-expert-discuss .pol-discuss__inner {
    min-height: auto;
    padding: 42px 28px 36px;
  }

  .pol-expert-discuss .pol-discuss__content {
    max-width: 100%;
  }

  .pol-expert-discuss .pol-discuss__title {
    max-width: 56%;
    font-size: 38px;
  }

  .pol-expert-discuss .pol-discuss__text,
  .pol-expert-discuss .pol-discuss__text--second,
  .pol-expert-discuss .pol-discuss__form {
    max-width: 56%;
  }

  .pol-expert-discuss .pol-discuss__visual {
    top: 70px;
    right: 28px;
    width: 320px;
  }

  .pol-expert-discuss .pol-discuss__visual img {
    max-width: 320px;
  }
}

@media (max-width: 991.98px) {
  .pol-expert-page {
    padding: 32px 0 56px;
  }

  .pol-expert-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .pol-expert-hero__title {
    font-size: 34px;
  }

  .pol-expert-hero__position {
    font-size: 18px;
  }

  .pol-expert-content {
    font-size: 16px;
  }

  .pol-expert-content h2 {
    font-size: 28px;
  }

  .pol-expert-content h3 {
    font-size: 24px;
  }

  .pol-expert-articles__head {
    align-items: flex-start;
  }

  .pol-expert-articles__slide {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }
}

@media (max-width: 767.98px) {
  .pol-expert-articles {
    margin-top: 40px;
  }

  .pol-expert-articles__head {
    margin-bottom: 18px;
    gap: 14px;
  }

  .pol-expert-articles__title {
    font-size: 28px;
  }

  .pol-expert-articles__arrow {
    width: 40px;
    height: 40px;
  }

  .pol-expert-articles__track {
    gap: 18px;
  }

  .pol-expert-articles__slide {
    flex: 0 0 100%;
    max-width: 100%;
  }

  .pol-expert-discuss .pol-discuss__inner {
    padding: 28px 16px 28px;
    border-radius: 26px;
  }

  .pol-expert-discuss .pol-discuss__visual {
    display: none;
  }

  .pol-expert-discuss .pol-discuss__title,
  .pol-expert-discuss .pol-discuss__text,
  .pol-expert-discuss .pol-discuss__text--second,
  .pol-expert-discuss .pol-discuss__form {
    max-width: 100%;
  }

  .pol-expert-discuss .pol-discuss__title {
    font-size: 34px;
  }

  .pol-expert-discuss .pol-cf7__row--2 {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .pol-expert-discuss .pol-cf7__button,
  .pol-expert-discuss input.pol-cf7__button,
  .pol-expert-discuss .wpcf7-submit {
    width: 100%;
    min-height: 56px;
    height: auto;
    padding: 16px 18px;
    font-size: 15px;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
    text-align: center;
  }
}

/* ========================================
   SINGLE EXPERT — ТЕКСТ КАК В SINGLE POST
======================================== */

.pol-expert-content {
  max-width: 920px;
  color: #2C2C2C;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 300;
}

.pol-expert-content > *:first-child {
  margin-top: 0;
}

.pol-expert-content p,
.pol-expert-content ul,
.pol-expert-content ol,
.pol-expert-content blockquote,
.pol-expert-content figure {
  margin: 0 0 28px;
  color: #2C2C2C;
}

.pol-expert-content h2 {
  margin: 100px 0 20px;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #2C2C2C;
}

.pol-expert-content > h2:first-child,
.pol-expert-content > *:first-child + h2 {
  margin-top: 40px;
}

.pol-expert-content h3 {
  margin: 34px 0 16px;
  font-size: 30px;
  line-height: 1.14;
  font-weight: 700;
  color: #2C2C2C;
}

.pol-expert-content h4 {
  margin: 28px 0 14px;
  font-size: 24px;
  line-height: 1.2;
  font-weight: 700;
  color: #2C2C2C;
}

.pol-expert-content strong,
.pol-expert-content b {
  font-weight: 700;
  color: #2C2C2C;
}

.pol-expert-content a {
  color: #FF2DAA;
  text-decoration: none;
}

.pol-expert-content img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 24px;
}

.pol-expert-content ol {
  padding-left: 24px;
  margin-left: 0;
}

.pol-expert-content ol li {
  margin-bottom: 14px;
  color: #2C2C2C;
}

.pol-expert-content ul {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.pol-expert-content ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
  color: #2C2C2C;
}

.pol-expert-content ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF2DAA;
}

.pol-expert-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid #E7E7E7;
  color: #2C2C2C;
}

/* ========================================
   РЕДАКТОРСКИЕ КЛАССЫ ДЛЯ ТЕКСТА ЭКСПЕРТА
======================================== */

.pol-expert-content .pol-note-line {
  position: relative;
  padding-left: 18px;
  margin: 24px 0;
  color: #2C2C2C;
}

.pol-expert-content .pol-note-line::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 4px;
  height: calc(100% - 4px);
  border-radius: 999px;
  background: #FF2DAA;
}

.pol-expert-content .pol-highlight-box {
  display: block;
  padding: 18px 26px;
  background: #fff;
  border: 1px solid rgba(255, 45, 168, 0.55);
  border-radius: 22px;
  box-shadow: 0 0 18px rgba(255, 45, 168, 0.18);
  color: #2C2C2C;
}

.pol-expert-content .pol-text-pink {
  color: #FF2DAA !important;
  font-weight: 700;
}

.pol-expert-content .pol-text-black {
  color: #2C2C2C !important;
  font-weight: 700;
}

.pol-expert-content .pol-inline-label {
  display: inline;
  color: #fff !important;
  background: #FF2DAA;
  border-radius: 12px;
  padding: 2px 10px 4px;
  font-weight: 700;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.pol-expert-content .pol-list-pink {
  list-style: none !important;
  padding-left: 0 !important;
}

.pol-expert-content .pol-list-pink li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #2C2C2C;
}

.pol-expert-content .pol-list-pink li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #FF2DAA;
}

.pol-expert-content .pol-list-check {
  list-style: none !important;
  padding-left: 0 !important;
}

.pol-expert-content .pol-list-check li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  color: #2C2C2C;
}

.pol-expert-content .pol-list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #FFD9EE;
  color: #FF2DAA;
  font-size: 11px;
  line-height: 18px;
  text-align: center;
  font-weight: 700;
}

.pol-expert-content blockquote.pol-quote-card,
.pol-expert-content .pol-quote-card {
  position: relative;
  margin: 34px 0;
  padding: 34px 34px 46px;
  background: #2C2C2C;
  color: #fff;
  border-radius: 28px;
  border: none;
  overflow: hidden;
}

.pol-expert-content blockquote.pol-quote-card::before,
.pol-expert-content .pol-quote-card::before {
  content: "“";
  position: absolute;
  top: 18px;
  left: 18px;
  font-size: 74px;
  line-height: 1;
  color: #FF2DAA;
  font-weight: 700;
}

.pol-expert-content blockquote.pol-quote-card p,
.pol-expert-content .pol-quote-card p {
  margin: 0 0 12px;
  color: #fff;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 300;
}

.pol-expert-content blockquote.pol-quote-card cite,
.pol-expert-content .pol-quote-card cite {
  display: block;
  margin-top: 20px;
  text-align: right;
  color: #FF2DAA;
  font-style: italic;
  font-weight: 700;
  font-size: 16px;
}

@media (max-width: 991.98px) {
  .pol-expert-content {
    font-size: 16px;
  }

  .pol-expert-content h2 {
    font-size: 28px;
    margin: 72px 0 18px;
  }

  .pol-expert-content h3 {
    font-size: 24px;
  }

  .pol-expert-content h4 {
    font-size: 20px;
  }
}
/* ========================================
   ОТСТУП СВЕРХУ СТРАНИЦЫ ЭКСПЕРТА
======================================== */

.pol-expert-page {
  padding-top: 150px;
}