/*
Theme Name: Kadence Child
Template: kadence
Version: 1.0
*/

/* =============================================
   BASE + KADENCE OVERRIDES
   ============================================= */

.single-content h1,
.single-content h2,
.single-content h3,
.single-content h4,
.single-content h5,
.single-content h6 {
  margin: 0.7em 0 0.5em;
}

/* Глобальный цвет ссылок при наведении */
a:hover {
  color: #ff8562;
}

/* Убираем outline и фон при клике/фокусе */
a:focus,
button:focus,
button:focus-visible {
  outline: none;
  box-shadow: none;
}

/* Логотип — цвет не меняется при наведении */
.pb-header__logo:hover,
.pb-footer__logo:hover {
  color: inherit;
}

.pb-header__logo span,
.pb-footer__logo span {
  color: #ff8562;
}

/* Бургер — никакого фона и outline */
.pb-header__burger {
  -webkit-tap-highlight-color: transparent;
  background: none !important;
  box-shadow: none !important;
  outline: none !important;
}

.pb-header__burger:hover,
.pb-header__burger:focus,
.pb-header__burger:active {
  background: none !important;
  box-shadow: none !important;
  outline: none !important;
}

body {
  background: #f2f2f6 !important;
  margin: 0;
  overflow-x: clip;
  max-width: 100%;
}

html {
  overflow-x: clip;
}

/* Сброс Kadence обёрток — убираем лишние отступы и ограничения */
.entry-content-wrap,
.content-area,
.site-container {
  padding: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  max-width: 100% !important;
  box-shadow: none !important;
}

.entry.single-entry,
.entry.loop-entry {
  box-shadow: none !important;
}

/* Защита от переполнения контента */
.pb-page {
  max-width: 100%;
  box-sizing: border-box;
}

.pb-article__content img,
.pb-article__content video,
.pb-article__content iframe {
  max-width: 100%;
  height: auto;
}

.pb-article__content {
  word-break: break-word;
  overflow-wrap: break-word;
}

.pb-article__content pre {
  overflow-x: auto;
  white-space: pre-wrap;
}

.pb-article__content table {
  display: block;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

/* Сброс отступов Kadence которые создают белые поля */
.entry-content-wrap {
  padding: 0 !important;
}

.content-area {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.content-container.site-container {
  max-width: 100% !important;
  padding: 0 !important;
}

.entry.single-entry {
  box-shadow: none !important;
  background: transparent !important;
}

.entry-content.single-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.content-bg,
body.content-style-unboxed .site {
  background: #f2f2f6 !important;
}

/* =============================================
   HEADER — floating, same color as body
   ============================================= */

.pb-header {
  position: relative;
  top: 0;
  width: calc(100% - 40px);
  max-width: 1140px;
  margin: 14px auto 0;
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid rgba(0, 0, 0, 0.07);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.pb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
}

.pb-header__logo {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  text-decoration: none;
  letter-spacing: -0.3px;
  display: flex;
  align-items: center;
}

.pb-header__logo span {
  color: #ff8562;
}

.pb-header__logo-img {
  height: 44px;
  width: auto;
  display: block;
}

.pb-card__image-link {
  display: block;
  text-decoration: none;
}

.pb-footer__logo-img {
  height: 40px;
  width: auto;
  display: block;
}

.pb-header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.pb-header__link {
  font-size: 14px;
  font-weight: 500;
  color: #666;
  text-decoration: none;
  transition: color 0.2s;
}

.pb-header__link:hover,
.pb-header__link:focus,
.pb-header__link.active {
  color: #ff8562;
  outline: none;
}

.pb-header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.pb-header__burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: #1a1a2e;
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
}

/* Анимация в крестик */
.pb-header__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.pb-header__burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.pb-header__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 768px) {
  .pb-header {
    top: 10px;
    width: calc(100% - 24px);
    border-radius: 14px;
  }

  .pb-header__nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    z-index: 100;
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    flex-direction: column;
    gap: 0;
    padding: 8px 0;
  }

  .pb-header__nav.open {
    display: flex;
  }

  .pb-header__inner {
    position: relative;
  }

  .pb-header__link {
    padding: 12px 24px;
    width: 100%;
  }

  .pb-header__burger {
    display: flex;
  }
}

/* =============================================
   PAGE WRAPPER
   ============================================= */

.pb-page {
  width: calc(100% - 40px);
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 768px) {
  .pb-page {
    width: calc(100% - 24px);
  }
}

/* =============================================
   HERO
   ============================================= */

.pb-hero {
  background: #ffffff;
  border-radius: 24px;
  padding: 52px 48px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  overflow: hidden;
}

.pb-hero__inner {
  flex: 1;
  max-width: 520px;
}

.pb-hero__title {
  font-size: clamp(24px, 3.5vw, 42px);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 16px;
  letter-spacing: -1px;
  line-height: 1.15;
}

.pb-hero__title span {
  color: #ff8562;
}

.pb-hero__desc {
  font-size: 15px;
  color: #777;
  margin: 0 0 32px;
  line-height: 1.7;
}

.pb-hero__btn {
  display: inline-block;
  background: #ff8562;
  color: #fff !important;
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 12px;
  transition: background 0.2s;
}

.pb-hero__btn:hover {
  background: #e96e4a;
  color: #fff !important;
}

.pb-hero__image {
  flex-shrink: 0;
  width: 420px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.pb-hero__img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* Placeholder пока нет картинки */
.pb-hero__image--placeholder::after {
  content: 'Загрузите изображение';
  font-size: 13px;
  color: #ccc;
}

@media (max-width: 900px) {
  .pb-hero {
    flex-direction: column;
    padding: 36px 28px;
    border-radius: 20px;
  }

  .pb-hero__image {
    width: 100%;
    height: auto;
  }
}

/* =============================================
   PROMO SECTION
   ============================================= */

.pb-promo {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 36px 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pb-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 28px;
  letter-spacing: -0.4px;
}

.pb-promo .pb-section-title {
  margin-bottom: 24px;
}

.pb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .pb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 540px) {
  .pb-grid { grid-template-columns: 1fr; }
  .pb-promo { padding: 24px 20px 28px; border-radius: 20px; }
}

/* =============================================
   CARD
   ============================================= */

.pb-card {
  background: #f8f8fb;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.25s, transform 0.25s;
  display: flex;
  flex-direction: column;
}

.pb-card:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
  transform: translateY(-3px);
}

/* Картинка карточки */

.pb-card__image {
  position: relative;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.pb-card__image--direct {
  background: linear-gradient(135deg, #ffe8e0 0%, #ffd0c0 100%);
}

.pb-card__image--biznes {
  background: linear-gradient(135deg, #e8e0ff 0%, #d0c0ff 100%);
}

.pb-card__image--karty {
  background: linear-gradient(135deg, #e0f0ff 0%, #c0dfff 100%);
}

.pb-card__image--market {
  background: linear-gradient(135deg, #fff8e0 0%, #ffedb0 100%);
}

.pb-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Большая буква Я как логотип */
.pb-card__ya {
  font-size: 64px;
  font-weight: 900;
  color: rgba(0, 0, 0, 0.1);
  font-family: -apple-system, sans-serif;
  line-height: 1;
  user-select: none;
}

/* Тег с бонусом поверх картинки */
.pb-card__bonus-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff8562;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

/* Тело карточки */
.pb-card__body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pb-card__logo-text {
  font-size: 11px;
  font-weight: 700;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.pb-card__title {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
  line-height: 1.4;
}

.pb-card__title a {
  color: inherit;
  text-decoration: none;
}

.pb-card__title a:hover {
  color: #ff8562;
}

.pb-card__desc {
  font-size: 12px;
  color: #888;
  margin: 0 0 12px;
  line-height: 1.5;
  flex: 1;
}

.pb-card__expire {
  font-size: 11px;
  color: #bbb;
  margin: 0 0 14px;
}

.pb-card__btn {
  display: block;
  background: #ff8562;
  color: #fff !important;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 16px;
  border-radius: 10px;
  text-align: center;
  transition: background 0.2s;
}

.pb-card__btn:hover {
  background: #e96e4a;
  color: #fff !important;
}

/* =============================================
   BREADCRUMBS
   ============================================= */

.pb-breadcrumbs {
  font-size: 13px;
  color: #999;
  padding: 4px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.pb-breadcrumbs a {
  color: #999;
  text-decoration: none;
}

.pb-breadcrumbs a:hover {
  color: #ff8562;
}

.pb-breadcrumbs .rank-math-breadcrumb p {
  margin: 0;
}

.pb-breadcrumbs__sep {
  margin: 0 6px;
  color: #ccc;
}

/* =============================================
   RATING BLOCK
   ============================================= */

.pb-rating {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 28px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  align-items: center;
  gap: 16px;
}

.pb-rating__stars {
  font-size: 24px;
  color: #ff8562;
  letter-spacing: 2px;
}

.pb-rating__value {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a2e;
}

.pb-rating__max {
  font-size: 14px;
  color: #999;
  margin-left: 4px;
}

.pb-rating__label {
  font-size: 14px;
  color: #999;
}

/* =============================================
   AUTHOR BLOCK
   ============================================= */

.pb-author {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 32px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.pb-author__avatar {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, #ff8562, #e96e4a);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.pb-author__name {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 4px;
}

.pb-author__role {
  font-size: 12px;
  color: #ff8562;
  font-weight: 600;
  margin-bottom: 8px;
}

.pb-author__bio {
  font-size: 13px;
  color: #777;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 540px) {
  .pb-author {
    flex-direction: column;
    padding: 24px 20px;
    border-radius: 20px;
  }
}

/* =============================================
   PROMO PAGE — hero block
   ============================================= */

.pb-promo-hero {
  background: #ffffff;
  border-radius: 24px;
  padding: 28px 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.pb-promo-hero__left {
  width: 100%;
}

.pb-promo-hero__top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.pb-promo-hero__logo {
  height: 28px;
  width: auto;
  display: block;
}

.pb-promo-hero__logo--round {
  height: 28px;
  width: 28px;
  object-fit: cover;
  border-radius: 50%;
}

.pb-promo-hero__screenshot {
  width: 100%;
  border-radius: 16px;
  display: block;
  margin-top: 20px !important;
  margin-bottom: 40px !important;
}

.pb-promo-hero__badge {
  display: inline-block;
  background: #fff5f2;
  color: #ff8562;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 0;
  border: 1px solid rgba(255,133,98,0.2);
}

.pb-promo-hero__title {
  font-size: clamp(22px, 3.5vw, 38px);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0.7em 0 0.5em !important;
  letter-spacing: -0.8px;
  line-height: 1.2;
}

.pb-promo-hero__desc {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 24px;
}

.pb-promo-hero__meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin: 20px 0;
}

.pb-promo-hero__meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pb-promo-hero__meta-label {
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.pb-promo-hero__meta-value {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
}

.pb-promo-hero__cols {
  display: flex;
  gap: 28px;
  align-items: stretch;
  margin: 20px 0;
}

.pb-promo-hero__cols-left {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.pb-promo-hero__cols-right {
  flex: 1;
  min-width: 0;
}

.pb-promo-hero__cols-right .pb-promo-hero__screenshot {
  height: 100%;
  max-height: 360px;
  object-fit: cover;
  object-position: top;
  vertical-align: bottom;
  margin: 0 !important;
}

/* Карточка с промокодом */
.pb-promo-code-card {
  background: #f8f8fb;
  border-radius: 20px;
  padding: 28px 28px;
  border: 1px solid rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
  flex: 1;
}

.pb-promo-code-card > * + * {
  margin-top: 12px;
}

.pb-promo-code-card__label {
  font-size: 12px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.pb-promo-code-card__code {
  font-size: 15px;
  font-weight: 800;
  color: #1a1a2e;
  letter-spacing: 1px;
  background: #fff;
  border: 2px dashed #e0e0e8;
  border-radius: 12px;
  padding: 12px 20px;
  font-family: monospace;
  white-space: nowrap;
  flex: 1;
}

.pb-promo-code-card__copy {
  background: #ff8562;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 8px;
}

.pb-promo-code-card__copy:hover {
  background: #e96e4a;
  color: #fff !important;
}

.pb-promo-code-card__hint {
  width: 100%;
  font-size: 13px;
  color: #999;
  margin: 12px 0 0;
}

.pb-promo-code-card__note {
  width: 100%;
  font-size: 12px;
  color: #bbb;
  margin-top: auto !important;
  padding-top: 12px;
}

.pb-promo-code-card__btn {
  background: transparent;
  color: #1a1a2e !important;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: 12px;
  text-decoration: none;
  display: inline-block;
  border: 1.5px solid #1a1a2e;
  transition: background 0.2s, color 0.2s;
}

.pb-promo-code-card__btn:hover {
  background: #1a1a2e;
  color: #fff !important;
}

.pb-promo-code-card__row {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-top: 4px;
}

.pb-promo-code-card__email-note {
  font-size: 14px;
  font-weight: 400;
  color: #555;
  line-height: 1.5;
  margin-top: 12px;
  margin-bottom: 16px;
}

.pb-promo-code-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-shrink: 0;
  text-align: center;
  min-width: 180px;
}

@media (max-width: 600px) {
  .pb-promo-code-card__row {
    flex-direction: column;
  }
  .pb-promo-code-card__actions {
    width: 100%;
  }
}


@media (max-width: 768px) {
  .pb-promo-hero {
    flex-direction: column;
    padding: 28px 20px;
    border-radius: 20px;
  }
  .pb-promo-hero__meta {
    gap: 16px;
  }
  .pb-promo-hero__meta-value {
    font-size: 13px;
  }
  .pb-promo-hero__screenshot {
    width: 100%;
  }
}

/* =============================================
   PROMO PAGE — steps
   ============================================= */

.pb-steps {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.pb-steps__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pb-steps__item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.pb-steps__num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: #ff8562;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pb-steps__text {
  font-size: 15px;
  color: #333;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .pb-steps { padding: 28px 20px; border-radius: 20px; }
}

/* =============================================
   PROMO PAGE — about block
   ============================================= */

.pb-about {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.pb-about__text {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 760px;
}

.pb-about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.pb-about__item {
  background: #f8f8fb;
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
}

.pb-about__icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.pb-about__item-title {
  font-size: 13px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
}

.pb-about__item-desc {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}

.pb-about__audience-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 12px;
}

@media (max-width: 768px) {
  .pb-about { padding: 28px 20px; border-radius: 20px; }
  .pb-about__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   PROMO PAGE — FAQ
   ============================================= */

.pb-faq {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.pb-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.pb-faq__item {
  padding: 18px 0;
  border-bottom: 1px solid #f0f0f4;
}

.pb-faq__item:last-child {
  border-bottom: none;
}

.pb-faq__q {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 8px;
}

.pb-faq__a {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .pb-faq { padding: 28px 20px; border-radius: 20px; }
  .pb-rating__stars { font-size: 18px; }
  .pb-breadcrumbs { padding-top: 12px; }
  .pb-promo-hero__cols { flex-direction: column; }
  .pb-promo-code-card { padding-top: 24px; }
}

/* =============================================
   PROMO PAGE — other promos
   ============================================= */

.pb-other-promos {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

.pb-other-promos .pb-section-title {
  margin-bottom: 28px;
}

@media (max-width: 768px) {
  .pb-other-promos { padding: 28px 20px; border-radius: 20px; }
}

/* =============================================
   SEO TEXT BLOCK
   ============================================= */

.pb-seo {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 40px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.pb-seo__title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 14px;
  letter-spacing: -0.4px;
}

.pb-seo__services {
  margin-bottom: 28px;
}

.pb-seo__lead {
  font-size: 15px;
  color: #666;
  margin: 0 0 28px;
  line-height: 1.7;
  max-width: 800px;
}

.pb-seo__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pb-seo__block-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
}

.pb-seo__block p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin: 0 0 12px;
}

.pb-seo__list {
  margin: 0 0 12px;
  padding-left: 18px;
}

.pb-seo__list li {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 6px;
}

.pb-seo__list li a {
  color: #1a1a2e;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(26,26,46,0.2);
  transition: border-color 0.2s;
}

.pb-seo__list li a:hover {
  border-color: #ff8562;
  color: #ff8562;
}

@media (max-width: 768px) {
  .pb-seo {
    padding: 28px 20px;
    border-radius: 20px;
  }
  .pb-seo__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* =============================================
   BLOG POSTS BLOCK (shortcode [pb_posts])
   ============================================= */

.pb-blog {
  width: calc(100% - 40px);
  max-width: 1140px;
  margin: 0 auto;
  padding: 36px 0 0;
}

.pb-blog__sub {
  font-size: 14px;
  color: #999;
  margin: -16px 0 24px;
}

.pb-blog__sub-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -16px 0 24px;
}

.pb-blog__sub-row .pb-blog__sub {
  margin: 0;
}

.pb-blog__total {
  font-size: 13px;
  color: #ff8562;
  font-weight: 600;
  white-space: nowrap;
}

.pb-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.pb-categories__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 24px 16px;
  background: #f8f8fc;
  border-radius: 12px;
  text-decoration: none;
  color: #1a1a2e;
  font-size: 14px;
  font-weight: 600;
  transition: box-shadow 0.15s, transform 0.15s;
}

.pb-categories__card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
  transform: translateY(-2px);
  color: #ff8562;
}

.pb-categories__card img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 12px;
}

.pb-categories__name {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
}

.pb-categories__count {
  font-size: 12px;
  font-weight: 400;
  color: #999;
}

@media (max-width: 600px) {
  .pb-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pb-blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pb-blog__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.pb-blog__card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.pb-blog__img {
  height: 180px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f8 0%, #e8e8f4 100%);
}

.pb-blog__img--empty {
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
}

.pb-blog__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pb-blog__body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pb-blog__date {
  font-size: 12px;
  color: #bbb;
  margin-bottom: 8px;
  display: block;
}

.pb-blog__title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 10px;
  line-height: 1.4;
}

.pb-blog__excerpt {
  font-size: 13px;
  color: #888;
  margin: 0;
  line-height: 1.6;
  flex: 1;
}

.pb-blog__more {
  text-align: center;
  margin-top: 24px;
  padding-bottom: 8px;
}

.pb-blog__more-btn {
  display: inline-block;
  background: transparent;
  border: 2px solid #e0e0e8;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 32px;
  border-radius: 12px;
  transition: border-color 0.2s, color 0.2s;
}

.pb-blog__more-btn:hover {
  border-color: #ff8562;
  color: #ff8562;
}

@media (max-width: 768px) {
  .pb-blog {
    width: calc(100% - 24px);
  }
  .pb-blog__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1024px) and (min-width: 769px) {
  .pb-blog__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =============================================
   COOKIE BANNER
   ============================================= */

.pb-cookie {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 40px);
  max-width: 860px;
  z-index: 9999;
  background: #1a1a2e;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition: opacity 0.3s, transform 0.3s;
}

.pb-cookie__inner {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
}

.pb-cookie__icon {
  font-size: 24px;
  flex-shrink: 0;
}

.pb-cookie__text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.5;
  flex: 1;
}

.pb-cookie__text a {
  color: #ff8562;
  text-decoration: none;
}

.pb-cookie__text a:hover {
  text-decoration: underline;
}

.pb-cookie__btn {
  flex-shrink: 0;
  background: #ff8562;
  color: #fff;
  border: none;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}

.pb-cookie__btn:hover {
  background: #e96e4a;
}

@media (max-width: 600px) {
  .pb-cookie {
    width: calc(100% - 24px);
    bottom: 12px;
  }

  .pb-cookie__inner {
    flex-wrap: wrap;
    padding: 16px 18px;
  }

  .pb-cookie__btn {
    width: 100%;
    text-align: center;
  }
}

/* =============================================
   FOOTER
   ============================================= */

.pb-footer {
  background: #1a1a2e;
  padding-top: 16px;
  margin-top: 16px;
}

.pb-footer__inner {
  width: calc(100% - 80px);
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 0 36px;
  color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  .pb-footer__inner {
    width: 100%;
  }
}

.pb-footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 40px;
}

.pb-footer__logo {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.pb-footer__logo span {
  color: #ff8562;
}

.pb-footer__tagline {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin: 0 0 20px;
}

.pb-footer__socials {
  display: flex;
  gap: 10px;
}

.pb-footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  transition: background 0.2s;
}

.pb-footer__social:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.pb-footer__nav {
  display: flex;
  gap: 48px;
}

.pb-footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pb-footer__nav-title {
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.pb-footer__nav-col a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.pb-footer__nav-col a:hover {
  color: #fff;
}

.pb-footer__disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.2);
  line-height: 1.6;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 20px;
  margin-bottom: 16px;
}

.pb-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.pb-footer__legal,
.pb-footer__copy {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
}

.pb-footer__links a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  text-decoration: none;
  transition: color 0.2s;
}

.pb-footer__links a:hover {
  color: rgba(255, 255, 255, 0.7);
}

.pb-footer__sep {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.2);
  margin: 0 6px;
}

@media (max-width: 768px) {
  .pb-footer {
    padding: 16px 0 0;
  }

  .pb-footer__inner {
    width: calc(100% - 40px);
    padding: 36px 0 28px;
  }

  .pb-footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .pb-footer__nav {
    gap: 32px;
  }

  .pb-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* =============================================
   CATALOG PAGE
   ============================================= */

.pb-catalog-hero {
  background: #ffffff;
  border-radius: 24px;
  padding: 44px 40px;
  border: 1px solid rgba(0,0,0,0.05);
}

.pb-catalog-hero__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 12px;
  letter-spacing: -0.5px;
}

.pb-catalog-hero__desc {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
  margin: 0;
  max-width: 640px;
}

.pb-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pb-catalog-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.pb-catalog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.pb-catalog-card__head {
  padding: 28px 28px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pb-catalog-card__head--biznes { background: linear-gradient(135deg, #fff5f2 0%, #ffddd3 100%); }
.pb-catalog-card__head--direct { background: linear-gradient(135deg, #fff8f0 0%, #ffe4b8 100%); }
.pb-catalog-card__head--karty  { background: linear-gradient(135deg, #f0f8ff 0%, #c8e6ff 100%); }
.pb-catalog-card__head--market { background: linear-gradient(135deg, #f0fff4 0%, #b8f0c8 100%); }

.pb-catalog-card__logo {
  height: 40px;
  width: auto;
}

.pb-catalog-card__logo--round {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
}

.pb-catalog-card__bonus {
  font-size: 18px;
  font-weight: 800;
  color: #ff8562;
}

.pb-catalog-card__body {
  padding: 20px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pb-catalog-card__service {
  font-size: 11px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.pb-catalog-card__title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 8px;
  line-height: 1.3;
}

.pb-catalog-card__title a {
  color: inherit;
  text-decoration: none;
}

.pb-catalog-card__title a:hover {
  color: #ff8562;
}

.pb-catalog-card__desc {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin: 0 0 16px;
}

.pb-catalog-card__meta {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.pb-catalog-card__meta-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pb-catalog-card__meta-label {
  font-size: 10px;
  color: #aaa;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.pb-catalog-card__meta-value {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a2e;
}

.pb-catalog-card__btn {
  display: block;
  background: #ff8562;
  color: #fff !important;
  text-align: center;
  padding: 12px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  margin-top: auto;
  transition: background 0.2s;
}

.pb-catalog-card__btn:hover {
  background: #e96e4a;
}

.pb-catalog-seo {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px 40px;
  border: 1px solid rgba(0,0,0,0.05);
}

.pb-catalog-seo__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 40px;
}

.pb-catalog-seo__item h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0 0 6px;
}

.pb-catalog-seo__item p {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .pb-catalog-hero { padding: 28px 20px; border-radius: 20px; }
  .pb-catalog-grid { grid-template-columns: 1fr; }
  .pb-catalog-seo { padding: 28px 20px; border-radius: 20px; }
  .pb-catalog-seo__grid { grid-template-columns: 1fr; gap: 20px; }
}

.pb-catalog-card__cover-link {
  display: block;
  text-decoration: none;
}

.pb-catalog-card__cover {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.pb-catalog-card__cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pb-catalog-card__cover .pb-catalog-card__bonus {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #ff8562;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

/* ============================================================
   CONTACTS PAGE
   ============================================================ */

.pb-contacts__title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 32px;
}

.pb-contacts__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.pb-contacts__card {
  background: #f8f8fb;
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(0,0,0,0.05);
}

.pb-contacts__card-title {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 14px;
}

.pb-contacts__card-value {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 14px;
}

.pb-contacts__card-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}

.pb-contacts__label {
  font-size: 11px;
  color: #999;
  margin-bottom: 2px;
}

.pb-contacts__value {
  font-size: 15px;
  color: #1a1a2e;
  font-weight: 500;
}

.pb-contacts__value a {
  color: #1a1a2e;
  text-decoration: none;
}

.pb-contacts__value a:hover {
  color: #ff8562;
}

.pb-contacts__socials {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pb-contacts__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #1a1a2e;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
}

.pb-contacts__social-link:hover {
  color: #ff8562;
}

.pb-contacts__social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: #1a1a2e;
  color: #fff;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.pb-contacts__partner {
  background: linear-gradient(135deg, #1a1a2e 0%, #2d2d50 100%);
  border-radius: 16px;
  padding: 28px 32px;
  color: #fff;
}

.pb-contacts__partner-badge {
  display: inline-block;
  background: #ff8562;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.pb-contacts__partner-text {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255,255,255,0.85);
  margin: 0 0 8px;
}

.pb-contacts__partner-note {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}

@media (max-width: 768px) {
  .pb-contacts__grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   PRIVACY POLICY PAGE
   ============================================================ */

.pb-privacy__title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 8px;
}

.pb-privacy__updated {
  font-size: 13px;
  color: #999;
  margin: 0 0 36px;
}

.pb-privacy__content {
  max-width: 800px;
}

.pb-privacy__content h2 {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 36px 0 12px;
}

.pb-privacy__content h3 {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 20px 0 8px;
}

.pb-privacy__content p {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 12px;
}

.pb-privacy__content ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

.pb-privacy__content ul li {
  font-size: 15px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 4px;
}

.pb-privacy__content a {
  color: #1a1a2e;
}

.pb-privacy__content a:hover {
  color: #ff8562;
}

/* ============================================================
   404 PAGE
   ============================================================ */

.pb-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}

.pb-404__inner {
  text-align: center;
  max-width: 560px;
}

.pb-404__code {
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: #1a1a2e;
  margin-bottom: 8px;
  letter-spacing: -4px;
}

.pb-404__title {
  font-size: 28px;
  font-weight: 800;
  color: #1a1a2e;
  margin: 0 0 12px;
}

.pb-404__desc {
  font-size: 16px;
  color: #666;
  margin: 0 0 32px;
  line-height: 1.6;
}

.pb-404__links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.pb-404__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.pb-404__btn:hover {
  opacity: 0.85;
}

.pb-404__btn--primary {
  background: #1a1a2e;
  color: #fff !important;
}

.pb-404__btn--secondary {
  background: #f0f0f5;
  color: #1a1a2e !important;
}

.pb-404__promos-title {
  font-size: 13px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 16px;
}

.pb-404__promos-grid {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pb-404__promo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: #f8f8fb;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  transition: box-shadow 0.2s, transform 0.2s;
  min-width: 110px;
}

.pb-404__promo-item:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.pb-404__promo-bonus {
  font-size: 15px;
  font-weight: 800;
  color: #ff8562;
}

.pb-404__promo-name {
  font-size: 12px;
  color: #555;
  font-weight: 500;
}

/* ============================================================
   PROMO HERO — intro + updated
   ============================================================ */

.pb-promo-hero__intro {
  font-size: 15px;
  line-height: 1.7;
  color: #666;
  margin: 12px 0 8px;
}

.pb-promo-hero__updated {
  font-size: 12px;
  color: #aaa;
  margin-bottom: 16px;
}

/* ============================================================
   RATING BLOCK
   ============================================================ */

.pb-rating {
  background: #f8f8fb;
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin: 24px 0;
  border: 1px solid rgba(0,0,0,0.05);
}

.pb-rating__title {
  font-size: 14px;
  font-weight: 600;
  color: #555;
  flex-shrink: 0;
}

.pb-rating__stars-input {
  display: flex;
  flex-direction: row-reverse;
  gap: 2px;
}

.pb-rating__stars-input input {
  display: none;
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pb-rating__stars-input label {
  font-size: 28px;
  color: #ddd;
  cursor: pointer;
  transition: color 0.15s;
  line-height: 1;
}

.pb-rating__stars-input label:hover,
.pb-rating__stars-input label:hover ~ label,
.pb-rating__stars-input input:checked ~ label {
  color: #ff8562;
}

.pb-rating__summary {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pb-rating__avg {
  font-size: 24px;
  font-weight: 800;
  color: #1a1a2e;
}

.pb-rating__out {
  font-size: 13px;
  color: #999;
}

.pb-rating__count {
  font-size: 13px;
  color: #999;
}

.pb-rating__thanks {
  font-size: 14px;
  font-weight: 600;
  color: #ff8562;
}

@media (max-width: 768px) {
  .pb-rating {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* ============================================================
   БЛОГ — layout статьи с сайдбаром
   ============================================================ */

.pb-post-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 32px;
}

/* Сайдбар */
.pb-sidebar__sticky {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

.pb-sidebar__promo-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #fff;
  border-radius: 16px;
  padding: 18px 20px;
  text-decoration: none;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 12px rgba(0,0,0,0.05);
  transition: box-shadow 0.2s, transform 0.2s;
}

.pb-sidebar__promo-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  transform: translateY(-2px);
}

.pb-sidebar__promo-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pb-sidebar__promo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 8px;
}

.pb-sidebar__promo-name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
}

.pb-sidebar__promo-bonus {
  font-size: 18px;
  font-weight: 800;
  color: #ff8562;
}

.pb-sidebar__promo-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
}

.pb-sidebar__promo-desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}

.pb-sidebar__promo-btn {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  transition: color 0.15s;
}

.pb-sidebar__promo-card:hover .pb-sidebar__promo-btn {
  color: #ff8562;
}

@media (max-width: 1024px) {
  .pb-post-layout { grid-template-columns: 1fr; }
  .pb-sidebar { display: none; }
}

@media (max-width: 768px) {
  .pb-article { padding: 20px 18px 32px !important; border-radius: 12px; }
  .pb-article__title { font-size: 22px; line-height: 1.3; }
  .pb-article__meta { flex-wrap: wrap; gap: 4px 8px; }
  .pb-article__content h2 { font-size: 19px; margin-top: 0; }
  .pb-article__content h3 { font-size: 16px; margin-top: 0; }
  .pb-article__content table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .pb-article__content ul,
  .pb-article__content ol { padding-left: 20px; }
  .pb-toc { padding: 14px 16px; }
  .pb-toc__link { font-size: 14px; }
  .pb-callout { padding: 14px 16px; }
  .pb-article__cover { border-radius: 10px; margin-bottom: 20px; }
  .pb-related__grid { grid-template-columns: 1fr; }
  .pb-article__content section + section,
  .pb-article__content section + .pb-faq,
  .pb-article__content section + .pb-steps,
  .pb-article__content .pb-steps + section,
  .pb-article__content .pb-faq + section { margin-top: 8px; }
  .pb-article__content section,
  .pb-article__content .pb-steps,
  .pb-article__content .pb-faq { padding: 0; }
}

/* ============================================================
   БЛОГ — шаблон статьи
   ============================================================ */

.pb-article {
  padding: 36px 30px 48px !important;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.05);
}

.pb-article__header {
  margin-bottom: 24px;
}

.pb-article__cover {
  margin-bottom: 28px;
  border-radius: 14px;
  overflow: hidden;
}

.pb-article__cover-img {
  width: 100%;
  height: auto;
  display: block;
}

.pb-article__title {
  font-size: 32px;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.25;
  margin-bottom: 12px;
}

.pb-article__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #999;
}

.pb-article__sep { color: #ddd; }

.pb-article__reading-time {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pb-article__reading-time::before {
  content: '⏱';
  font-size: 12px;
}

.pb-article__views {
  display: flex;
  align-items: center;
  gap: 4px;
}

.pb-article__views::before {
  content: '👁';
  font-size: 12px;
}

/* Содержание */
.pb-toc {
  background: #f8f8fc;
  border-left: 3px solid #ff8562;
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 36px;
}

.pb-toc__title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 12px;
}

.pb-toc__list {
  margin: 0;
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.pb-toc__item { margin: 0; }
.pb-toc__item::marker { color: #1a1a2e; }

.pb-toc__link {
  font-size: 15px;
  color: #1a1a2e;
  text-decoration: none;
  line-height: 1.4;
  transition: color 0.15s;
}

.pb-toc__link:hover { color: #ff8562; }

/* Контент статьи — секции без оформления, с отступами между ними */
.pb-article__content section,
.pb-article__content .pb-steps,
.pb-article__content .pb-faq {
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  margin-bottom: 0;
}

.pb-article__content section + section,
.pb-article__content section + .pb-faq,
.pb-article__content section + .pb-steps,
.pb-article__content .pb-steps + section,
.pb-article__content .pb-faq + section {
  margin-top: 48px;
}

@media (max-width: 768px) {
  .pb-article__content section + section,
  .pb-article__content section + .pb-faq,
  .pb-article__content section + .pb-steps,
  .pb-article__content .pb-steps + section,
  .pb-article__content .pb-faq + section {
    margin-top: 8px;
  }
}

.pb-article__content h2 {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 40px 0 16px;
  scroll-margin-top: 80px;
}

.pb-article__content > h2:first-child,
.pb-article__content section:first-child > h2:first-child { margin-top: 0; }

.pb-article__content h3 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 28px 0 10px;
}

.pb-article__content h3:first-child { margin-top: 0; }

.pb-article__content .pb-faq,
.pb-article__content .pb-section-title {
  margin-top: 40px;
}

.pb-article__content .pb-steps { margin-top: 8px; }

.pb-article__content p {
  font-size: 16px;
  line-height: 1.75;
  color: #333;
  margin-bottom: 16px;
}

.pb-article__content p:last-child { margin-bottom: 0; }

.pb-article .pb-promo-hero__updated { margin-top: 32px; }

.pb-article__content ul,
.pb-article__content ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.pb-article__content li {
  font-size: 16px;
  line-height: 1.7;
  color: #333;
  margin-bottom: 6px;
}

.pb-article__content table {
  width: 100%;
  border-collapse: collapse;
  margin: 4px 0 16px;
  font-size: 15px;
}

.pb-article__content th,
.pb-article__content td {
  padding: 10px 14px;
  border: 1px solid #e8e8f0;
  text-align: left;
}

.pb-article__content th {
  background: #f8f8fc;
  font-weight: 600;
  color: #1a1a2e;
}

/* Callout-блоки */
.pb-callout {
  border-radius: 10px;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.65;
}

.pb-callout--tip    { background: #fff8f5; border-left: 3px solid #ff8562; }
.pb-callout--info   { background: #f0f6ff; border-left: 3px solid #4a9eff; }
.pb-callout--warning{ background: #fffbf0; border-left: 3px solid #f5a623; }

.pb-callout__title {
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 6px;
  font-size: 15px;
}

.pb-callout__text { color: #444; }

/* Кнопки шаринга */
.pb-share {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 36px 0 24px;
  flex-wrap: wrap;
}

.pb-share__label {
  font-size: 14px;
  color: #999;
  font-weight: 500;
}

.pb-share__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s;
}

.pb-share__btn:hover { opacity: 0.85; color: #fff; text-decoration: none; }

.pb-share__btn--vk {
  background: #0077ff;
  color: #fff;
}

.pb-share__btn--vk:hover { color: #fff; }

.pb-share__btn--tg {
  background: #26a5e4;
  color: #fff;
}

.pb-share__btn--tg:hover { color: #fff; }

/* Похожие статьи — стиль как на главной */
.pb-related {
  margin-top: 48px;
  padding-top: 36px;
  border-top: 1px solid #e8e8f0;
}

.pb-related__title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a2e;
  margin-bottom: 20px;
}

.pb-related__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .pb-related__grid { grid-template-columns: 1fr; }
}

.pb-related__more {
  margin-top: 24px;
  text-align: center;
}

.pb-related__more-btn {
  display: inline-block;
  padding: 12px 28px;
  border: 2px solid #ff8562;
  border-radius: 12px;
  color: #ff8562;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.pb-related__more-btn:hover {
  background: #ff8562;
  color: #fff;
}

.pb-related__card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 2px 10px rgba(0,0,0,0.04);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s, transform 0.25s;
}

.pb-related__card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  transform: translateY(-3px);
}

.pb-related__img {
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f0f8 0%, #e8e8f4 100%);
}

.pb-related__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pb-related__img--empty {
  background: linear-gradient(135deg, #fff5f2 0%, #ffe8e0 100%);
}

.pb-related__body {
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.pb-related__date {
  font-size: 12px;
  color: #bbb;
}

.pb-related__name {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a2e;
  line-height: 1.4;
  margin: 0;
  transition: color 0.15s;
}

.pb-related__card:hover .pb-related__name {
  color: #ff8562;
}


@media (max-width: 390px) {
  .pb-article { padding: 16px 14px 28px !important; }
  .pb-article__title { font-size: 20px; }
  .pb-steps__item { gap: 10px; }
  .pb-steps__num { width: 28px; height: 28px; font-size: 13px; flex-shrink: 0; }
  .pb-faq__q { font-size: 15px; }
  .pb-author { flex-direction: column; gap: 12px; }
}

/* ============================================================
   СТРАНИЦА БЛОГА — архив (использует pb-blog__ классы с главной)
   ============================================================ */

.pb-blog--archive {
  width: 100%;
  padding-bottom: 80px;
}

.pb-back {
  margin-bottom: 24px;
}

.pb-back__btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: #1a1a2e;
  text-decoration: none;
  padding: 10px 20px;
  border: 1.5px solid #e5e5ef;
  border-radius: 8px;
  transition: border-color 0.15s, color 0.15s;
}

.pb-back__btn:hover {
  border-color: #ff8562;
  color: #ff8562;
}

.pb-blog-archive__pagination {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.pb-blog-archive__pagination .nav-links {
  display: flex;
  gap: 8px;
  align-items: center;
}

.pb-blog-archive__pagination .page-numbers {
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid #e8e8f0;
  font-size: 14px;
  color: #1a1a2e;
  text-decoration: none;
  transition: background 0.15s;
}

.pb-blog-archive__pagination .page-numbers.current,
.pb-blog-archive__pagination .page-numbers:hover {
  background: #ff8562;
  color: #fff;
  border-color: #ff8562;
}

@media (max-width: 768px) {
  .pb-blog-archive__grid { grid-template-columns: 1fr; }
  .pb-blog-archive__title { font-size: 24px; }
}
