/* /sertifikaciya-belyy-haker/ — дополнения к стилям шаблона «CyberED для компаний». */
main{margin-bottom:0;padding-bottom:0}
.cewh-soft{background:#f7f7fb}
.hero.cewh-hero-sec{padding:64px 0 56px}
.cewh-hero{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:48px;align-items:center}
.cewh-hero h1.disp{font-size:clamp(36px,4.4vw,60px)}
.cewh-hero .lead{font-size:19px;margin-top:24px}
.cewh-hero .hero-cta{margin-top:30px}
.cewh-hero-photo img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;object-position:62% 40%;border-radius:20px}
.cewh-format{grid-template-columns:repeat(4,1fr);margin-top:40px}
.cewh-format .stat-tile b{font-size:26px}

.cewh-list li:first-child{border-top:0;padding-top:0}
.cewh-list li{border-top-color:var(--line)!important}
.cewh-list li b{font-size:clamp(18px,1.7vw,22px);line-height:1.35;color:var(--ink)!important}
.cewh-who{grid-template-columns:repeat(3,1fr);margin-top:0}

.cewh-hosts{grid-template-columns:repeat(3,1fr)}
.cewh-hosts .concept h3{font-size:21px;margin-bottom:0}
.cewh-skills{margin-top:36px}
.cewh-h3{font-family:var(--font-display);font-weight:500;font-size:24px;letter-spacing:-.02em;margin:0 0 16px}
.cewh-prep{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:36px;padding:24px 28px;border:1px solid var(--line2);border-radius:16px;background:#fff}
.cewh-prep p{margin:0;font-size:17px;line-height:1.5}
.cewh-prep a:not(.btn){color:var(--blue);text-decoration:none;white-space:nowrap}
.cewh-prep a:not(.btn):hover{text-decoration:underline;text-underline-offset:3px}

.cewh-author{background:#fff;border:1px solid var(--line2);border-radius:20px;padding:32px}
.cewh-author-head{display:flex;align-items:center;gap:24px;margin-bottom:28px}
.cewh-author-head img{width:112px;height:112px;border-radius:50%;object-fit:cover;flex:none}
.cewh-name{font-family:var(--font-display);font-weight:500;font-size:28px;letter-spacing:-.02em;line-height:1.2}
.cewh-role{margin:6px 0 0;color:var(--muted);font-size:17px;line-height:1.45}
.cewh-author-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:32px;border-top:1px solid var(--line);padding-top:24px}
.cewh-h4{font-family:var(--font-display);font-weight:500;font-size:18px;letter-spacing:-.01em;margin:0 0 10px}
.cewh-h4:not(:first-child){margin-top:22px}
.cewh-plain{list-style:none;margin:0;padding:0;display:grid;gap:7px}
.cewh-plain li{font-size:15px;line-height:1.45;color:var(--ink)}
.cewh-note{margin:16px 0 0;font-size:15px;line-height:1.5;color:var(--muted)}

#cewh-about .head2 h2.disp{max-width:960px}
.cewh-stats{display:grid;grid-template-columns:repeat(5,1fr);gap:28px;margin:8px 0 36px}
.cewh-stats .stat .v{font-size:40px}
.cewh-about{grid-template-columns:repeat(3,1fr)}

.cewh-reviews{columns:2;column-gap:20px}
.cewh-review{break-inside:avoid;background:#fff;border:1px solid var(--line2);border-radius:16px;padding:24px;margin:0 0 20px}
.cewh-rv-head{display:flex;gap:14px;align-items:center;margin-bottom:14px}
.cewh-rv-head img{width:56px;height:56px;border-radius:50%;object-fit:cover;flex:none}
.cewh-rv-name{font-family:var(--font-display);font-weight:500;font-size:18px;line-height:1.3}
.cewh-rv-track{font-size:13px;line-height:1.4;color:var(--muted);margin-top:2px}
.cewh-review p{margin:0 0 10px;font-size:15px;line-height:1.55;color:var(--ink)}
.cewh-review p:last-child{margin-bottom:0}

.cewh-logos{display:grid;grid-template-columns:repeat(7,1fr);gap:12px}
.cewh-logos figure{margin:0;height:96px;display:flex;align-items:center;justify-content:center;background:#f7f7fb;border-radius:14px;padding:14px}
.cewh-logos img{max-width:100%;max-height:44px;width:auto;height:auto;object-fit:contain}

.cewh-price{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;align-items:stretch}
.cewh-price-card{display:flex;flex-direction:column;align-items:flex-start;gap:14px;background:#fff;border:1px solid var(--line2);border-radius:20px;padding:28px}
.cewh-price-card:first-child{border:2px solid var(--blue)}
.cewh-price-l{font-family:var(--font-display);font-weight:500;font-size:20px;letter-spacing:-.01em}
.cewh-price-v{font-family:var(--font-display);font-weight:500;font-size:44px;letter-spacing:-.03em;line-height:1;color:var(--blue)}
.cewh-price-card p{margin:0;font-size:16px;line-height:1.5;color:var(--muted)}
.cewh-price-card p a{color:var(--blue)}
.cewh-price-card .btn{margin-top:auto}
.cewh-btn-line{border-color:var(--blue);color:var(--blue);background:#fff}
.cewh-btn-line:hover{background:var(--blue);color:#fff}
#cewh-price{padding-bottom:80px}

@media(max-width:1100px){.cewh-logos{grid-template-columns:repeat(5,1fr)}.cewh-stats{grid-template-columns:repeat(3,1fr)}}
@media(max-width:900px){
.cewh-hero{grid-template-columns:1fr;gap:28px}
.cewh-format{grid-template-columns:1fr 1fr}
.cewh-format .stat-tile:nth-child(3){border-left:0}
.cewh-format .stat-tile:nth-child(n+3){border-top:1px solid var(--line2)}
.cewh-author-grid,.cewh-price,.cewh-about,.cewh-hosts,.cewh-who{grid-template-columns:1fr}
.cewh-reviews{columns:1}
.cewh-prep{flex-direction:column;align-items:flex-start}
}
@media(max-width:620px){
.hero.cewh-hero-sec{padding:32px 0 36px}
.cewh-hero h1.disp{font-size:34px}
.cewh-hero .lead{font-size:17px}
.cewh-hero .hero-cta .btn,.cewh-prep .btn,.cewh-price-card .btn{width:100%}
.cewh-format{margin-top:28px}
.cewh-format .stat-tile{border-left:0!important;border-top:1px solid var(--line2)}
.cewh-format .stat-tile:first-child{border-top:0}
.cewh-format{grid-template-columns:1fr}
.cewh-list li b{font-size:17px}
.cewh-stats{grid-template-columns:1fr 1fr;gap:20px}
.cewh-stats .stat .v{font-size:32px}
.cewh-logos{grid-template-columns:repeat(2,1fr)}
.cewh-logos figure{height:80px}
.cewh-author{padding:20px}
.cewh-author-head{gap:16px}
.cewh-author-head img{width:80px;height:80px}
.cewh-name{font-size:22px}
.cewh-role{font-size:15px}
.cewh-review{padding:18px}
.cewh-price-card{padding:22px}
.cewh-price-v{font-size:36px}
}
