/* recomendating/recomendating — основа: блок-основа этапа 1 (partnerka); сгенерировано tools/css_majority.py */
.recomendating h3 { font-size:34px;font-weight:700 }
.recomendating_nav { min-width:280px;width:280px }
.recomendating_nav_block { -webkit-user-select:none;padding:16px;gap:12px;background-color:#fff;border-radius:100px;display:flex;align-items:center;font-size:18px;color:#6c6c6c;border:0;font-family:inherit;text-align:left;cursor:pointer;-webkit-tap-highlight-color:transparent;user-select:none;touch-action:manipulation;transition:background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease }
.recomendating_nav_block:focus { outline:none }
.recomendating_nav_block:focus-visible { outline:none }
section.recomendating .recomendating_content { display:grid;grid-template-columns:280px minmax(0, 1fr) }
.recomendating_slide { grid-area:1 / 2;transition:opacity 0.4s ease, visibility 0s }
.recomendating_slide:not(.active) { visibility:hidden;opacity:0;pointer-events:none;transition:opacity 0.4s ease, visibility 0s 0.4s }
.recomendating_nav_block_active { background-color:#0342e4;color:#fff }
.recomendating_otchot { background-color:#0342e4;color:#fff;width:100%;display:flex;flex-direction:column }
.recomendating_header { min-width:357px;width:357px;color:#fff;background-color:#0342e4;border-radius:40px }
.recomendating_header h3 { margin-bottom:7px }
.recomendating_header p { font-size:18px;color:#bdcef8 }
.recomendating_otchot > .df { margin-bottom:35px }
.recomendating_otchot_tag { color:#fff;background-color:#1457e9;padding:10px 24px;border-radius:50px;font-size:16px }
.recomendating_otchot_img1 { margin-left:-30px;min-width:calc(100% + 50px);margin-top:auto }
.recomendating_otchot.default_block { padding-bottom:15px }
.recomendating_otchot_img1 img { display:block;width:100% }
@media screen and (hover:hover) {
  .recomendating_nav_block:hover { color:#040b27;box-shadow:0 0 20px 0 rgba(3, 66, 228, 0.22) }
  .recomendating_nav_block_active:hover { color:#fff }
}
@media screen and (prefers-reduced-motion:reduce) {
  .recomendating_slide { transition:none }
  .recomendating_slide:not(.active) { transition:none }
  .recomendating_nav_block { transition:none }
}
@media screen and (min-width:992px) {
  .recomendating_slide { height:0;min-height:100% }
  .recomendating_header { position:relative;display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden }
  .recomendating_header > svg { position:absolute;top:0;right:0;max-width:none }
  .recomendating_header > img { position:absolute;top:0;right:0;max-width:none }
  .recomendating_header > div { position:relative }
  .recomendating_otchot_img1 { min-height:0;margin-inline:-30px;min-width:calc(100% + 60px) }
  .recomendating_otchot_img1 img { object-fit:contain;object-position:left bottom;--nw:587px;--k:1.0723;--t:-0.0323;--b:-0.0346;--w:min(var(--nw), (100% - 40px) * var(--k));width:var(--w);max-width:none;height:auto;margin:calc(var(--w) * var(--t)) auto calc(var(--w) * var(--b)) }
  .recomendating_otchot.default_block { padding-bottom:20px }
  .direct_mob { display:none }
  .recomendating_otchot_tag { height:43px;padding:10px 24px;border-radius:100px;font-weight:400;font-size:18px;line-height:130%;letter-spacing:-0.02em }
  #rec_slide1 .recomendating_otchot_img1 img { --nw:586px;--k:1.0719;--t:-0.0328;--b:-0.0358 }
  #rec_slide5 .recomendating_otchot_img1 img { --nw:586.1px;--k:1.0714;--t:-0.0318;--b:-0.0345 }
  #rec_slide6 .recomendating_otchot_img1 img { --nw:548px;--k:1.0016;--t:0;--b:0 }
  #rec_slide7 .recomendating_otchot_img1 img { --nw:586.1px;--k:1.0714;--t:-0.0322;--b:-0.0341 }
  #rec_slide4 .recomendating_otchot > .df { margin-bottom:0 }
  #rec_slide5 .recomendating_otchot > .df { margin-bottom:11px }
}
@media screen and (max-width:991px) {
  section.recomendating { padding-top:19px }
  section.recomendating .recomendating_content { grid-template-columns:minmax(0, 1fr);gap:0 !important;margin-top:16px }
  .recomendating_slide { grid-area:2 / 1;flex-direction:column;gap:0 !important;margin-top:18px }
  .recomendating_slide .recomendating_otchot { margin-top:-1px }
  .recomendating_otchot { flex:none;height:374px }
  .recomendating_otchot > .df { margin-bottom:24px;flex-wrap:wrap;gap:8px 4px }
  section.recomendating .recomendating_nav { width:auto;min-width:0;margin-inline:-20px;padding-inline:20px;flex-direction:row;justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none }
  .recomendating_nav::-webkit-scrollbar { display:none }
  .recomendating_nav_block { flex:0 0 auto;white-space:nowrap;padding:10px 16px;font-size:14px }
  .recomendating_header { flex:1;width:100%;min-width:0;border-radius:24px }
  .recomendating_header > div { padding:24px;margin-top:16px }
  .recomendating_header h3 { font-size:20px }
  .recomendating_otchot h3 { font-size:20px }
  .recomendating_header p { font-size:14px }
  .recomendating_header > svg { display:none }
  .recomendating_header > img { display:none }
  .recomendating_otchot_img1 { margin-left:-16px;min-width:calc(100% + 32px);min-height:0;flex:1 1 0;display:flex;justify-content:center;align-items:flex-end }
  .recomendating_otchot_img1 img { height:100%;object-fit:contain;object-position:center bottom }
  #rec_slide6 .recomendating_otchot_img1 img { width:93.4%;margin:0 auto 3.2% }
  #rec_slide1 .direct_pc { display:none }
  .direct_mob { container-type:size }
  .direct_mob_frame { position:relative;width:min(100cqw, 100cqh * 289 / 199);aspect-ratio:289 / 199 }
  #rec_slide1 .direct_mob_frame img { position:absolute;width:96.838%;height:auto;max-width:none;margin:0 }
  #rec_slide1 .direct_mob_frame .direct_mob_up { left:0;top:-2px;width:100%;filter:drop-shadow(0 0 11px rgba(0, 0, 0, 0.15)) }
  #rec_slide1 .direct_mob_frame .direct_mob_down { left:1.729%;top:39.698%;border-radius:6.43% / 15%;background:#fff;box-shadow:0 0 11px 0 rgba(0, 0, 0, 0.15) }
  #rec_slide4 .direct_pc { display:none }
  #rec_slide4 .direct_mob_frame { aspect-ratio:311 / 222;width:min(100cqw, 100cqh * 311 / 222) }
  #rec_slide4 .direct_mob_frame img { position:absolute;height:auto;max-width:none;margin:0 }
  #rec_slide4 .direct_mob_frame .direct_mob_up { bottom:30%;right:-8%;transform:rotate(-4.8deg);width:116% }
  #rec_slide4 .direct_mob_frame .direct_mob_down { right:-8%;z-index:1;top:30%;width:116% }
  #rec_slide5 .direct_pc { display:none }
  #rec_slide5 .direct_mob_frame { aspect-ratio:311 / 222;width:min(100cqw, 100cqh * 311 / 222) }
  #rec_slide5 .direct_mob_frame img { position:absolute;height:auto;max-width:none;margin:0 }
  #rec_slide5 .direct_mob_frame .direct_mob_up { bottom:34%;right:-3%;transform:rotate(-4.8deg);width:106% }
  #rec_slide5 .direct_mob_frame .direct_mob_down { right:-3%;z-index:1;top:36%;width:106% }
  #rec_slide6 .direct_pc { display:none }
  #rec_slide6 .direct_mob_frame { aspect-ratio:311 / 222;width:min(100cqw, 100cqh * 311 / 222) }
  #rec_slide6 .direct_mob_frame img { position:absolute;height:auto;max-width:none;margin:0 }
  #rec_slide6 .direct_mob_frame .direct_mob_up { bottom:32%;right:-4%;transform:rotate(-4.8deg);width:108% }
  #rec_slide6 .direct_mob_frame .direct_mob_down { right:-4%;z-index:1;top:36%;width:108% }
  #rec_slide7 .direct_pc { display:none }
  #rec_slide7 .direct_mob_frame { aspect-ratio:311 / 222;width:min(100cqw, 100cqh * 311 / 222) }
  #rec_slide7 .direct_mob_frame img { position:absolute;height:auto;max-width:none;margin:0 }
  #rec_slide7 .direct_mob_frame .direct_mob_up { bottom:54%;right:-4%;transform:rotate(-4.8deg);width:108% }
  #rec_slide7 .direct_mob_frame .direct_mob_down { right:-4%;z-index:1;top:34%;width:108% }
  #rec_slide2 .direct_pc { display:none }
  #rec_slide2 .direct_mob_frame { aspect-ratio:311 / 222;width:min(100cqw, 100cqh * 311 / 222) }
  #rec_slide2 .direct_mob_frame img { position:absolute;height:auto;max-width:none;margin:0 }
  #rec_slide2 .direct_mob_frame .direct_mob_up { bottom:29%;right:-6%;transform:rotate(-4.8deg);width:111% }
  #rec_slide2 .direct_mob_frame .direct_mob_down { right:-6%;z-index:1;top:33%;width:111% }
  #rec_slide3 .direct_pc { display:none }
  #rec_slide3 .direct_mob_frame { aspect-ratio:311 / 222;width:min(100cqw, 100cqh * 311 / 222) }
  #rec_slide3 .direct_mob_frame img { position:absolute;height:auto;max-width:none;margin:0 }
  #rec_slide3 .direct_mob_frame .direct_mob_up { bottom:32%;right:-2%;transform:rotate(-4.8deg);width:106% }
  #rec_slide3 .direct_mob_frame .direct_mob_down { right:-7%;z-index:1;top:36%;width:106% }
}
@media screen and (width<650px) {
  .recomendating_slide { margin-top:12px }
  .recomendating_header > div { margin-top:0;padding:20px }
  .recomendating_otchot_tag { padding:8px 14px }
}
@media screen and (415px<=width<=600px) {
  #rec_slide2 .recomendating_otchot_img1.direct_mob { margin-top:14px }
  #rec_slide3 .recomendating_otchot_img1.direct_mob { margin-top:14px }
  #rec_slide4 .recomendating_otchot_img1.direct_mob { margin-top:14px }
  #rec_slide5 .recomendating_otchot_img1.direct_mob { margin-top:14px }
  #rec_slide6 .recomendating_otchot_img1.direct_mob { margin-top:14px }
  #rec_slide7 .recomendating_otchot_img1.direct_mob { margin-top:14px }
}
@media screen and (width<600px) {
  .recomendating_otchot > .df { margin-bottom:4px }
  .recomendating_otchot_tag { font-size:12px }
}
@media screen and (width<450px) {
  .recomendating_header { flex:none;height:130px }
  .recomendating_otchot.default_block { height:390px;padding-bottom:20px }
  .recomendating_otchot_img1 { width:auto;min-width:0;height:200px;margin:auto 0 0;flex:none;display:block }
  .recomendating_otchot_img1 img { max-width:none;width:calc(100% * var(--w));height:calc(200px * var(--h));margin:calc(-200px * var(--y)) 0 0 calc(-100% * var(--x));object-fit:fill }
  #rec_slide1 .direct_mob { flex:1 1 0;height:auto;display:flex }
  #rec_slide2 .direct_mob { flex:1 1 0;height:auto;display:flex }
  #rec_slide3 .direct_mob { flex:1 1 0;height:auto;display:flex }
  #rec_slide4 .direct_mob { flex:1 1 0;height:auto;display:flex }
  #rec_slide5 .direct_mob { flex:1 1 0;height:auto;display:flex }
  #rec_slide6 .direct_mob { flex:1 1 0;height:auto;display:flex }
  #rec_slide7 .direct_mob { flex:1 1 0;height:auto;display:flex }
  #rec_slide2 .direct_pc { display:none }
  #rec_slide3 .direct_pc { display:none }
  #rec_slide2 .recomendating_otchot_img1 img { --w:1.0767;--h:1.1106;--x:0.0383;--y:0.0553 }
  #rec_slide3 .recomendating_otchot_img1 img { --w:1.0741;--h:1.1048;--x:0.037;--y:0.0524 }
  #rec_slide5 .recomendating_otchot_img1 img { --w:1.0801;--h:1.1033;--x:0.0383;--y:0.0516 }
  #rec_slide6 .recomendating_otchot_img1 img { --w:1.0105;--h:1.0101;--x:0.0035;--y:0.0051 }
  #rec_slide7 .recomendating_otchot_img1 img { --w:1.0836;--h:1.0916;--x:0.0383;--y:0.0438 }
  .recomendating_header h3 { font-size:18px }
  .recomendating_otchot h3 { font-size:18px }
  .recomendating_header p { font-weight:400;font-size:12px;line-height:130%;letter-spacing:-0.02em;color:#bdcef8 }
  #rec_slide1 .recomendating_otchot_tag:nth-child(n + 3) { order:2;margin-top:12px }
  #rec_slide2 .recomendating_otchot_tag:nth-child(n + 3) { order:2;margin-top:12px }
  #rec_slide6 .recomendating_otchot_tag:nth-child(n + 3) { order:2;margin-top:12px }
  #rec_slide1 .recomendating_otchot_tag:nth-child(5) { order:4 }
  #rec_slide2 .recomendating_otchot_tag:nth-child(5) { order:4 }
  #rec_slide6 .recomendating_otchot_tag:nth-child(6) { order:4 }
}

/* ===== вручную (генератор этот раздел сохраняет) ===== */
/* вкладки навигации — без обводки совсем, и при фокусе с клавиатуры (решение пользователя 29.10.2026) */
.recomendating_nav_block, .recomendating_nav_block:focus, .recomendating_nav_block:focus-visible { outline:none }
/* фон секции съедал внешние отступы — добавляем их снаружи, как у остальных секций (11.11.2026) */
section.recomendating { margin:60px 0 }
@media screen and (max-width:991px) { section.recomendating { margin:50px 0 } }
@media screen and (max-width:574px) { section.recomendating { margin:40px 0 } }
/* вкладки отчёта на мобильных — по макету (11.11.2026): высота ~35px, между рядами 8px, в ряду 6px, ряды ровные */
@media screen and (max-width:991px) { .recomendating_otchot > .df { gap:8px 6px } }
@media screen and (width<600px) { .recomendating_otchot_tag { padding:10px 14px } }
@media screen and (width<450px) {
  /* переносы рядов (пустые ::before/::after) не должны добавлять свой зазор: зазор рядов — отступом вкладки */
  .recomendating_otchot > .df { row-gap:0;margin-bottom:-4px }
  .recomendating_otchot_tag { margin-bottom:8px }
  #rec_slide1 .recomendating_otchot_tag:nth-child(n + 3), #rec_slide2 .recomendating_otchot_tag:nth-child(n + 3), #rec_slide6 .recomendating_otchot_tag:nth-child(n + 3) { margin-top:0 }
  /* Защита VK Рекламы: «Эффективность работы сервиса по целям» — вторым рядом, «Типы ботов» и «Источники» — третьим */
  #rec_slide4 .recomendating_otchot_tag:nth-child(3), #rec_slide4 .recomendating_otchot_tag:nth-child(5) { order:1 }
}
/* картинки отчёта на мобильных — по макету (11.11.2026): картинки уже наклонены, поэтому увеличиваем их так, чтобы вместе
   с наклоном они были шире своего блока (~302–308px при карточке 335px, как в макете); карточка 402px —
   от её высоты зависит размер составных картинок (слайды 2, 4, 6), остальным — масштаб */
@media screen and (width<450px) {
  .recomendating_otchot.default_block { height:402px }
  .recomendating_otchot_img1:not(.direct_pc) > * { transform-origin:50% 100% }
  #rec_slide1 .recomendating_otchot_img1:not(.direct_pc) > * { transform:scale(1.04) }
  #rec_slide2 .recomendating_otchot_img1:not(.direct_pc) > * { transform:scale(0.98) }
  #rec_slide4 .recomendating_otchot_img1:not(.direct_pc) > * { transform:scale(0.97) }
  #rec_slide5 .recomendating_otchot_img1:not(.direct_pc) > * { transform:scale(1.024) }
}
/* «Медиа Таргет» (слайд 7), мобильные: картинки пользователя (12.11.2026) — mt_visit_stat.svg (уже наклонена) сверху, mt_companies.svg поверх снизу */
@media screen and (max-width:991px) {
  #rec_slide7 .direct_mob_frame { aspect-ratio:311 / 281;width:min(100cqw, 100cqh * 311 / 281) }
  #rec_slide7 .direct_mob_frame .direct_mob_up { top:0;left:0;bottom:auto;right:auto;transform:none;width:100% }
  #rec_slide7 .direct_mob_frame .direct_mob_down { top:46.3%;left:1.3%;right:auto;width:97.4% }
}
@media screen and (width<450px) { #rec_slide7 .recomendating_otchot_img1:not(.direct_pc) > * { transform:translateY(13px) scale(1.12) } }
