/*
 * SERP Expert 2.0.31 — страница «Блог».
 * Макет 977 px перенесён в масштабе ≈×1,36 (контент 1220 px).
 */

.se-bp {
    --bp-ink: #0d1424;
    --bp-text: #4b5563;
    --bp-red: #d40101;
    --bp-grey: #f2f3f5;
    --bp-font: var(--font-main, "Manrope", system-ui, sans-serif);
    --bp-head: var(--font-heading, "Raleway", "Manrope", system-ui, sans-serif);
    overflow: hidden;
    background: #fff;
    color: var(--bp-ink);
    font-family: var(--bp-font);
}
.se-bp *, .se-bp *::before, .se-bp *::after { box-sizing: border-box; }
.se-bp__inner { max-width: 1260px; margin: 0 auto; padding: 0 20px; }
.se-bp ul, .se-bp ol { margin: 0; padding: 0; list-style: none; }
.se-bp li { margin: 0; padding: 0; list-style: none; }
.se-bp li::before { content: none; }
.se-bp [hidden] { display: none !important; }
.se-bp .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.se-bp .se-bp__eyebrow { margin: 0 0 12px; color: var(--bp-red); font: 800 14px/18px var(--bp-font); letter-spacing: .06em; text-transform: uppercase; }
.se-bp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0; color: #4b5563; font: 500 14px/18px var(--bp-font); }
.se-bp-meta span { color: #374151; font-weight: 600; }
.se-bp-meta i { font-style: normal; color: #9ca3af; }

.se-bp .se-bp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin: 0;
    border: 0;
    font-family: var(--bp-font);
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: filter .2s ease, transform .2s ease;
}
.se-bp .se-bp-btn svg { width: 19px; height: 19px; transition: transform .2s ease; }
.se-bp .se-bp-btn--red { height: 54px; padding: 0 44px; border-radius: 27px; background: linear-gradient(180deg, #e0151b, #c40a0e); box-shadow: 0 12px 26px rgba(196, 10, 14, .28); color: #fff; font-size: 17px; }
.se-bp .se-bp-btn--red:hover { color: #fff; filter: brightness(1.07); transform: translateY(-1px); }
.se-bp .se-bp-btn:hover svg { transform: translate(2px, -2px); }
.se-bp a:focus-visible, .se-bp button:focus-visible, .se-bp input:focus-visible { outline: 3px solid rgba(212, 1, 1, .3); outline-offset: 3px; }

/* ---------- Шапка ---------- */

.se-bp-head { position: relative; padding: 24px 0 18px; }
.se-bp-head__arc { position: absolute; right: 0; top: 0; width: 130px; height: 100px; }
.se-bp-head__row { display: flex; align-items: center; justify-content: space-between; gap: 40px; margin-top: 18px; }
.se-bp .se-bp-head__title { margin: 0; padding: 0; color: var(--bp-ink); font-family: var(--bp-head); font-size: 60px; line-height: 66px; font-weight: 900; letter-spacing: -1.2px; text-transform: none; }
.se-bp-head__title span { color: var(--bp-red); }
.se-bp .se-bp-head__text { margin: 6px 0 0; color: var(--bp-text); font: 400 22px/30px var(--bp-font); }
.se-bp-search { position: relative; flex: 0 0 470px; max-width: 100%; margin: 0; }
.se-bp-search svg { position: absolute; left: 22px; top: 50%; width: 24px; height: 24px; margin-top: -12px; color: #4b5563; pointer-events: none; }
.se-bp .se-bp-search input { width: 100%; height: 58px; margin: 0; padding: 0 22px 0 60px; border: 1.5px solid #d9dce2; border-radius: 29px; background: #fff; color: var(--bp-ink); font: 400 17px/1 var(--bp-font); outline: none; -webkit-appearance: none; appearance: none; transition: border-color .2s ease, box-shadow .2s ease; }
.se-bp .se-bp-search input::placeholder { color: #6b7280; opacity: 1; }
.se-bp .se-bp-search input:focus { border-color: #f0a3a8; box-shadow: 0 0 0 4px rgba(212, 1, 1, .08); }

.se-bp-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.se-bp .se-bp-chip { display: inline-flex; align-items: center; height: 46px; padding: 0 28px; border: 2px solid #e5323b; border-radius: 23px; background: #fff; color: var(--bp-ink); font: 600 16.5px/1 var(--bp-font); text-decoration: none; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.se-bp .se-bp-chip:hover { background: #fff1f1; color: var(--bp-ink); }
.se-bp .se-bp-chip.is-active { border-color: transparent; background: linear-gradient(180deg, #e0151b, #c40a0e); box-shadow: 0 10px 22px rgba(196, 10, 14, .25); color: #fff; }

/* ---------- Рекомендуем + С чего начать ---------- */

.se-bp-top { padding: 30px 0 20px; }
.se-bp-top__grid { display: grid; grid-template-columns: minmax(0, 857px) minmax(0, 1fr); gap: 20px; }
.se-bp-top__grid.is-single { grid-template-columns: 1fr; }
.se-bp-featured { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: center; min-height: 478px; overflow: hidden; border-radius: 18px; background: var(--bp-grey); }
.se-bp-featured__copy { position: relative; z-index: 1; padding: 36px 20px 40px 40px; }
.se-bp .se-bp-featured__title { margin: 0; padding: 0; font-family: var(--bp-font); font-size: 39px; line-height: 46px; font-weight: 800; letter-spacing: -0.6px; text-transform: none; }
.se-bp .se-bp-featured__title a { color: var(--bp-ink); text-decoration: none; }
.se-bp .se-bp-featured__title a:hover { color: var(--bp-red); }
.se-bp .se-bp-featured__text { margin: 16px 0 0; color: var(--bp-text); font: 400 19px/28px var(--bp-font); }
.se-bp-featured .se-bp-meta { margin-top: 22px; }
.se-bp-featured .se-bp-btn { margin-top: 26px; }
.se-bp-featured__media { position: relative; display: block; align-self: stretch; overflow: hidden; }
.se-bp-featured__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.se-bp-featured:hover .se-bp-featured__media img { transform: scale(1.03); }
.se-bp-featured__media::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, var(--bp-grey) 0%, rgba(242, 243, 245, 0) 30%); pointer-events: none; }

.se-bp-start { padding: 30px 30px 24px; border: 1.5px solid #e6e8ec; border-radius: 18px; background: #fff; }
.se-bp .se-bp-start__title { margin: 0 0 18px; padding: 0; color: var(--bp-ink); font-family: var(--bp-font); font-size: 30px; line-height: 36px; font-weight: 800; letter-spacing: -0.3px; text-transform: none; }
.se-bp-start__item { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 20px; padding: 22px 0; }
.se-bp-start__item + .se-bp-start__item { border-top: 1.5px solid #e6e8ec; }
.se-bp-start__num { display: flex; align-items: center; justify-content: center; width: 58px; height: 58px; border-radius: 50%; background: #fde4e4; color: var(--bp-red); font: 800 20px/1 var(--bp-font); }
.se-bp .se-bp-start__link { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; color: var(--bp-ink); font: 500 17px/24px var(--bp-font); text-decoration: none; }
.se-bp .se-bp-start__link:hover span { color: var(--bp-red); }
.se-bp-start__link svg { width: 22px; height: 22px; color: var(--bp-red); }

/* ---------- Все статьи ---------- */

.se-bp-list { padding: 30px 0 20px; scroll-margin-top: 90px; }
.se-bp-list__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.se-bp .se-bp-list__title { margin: 0; padding: 0; color: var(--bp-ink); font-family: var(--bp-head); font-size: 50px; line-height: 58px; font-weight: 900; letter-spacing: -1px; text-transform: none; }
.se-bp-sort { position: relative; flex: 0 0 auto; }
.se-bp .se-bp-sort__btn { display: inline-flex; align-items: center; gap: 12px; height: 50px; margin: 0; padding: 0 26px; border: 1.5px solid #d9dce2; border-radius: 25px; background: #fff; color: var(--bp-ink); font: 600 16px/1 var(--bp-font); cursor: pointer; }
.se-bp-sort__btn svg { width: 18px; height: 18px; }
.se-bp-sort__menu { position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; min-width: 220px; padding: 8px; border: 1px solid #e6e8ec; border-radius: 14px; background: #fff; box-shadow: 0 18px 40px rgba(13, 20, 36, .14); }
.se-bp .se-bp-sort__menu a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--bp-ink); font: 500 15px/1.2 var(--bp-font); text-decoration: none; }
.se-bp .se-bp-sort__menu a:hover, .se-bp .se-bp-sort__menu a[aria-current] { background: #fff1f1; color: var(--bp-red); }

.se-bp .se-bp-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.se-bp .se-bp-card { display: flex; flex-direction: column; min-width: 0; padding: 10px; border: 1.5px solid #e8eaee; border-radius: 16px; background: #fff; transition: box-shadow .25s ease, transform .25s ease; }
.se-bp .se-bp-card:hover { box-shadow: 0 18px 40px rgba(13, 20, 36, .1); transform: translateY(-3px); }
.se-bp-card__media { display: block; height: 222px; overflow: hidden; border-radius: 12px; background: #eef1f5; }
.se-bp-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.se-bp-card:hover .se-bp-card__media img { transform: scale(1.04); }
.se-bp-card__body { display: flex; flex: 1 1 auto; flex-direction: column; padding: 20px 8px 10px; }
.se-bp .se-bp-card__title { margin: 12px 0 0; padding: 0; font-family: var(--bp-font); font-size: 20px; line-height: 27px; font-weight: 700; letter-spacing: -0.1px; text-transform: none; }
.se-bp .se-bp-card__title a { color: var(--bp-ink); text-decoration: none; }
.se-bp .se-bp-card__title a:hover { color: var(--bp-red); }
.se-bp .se-bp-card__more { display: inline-flex; align-items: center; gap: 22px; align-self: flex-start; margin-top: auto; padding-top: 24px; color: var(--bp-red); font: 700 16.5px/1 var(--bp-font); text-decoration: none; }
.se-bp-card__more i { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1.8px solid #e5323b; border-radius: 50%; transition: background .2s ease, color .2s ease; }
.se-bp-card__more svg { width: 18px; height: 18px; }
.se-bp .se-bp-card__more:hover i { background: var(--bp-red); color: #fff; }

.se-bp-pager { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; margin-top: 34px; }
.se-bp .se-bp-pager__info { margin: 0; color: var(--bp-text); font: 500 16px/1 var(--bp-font); }
.se-bp .se-bp-pager__more { display: inline-flex; align-items: center; justify-content: center; height: 46px; min-width: 224px; padding: 0 28px; border: 1.5px solid #c8ccd4; border-radius: 23px; background: #fff; color: var(--bp-ink); font: 600 15.5px/1 var(--bp-font); text-decoration: none; transition: border-color .2s ease, background .2s ease; }
.se-bp .se-bp-pager__more:hover { border-color: var(--bp-ink); }
.se-bp .se-bp-pager__more.is-loading { opacity: .6; pointer-events: none; }
.se-bp-pager__nav { display: flex; justify-content: flex-end; align-items: center; gap: 10px; }
.se-bp .se-bp-pager__num { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; border: 1.5px solid #e1e4e9; border-radius: 50%; background: #fff; color: var(--bp-ink); font: 700 17px/1 var(--bp-font); text-decoration: none; transition: border-color .2s ease; }
.se-bp .se-bp-pager__num:hover { border-color: var(--bp-ink); }
.se-bp .se-bp-pager__num.is-current { border-color: transparent; background: linear-gradient(180deg, #e0151b, #c40a0e); color: #fff; }
.se-bp-pager__arrow svg { width: 20px; height: 20px; }
.se-bp-pager__arrow.is-prev svg { transform: rotate(180deg); }
.se-bp-pager__dots { color: #9ca3af; }
.se-bp .se-bp-empty { margin: 30px 0 0; padding: 30px; border-radius: 16px; background: var(--bp-grey); color: var(--bp-text); font: 400 17px/26px var(--bp-font); }
.se-bp .se-bp-empty a { color: var(--bp-red); font-weight: 700; }

/* ---------- Призыв ---------- */

.se-bp-cta-wrap { padding: 36px 0 80px; }
.se-bp-cta { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; min-height: 198px; padding: 36px 70px 36px 38px; overflow: hidden; border-radius: 20px; background: var(--bp-grey); }
.se-bp-cta__lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.se-bp-cta__blob { position: absolute; right: 70px; top: 36px; width: 100px; height: 120px; border-radius: 30px; background: #fde7e7; }
.se-bp-cta__dot { position: absolute; right: 30px; top: 40px; width: 20px; height: 20px; border-radius: 50%; background: #e8202a; }
.se-bp-cta__copy { position: relative; z-index: 1; }
.se-bp .se-bp-cta__title { margin: 0; padding: 0; color: var(--bp-ink); font-family: var(--bp-head); font-size: 44px; line-height: 52px; font-weight: 900; letter-spacing: -0.8px; text-transform: none; }
.se-bp .se-bp-cta__text { margin: 8px 0 0; color: var(--bp-text); font: 400 23px/32px var(--bp-font); }
.se-bp-cta__btn { position: relative; z-index: 1; }
.se-bp .se-bp-cta__btn { height: 62px; padding: 0 44px; border-radius: 31px; font-size: 18px; }

/* ---------- Адаптив ---------- */

@media (max-width: 1180px) {
    .se-bp .se-bp-head__title { font-size: 50px; line-height: 56px; }
    .se-bp-search { flex-basis: 380px; }
    .se-bp-top__grid { grid-template-columns: 1fr; }
    .se-bp-start__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 30px; }
    .se-bp-start__item + .se-bp-start__item { border-top: 0; }
    .se-bp .se-bp-featured__title { font-size: 34px; line-height: 41px; }
}

@media (max-width: 960px) {
    .se-bp-head__row { flex-direction: column; align-items: stretch; gap: 22px; }
    .se-bp-search { flex-basis: auto; }
    .se-bp-featured { grid-template-columns: 1fr; min-height: 0; }
    .se-bp-featured__media { order: -1; height: 280px; }
    .se-bp-featured__media::before { background: linear-gradient(0deg, var(--bp-grey) 0%, rgba(242, 243, 245, 0) 30%); }
    .se-bp-featured__copy { padding: 26px 28px 32px; }
    .se-bp .se-bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .se-bp-pager { grid-template-columns: 1fr; justify-items: center; }
    .se-bp-pager__nav { justify-content: center; }
    .se-bp-cta { flex-direction: column; align-items: flex-start; padding: 30px 28px; }
    .se-bp-cta__blob, .se-bp-cta__dot { display: none; }
}

@media (max-width: 640px) {
    .se-bp__inner { padding: 0 16px; }
    .se-bp .se-bp-head__title { font-size: 38px; line-height: 44px; }
    .se-bp .se-bp-head__text { font-size: 17px; line-height: 25px; }
    .se-bp-chips { flex-wrap: nowrap; overflow-x: auto; margin: 22px -16px 0; padding: 0 16px 6px; scrollbar-width: none; }
    .se-bp-chips::-webkit-scrollbar { display: none; }
    .se-bp .se-bp-chip { flex: 0 0 auto; height: 42px; padding: 0 20px; font-size: 15px; }
    .se-bp .se-bp-search input { height: 52px; font-size: 16px; }
    .se-bp .se-bp-featured__title { font-size: 27px; line-height: 33px; }
    .se-bp .se-bp-featured__text { font-size: 16px; line-height: 24px; }
    .se-bp .se-bp-btn--red { width: 100%; padding: 0 22px; }
    .se-bp-start { padding: 22px 18px 8px; }
    .se-bp-start__list { grid-template-columns: 1fr; }
    .se-bp-start__item + .se-bp-start__item { border-top: 1.5px solid #e6e8ec; }
    .se-bp .se-bp-list__title { font-size: 34px; line-height: 40px; }
    .se-bp-list__head { flex-wrap: wrap; }
    .se-bp .se-bp-grid { grid-template-columns: 1fr; }
    .se-bp-card__media { height: 200px; }
    .se-bp .se-bp-cta__title { font-size: 30px; line-height: 36px; }
    .se-bp .se-bp-cta__text { font-size: 17px; line-height: 25px; }
    .se-bp-cta-wrap { padding-bottom: 56px; }
}

/* 2.0.46: обновление списка без перезагрузки */
.se-bp-list.is-loading .se-bp-grid { opacity: .45; transition: opacity .2s; }
.se-bp-list.is-loading { cursor: progress; }
.se-bp-error { margin: 0 0 18px; padding: 12px 16px; border-radius: 12px; background: #fff0f0; color: #a80000; font-weight: 600; }
.se-bp-error__retry { margin-left: 8px; padding: 4px 12px; border: 1px solid currentColor; border-radius: 8px; background: #fff; color: inherit; font: inherit; cursor: pointer; }
.se-bp-pager__more.is-loading { opacity: .6; pointer-events: none; }
.se-bp .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
