/* PromSitePro Global Premium 3.2 — frontend stylesheet */
/* PromSitePro | Promouter Center Global Premium 3.0
   Полная замена поля Дополнительные стили.
   Общие стили и исправленный каталог партнёров. */

/* =========================================================
   PromSitePro — единый премиальный стиль внутренних страниц
   ========================================================= */

/* 1. Общий мягкий фон для всех внутренних страниц */
body:not(.home) {
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 107, 45, 0.05) 0%, rgba(255, 107, 45, 0) 26%),
    radial-gradient(circle at 88% 10%, rgba(216, 188, 150, 0.10) 0%, rgba(216, 188, 150, 0) 28%),
    linear-gradient(180deg, #f7f5f1 0%, #f3f1ed 52%, #efede8 100%);
  color: #1f2937;
}

/* 2. Основные контейнеры прозрачные */
body:not(.home) #main,
body:not(.home) .page-wrapper,
body:not(.home) .main-content,
body:not(.home) .entry-content,
body:not(.home) .site-main {
  background: transparent !important;
}

/* 3. Убираем пустой отступ под шапкой */
body:not(.home) #main,
body:not(.home) .page-wrapper,
body:not(.home) .main-content,
body:not(.home) .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Если сверху случайно стоит spacer / gap — скрываем первый */
body:not(.home) .entry-content > .wp-block-spacer:first-child,
body:not(.home) .entry-content > .gap:first-child,
body:not(.home) .ux-builder-content > .gap:first-child,
body:not(.home) .ux-builder-content > .wp-block-spacer:first-child {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
}

/* 4. Универсальная премиальная карточка секции */
.psp-premium-section,
.psp-premium-hero,
.psp-premium-card {
  position: relative;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: 28px;
  box-shadow: 0 18px 45px rgba(31, 41, 55, 0.06);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* 5. Единая ширина внутренних секций */
.psp-premium-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 28px;
  padding-right: 28px;
}

/* 6. Первый экран без лишнего отступа */
.psp-premium-hero {
  margin-top: 0 !important;
  padding: 42px 46px;
  overflow: hidden;
}

/* 7. Мягкий декоративный фон внутри hero */
.psp-premium-hero::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -50px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 45, 0.08) 0%, rgba(255, 107, 45, 0) 70%);
  pointer-events: none;
}

.psp-premium-hero::after {
  content: "";
  position: absolute;
  left: -70px;
  bottom: -70px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(216, 188, 150, 0.10) 0%, rgba(216, 188, 150, 0) 72%);
  pointer-events: none;
}

/* 8. Хлебные крошки / надзаголовок */
.psp-breadcrumbs,
.psp-eyebrow {
  position: relative;
  z-index: 2;
  color: #7b8794;
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 14px;
}

.psp-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  margin-bottom: 18px;
  color: #d35b20;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.psp-section-tag::before {
  content: "";
  width: 38px;
  height: 3px;
  border-radius: 999px;
  background: #ff5b21;
}

/* 9. Единые заголовки */
.psp-title-xl {
  position: relative;
  z-index: 2;
  margin: 0 0 16px;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #1f2937;
}

.psp-title-lg {
  margin: 0 0 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  font-weight: 800;
  color: #1f2937;
}

/* 10. Описание */
.psp-lead,
.psp-text-lg {
  position: relative;
  z-index: 2;
  font-size: 18px;
  line-height: 1.7;
  color: #5d6b79;
  margin: 0 0 24px;
}

/* 11. Чипы */
.psp-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 26px;
  position: relative;
  z-index: 2;
}

.psp-chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(31, 41, 55, 0.10);
  background: rgba(255,255,255,0.82);
  color: #4b5563;
  font-size: 16px;
  font-weight: 600;
}

/* 12. Кнопки */
.psp-btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.psp-btn-primary,
.psp-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 26px;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.22s ease;
}

.psp-btn-primary {
  background: linear-gradient(135deg, #d85c1f 0%, #ff5b21 100%);
  color: #fff !important;
  box-shadow: 0 14px 28px rgba(255, 91, 33, 0.22);
}

.psp-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(255, 91, 33, 0.28);
  color: #fff !important;
}

.psp-btn-secondary {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(31, 41, 55, 0.10);
  color: #1f2937 !important;
}

.psp-btn-secondary:hover {
  background: #fff;
  transform: translateY(-2px);
}

/* 13. Малые статистические карточки */
.psp-stat-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.psp-stat-box {
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(31, 41, 55, 0.09);
  border-radius: 22px;
  box-shadow: 0 12px 28px rgba(31, 41, 55, 0.05);
  padding: 22px 24px;
}

.psp-stat-num {
  font-size: 56px;
  line-height: 1;
  font-weight: 800;
  color: #c7521c;
}

.psp-stat-text {
  margin-top: 6px;
  font-size: 16px;
  line-height: 1.45;
  color: #667482;
}

/* 14. Универсальный премиальный блок ниже hero */
.psp-premium-block {
  margin-top: 26px;
  padding: 34px 36px;
}

/* 15. Адаптив */
@media (max-width: 991px) {
  .psp-premium-wrap {
    padding-left: 18px;
    padding-right: 18px;
  }

  .psp-premium-hero {
    padding: 28px 22px;
    border-radius: 22px;
  }

  .psp-premium-block {
    padding: 24px 20px;
    border-radius: 22px;
  }

  .psp-stat-num {
    font-size: 44px;
  }

  .psp-btn-primary,
  .psp-btn-secondary {
    width: 100%;
  }
}

@media (max-width: 767px) {
  .psp-title-xl {
    font-size: 38px;
  }

  .psp-title-lg {
    font-size: 28px;
  }

  .psp-lead,
  .psp-text-lg {
    font-size: 17px;
  }

  .psp-chip {
    width: 100%;
    justify-content: center;
  }
}
/* Promouter Center — Premium Style 2.0 */

/* Фирменный фон внутренних страниц */
body.page:not(.home):has(.pspc-header) main {
    background-color: #f8f5f1 !important;
    background-image:
        linear-gradient(
            135deg,
            rgba(250,248,245,.95),
            rgba(246,241,235,.96)
        ),
        url('mark-video.png') !important;

    background-repeat: no-repeat, repeat !important;
    background-size: 100% 100%, 170px 105px !important;
    background-position: center, center top !important;
    margin-block-start: 0 !important;
}

/* Убираем отступы вложенных контейнеров */
body.page:not(.home) .wp-site-blocks >
:not(header):not(main):has(.pspr-page, .pspc-portfolio-hero, .psp-premium-hero),
body.page:not(.home) main
:is(.wp-block-group, .wp-block-post-content, .entry-content, article)
:has(.pspr-page, .pspc-portfolio-hero, .psp-premium-hero) {
    margin-block-start: 0 !important;
    padding-block-start: 0 !important;
}

/* Компактное расстояние от шапки */
body.page:not(.home):has(.pspc-header)
main:has(.pspr-page, .pspc-portfolio-hero, .psp-premium-hero) {
    margin-top: 0 !important;
    padding-top: 14px !important;
}

/* Убираем повторные верхние отступы */
body.page:not(.home) .pspr-page,
body.page:not(.home) .pspr-hero,
body.page:not(.home) .pspc-portfolio-hero,
body.page:not(.home) .psp-premium-hero {
    margin-top: 0 !important;
}

/* Единое оформление первых экранов */
body.page:not(.home) 
:is(.pspr-hero, .pspc-portfolio-hero, .psp-premium-hero) {
    background: linear-gradient(
        125deg,
        #ffffff 10%,
        #fffbf7 65%,
        #fff0e4 100%
    ) !important;
    border: 1px solid #e9ddd2 !important;
    border-radius: 26px !important;
    box-shadow: 0 12px 35px rgba(48,39,29,.06);
}

/* Плавное оформление карточек */
.pspr-page .pspr-card,
.psp-portfolio .psp-card {
    box-shadow: 0 8px 26px rgba(48,39,29,.06);
    transition: box-shadow .25s ease;
}

.pspr-page .pspr-card:hover,
.psp-portfolio .psp-card:hover {
    box-shadow: 0 12px 32px rgba(48,39,29,.10);
}

/* Мобильная версия */
@media (max-width: 767px) {
    body.page:not(.home):has(.pspc-header) main {
        background-size: 100% 100%, 105px 65px !important;
    }

    body.page:not(.home):has(.pspc-header)
    main:has(.pspr-page, .pspc-portfolio-hero, .psp-premium-hero) {
        padding-top: 8px !important;
    }

    body.page:not(.home)
    :is(.pspr-hero, .pspc-portfolio-hero, .psp-premium-hero) {
        border-radius: 19px !important;
    }
}

/* ===== 3. PromSitePro | Partners Premium 1.2 =====
   Для Layout 1.5.1. Исходные шорткоды и каталог сохранены. */

/* Снимаем ограничения блочной темы только с предков каталога. */
body.pspcl26-partners-page :is(main,.wp-block-group,.wp-block-post-content,.entry-content,article):has(.pcp26) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  --wp--style--block-gap: 0px;
}
body.pspcl26-partners-page :is(.wp-block-group,.wp-block-post-content,.entry-content,article):has(.pcp26):not(main) {
  background: transparent !important;
}
body.pspcl26-partners-page:has(.pcp26) :is(.wp-block-post-title,.entry-title) {
  display: none !important;
}
body.pspcl26-partners-page main:has(.pcp26) {
  background-color: #f8f5f1 !important;
  background-image: linear-gradient(135deg,rgba(250,248,245,.95),rgba(246,241,235,.96)),url('mark-video.png') !important;
  background-repeat: no-repeat, repeat !important;
  background-size: 100% 100%, 170px 105px !important;
  background-position: center, center top !important;
  border: 0 !important;
}
/* Убираем отрицательные отступы и ширину viewport из JS Layout. */
body.pspcl26-partners-page .pcp26 {
  --pcp-width: 100% !important;
  --orange: #ff5220;
  --ink: #20252d;
  --muted: #596572;
  --line: #eadfd6;
  --bg: transparent;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: clamp(20px,2.5vw,42px) 0 clamp(26px,3vw,44px) !important;
  background-color: #f8f5f1 !important;
  background-image: linear-gradient(135deg,rgba(250,248,245,.95),rgba(246,241,235,.96)),url('mark-video.png') !important;
  background-repeat: no-repeat, repeat !important;
  background-size: 100% 100%, 170px 105px !important;
  background-position: center, center top !important;
  font-family: inherit !important;
  color: var(--ink);
}
body.pspcl26-partners-page .pcp26 .pcp26-inner,
body.pspcl26-partners-page .pcp26 #pcp26-catalog,
body.pspcl26-partners-page .pcp26 section.pcp26-hero {
  box-sizing: border-box !important;
  width: calc(100% - 48px) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
}
/* Первый экран: светлая карточка, как в «Поиске персонала». */
body.pspcl26-partners-page .pcp26 section.pcp26-hero {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  margin-block: 0 !important;
  padding: clamp(26px,3.4vw,46px) !important;
  background: linear-gradient(125deg,#fff 10%,#fffbf7 65%,#fff0e4 100%) !important;
  border: 1px solid #e9ddd2 !important;
  border-radius: 26px !important;
  color: #20252d !important;
  box-shadow: 0 12px 35px rgba(48,39,29,.06);
}
body.pspcl26-partners-page .pcp26 section.pcp26-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  pointer-events: none;
  width: 360px;
  height: 360px;
  right: -105px;
  top: -175px;
  border: 45px solid rgba(255,82,32,.045);
  border-radius: 50%;
  box-shadow: 0 0 0 45px rgba(255,82,32,.025),0 0 0 90px rgba(255,82,32,.015);
}
body.pspcl26-partners-page .pcp26 .pcp26-hero .pcp26-hero-grid {
  display: grid !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  grid-template-columns: minmax(0,1fr) minmax(220px,29%) !important;
  align-items: center !important;
  gap: clamp(20px,4vw,52px) !important;
  background: transparent !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-hero-grid > * {min-width:0;}
body.pspcl26-partners-page .pcp26 .pcp26-kicker {
  display: flex;align-items: center;gap: 10px;
  font-size: 12px !important;line-height: 1.5;
  font-weight: 750;letter-spacing: .12em;
  color: #a43b17 !important;text-shadow: none !important;
  margin: 0 0 14px !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-kicker::before {content:'';width:32px;height:3px;flex:none;background:#ff5220;border-radius:4px;}
body.pspcl26-partners-page .pcp26 h1 {
  font-family: inherit !important;font-size: clamp(34px,4.2vw,58px) !important;
  font-weight: 750 !important;line-height: 1.1 !important;letter-spacing: -.035em;
  color: #20252d !important;margin: 0 0 18px !important;overflow-wrap: break-word;
}
body.pspcl26-partners-page .pcp26 .pcp26-hero p {
  font-size: clamp(16px,1.45vw,19px) !important;line-height: 1.65;
  color: #596572 !important;max-width: 700px;margin: 0 0 22px !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-hero-side {
  display: flex !important;flex-direction: column;align-items: center;justify-content:center;
  gap: 8px;text-align: center;padding: 22px 18px !important;
  border: 1px solid #eedbd0 !important;border-radius: 18px !important;
  background: #ffffffed !important;color: #596572 !important;
  box-shadow: 0 6px 22px rgba(48,39,29,.05);
}
body.pspcl26-partners-page .pcp26 .pcp26-brand {
  display: block;width: 110px !important;height: 78px !important;
  object-fit: contain;margin: 0 auto !important;padding: 0 !important;
  background: transparent !important;box-shadow: none !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-number {font-size:clamp(42px,4vw,60px)!important;font-weight:750;line-height:1.05;color:#b73812!important;}
/* Каталог: фон прозрачный, чтобы узор был виден между карточками. */
body.pspcl26-partners-page .pcp26 #pcp26-catalog {
  padding: clamp(30px,4vw,50px) 0 0 !important;
  margin-block: 0 !important;
  background: transparent !important;
  scroll-margin-top: 270px;
}
body.pspcl26-partners-page .pcp26 .pcp26-head {
  display:flex;justify-content:space-between;align-items:end;gap:20px;
  margin:0 0 18px!important;padding:0!important;background:transparent!important;
}
body.pspcl26-partners-page .pcp26 h2 {
  font-family:inherit!important;font-size:clamp(27px,3.2vw,42px)!important;
  font-weight:750!important;letter-spacing:-.035em;line-height:1.18!important;
  color:#20252d!important;margin:0!important;
}
body.pspcl26-partners-page .pcp26 .pcp26-search {min-width:min(340px,100%);color:#596572;}
body.pspcl26-partners-page .pcp26 .pcp26-search input {
  box-sizing:border-box;width:100%;min-height:48px;border:1px solid #e4d8cd!important;
  border-radius:12px!important;background:#fff!important;color:#20252d!important;
}
body.pspcl26-partners-page .pcp26 .pcp26-search input::placeholder {color:#69727d;}
body.pspcl26-partners-page .pcp26 .pcp26-filters {
  padding:12px!important;margin:0 0 15px!important;gap:8px;
  background:#ffffffdf!important;border:1px solid #e9dfd7;border-radius:16px;
}
body.pspcl26-partners-page .pcp26 .pcp26-filters button {font-family:inherit;min-height:40px;white-space:normal;}
body.pspcl26-partners-page .pcp26 .pcp26-count {font-size:14px;color:#596572;}
body.pspcl26-partners-page .pcp26 .pcp26-grid {
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;gap:18px!important;background:transparent!important;
  margin:0!important;padding:0!important;
}
body.pspcl26-partners-page .pcp26 .pcp26-card {
  display:flex;flex-direction:column;min-width:0;min-height:0!important;
  margin:0!important;background:#fff!important;border:1px solid #e9ddd2!important;
  border-radius:20px!important;overflow:hidden;
  box-shadow:0 8px 24px rgba(48,39,29,.055);
}
body.pspcl26-partners-page .pcp26 [hidden] {display:none!important;}
body.pspcl26-partners-page .pcp26 .pcp26-logo {
  height:150px!important;padding:20px 26px!important;
  background:linear-gradient(150deg,#fff,#fffdfa)!important;border-bottom:1px solid #eee6df;
}
body.pspcl26-partners-page .pcp26 .pcp26-logo img {max-width:220px!important;object-fit:contain!important;}
body.pspcl26-partners-page .pcp26 .pcp26-info {display:flex;flex-direction:column;flex:1;padding:20px 21px 22px!important;}
body.pspcl26-partners-page .pcp26 .pcp26-tag {font-size:11px;color:#a43b17;font-weight:700;}
body.pspcl26-partners-page .pcp26 h3 {
  font-family:inherit!important;font-size:clamp(19px,1.8vw,23px)!important;
  font-weight:700!important;line-height:1.25!important;color:#20252d!important;
}
body.pspcl26-partners-page .pcp26 .pcp26-info p {font-size:15px;line-height:1.6;color:#505d69;}
body.pspcl26-partners-page .pcp26 .pcp26-info details {margin-top:auto;padding-top:12px;border-color:#eee6df;}
body.pspcl26-partners-page .pcp26 .pcp26-info summary {color:#a43b17;min-height:30px;}
body.pspcl26-partners-page .pcp26 :is(.pcp26-btn,.pcp26-more) {min-height:46px;justify-content:center;}
body.pspcl26-partners-page .pcp26 .pcp26-more {margin:26px auto 0!important;}
/* Общий подвал уже содержит предложение сотрудничества. */
body.pspcl26-partners-page:has(.pspc-footer) .pcp26 .pcp26-cta {display:none!important;}
body.pspcl26-partners-page:has(.pcp26) .pspc-footer {margin-block-start:0!important;}
@media(max-width:980px){
  body.pspcl26-partners-page .pcp26 .pcp26-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-hero .pcp26-hero-grid {grid-template-columns:minmax(0,1fr) minmax(170px,30%)!important;gap:20px!important;}
}
@media(max-width:620px){
  body.pspcl26-partners-page main:has(.pcp26) {background-size:100% 100%,105px 65px!important;}
  body.pspcl26-partners-page .pcp26 {padding:14px 0 24px!important;background-size:100% 100%,105px 65px!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-inner,
  body.pspcl26-partners-page .pcp26 #pcp26-catalog,
  body.pspcl26-partners-page .pcp26 section.pcp26-hero {width:calc(100% - 28px)!important;}
  body.pspcl26-partners-page .pcp26 section.pcp26-hero {padding:22px 18px!important;border-radius:19px!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-hero .pcp26-hero-grid {width:100%!important;grid-template-columns:1fr!important;gap:16px!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-hero-side {display:grid!important;grid-template-columns:76px 1fr;align-items:center;text-align:left;gap:3px 12px;padding:12px 15px!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-brand {grid-row:span 2;width:65px!important;height:52px!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-number {font-size:36px!important;}
  body.pspcl26-partners-page .pcp26 h1 {font-size:clamp(28px,8vw,38px)!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-hero .pcp26-btn {width:100%;}
  body.pspcl26-partners-page .pcp26 #pcp26-catalog {padding-top:28px!important;scroll-margin-top:215px;}
  body.pspcl26-partners-page .pcp26 .pcp26-head {flex-direction:column;align-items:stretch;}
  body.pspcl26-partners-page .pcp26 .pcp26-grid {grid-template-columns:1fr!important;gap:14px!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-logo {height:132px!important;padding:18px 24px!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-info {padding:17px 18px 19px!important;}
  body.pspcl26-partners-page .pcp26 .pcp26-filters button {font-size:12px;min-height:40px;}
}
@media(prefers-reduced-motion:reduce){body.pspcl26-partners-page .pcp26 *{animation:none!important;transition:none!important;}}

/* Partner catalog refinements */
body.pspcl26-partners-page .pcp26 .pcp26-filters button[aria-pressed="true"] {
  background: #b73812 !important;
  color: #fff !important;
  border-color: #b73812 !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-card[hidden],
body.pspcl26-partners-page .pcp26 .pcp26-more[hidden],
body.pspcl26-partners-page .pcp26 .pcp26-empty[hidden] {
  display: none !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-cta h2 {
  color: #fff !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-cta .pcp26-kicker {
  color: #ffbc87 !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-empty {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e9ddd2;
}
/* Original brand pattern on partner content, no separate gray catalog panel. */
body.pspcl26-partners-page .pcp26 .pcp26-catalog,
body.pspcl26-partners-page .pcp26 .pcp26-grid {
  background: transparent !important;
}
/* Keep the title readable and card aligned even if the plugin CSS loads later. */
body.pspcl26-partners-page .pcp26 .pcp26-hero h1 {color:#20252d!important;}
body.pspcl26-partners-page .pcp26 .pcp26-hero p {color:#596572!important;}
/* ===== End of global stylesheet ===== */

/* Partners: one continuous brand background, on the outer content wrapper. */
body.pspcl26-partners-page .pcp26 {
  background: transparent !important;
}
body.pspcl26-partners-page main:has(.pcp26) {
  background: linear-gradient(135deg,rgba(250,248,245,.95),rgba(246,241,235,.96)),url('mark-video.png') center top / 170px 105px repeat !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-hero {
  background: linear-gradient(125deg,#fff 10%,#fffbf7 65%,#fff0e4 100%) !important;
  color: #20252d !important;
}
body.pspcl26-partners-page .pcp26 .pcp26-catalog {background:transparent!important;}
@media(max-width:620px){
  body.pspcl26-partners-page main:has(.pcp26){background-size:100% 100%,105px 65px!important;}
}

body.pspcl26-partners-page:not(:has(main .pcp26)) .pcp26 {
  background: linear-gradient(135deg,rgba(250,248,245,.95),rgba(246,241,235,.96)),url('mark-video.png') center top / 170px 105px repeat !important;
}
@media(max-width:620px){body.pspcl26-partners-page:not(:has(main .pcp26)) .pcp26{background-size:100% 100%,105px 65px!important;}}

/* 3.3 — Mobile typography. Header and footer are excluded from content rules. */
@media (max-width: 767px) {
  body :is(main,.entry-content,.wp-block-post-content) :is(p,li):not(:is(header *,footer *,nav *,[role="navigation"] *, .pspc-header *, .pspc-footer *, .wpcf7 *, [role="dialog"] *)) {
    font-size:17px!important;
    line-height:1.65!important;
    overflow-wrap:break-word;
  }
  body :is(main,.entry-content,.wp-block-post-content) :is(.psptr-hero,.pspsv-hero,.pspmc-hero,.pspdy-hero,.pspct-hero,.psprev-hero,.pspa-hero,.pspr-hero,.pcp26-hero,.pspc-portfolio-hero) p {
    font-size:18px!important;
    line-height:1.6!important;
  }
  body main .pcp26 .pcp26-info p {font-size:17px!important;line-height:1.65!important;}
  body :is(main,.entry-content,.wp-block-post-content) .wpcf7 :is(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),textarea,select) {font-size:16px!important;}
}
@media (max-width: 1050px) {
  .pspc-header .pspc-mobile[open]>ul {
    max-height: min(72vh, calc(100vh - 155px))!important;
    max-height: min(72dvh, calc(100dvh - 155px))!important;
    overflow-y:auto!important; overscroll-behavior:contain;
    padding:8px!important; scrollbar-width:auto;
  }
  .pspc-header .pspc-mobile>ul>li {margin:0 0 5px!important;padding:3px!important;}
  .pspc-header .pspc-mobile>ul>li>a {font-size:16px!important;min-height:44px;padding:9px 12px!important;line-height:1.3!important;}
  .pspc-header .pspc-mobile li li>a {font-size:15px!important;line-height:1.35!important;min-height:44px;}
  .pspc-header .pspc-mobile>ul>li.psp-mobile-group {display:grid;grid-template-columns:minmax(0,1fr) 44px;gap:4px;align-items:start;}
  .pspc-header .pspc-mobile>ul>li.psp-mobile-group>ul {grid-column:1/-1;}
  .pspc-header .pspc-mobile>ul>li.psp-mobile-group>ul[hidden] {display:none!important;}
  .pspc-header .pspc-mobile .psp-mobile-subtoggle {box-sizing:border-box;width:44px;min-height:44px;padding:0;display:grid;place-items:center;border:1px solid #eadbd1;border-radius:9px;background:#fffaf5;color:#a93412;font-family:inherit;font-weight:700;font-size:21px;line-height:1;cursor:pointer;}
  .pspc-header .pspc-mobile .psp-mobile-subtoggle[aria-expanded="true"] {background:#b73812;color:white;}
  .pspc-header .pspc-mobile .psp-mobile-subtoggle:focus-visible {outline:2px solid #a93412;outline-offset:-3px;}
  .pspc-header .pspc-mobile>ul>li.psp-mobile-group>a::after {display:none;}
}

/* 3.3.3 — Desktop navigation: single current section, no mouse-click frame.
   Keep the existing header dimensions, dropdown behaviour and mobile menu. */
@media (min-width: 1051px) {
  body .pspc-header {
    --psp-nav-accent: #92703b;
    --psp-nav-line: #b99453;
    background: #fff !important;
    box-shadow: 0 5px 24px rgba(32,37,45,.06) !important;
  }
  body .pspc-header .pspc-nav {
    background: #fff !important;
    border-top-color: #eeeae5 !important;
  }
  body .pspc-header .pspc-nav .pspc-desktop > li,
  body .pspc-header .pspc-nav .pspc-desktop > li > a {
    background: transparent !important;
    box-shadow: none !important;
  }
  body .pspc-header .pspc-nav .pspc-desktop > li > a {
    position: relative;
    color: #252b35 !important;
    border-bottom: 2px solid transparent !important;
    text-decoration: none !important;
    transition: color .2s ease, border-color .2s ease;
  }
  /* Hover changes only text. The current page alone gets the line. */
  body .pspc-header .pspc-nav ul.pspc-desktop > li > a,
  body .pspc-header .pspc-nav ul.pspc-desktop > li:is(:hover,:focus-within,.current-menu-item,.current_page_item,.current-menu-ancestor,.current_page_ancestor,.active,.is-active,.current) > a,
  body .pspc-header .pspc-nav ul.pspc-desktop > li:has(.pspc-sub a:is([aria-current="page"],[aria-current="true"])) > a {
    background: transparent !important;
    background-image: none !important;
    color: #252b35 !important;
    box-shadow: none !important;
    border-bottom: 2px solid transparent !important;
  }
  body .pspc-header .pspc-nav ul.pspc-desktop > li > a:is(:hover,:active) {
    color: var(--psp-nav-accent) !important;
  }
  body .pspc-header .pspc-nav ul.pspc-desktop > li > a:is([aria-current="page"],[aria-current="true"]),
  body .pspc-header .pspc-nav ul.pspc-desktop:not(:has(> li > a:is([aria-current="page"],[aria-current="true"]))) > li:has(.pspc-sub a:is([aria-current="page"],[aria-current="true"])) > a {
    color: var(--psp-nav-accent) !important;
    border-bottom-color: var(--psp-nav-line) !important;
  }
  body .pspc-header .pspc-nav ul.pspc-desktop a:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
  }
  body .pspc-header .pspc-nav .pspc-desktop > li > a > span {
    color: inherit !important;
  }
  body .pspc-header .pspc-nav .pspc-desktop .pspc-sub {
    background: #fff !important;
    border: 1px solid #e9e1d7 !important;
    border-radius: 13px !important;
    box-shadow: 0 14px 36px rgba(32,37,45,.12) !important;
  }
  body .pspc-header .pspc-nav .pspc-desktop .pspc-sub a {
    background: transparent !important;
    border-color: transparent !important;
    color: #252b35 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: color .2s ease, background-color .2s ease;
  }
  body .pspc-header .pspc-nav .pspc-desktop .pspc-sub a:is(:hover,:focus-visible,:active,[aria-current="page"],[aria-current="true"],.active,.is-active,.current) {
    background: #f8f6f2 !important;
    color: var(--psp-nav-accent) !important;
    border-color: transparent !important;
  }
  body .pspc-header .pspc-nav .pspc-desktop .pspc-sub a::after {
    color: var(--psp-nav-accent) !important;
    background: transparent !important;
  }
  body .pspc-header .pspc-nav .pspc-desktop a:focus-visible {
    outline: 2px solid var(--psp-nav-accent) !important;
    outline-offset: -3px !important;
  }
}
@media (min-width: 1051px) and (prefers-reduced-motion: reduce) {
  body .pspc-header .pspc-nav .pspc-desktop a {transition: none !important;}
}
