/* ЭкспертКПП / редакционная подача кейсов, статей и клиентских отзывов */
.ex-editorial-page .inner-hero {position:relative;overflow:hidden;background:radial-gradient(ellipse at 78% 25%,rgba(69,112,140,.37),transparent 55%),linear-gradient(118deg,#071c2b 0%,#1b394d 58%,#354a59 100%)!important;isolation:isolate;padding-block:clamp(72px,7vw,118px)!important}
.ex-editorial-page .inner-hero:after{content:"";position:absolute;pointer-events:none;right:-7%;top:-80%;width:66%;height:250%;transform:rotate(26deg);background:linear-gradient(90deg,transparent 10%,rgba(255,210,91,.06) 48%,transparent 50%,rgba(255,255,255,.04) 52%,transparent 90%);z-index:-1}
.ex-editorial-page .inner-hero h1 {font-weight:900!important;letter-spacing:-.045em!important;color:#fff!important}
.ex-editorial-page .inner-hero .yellow{color:#ffd15e!important}
.ex-editorial-page .inner-hero p{color:#cfdeeb!important;max-width:760px!important;font-size:clamp(16px,1.3vw,19px)!important}
.ex-editorial-page .work-grid{align-items:stretch;row-gap:25px}
.ex-editorial-page .work-grid>.work-card{height:100%;min-height:0;display:flex;flex-direction:column;position:relative;border-radius:23px!important;overflow:hidden;background:#fff;border:1px solid #dce8ef!important;box-shadow:0 14px 33px #16334612!important}
.ex-editorial-page .work-grid .work-photo{height:clamp(205px,21vw,285px)!important;flex:none;position:relative}
.ex-editorial-page .work-grid .work-photo:after{content:"";position:absolute;inset:58% 0 0;background:linear-gradient(0deg,rgba(4,24,39,.48),transparent);pointer-events:none}
.ex-editorial-page .work-grid .work-photo img{width:100%;height:100%;object-fit:cover}
.ex-editorial-page .work-grid .work-tag,.ex-article-tag{z-index:1;position:absolute;left:17px;bottom:17px;top:auto!important;letter-spacing:.02em!important;font-weight:850!important;background:#ffcf56!important;color:#142f46!important;padding:8px 12px!important;border-radius:10px!important;font-size:11px!important}
.ex-editorial-page .work-grid .work-info{padding:24px!important;display:flex;flex:1;flex-direction:column;align-items:stretch;min-height:255px!important}
.ex-editorial-page .work-grid .work-info small{display:block;margin-bottom:11px;color:#3681af!important;text-transform:uppercase;font-weight:850!important;letter-spacing:.07em;font-size:10px!important}
.ex-editorial-page .work-grid .work-info h3{font-size:clamp(18px,1.55vw,24px)!important;font-weight:900!important;letter-spacing:-.025em;line-height:1.2!important;margin:0 0 14px!important;color:#203848!important}
.ex-case-teaser{margin:0 0 20px;padding:13px 15px;border-radius:12px;background:linear-gradient(120deg,#eef5fa,#f6f9fb);border-left:3px solid #ffc850}
.ex-case-teaser>span{display:block;margin-bottom:7px;font-size:9px;font-weight:900;letter-spacing:.095em;color:#2b719d}
.ex-case-teaser p{margin:0;color:#597083!important;font-size:12px!important;line-height:1.6!important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.ex-editorial-page .work-grid .work-cta{margin-top:auto;align-self:flex-start;background:#173b56!important;color:#fff!important;border:1px solid #173b56!important;min-height:39px;border-radius:10px!important;padding:5px 7px 5px 14px!important}
.ex-editorial-page .work-grid .work-cta-icon{background:#ffd15e!important;color:#18344b!important}
.ex-editorial-page .work-grid .work-card:hover .work-cta{background:#265575!important}
/* Articles: metallic navy gradient drawn from the front-page cover */
.ex-articles-page .work-grid .ex-editorial-article .work-info{background:radial-gradient(ellipse at 105% -10%,rgba(80,127,157,.42),transparent 60%),linear-gradient(140deg,#233d52 0%,#10293c 100%);border-top:3px solid #ffcf56}
.ex-articles-page .work-grid .ex-editorial-article .work-info small{color:#ffcf62!important}
.ex-articles-page .work-grid .ex-editorial-article .work-info h3{color:#fff!important}
.ex-articles-page .work-grid .ex-editorial-article .work-info p{margin:0 0 17px;color:#c5d7e6!important;font-size:13px;line-height:1.7;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.ex-editorial-read{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto;border-top:1px solid #ffffff2c;padding-top:16px;color:#ffcf60;font-size:13px;font-weight:850}
.ex-editorial-read>span{display:grid;place-items:center;width:29px;height:29px;border-radius:9px;background:#ffcd55;color:#193349;font-size:19px;transition:transform .22s}
.ex-editorial-article:hover .ex-editorial-read>span{transform:translateX(3px)}
.ex-knowledge-section .ex-knowledge-card{border:1px solid #25485c!important;background:linear-gradient(140deg,#213b50 0%,#10293e 100%)!important;box-shadow:0 15px 37px #08293f21}
.ex-knowledge-section .ex-knowledge-body{background:radial-gradient(ellipse at 100% -30%,#35617b77,transparent 72%),linear-gradient(135deg,#263e53,#102b40);border-top:3px solid #ffce58;padding:22px 23px 23px}
.ex-knowledge-section .ex-knowledge-body>span{color:#ffd05c!important}
.ex-knowledge-section .ex-knowledge-body h3{color:#fff!important}
.ex-knowledge-section .ex-knowledge-body p{color:#c8d8e5!important}
.ex-knowledge-section .ex-knowledge-body b{color:#ffd05c!important;display:flex;justify-content:space-between}
.ex-knowledge-section .ex-knowledge-head>a{background:linear-gradient(105deg,#244d68,#142e44);border:1px solid #376381}
/* Client feedback: richer cards while retaining real content and source links */
.reviews-section .yandex-review-more-head{align-items:center;gap:20px}
.reviews-section .ex-review-kicker{display:inline-block;font-size:10px;color:#246e9f;font-weight:900;letter-spacing:.14em;margin-bottom:7px}
.reviews-section .yandex-review-more-head h3{font-weight:900!important;letter-spacing:-.03em!important}
.reviews-section .review-carousel{padding-bottom:22px}
.reviews-section .review-carousel .review-carousel-item{background:radial-gradient(ellipse at 100% 0%,#3b68837d,transparent 64%),linear-gradient(135deg,#25445c,#132e43)!important;border:1px solid #42647a!important;border-radius:22px!important;box-shadow:0 15px 30px #122e4725!important;min-height:265px;color:#fff!important}
.reviews-section .review-carousel .yandex-review-brief-badge{background:#ffffff1b!important;border:1px solid #ffffff27!important;color:#f9d474!important}
.reviews-section .review-carousel .yandex-review-brief-mark{color:#ffd059!important}
.reviews-section .review-carousel .review-carousel-item>p{color:#ecf4fa!important;font-weight:500!important;line-height:1.6!important}
.reviews-section .review-carousel .yandex-review-brief-footer{border-top:1px solid #ffffff30!important}
.reviews-section .review-carousel .yandex-review-brief-footer strong{color:white!important}
.reviews-section .review-carousel .yandex-review-brief-footer small{color:#acc5d7!important}
.reviews-section .review-carousel .yandex-review-brief-footer a{background:#ffd15c!important;color:#17374d!important}
@media(max-width:767px){.ex-editorial-page .work-grid .work-info{padding:18px!important;min-height:0!important}.ex-editorial-page .work-grid .work-photo{height:215px!important}.ex-editorial-page .work-grid .work-info h3{font-size:19px!important}.ex-case-teaser{padding:12px}.reviews-section .review-carousel .review-carousel-item{min-height:250px}}
@media(prefers-reduced-motion:reduce){.ex-editorial-page .work-card,.ex-editorial-read>span{transition:none!important}}
