/* Один hero для всех отдельных консалтинговых услуг. */
.hub-hero.program-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(570px, 55vw, 710px);
  overflow: hidden;
  background: #101214;
  isolation: isolate;
}

.program-hero__image {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hub-hero.program-hero::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(12,14,16,.94) 0%, rgba(12,14,16,.84) 31%, rgba(12,14,16,.36) 67%, rgba(12,14,16,.08) 100%);
}

.hub-hero.program-hero .wrap {
  width: 100%;
  position: relative;
}

.hub-hero.program-hero .breadcrumb {
  margin-bottom: clamp(58px, 7vw, 105px);
  color: rgba(255,255,255,.68);
}

.hub-hero.program-hero .breadcrumb a {
  color: rgba(255,255,255,.68);
}

.hub-hero.program-hero .breadcrumb a:hover {
  color: #fff;
}

.hub-hero.program-hero .hub-hero__inner {
  padding: 0 0 clamp(70px, 8vw, 115px);
}

.hub-hero.program-hero .hub-hero__left {
  max-width: 720px;
}

.hub-hero.program-hero .hub-hero__sub {
  max-width: 650px;
}

@media (max-width: 800px) {
  .hub-hero.program-hero { min-height: 590px; }
  .program-hero__image { object-position: 64% center; }
  .hub-hero.program-hero::before {
    background: linear-gradient(90deg, rgba(12,14,16,.96), rgba(12,14,16,.78));
  }
  .hub-hero.program-hero .breadcrumb { margin-bottom: 66px; }
}

.program-page main>section.sec-odd{background:#fff}.program-page main>section.sec-even{background:#eef1f3}
.program-content{margin:0;max-width:none;color:var(--muted);font-size:16px;line-height:1.7}.program-content>ul,.program-content>ol{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 40px;list-style:none;padding:0;margin:0;counter-reset:topic}.program-content>ul>li,.program-content>ol>li{position:relative;border-top:1px solid #d3d9dd;padding:24px 0 24px 58px;counter-increment:topic;color:#242428;font-size:18px;line-height:1.5}.program-content>ul>li:before,.program-content>ol>li:before{content:counter(topic,decimal-leading-zero);position:absolute;left:0;top:23px;color:#bf292d;font:italic 28px/1.2 'PT Serif',serif}.program-content>p{max-width:760px;margin:0 0 24px}.program-content details{background:#fff;border:1px solid #d8dfe3;border-radius:12px;margin:0 0 14px}.program-content summary{padding:22px 26px;cursor:pointer;font-weight:600;color:#242428}.program-content details p{padding:0 26px 24px;margin:0}.program-page .prog-formats__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;width:100%;max-width:none}.program-page .prog-format__card{padding:36px;border:1px solid #d8dfe3;border-radius:14px;background:#fff;min-width:0}.program-page .prog-format__title{font:700 25px/1.2 'PT Serif',serif;margin-bottom:18px}.program-page .prog-format__desc{font-size:16px;line-height:1.7;margin:0;max-width:520px}.program-page .program-trainer{display:grid;grid-template-columns:1fr 2fr;gap:48px;align-items:start}.program-trainer__role{font-size:18px;line-height:1.65;color:#242428}.program-trainer__bio{font-size:17px;line-height:1.75;color:#65707b;max-width:760px}.program-page .section-title{margin-bottom:24px}.program-page .section-lead{margin-bottom:56px}.program-page #program>.wrap>.section-title{margin-bottom:56px}@media(max-width:700px){.program-content>ul,.program-content>ol,.program-page .prog-formats__grid,.program-page .program-trainer{grid-template-columns:1fr}.program-page .program-trainer{gap:20px}.program-page .prog-format__card{padding:28px}.program-content>ul>li,.program-content>ol>li{font-size:17px}.program-page #program>.wrap>.section-title{margin-bottom:36px}}

.hub-hero.program-hero .hub-hero__inner{display:block}

/* Общая геометрия hero совпадает с первым уровнем. */
.hub-hero.program-hero{display:block;min-height:0;padding:48px 0 64px}.hub-hero.program-hero .breadcrumb{margin-bottom:36px}.hub-hero.program-hero .hub-hero__inner{display:block;padding:0}.hub-hero.program-hero .hub-hero__left{max-width:760px}.hub-hero.program-hero .hub-hero__sub{max-width:650px}.hub-hero.consulting-hub-photo{min-height:480px}.consulting-hub-photo .program-hero__image{object-position:center 65%}@media(max-width:800px){.hub-hero.program-hero{min-height:0}.hub-hero.program-hero .breadcrumb{margin-bottom:36px}}

.hub-hero.consulting-service-hero{display:block;min-height:0;padding:48px 0 64px}.hub-hero.consulting-service-hero .breadcrumb{margin-bottom:36px}.hub-hero.consulting-service-hero .hub-hero__inner{display:block;padding:0}.hub-hero.consulting-service-hero .hub-hero__left{max-width:760px}.hub-hero.consulting-service-hero .hub-hero__sub{max-width:650px}

/* Единый блок тренера на страницах программ. */
.program-page .program-trainer-card{display:grid;grid-template-columns:240px minmax(0,760px);gap:64px;align-items:center;max-width:1100px}
.program-trainer-card__portrait{width:240px;aspect-ratio:5/6;overflow:hidden;border-radius:12px;background:#fff}
.program-trainer-card__portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.program-trainer-card__content{min-width:0}
.program-trainer-card__content .eyebrow{margin-bottom:20px}
.program-page .program-trainer-card .section-title{margin:0 0 20px}
.program-trainer-card__role{font-size:17px;line-height:1.6;color:#25292d;margin:0 0 22px}
.program-trainer-card__bio{font-size:17px;line-height:1.7;color:#65707b;max-width:660px;margin:0 0 12px}
.program-trainer-card__bio:last-child{margin-bottom:0}
@media(max-width:700px){.program-page .program-trainer-card{grid-template-columns:1fr;gap:28px}.program-trainer-card__portrait{width:180px}.program-trainer-card__role-break{display:none}}

.program-trainer-card__portrait img{transform:scale(1.55);transform-origin:50% 45%;object-position:center 48%}

/* Единый каталог пяти направлений обучения. */
.training-category #programs{background:#fff}
.training-category #programs .section-title{margin:0 0 24px}
.training-category #programs .section-lead{max-width:720px;margin:0 0 56px}
:is(.training-category,.training-industry) .pg__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
:is(.training-category,.training-industry) .pg__card{display:flex;flex-direction:column;min-width:0;min-height:330px;padding:32px;border:1px solid #dfe3e6;border-radius:14px;background:#fff;color:#17191c;text-decoration:none;opacity:1;transform:none;transition:border-color .2s,box-shadow .2s}
:is(.training-category,.training-industry) .pg__card:hover{border-color:#bf292d;box-shadow:0 12px 30px rgba(16,18,20,.06)}
:is(.training-category,.training-industry) .pg__icon{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;background:#faecec;color:#bf292d;font-size:20px}
:is(.training-category,.training-industry) .pg__title{font:700 24px/1.25 'PT Serif',Georgia,serif;margin:24px 0 16px}
:is(.training-category,.training-industry) .pg__desc{font:400 15px/1.7 'Inter',sans-serif;color:#66717e;margin:0 0 28px;max-width:none;text-wrap:pretty}
:is(.training-category,.training-industry) .pg__foot{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:auto;font-size:14px;font-weight:600}
:is(.training-category,.training-industry) .pg__arrow{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #e1e4e7;border-radius:50%;flex-shrink:0}
@media(max-width:1000px){:is(.training-category,.training-industry) .pg__grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){:is(.training-category,.training-industry) .pg__grid{grid-template-columns:1fr}:is(.training-category,.training-industry) .pg__card{padding:28px;min-height:0}:is(.training-category,.training-industry) .pg__title{font-size:23px}}

.program-trainer-card__portrait img{transform:scale(1.55);transform-origin:50% 45%;object-position:center 48%}
.program-page .program-trainer-section>.wrap>.section-title{margin-bottom:48px}
.program-page .program-trainer-card{grid-template-columns:240px minmax(0,1fr);max-width:none}
.program-trainer-card__role{max-width:720px}
@media(max-width:700px){.program-page .program-trainer-card{grid-template-columns:1fr}.program-page .program-trainer-section>.wrap>.section-title{margin-bottom:32px}}

/* Иерархия профиля тренера. */
.program-trainer-card__content{padding:0}
.program-trainer-card__position{font:700 24px/1.3 'PT Serif',Georgia,serif;color:#17191c;max-width:820px;margin:0 0 10px}
.program-trainer-card__degree{font:400 15px/1.6 'Inter',sans-serif;color:#66717e;margin:0}
.program-trainer-card__facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:36px;max-width:760px;margin:28px 0;padding:24px 0;border-top:1px solid #d5dce1;border-bottom:1px solid #d5dce1}
.program-trainer-card__facts>div{display:flex;flex-direction:column-reverse;gap:8px}
.program-trainer-card__facts dt{font-size:13px;line-height:1.5;color:#65707b;max-width:230px}
.program-trainer-card__facts dd{font:700 40px/1 'PT Serif',Georgia,serif;color:#bc2529;margin:0}
.program-trainer-card__facts dd span{font:500 16px/1.4 'Inter',sans-serif;margin-left:8px;color:#25292d}
.program-trainer-card__approach{max-width:760px}
.program-trainer-card__approach h3{font:700 19px/1.3 'PT Serif',Georgia,serif;color:#25292d;margin:0 0 10px}
.program-trainer-card__approach p{font:400 16px/1.75 'Inter',sans-serif;color:#65707b;margin:0}
.training-category #programs .training-category__intro{max-width:940px;margin-bottom:56px;font-size:17px;line-height:1.75}
.training-category__intro p{margin:0}.training-category__intro p+p{margin-top:18px}
@media(max-width:700px){.program-trainer-card__position{font-size:22px}.program-trainer-card__facts{gap:20px;margin:24px 0}.program-trainer-card__facts dd{font-size:34px}}

.program-page .program-trainer-card{grid-template-columns:280px minmax(0,1fr);align-items:start}
.program-trainer-card__portrait{width:280px}
.program-trainer-card__facts>div{display:grid;grid-template-rows:40px auto;gap:8px;align-content:start}
.program-trainer-card__facts dt{grid-row:2}.program-trainer-card__facts dd{grid-row:1}
@media(max-width:700px){.program-page .program-trainer-card{grid-template-columns:1fr}.program-trainer-card__portrait{width:180px}}

.training-industry #programs>.wrap>.section-title{margin:0 0 24px}
.training-industry #programs>.wrap>.industry-body__lead{margin:0 0 56px;max-width:940px;font-size:17px;line-height:1.75}
.training-industry .industry-body__section{padding:96px 0}
@media(max-width:700px){.training-industry .industry-body__section{padding:64px 0}}

.training-industry .industry-body>.wrap{padding-top:0;padding-bottom:0}

.program-page .hub-hero.hub-hero .hub-hero__left,.program-page .hub-hero.hub-hero .hub-hero__h1{max-width:1000px}
.program-page .hub-hero.hub-hero .hub-hero__h1{text-wrap:balance}

@media(max-width:700px){.training-industry #programs>.wrap>.section-title{margin-bottom:20px}.training-industry #programs>.wrap>.industry-body__lead{margin-bottom:36px}}

/* Индивидуальные фотографии отраслевых hero: общий размер и отступы. */
.training-industry .industry-hero{isolation:isolate}
.training-industry .industry-hero__image{position:absolute;inset:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;object-position:50% 20%}
.training-industry .industry-hero::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(90deg,rgba(12,14,16,.95) 0%,rgba(12,14,16,.86) 48%,rgba(12,14,16,.60) 76%,rgba(12,14,16,.40) 100%)}
.training-industry .industry-hero::after{z-index:2;pointer-events:none}
.training-industry .industry-hero>.wrap{position:relative;z-index:3}
@media(max-width:700px){.training-industry .industry-hero::before{background:linear-gradient(90deg,rgba(12,14,16,.92),rgba(12,14,16,.72))}}

.training-industry .industry-hero{min-height:480px}
.training-industry .industry-hero .hub-hero__inner{display:block}
.training-industry .industry-hero .hub-hero__left,.training-industry .industry-hero .hub-hero__h1{max-width:1000px}
.training-industry .industry-hero .hub-hero__h1{text-wrap:balance}
.training-industry .industry-hero .hub-hero__sub{max-width:650px}
