/* BLOG v7 — 2rate · Minimal editorial with brand gradient */

/* ==================== HERO ==================== */
.blog-hero{padding:130px 0 48px;background:linear-gradient(180deg,#ffffff 0%,#f6fbf8 100%);position:relative;overflow:hidden;border-bottom:1px solid #e0e0e0}
.blog-hero::before{content:'';position:absolute;right:-140px;top:-140px;width:440px;height:440px;border-radius:50%;background:radial-gradient(circle,rgba(16,185,129,.12) 0%,transparent 65%);pointer-events:none}
.blog-hero::after{content:'';position:absolute;left:-100px;bottom:-140px;width:340px;height:340px;border-radius:50%;background:radial-gradient(circle,rgba(52,211,153,.1) 0%,transparent 65%);pointer-events:none}
.blog-hero .container{position:relative;display:grid;grid-template-columns:1.3fr 1fr;align-items:center;gap:40px}
.blog-hero-content{max-width:620px;position:relative;z-index:1;animation:blogFadeUp .7s ease-out .05s both}

/* Мелкий кикер с пульсирующей точкой */
.blog-hero-kicker{display:inline-flex;align-items:center;gap:10px;font-size:.78rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#059669;margin-bottom:20px}
.blog-hero-dot{width:8px;height:8px;border-radius:50%;background:#10b981;box-shadow:0 0 0 0 rgba(16,185,129,.7);animation:blogPulse 2.2s ease-in-out infinite;flex-shrink:0}
@keyframes blogPulse{0%{box-shadow:0 0 0 0 rgba(16,185,129,.6)}70%{box-shadow:0 0 0 8px rgba(16,185,129,0)}100%{box-shadow:0 0 0 0 rgba(16,185,129,0)}}

.blog-hero h1{font-size:3rem;font-weight:800;line-height:1.05;letter-spacing:-.035em;color:#0a0a0a;margin-bottom:18px}
.blog-hero h1 em{background:linear-gradient(135deg,#10b981,#34d399,#6ee7b7);-webkit-background-clip:text;background-clip:text;color:transparent;font-style:normal;font-weight:800}
.blog-hero-desc{font-size:1.05rem;line-height:1.65;color:#6b6b6b;max-width:520px}

/* ==================== ДЕКОРАТИВНЫЕ КАРТОЧКИ ==================== */
.blog-hero-decor{position:relative;height:320px;z-index:1;animation:blogFadeUp .8s ease-out .2s both}
.blog-decor-card{position:absolute;background:#fff;border:1px solid #e8e8e8;border-radius:14px;box-shadow:0 10px 30px rgba(16,185,129,.08),0 4px 10px rgba(0,0,0,.04);transition:transform .4s cubic-bezier(.2,.9,.3,1)}
.blog-decor-card:hover{transform:translateY(-6px) rotate(0deg) !important}

/* Карточка 1 — звёздный отзыв */
.blog-decor-card-1{top:20px;right:40px;width:240px;padding:16px 18px;transform:rotate(-3deg);animation:blogFloat1 6s ease-in-out infinite}
.blog-decor-stars{display:flex;gap:3px;margin-bottom:10px}
.blog-decor-stars svg{width:16px;height:16px}
.blog-decor-lines{display:flex;flex-direction:column;gap:6px}
.blog-decor-lines span{display:block;height:6px;background:linear-gradient(90deg,#e5e7eb,#f3f4f6);border-radius:3px;width:100%}

/* Карточка 2 — статистика +24% */
.blog-decor-card-2{top:160px;right:190px;padding:14px 18px;transform:rotate(4deg);animation:blogFloat2 7s ease-in-out infinite;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:none;color:#fff;min-width:110px;text-align:center}
.blog-decor-badge{font-size:1.4rem;font-weight:800;line-height:1;letter-spacing:-.02em}
.blog-decor-label{font-size:.72rem;font-weight:500;opacity:.9;margin-top:3px;letter-spacing:.03em}

/* Карточка 3 — Топ-3 */
.blog-decor-card-3{bottom:20px;right:260px;padding:10px 14px 10px 12px;display:flex;align-items:center;gap:8px;font-size:.82rem;font-weight:600;color:#065f46;transform:rotate(-2deg);animation:blogFloat3 8s ease-in-out infinite}
.blog-decor-pin{width:18px;height:18px;flex-shrink:0}

@keyframes blogFloat1{0%,100%{transform:rotate(-3deg) translateY(0)}50%{transform:rotate(-3deg) translateY(-8px)}}
@keyframes blogFloat2{0%,100%{transform:rotate(4deg) translateY(0)}50%{transform:rotate(4deg) translateY(-10px)}}
@keyframes blogFloat3{0%,100%{transform:rotate(-2deg) translateY(0)}50%{transform:rotate(-2deg) translateY(-6px)}}

/* ==================== FILTERS (Segmented Control) ==================== */
.blog-filters{background:#fff;border-bottom:1px solid #e0e0e0}
.blog-filters-row{display:flex;flex-direction:column;gap:12px;padding:14px 0}
.blog-filters-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.blog-filters-title{font-size:.88rem;font-weight:700;color:#0a0a0a;letter-spacing:-.01em}
.blog-filters-bottom{display:flex;align-items:center;gap:14px}

/* Segmented control — iOS-стиль */
.blog-categories{display:inline-flex;background:#f3f4f6;border-radius:12px;padding:4px;gap:2px;flex-shrink:0}
.blog-cat-btn{padding:8px 18px;border:none;background:transparent;border-radius:9px;font-family:'Inter',sans-serif;font-size:.82rem;font-weight:500;color:#6b7280;cursor:pointer;transition:color .2s,background .2s,box-shadow .2s,transform .1s;white-space:nowrap}
.blog-cat-btn:hover{color:#0a0a0a}
.blog-cat-btn.active{background:#fff;color:#059669;font-weight:600;box-shadow:0 2px 6px rgba(0,0,0,.08)}
.blog-cat-btn:active{transform:scale(.97)}

/* Поиск — компактный */
.blog-search{position:relative;flex:1;max-width:280px;margin-left:auto}
.blog-search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:#b0b0b0;pointer-events:none;transition:color .2s}
.blog-search:focus-within .blog-search-icon{color:#10b981}
.blog-search-input{width:100%;padding:9px 14px 9px 36px;border:1px solid #e0e0e0;border-radius:10px;font-family:'Inter',sans-serif;font-size:.84rem;color:#0a0a0a;background:#fff;outline:none;transition:border-color .2s,box-shadow .2s}
.blog-search-input::placeholder{color:#b0b0b0}
.blog-search-input:focus{border-color:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.12)}

/* ==================== SECTION ==================== */
.blog-section{padding:44px 0 24px;background:#fafafa}

/* ==================== FEATURED HERO ROW ==================== */
.blog-featured-row{display:grid;grid-template-columns:1.6fr 1fr;gap:20px;max-width:1080px;margin:0 auto 20px;animation:blogFadeUp .7s ease-out .15s both}
.blog-featured{position:relative;background:#fff;border:1px solid #e0e0e0;border-radius:20px;overflow:hidden;transition:transform .3s cubic-bezier(.2,.9,.3,1),box-shadow .3s;cursor:pointer;min-height:360px}
.blog-featured:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(0,0,0,.08)}
.blog-featured-link{text-decoration:none;color:inherit;display:grid;grid-template-columns:1fr 1fr;height:100%;min-height:360px}
.blog-featured-art{position:relative;background:linear-gradient(135deg,#10b981 0%,#34d399 50%,#6ee7b7 100%);overflow:hidden}
/* Анимация: столбики + плашка +150% + звёзды */
.bfa-baseline{position:absolute;left:8%;right:18%;bottom:22%;height:1.5px;background:rgba(255,255,255,.45);z-index:1}
.bfa-bars{position:absolute;left:10%;right:20%;bottom:22%;top:32%;display:flex;align-items:flex-end;justify-content:space-between;gap:6%;z-index:1}
.bfa-bar{flex:1;background:rgba(255,255,255,.8);border-radius:4px 4px 0 0;transform-origin:bottom;transform:scaleY(0);animation:bfaGrow 1.2s cubic-bezier(.4,0,.2,1) forwards}
.bfa-bar:nth-child(1){height:32%;animation-delay:.6s}
.bfa-bar:nth-child(2){height:50%;animation-delay:.8s}
.bfa-bar:nth-child(3){height:65%;animation-delay:1s}
.bfa-bar:nth-child(4){height:82%;animation-delay:1.2s}
.bfa-bar:nth-child(5){height:100%;animation-delay:1.4s;background:#fff;box-shadow:0 -4px 18px rgba(255,255,255,.6)}
.bfa-badge{position:absolute;right:22%;top:22%;padding:5px 12px;background:rgba(255,255,255,.95);color:#059669;font-size:.78rem;font-weight:800;border-radius:100px;letter-spacing:-.01em;opacity:0;transform:scale(.5) translateY(10px);animation:bfaBadgeIn .6s cubic-bezier(.3,1.5,.6,1) forwards;animation-delay:2.4s;box-shadow:0 4px 14px rgba(0,0,0,.15);display:inline-flex;align-items:center;gap:4px;z-index:3}
.bfa-badge svg{width:12px;height:12px;fill:#059669}
.bfa-star{position:absolute;color:#fff;filter:drop-shadow(0 0 6px rgba(255,255,255,.6));animation:bfaTwinkle 2.5s ease-in-out infinite;z-index:2}
.bfa-star-1{top:12%;left:14%;width:14px;height:14px;animation-delay:.2s}
.bfa-star-2{top:22%;right:18%;width:10px;height:10px;animation-delay:.8s}
.bfa-star-3{top:38%;right:38%;width:12px;height:12px;animation-delay:1.4s}
@keyframes bfaGrow{to{transform:scaleY(1)}}
@keyframes bfaBadgeIn{to{opacity:1;transform:scale(1) translateY(0)}}
@keyframes bfaTwinkle{0%,100%{opacity:.4;transform:scale(.85)}50%{opacity:1;transform:scale(1.15)}}

/* V4 — мобильная версия: +150% + шкала + звёзды (по умолчанию скрыта) */
.bfa-mob{display:none;position:absolute;inset:0;z-index:2}
.bfa-mob-num{position:absolute;left:20px;top:50%;transform:translate(-20px,-50%);opacity:0;font-size:44px;font-weight:800;color:#fff;letter-spacing:-.03em;line-height:1;animation:bfaMobSlide .8s cubic-bezier(.4,0,.2,1) forwards;animation-delay:.3s}
.bfa-mob-sub{position:absolute;left:20px;top:calc(50% + 28px);font-size:9px;color:rgba(255,255,255,.85);letter-spacing:.14em;text-transform:uppercase;font-weight:700;opacity:0;animation:bfaMobFade .5s ease-out forwards;animation-delay:1s;display:inline-flex;align-items:center;gap:6px}
.bfa-mob-sub svg{width:10px;height:10px;fill:#fff}
.bfa-mob-gauge{position:absolute;right:72px;top:22px;bottom:22px;width:8px;background:rgba(255,255,255,.2);border-radius:4px;overflow:hidden}
.bfa-mob-gauge-fill{position:absolute;bottom:0;left:0;right:0;background:#fff;border-radius:4px;height:0;animation:bfaMobFill 1.4s cubic-bezier(.4,0,.2,1) forwards;animation-delay:.6s;box-shadow:0 -2px 10px rgba(255,255,255,.5)}
.bfa-mob-stars{position:absolute;right:56px;top:22px;display:flex;flex-direction:column;gap:6px}
.bfa-mob-star{width:11px;height:11px;color:#fff;opacity:0;animation:bfaMobStarIn .4s ease-out forwards;filter:drop-shadow(0 0 4px rgba(255,255,255,.6))}
.bfa-mob-star:nth-child(1){animation-delay:1.8s}
.bfa-mob-star:nth-child(2){animation-delay:2s}
.bfa-mob-star:nth-child(3){animation-delay:2.2s}
@keyframes bfaMobSlide{to{opacity:1;transform:translate(0,-50%)}}
@keyframes bfaMobFade{to{opacity:1}}
@keyframes bfaMobFill{to{height:100%}}
@keyframes bfaMobStarIn{from{opacity:0;transform:translateX(-8px)}to{opacity:1;transform:translateX(0)}}
@keyframes blogFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(10px,-10px)}}
.blog-featured-art-label{position:absolute;left:28px;top:28px;display:inline-flex;align-items:center;gap:8px;padding:6px 14px;background:rgba(255,255,255,.2);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.3);color:#fff;font-size:.7rem;letter-spacing:.12em;text-transform:uppercase;font-weight:700;border-radius:100px;z-index:2}
.blog-featured-art-label::before{content:'';display:block;width:5px;height:5px;background:#fff;border-radius:50%}
.blog-featured-art-mark{position:absolute;right:28px;bottom:28px;width:56px;height:56px;border-radius:50%;background:rgba(255,255,255,.22);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);display:flex;align-items:center;justify-content:center;color:#fff;transition:transform .3s,background .3s;z-index:2}
.blog-featured:hover .blog-featured-art-mark{transform:rotate(-45deg);background:rgba(255,255,255,.3)}
.blog-featured-art-mark svg{width:22px;height:22px;stroke:currentColor;stroke-width:2.2;fill:none}
.blog-featured-body{padding:36px 32px;display:flex;flex-direction:column;justify-content:space-between;gap:20px}
.blog-featured h2{font-size:1.65rem;font-weight:800;color:#0a0a0a;line-height:1.15;letter-spacing:-.02em;margin:0}
.blog-featured-excerpt{font-size:.95rem;color:#6b6b6b;line-height:1.6;margin:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.blog-featured-foot{display:flex;align-items:center;justify-content:space-between;padding-top:18px;border-top:1px solid #f0f0f0}
.blog-featured-meta{display:flex;align-items:center;gap:10px}
.blog-featured-avatar{width:32px;height:32px;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0}
.blog-featured-info{font-size:.8rem;color:#6b6b6b;line-height:1.35}
.blog-featured-info strong{display:block;color:#0a0a0a;font-weight:600;font-size:.82rem}
.blog-featured-cta{font-size:.85rem;font-weight:600;color:#059669;display:inline-flex;align-items:center;gap:6px;transition:gap .25s}
.blog-featured:hover .blog-featured-cta{gap:10px}

/* Side featured block — 2 обычные статьи столбиком */
.blog-featured-side{display:grid;grid-template-rows:1fr 1fr;gap:20px}

/* ==================== BENTO GRID — uniform cards ==================== */
.blog-bento{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;max-width:1080px;margin:0 auto;animation:blogFadeUp .7s ease-out .25s both}

.blog-card{background:#fff;border:1px solid #e0e0e0;border-radius:16px;overflow:hidden;transition:transform .3s cubic-bezier(.2,.9,.3,1),box-shadow .3s,border-color .3s;cursor:pointer;position:relative;display:flex;flex-direction:column}
.blog-card:hover{transform:translateY(-4px);box-shadow:0 16px 32px rgba(0,0,0,.07);border-color:#10b981}
.blog-card-link{text-decoration:none;color:inherit;display:flex;flex-direction:column;height:100%;min-height:280px}

/* Верхняя цветная полоса-шапка */
.bc-art{height:80px;position:relative;overflow:hidden;background:#f6fbf8;flex-shrink:0}
.bc-art::before{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(16,185,129,.08) 0%,rgba(52,211,153,.04) 100%);transition:opacity .35s}
.blog-card:hover .bc-art::before{opacity:1.6}
.bc-art-circle{position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:rgba(16,185,129,.14);transition:transform .5s cubic-bezier(.2,.9,.3,1)}
.blog-card:hover .bc-art-circle{transform:scale(1.15) translate(-6px,6px)}
.bc-art-dot{position:absolute;left:28px;bottom:20px;width:10px;height:10px;border-radius:50%;background:linear-gradient(135deg,#10b981,#059669);box-shadow:0 0 0 4px rgba(16,185,129,.15)}
.bc-tag{position:absolute;left:18px;top:18px;padding:4px 11px;background:#fff;color:#059669;font-size:.64rem;letter-spacing:.1em;text-transform:uppercase;font-weight:700;border-radius:100px;z-index:2;box-shadow:0 2px 6px rgba(0,0,0,.04)}

/* Контент */
.bc-body{padding:20px 22px;display:flex;flex-direction:column;gap:10px;flex:1}
.blog-card h3{font-size:1.08rem;font-weight:700;color:#0a0a0a;line-height:1.3;margin:0;letter-spacing:-.01em;transition:color .2s;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.blog-card:hover h3{color:#059669}
.bc-excerpt{font-size:.84rem;color:#6b6b6b;line-height:1.55;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.bc-foot{display:flex;align-items:center;justify-content:space-between;padding-top:14px;border-top:1px solid #f0f0f0;margin-top:auto}
.bc-meta{font-size:.74rem;color:#9a9a9a;letter-spacing:.01em}
.bc-cta{font-size:.78rem;font-weight:600;color:#059669;display:inline-flex;align-items:center;gap:4px;transition:gap .25s}
.blog-card:hover .bc-cta{gap:8px}
.bc-cta svg{width:12px;height:12px;stroke:currentColor;stroke-width:2.4;fill:none;transition:transform .25s}

/* Side-featured cards (в правой колонке hero-ряда) */
.blog-featured-side .blog-card{border-radius:16px}
.blog-featured-side .blog-card-link{min-height:auto;flex-direction:row}
.blog-featured-side .bc-art{width:120px;height:auto;flex-shrink:0}
.blog-featured-side .bc-tag{font-size:.6rem;padding:3px 9px;left:12px;top:12px}
.blog-featured-side .bc-art-circle{width:80px;height:80px;right:-20px;top:-20px}
.blog-featured-side .bc-art-dot{display:none}
.blog-featured-side .bc-body{padding:16px 18px;gap:6px}
.blog-featured-side .blog-card h3{font-size:.96rem;-webkit-line-clamp:2}
.blog-featured-side .bc-excerpt{display:none}
.blog-featured-side .bc-foot{padding-top:10px}

/* Staggered fade-in для карточек */
.blog-card,.blog-featured{animation:blogCardIn .6s cubic-bezier(.2,.9,.3,1) both}
.blog-bento .blog-card:nth-child(1){animation-delay:.05s}
.blog-bento .blog-card:nth-child(2){animation-delay:.1s}
.blog-bento .blog-card:nth-child(3){animation-delay:.15s}
.blog-bento .blog-card:nth-child(4){animation-delay:.2s}
.blog-bento .blog-card:nth-child(5){animation-delay:.25s}
.blog-bento .blog-card:nth-child(6){animation-delay:.3s}
.blog-bento .blog-card:nth-child(n+7){animation-delay:.35s}

@keyframes blogFadeUp{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@keyframes blogCardIn{from{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}

/* ==================== SHOW MORE ==================== */
.blog-show-more-wrap{grid-column:1/-1;text-align:center;padding:40px 0 44px}
.blog-show-more-btn{display:inline-flex;align-items:center;gap:10px;padding:14px 34px;background:linear-gradient(135deg,#10b981 0%,#059669 100%);border:none;border-radius:100px;font-family:'Inter',sans-serif;font-size:.88rem;font-weight:600;color:#fff;cursor:pointer;transition:transform .2s,box-shadow .2s;box-shadow:0 6px 18px rgba(16,185,129,.28)}
.blog-show-more-btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,185,129,.4)}
.blog-show-more-btn:active{transform:translateY(0) scale(.98)}
.blog-show-more-btn svg{transition:transform .2s}
.blog-show-more-btn:hover svg{transform:translateY(2px)}
.blog-show-more-count{display:block;margin-top:12px;font-size:.78rem;color:#9a9a9a;letter-spacing:.02em}

/* ==================== EMPTY ==================== */
.blog-empty{text-align:center;padding:80px 20px;grid-column:1/-1}
.blog-empty-icon{width:72px;height:72px;border-radius:50%;background:linear-gradient(135deg,#ecfdf5 0%,#d1fae5 100%);display:flex;align-items:center;justify-content:center;margin:0 auto 20px;color:#059669}
.blog-empty h3{font-size:1.15rem;font-weight:700;color:#0a0a0a;margin-bottom:6px}
.blog-empty p{font-size:.9rem;color:#6b6b6b;max-width:360px;margin:0 auto;line-height:1.6}

/* ==================== CTA ==================== */
.blog-cta{padding:24px 0 60px;background:#fafafa}
.blog-cta-card{background:linear-gradient(135deg,#10b981 0%,#059669 100%);border-radius:24px;padding:48px 44px;display:flex;align-items:center;justify-content:space-between;gap:32px;max-width:1080px;margin:0 auto;position:relative;overflow:hidden}
.blog-cta-card::before{content:'';position:absolute;right:-100px;top:-100px;width:340px;height:340px;background:rgba(255,255,255,.12);border-radius:50%;pointer-events:none;animation:blogFloat 10s ease-in-out infinite}
.blog-cta-card::after{content:'';position:absolute;left:-60px;bottom:-60px;width:200px;height:200px;background:rgba(110,231,183,.18);border-radius:50%;pointer-events:none;animation:blogFloat 12s ease-in-out infinite reverse}
.blog-cta-content{position:relative;z-index:1}
.blog-cta-content h2{font-size:1.5rem;font-weight:800;color:#fff;margin-bottom:8px;letter-spacing:-.02em;line-height:1.2}
.blog-cta-content p{font-size:.94rem;color:rgba(255,255,255,.88);line-height:1.55;max-width:420px}
.blog-cta-actions{display:flex;gap:10px;flex-shrink:0;position:relative;z-index:1}
.blog-cta-btn-primary{padding:13px 28px;background:#fff;color:#059669;border-radius:100px;font-size:.9rem;font-weight:700;text-decoration:none;transition:transform .2s,box-shadow .2s;white-space:nowrap}
.blog-cta-btn-primary:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.18)}
.blog-cta-btn-secondary{padding:13px 28px;background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.45);border-radius:100px;font-size:.9rem;font-weight:600;text-decoration:none;transition:background .2s,border-color .2s;white-space:nowrap}
.blog-cta-btn-secondary:hover{border-color:#fff;background:rgba(255,255,255,.12)}

/* ==================== ARTICLE PAGE ==================== */
.blog-back{display:inline-flex;align-items:center;gap:8px;font-size:.86rem;font-weight:500;color:#6b6b6b;text-decoration:none;margin-bottom:22px;transition:color .2s,gap .2s}
.blog-back:hover{color:#10b981;gap:12px}
.blog-article-hero{padding:130px 0 44px;background:linear-gradient(180deg,#ffffff 0%,#f6fbf8 100%);border-bottom:1px solid #e0e0e0;position:relative;overflow:hidden}
.blog-article-hero::before{content:'';position:absolute;right:-120px;top:-120px;width:380px;height:380px;border-radius:50%;background:radial-gradient(circle,rgba(16,185,129,.1) 0%,transparent 65%);pointer-events:none}
.blog-article-hero .container{max-width:760px;position:relative;z-index:1}
.blog-article-meta{display:flex;align-items:center;gap:8px;font-size:.82rem;color:#6b6b6b;margin-bottom:16px;flex-wrap:wrap}
.blog-article-meta .blog-card-cat,.blog-article-meta .bc-cat{display:inline-block;font-size:.7rem;letter-spacing:.12em;color:#059669;font-weight:700;text-transform:uppercase;background:transparent;padding:0;margin-right:6px}
.blog-article-meta .blog-meta-dot{color:#c9c9c9}
.blog-article-hero h1{font-size:2.3rem;font-weight:800;line-height:1.15;letter-spacing:-.03em;color:#0a0a0a;margin-bottom:18px}
.blog-article-hero .lead{font-size:1.1rem;line-height:1.6;color:#6b6b6b}
.blog-article-cover{max-width:760px;margin:0 auto;padding:0 1.25rem}
.blog-article-cover img{width:100%;border-radius:18px;aspect-ratio:16/9;object-fit:cover}
.blog-article-content{max-width:680px;margin:44px auto 0;padding:0 1.25rem 60px}
.blog-article-content h2{font-size:1.35rem;font-weight:700;margin:40px 0 16px;color:#0a0a0a;letter-spacing:-.01em}
.blog-article-content h3{font-size:1.1rem;font-weight:600;margin:30px 0 12px;color:#0a0a0a}
.blog-article-content p{font-size:1rem;line-height:1.8;color:#2a2a2a;margin-bottom:20px}
.blog-article-content ul,.blog-article-content ol{margin:0 0 20px 24px;font-size:1rem;line-height:1.8;color:#2a2a2a}
.blog-article-content li{margin-bottom:8px}
.blog-article-content blockquote{margin:28px 0;padding:22px 26px;background:linear-gradient(135deg,#f6fbf8 0%,#ecfdf5 100%);border-left:3px solid #10b981;border-radius:0 14px 14px 0;font-size:.98rem;line-height:1.7;color:#2a2a2a}
.blog-article-content img{width:100%;border-radius:14px;margin:28px 0}
.blog-article-content a{color:#059669;text-decoration:none;font-weight:500;border-bottom:1px solid rgba(16,185,129,.3);transition:border-color .2s}
.blog-article-content a:hover{border-bottom-color:#10b981}
.blog-article-footer{max-width:680px;margin:0 auto;padding:32px 1.25rem 40px;border-top:1px solid #e0e0e0;display:flex;align-items:center;justify-content:space-between;gap:16px}
.blog-article-author{display:flex;align-items:center;gap:12px}
.blog-article-author-avatar{width:42px;height:42px;border-radius:50%;background:transparent;display:flex;align-items:center;justify-content:center;overflow:hidden;padding:0}
.blog-author-logo{width:100%;height:100%;object-fit:cover;display:block;border-radius:50%}
.blog-article-author-info span{display:block;font-size:.88rem;font-weight:600;color:#0a0a0a}
.blog-article-author-info small{font-size:.78rem;color:#6b6b6b}
.blog-share{display:flex;gap:8px}
.blog-share-btn{width:38px;height:38px;border-radius:50%;border:1px solid #e0e0e0;background:#fff;display:flex;align-items:center;justify-content:center;color:#6b6b6b;cursor:pointer;transition:all .2s;text-decoration:none}
.blog-share-btn:hover{border-color:#10b981;color:#10b981;transform:translateY(-2px)}

/* ==================== RESPONSIVE ==================== */
@media(max-width:1024px){
    .blog-hero .container{grid-template-columns:1fr;gap:20px}
    .blog-hero-decor{height:220px;max-width:480px;margin:0 auto}
    .blog-decor-card-1{right:auto;left:40%;top:10px}
    .blog-decor-card-2{right:auto;left:10%;top:120px}
    .blog-decor-card-3{right:auto;left:45%;bottom:10px}
    .blog-featured-row{grid-template-columns:1fr;max-width:720px}
    .blog-featured-side{grid-template-columns:1fr 1fr;grid-template-rows:none}
    .blog-bento{grid-template-columns:repeat(2,1fr);max-width:720px}
    .blog-cta-card{max-width:720px}
}

@media(max-width:768px){
    .blog-hero{padding:104px 0 28px;text-align:center}
    .blog-hero-content{max-width:100%;margin:0 auto}
    .blog-hero h1{font-size:2rem;line-height:1.1}
    .blog-hero-desc{font-size:.94rem;margin:0 auto;max-width:100%}
    .blog-hero-kicker{font-size:.72rem;margin-bottom:16px;letter-spacing:.12em;justify-content:center}
    .blog-hero-decor{display:none}

    .blog-filters-row{gap:10px;padding:10px 0}
    /* На мобильном скрываем заголовок — он избыточен рядом с hero */
    .blog-filters-top{display:none}
    .blog-filters-bottom{flex-direction:column;align-items:stretch;gap:8px}
    /* Сегменты на всю ширину, равные ячейки */
    .blog-categories{display:flex;width:100%;padding:3px;border-radius:11px}
    .blog-cat-btn{flex:1;padding:9px 4px;font-size:.78rem;border-radius:8px;letter-spacing:-.01em}
    .blog-cat-btn.active{box-shadow:0 2px 8px rgba(0,0,0,.1),0 0 0 0.5px rgba(16,185,129,.1)}
    /* Поиск компактный, с мягким фоном */
    .blog-search{width:100%;max-width:100%;margin-left:0}
    .blog-search-input{padding:10px 14px 10px 36px;background:#f9fafb;border-color:transparent;font-size:.85rem}
    .blog-search-input:focus{background:#fff;border-color:#10b981}

    .blog-section{padding:24px 0 12px}

    /* Featured на мобиле — одна колонка, картинка сверху */
    .blog-featured-row{gap:12px;margin-bottom:12px}
    .blog-featured{min-height:auto}
    .blog-featured-link{grid-template-columns:1fr;min-height:auto}
    .blog-featured-art{height:140px;min-height:140px}
    /* Мобильная версия featured-art: прячем десктопные V5-элементы */
    .bfa-baseline,.bfa-bars,.bfa-badge,.bfa-star-1,.bfa-star-2,.bfa-star-3{display:none}
    /* Показываем мобильные V4-элементы */
    .bfa-mob{display:block}
    .blog-featured-art-label{left:18px;top:18px;font-size:.64rem;padding:5px 12px}
    .blog-featured-art-mark{width:44px;height:44px;right:18px;bottom:18px}
    .blog-featured-art-mark svg{width:18px;height:18px}
    .blog-featured-body{padding:22px 20px;gap:14px}
    .blog-featured h2{font-size:1.22rem}
    .blog-featured-excerpt{font-size:.88rem;-webkit-line-clamp:2}

    /* === SIDE-карточки: единый зелёный блок "Рекомендуем" === */
    .blog-featured-side{
        grid-template-columns:1fr;
        gap:0;
        background:linear-gradient(135deg,#f0fdf4 0%,#ecfdf5 100%);
        border:1px solid #d1fae5;
        border-radius:16px;
        padding:14px 16px;
        position:relative;
    }
    /* Заголовок "Рекомендуем" через ::before */
    .blog-featured-side::before{
        content:'★  Рекомендуем';
        display:block;
        font-size:.68rem;
        font-weight:700;
        color:#059669;
        text-transform:uppercase;
        letter-spacing:.1em;
        margin-bottom:12px;
    }
    /* При фильтре — сбрасываем "блок рекомендуем" до прозрачного контейнера */
    .blog-featured-side.is-filtered{
        background:transparent;
        border:none;
        padding:0;
        gap:12px;
    }
    .blog-featured-side.is-filtered::before{display:none}
    /* Сами карточки — как пункты списка, без рамки и фона */
    .blog-featured-side .blog-card{
        background:transparent;
        border:none;
        border-bottom:1px solid #d1fae5;
        border-radius:0;
        padding:0;
        overflow:visible;
    }
    .blog-featured-side .blog-card:last-child{border-bottom:none}
    .blog-featured-side .blog-card:hover{transform:none;box-shadow:none;border-color:#d1fae5;background:transparent}

    .blog-featured-side .blog-card-link{
        flex-direction:row;
        align-items:center;
        gap:12px;
        padding:10px 0;
        min-height:auto;
    }
    .blog-featured-side .blog-card:first-child .blog-card-link{padding-top:2px}
    .blog-featured-side .blog-card:last-child .blog-card-link{padding-bottom:2px}

    /* Скрываем декоративный блок bc-art */
    .blog-featured-side .bc-art{display:none}

    /* Зелёная точка-маркер слева от заголовка */
    .blog-featured-side .bc-body{
        position:relative;
        padding:0 0 0 14px;
        gap:2px;
        flex:1;
        min-width:0;
    }
    .blog-featured-side .bc-body::before{
        content:'';
        position:absolute;
        left:0;
        top:9px;
        width:6px;
        height:6px;
        border-radius:50%;
        background:#10b981;
        flex-shrink:0;
    }

    /* Заголовок */
    .blog-featured-side .blog-card h3{
        font-size:.88rem;
        font-weight:600;
        color:#0a0a0a;
        line-height:1.3;
        -webkit-line-clamp:2;
        margin:0;
    }
    /* Скрываем excerpt */
    .blog-featured-side .bc-excerpt{display:none}

    /* Footer: категория + время, мелко */
    .blog-featured-side .bc-foot{
        padding-top:2px;
        border:none;
        margin:0;
        font-size:.66rem;
        color:#6b7280;
        gap:6px;
    }
    .blog-featured-side .bc-meta{font-size:.66rem;color:#6b7280}
    /* Скрываем CTA "Читать" — вместо неё будет стрелка после карточки */
    .blog-featured-side .bc-cta{display:none}

    /* Стрелка справа через ::after у ссылки */
    .blog-featured-side .blog-card-link::after{
        content:'';
        width:14px;
        height:14px;
        background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 18l6-6-6-6'/%3E%3C/svg%3E");
        background-repeat:no-repeat;
        background-position:center;
        background-size:contain;
        flex-shrink:0;
    }

    /* Категория словами в footer через data-cat */
    .blog-featured-side .blog-card[data-cat="tips"] .bc-meta::before{content:'Советы · '}
    .blog-featured-side .blog-card[data-cat="guides"] .bc-meta::before{content:'Гайды · '}
    .blog-featured-side .blog-card[data-cat="cases"] .bc-meta::before{content:'Кейсы · '}

    /* === При фильтре: side-карточка становится обычной (как в bento) === */
    .blog-featured-side .blog-card.in-grid{
        background:#fff;
        border:1px solid #e0e0e0;
        border-radius:16px;
        padding:0;
        overflow:hidden;
        position:relative;
    }
    /* Треугольный уголок-стикер как у bento-карточек */
    .blog-featured-side .blog-card.in-grid::before{
        content:'';
        position:absolute;
        top:0;
        right:0;
        width:0;
        height:0;
        border-style:solid;
        border-width:0 52px 52px 0;
        border-color:transparent #10b981 transparent transparent;
        z-index:1;
        filter:drop-shadow(-2px 2px 3px rgba(16,185,129,.2));
    }
    .blog-featured-side .blog-card.in-grid::after{
        content:'+';
        position:absolute;
        top:6px;
        right:6px;
        width:18px;
        height:18px;
        color:#fff;
        font-size:1rem;
        font-weight:800;
        line-height:1;
        z-index:2;
        transform:rotate(45deg);
        display:flex;
        align-items:center;
        justify-content:center;
        pointer-events:none;
    }
    .blog-featured-side .blog-card.in-grid .blog-card-link{
        flex-direction:column;
        padding:0;
        min-height:auto;
        align-items:stretch;
    }
    .blog-featured-side .blog-card.in-grid .blog-card-link::after{display:none}
    /* Категория сверху через ::before у bc-body */
    .blog-featured-side .blog-card.in-grid .bc-body{
        padding:18px 60px 18px 20px;
        gap:8px;
    }
    .blog-featured-side .blog-card.in-grid .bc-body::before{
        content:'';
        position:static;
        display:block;
        width:auto;
        height:auto;
        background:none;
        border-radius:0;
        font-size:.62rem;
        font-weight:700;
        color:#059669;
        text-transform:uppercase;
        letter-spacing:.1em;
        margin-bottom:4px;
    }
    .blog-featured-side .blog-card.in-grid[data-cat="tips"] .bc-body::before{content:'Советы'}
    .blog-featured-side .blog-card.in-grid[data-cat="guides"] .bc-body::before{content:'Гайды'}
    .blog-featured-side .blog-card.in-grid[data-cat="cases"] .bc-body::before{content:'Кейсы'}
    .blog-featured-side .blog-card.in-grid h3{
        font-size:1rem;
        font-weight:700;
        color:#0a0a0a;
    }
    .blog-featured-side .blog-card.in-grid .bc-excerpt{
        display:-webkit-box;
        -webkit-line-clamp:2;
        -webkit-box-orient:vertical;
        overflow:hidden;
        font-size:.8rem;
        color:#6b6b6b;
        line-height:1.55;
    }
    .blog-featured-side .blog-card.in-grid .bc-foot{
        padding-top:14px;
        border-top:1px dashed #e5e7eb;
        font-size:.74rem;
        display:flex;
        justify-content:space-between;
    }
    .blog-featured-side .blog-card.in-grid .bc-meta{font-size:.74rem;color:#9a9a9a}
    .blog-featured-side .blog-card.in-grid .bc-meta::before{content:none !important}
    .blog-featured-side .blog-card.in-grid .bc-cta{
        display:inline-flex;
        align-items:center;
        gap:4px;
        font-size:.78rem;
        font-weight:600;
        color:#059669;
    }

    /* Bento в одну колонку */
    .blog-bento{grid-template-columns:1fr;gap:12px}
    .blog-bento .blog-card-link{min-height:auto;flex-direction:column}

    /* === Мобильный стиль карточки: "Загнутый уголок-стикер" === */
    /* Скрываем декоративную полосу сверху */
    .blog-bento .blog-card .bc-art{display:none}
    /* Карточка как стикер — позиционная база + overflow скрыт */
    .blog-bento .blog-card{position:relative;overflow:hidden;border-radius:16px}

    /* Треугольный зелёный уголок справа сверху */
    .blog-bento .blog-card::before{
        content:'';
        position:absolute;
        top:0;
        right:0;
        width:0;
        height:0;
        border-style:solid;
        border-width:0 52px 52px 0;
        border-color:transparent #10b981 transparent transparent;
        z-index:1;
        filter:drop-shadow(-2px 2px 3px rgba(16,185,129,.2));
    }
    /* Плюсик внутри уголка — повернут на 45° */
    .blog-bento .blog-card::after{
        content:'+';
        position:absolute;
        top:6px;
        right:6px;
        width:18px;
        height:18px;
        color:#fff;
        font-size:1rem;
        font-weight:800;
        line-height:1;
        z-index:2;
        transform:rotate(45deg);
        pointer-events:none;
        display:flex;
        align-items:center;
        justify-content:center;
    }

    /* Мелкая метка категории сверху тела */
    .blog-bento .blog-card .bc-body::before{
        display:block;
        font-size:.62rem;
        font-weight:700;
        color:#059669;
        text-transform:uppercase;
        letter-spacing:.1em;
        margin-bottom:4px;
    }
    .blog-bento .blog-card[data-cat="tips"] .bc-body::before{content:'Советы'}
    .blog-bento .blog-card[data-cat="guides"] .bc-body::before{content:'Гайды'}
    .blog-bento .blog-card[data-cat="cases"] .bc-body::before{content:'Кейсы'}

    /* Размеры тела карточки (справа отступ под уголок) */
    .blog-bento .bc-body{padding:18px 60px 18px 20px;gap:8px}
    .blog-bento .blog-card h3{font-size:1rem;-webkit-line-clamp:2}
    .blog-bento .bc-excerpt{font-size:.8rem;-webkit-line-clamp:2;padding-right:0}

    /* Пунктирный разделитель footer — как у стикера / чека */
    .blog-bento .bc-foot{border-top:1px dashed #e5e7eb}

    /* Hover на мобиле (касание) — без "приподнимания" */
    .blog-bento .blog-card:hover{transform:none;box-shadow:0 6px 18px rgba(0,0,0,.06);border-color:#d1fae5}

    .blog-show-more-wrap{padding:28px 0 32px}
    .blog-show-more-btn{padding:12px 30px;font-size:.86rem}

    .blog-cta{padding:12px 0 40px}
    .blog-cta-card{flex-direction:column;text-align:center;padding:36px 24px;gap:22px;border-radius:20px;max-width:100%}
    .blog-cta-content h2{font-size:1.2rem}
    .blog-cta-content p{font-size:.86rem}
    .blog-cta-actions{flex-direction:column;width:100%}
    .blog-cta-btn-primary,.blog-cta-btn-secondary{text-align:center;padding:13px 22px}

    .blog-article-hero{padding:100px 0 30px}
    .blog-article-hero h1{font-size:1.6rem}
    .blog-article-hero .lead{font-size:.98rem}
    .blog-article-content{margin-top:30px;padding-bottom:40px}
    .blog-article-content h2{font-size:1.2rem;margin-top:30px}
    .blog-article-content p{font-size:.96rem;line-height:1.75}
    .blog-article-content blockquote{padding:18px 20px;font-size:.94rem}
    .blog-article-footer{flex-direction:column;align-items:flex-start;gap:18px;padding-top:24px}
}

@media(max-width:420px){
    .blog-hero h1{font-size:1.65rem}
    .blog-article-hero h1{font-size:1.4rem}
    .blog-featured h2{font-size:1.12rem}
    /* Совсем узкие экраны — сегменты ещё компактнее */
    .blog-cat-btn{padding:8px 2px;font-size:.74rem}
    .blog-search-input{padding:9px 12px 9px 34px;font-size:.82rem}
}
