/*
Theme Name: Eviter
Theme URI: https://eviter.fr
Description: Thème sur mesure pour éviter.fr, le guide anti-pièges. Léger, sans page builder.
Author: éviter.fr
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: eviter
*/

:root{
  --ink:#1d1f24;
  --ink-2:#3a3d45;
  --red:#e23b34;
  --red-d:#c62c26;
  --red-soft:#fbdedb;
  --red-tint:#fdefee;
  --green:#1f9d6b;
  --green-d:#178055;
  --green-soft:#dcf1e8;
  --paper:#f7f5f1;
  --paper-2:#efece5;
  --card:#ffffff;
  --muted:#767a83;
  --line:#e6e1d7;
  --line-2:#dcd5c8;
  --radius:12px;
  --radius-lg:18px;
  --radius-pill:999px;
  --shadow-sm:0 2px 10px rgba(29,31,36,.06);
  --shadow:0 16px 40px rgba(29,31,36,.12);
  --shadow-lg:0 28px 64px rgba(29,31,36,.2);
  --wrap:1180px;
  --font-head:'Familjen Grotesk',system-ui,sans-serif;
  --font-body:'Inter',system-ui,-apple-system,sans-serif;
}

*{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--font-body);font-size:17px;line-height:1.7;-webkit-font-smoothing:antialiased}
img{max-width:100%;height:auto;display:block}
a{color:var(--red-d);text-decoration:none}
h1,h2,h3,h4{font-family:var(--font-head);color:var(--ink);line-height:1.1;margin:0;font-weight:700;letter-spacing:-.01em}
p{margin:0 0 1em}

.ev-container{width:100%;max-width:var(--wrap);margin:0 auto;padding:0 24px}
.ev-container--narrow{max-width:760px}
.ev-kicker{display:inline-block;font-family:var(--font-body);font-weight:700;font-size:.75rem;text-transform:uppercase;letter-spacing:.15em;color:var(--red-d)}
.ev-dot{margin:0 7px;color:var(--red)}
.ev-hl{color:var(--red);text-decoration:underline;text-decoration-thickness:.12em;text-underline-offset:.08em}
.ev-x{color:var(--red);font-weight:800}
.ev-check{color:var(--green);font-weight:800}

/* ---------- HEADER ---------- */
.ev-header{position:sticky;top:0;z-index:60;background:rgba(24,26,30,.96);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid rgba(255,255,255,.08);transition:.25s ease}
.ev-header.is-stuck{box-shadow:0 8px 26px rgba(0,0,0,.3);background:rgba(20,22,26,.98)}
.ev-header__inner{display:flex;align-items:center;gap:22px;min-height:76px}
.ev-brand{display:flex;align-items:center;gap:12px;flex:0 0 auto}
.ev-brand__mark svg{width:36px;height:36px;display:block}
.ev-brand__text{display:flex;flex-direction:column;line-height:1.02}
.ev-brand__name{font-family:var(--font-head);font-weight:700;font-size:1.5rem;color:#fff;letter-spacing:-.02em}
.ev-brand__dot{color:var(--red)}
.ev-brand__tag{font-size:.7rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:#8f9298}
.ev-nav-wrap{margin-left:auto}
.ev-nav{display:flex;align-items:center;gap:0;list-style:none;margin:0;padding:0}
.ev-nav a{display:inline-block;padding:8px 12px;border-radius:8px;color:#d6d8dd;font-weight:600;font-size:.92rem;white-space:nowrap;transition:.15s ease}
.ev-nav a:hover{background:rgba(226,59,52,.18);color:#fff}
.ev-nav .current-cat>a,.ev-nav .current-menu-item>a{color:var(--red)}
.ev-nav .sub-menu{display:none}
.ev-search-toggle{flex:0 0 auto;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:#f0f1f3;cursor:pointer;transition:.15s ease}
.ev-search-toggle:hover{background:var(--red);color:#fff;border-color:var(--red)}
.ev-burger{display:none;flex-direction:column;gap:5px;width:44px;height:44px;border:1px solid rgba(255,255,255,.2);border-radius:11px;background:rgba(255,255,255,.06);cursor:pointer;align-items:center;justify-content:center}
.ev-burger span{width:20px;height:2.4px;background:#fff;border-radius:2px;transition:.2s}
body.ev-nav-open .ev-burger span:nth-child(1){transform:translateY(7.4px) rotate(45deg)}
body.ev-nav-open .ev-burger span:nth-child(2){opacity:0}
body.ev-nav-open .ev-burger span:nth-child(3){transform:translateY(-7.4px) rotate(-45deg)}

.ev-searchbar{max-height:0;overflow:hidden;background:var(--ink);transition:max-height .3s ease}
.ev-searchbar.is-open{max-height:120px}
.ev-searchbar form{display:flex;gap:10px;padding:16px 0}
.ev-searchbar input{flex:1;padding:13px 18px;border:1px solid rgba(255,255,255,.16);border-radius:10px;font:inherit;background:rgba(255,255,255,.08);color:#fff}
.ev-searchbar input::placeholder{color:rgba(255,255,255,.55)}
.ev-searchbar input:focus{outline:2px solid var(--red);border-color:var(--red)}
.ev-searchbar button{padding:0 24px;border:0;border-radius:10px;background:var(--red);color:#fff;font-family:var(--font-head);font-weight:700;cursor:pointer}

/* ---------- TAG / BTN / CHIP ---------- */
.ev-tag{display:inline-block;padding:5px 12px;border-radius:6px;background:var(--ink);color:#fff;font-weight:700;font-size:.74rem;letter-spacing:.01em}
.ev-tag--float{position:absolute;top:12px;left:12px;box-shadow:0 4px 12px rgba(0,0,0,.22)}
.ev-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 25px;border-radius:var(--radius-pill);font-family:var(--font-head);font-weight:700;border:0;cursor:pointer;transition:.18s ease}
.ev-btn--primary{background:var(--red);color:#fff}
.ev-btn--primary:hover{background:var(--red-d);transform:translateY(-2px);box-shadow:var(--shadow)}
.ev-btn--ghost{background:transparent;color:var(--ink);border:1.5px solid var(--line-2)}
.ev-btn--ghost:hover{border-color:var(--ink);background:var(--ink);color:#fff}
.ev-seeall{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-head);font-weight:700;color:var(--ink);white-space:nowrap}
.ev-seeall:hover{color:var(--red-d);gap:11px}
.ev-chip{display:inline-flex;align-items:center;gap:7px;padding:7px 14px;border-radius:var(--radius-pill);font-weight:700;font-size:.86rem;border:1px solid var(--line-2);background:var(--card)}
.ev-chip--no{color:var(--ink-2)}
.ev-chip--yes{color:var(--ink-2)}

/* ---------- HERO ---------- */
.ev-hero{padding:54px 0 62px}
.ev-hero__grid{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}
.ev-hero__title{font-size:clamp(2.3rem,4.8vw,3.7rem);line-height:1.04;margin:.24em 0 .3em}
.ev-hero__sub{font-size:1.13rem;color:var(--ink-2);max-width:520px;margin:0 0 26px}
.ev-hero__cta{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:22px}
.ev-hero__legend{display:flex;flex-wrap:wrap;gap:10px}

.ev-hero__feature{position:relative;display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);transition:.2s ease}
.ev-hero__feature:hover{transform:translateY(-4px)}
.ev-hero__feature-media{position:relative;aspect-ratio:16/11;overflow:hidden;background:var(--paper-2)}
.ev-hero__feature-media img{width:100%;height:100%;object-fit:cover;transition:.5s ease}
.ev-hero__feature:hover .ev-hero__feature-media img{transform:scale(1.04)}
.ev-hero__feature-badge{position:absolute;top:14px;left:14px;display:inline-flex;align-items:center;gap:6px;background:var(--red);color:#fff;font-family:var(--font-head);font-weight:700;font-size:.82rem;padding:6px 13px;border-radius:var(--radius-pill);box-shadow:0 4px 14px rgba(226,59,52,.4)}
.ev-hero__feature-body{display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:22px 24px 24px}
.ev-hero__feature-title{font-family:var(--font-head);font-weight:700;font-size:1.5rem;line-height:1.16;color:var(--ink)}
.ev-hero__feature:hover .ev-hero__feature-title{color:var(--red-d)}
.ev-hero__feature-foot{font-family:var(--font-head);font-weight:700;font-size:.94rem;color:var(--red-d)}

/* ---------- SECTIONS ---------- */
.ev-section{padding:64px 0}
.ev-section--paper{background:var(--card);border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.ev-section__head{max-width:640px;margin:0 0 34px}
.ev-section__head h2{font-size:clamp(1.9rem,3.2vw,2.5rem);margin:.24em 0 .3em}
.ev-section__head p{color:var(--muted);margin:0}
.ev-section__head--row{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;max-width:none}
.ev-section__head--row h2{margin:.16em 0 0}

/* ---------- RUBRIQUES (warning labels) ---------- */
.ev-rubs{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.ev-rub{position:relative;display:flex;align-items:center;gap:16px;padding:18px 20px;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow-sm);overflow:hidden;transition:.18s ease}
.ev-rub::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:var(--red);transform:scaleY(0);transform-origin:center;transition:.2s ease}
.ev-rub:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:var(--line-2)}
.ev-rub:hover::before{transform:scaleY(1)}
.ev-rub__ic{flex:0 0 auto;display:grid;place-items:center;width:46px;height:46px;border-radius:10px;background:var(--paper);font-size:1.5rem}
.ev-rub__body{display:flex;flex-direction:column;min-width:0}
.ev-rub__name{font-family:var(--font-head);font-weight:700;font-size:1.2rem;color:var(--ink)}
.ev-rub:hover .ev-rub__name{color:var(--red-d)}
.ev-rub__count{color:var(--muted);font-size:.85rem;font-weight:600}
.ev-rub__arrow{margin-left:auto;color:var(--red);font-size:1.2rem;transition:.18s ease}
.ev-rub:hover .ev-rub__arrow{transform:translateX(4px)}

/* ---------- CARDS ---------- */
.ev-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px}
.ev-card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm);transition:.2s ease}
.ev-card:hover{transform:translateY(-5px);box-shadow:var(--shadow);border-color:var(--line-2)}
.ev-card__media{position:relative;display:block;aspect-ratio:16/10;overflow:hidden;background:var(--paper-2)}
.ev-card__media img{width:100%;height:100%;object-fit:cover;transition:.5s ease}
.ev-card:hover .ev-card__media img{transform:scale(1.05)}
.ev-card__ph{display:grid;place-items:center;width:100%;height:100%;font-size:3rem;background:linear-gradient(135deg,var(--red),var(--red-d))}
.ev-card__body{display:flex;flex-direction:column;gap:9px;padding:20px 22px 22px}
.ev-card__title{font-size:1.24rem;line-height:1.22}
.ev-card__title a{color:var(--ink)}
.ev-card:hover .ev-card__title a{color:var(--red-d)}
.ev-card__excerpt{color:var(--ink-2);font-size:.95rem;margin:0}
.ev-card__meta{margin-top:auto;padding-top:6px;color:var(--muted);font-size:.84rem;font-weight:600;display:flex;align-items:center}

/* ---------- NEWSLETTER (do/don't) ---------- */
.ev-nl{padding:0 0 70px}
.ev-nl__panel{display:grid;grid-template-columns:.85fr 1.15fr;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.ev-nl__side{padding:34px 36px}
.ev-nl__side--no{background:var(--paper-2);border-right:1px solid var(--line)}
.ev-nl__side-label{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-head);font-weight:700;font-size:.82rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin-bottom:16px}
.ev-nl__side--no ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:13px}
.ev-nl__side--no li{display:flex;align-items:center;gap:11px;color:var(--ink-2);font-weight:600}
.ev-nl__side--yes{position:relative}
.ev-nl__side--yes .ev-nl__side-label{color:var(--green-d)}
.ev-nl__side--yes h2{font-size:clamp(1.4rem,2.4vw,1.9rem);margin:0 0 .35em}
.ev-nl__side--yes p{color:var(--ink-2);margin:0 0 20px;max-width:440px}
.ev-nl__form{display:flex;gap:10px;max-width:460px}
.ev-nl__form input{flex:1;padding:14px 18px;border:1px solid var(--line-2);border-radius:var(--radius-pill);font:inherit;background:var(--paper)}
.ev-nl__form input:focus{outline:2px solid var(--red);border-color:var(--red);background:#fff}
.ev-nl__form button{padding:0 24px;border:0;border-radius:var(--radius-pill);background:var(--red);color:#fff;font-family:var(--font-head);font-weight:700;cursor:pointer;white-space:nowrap;transition:.15s ease}
.ev-nl__form button:hover{background:var(--red-d)}

/* ---------- ARCHIVE ---------- */
.ev-archive-head{padding:52px 0 8px;max-width:760px}
.ev-archive-ic{font-size:2.4rem;display:block;margin-bottom:6px}
.ev-archive-head h1{font-size:clamp(2rem,4vw,2.7rem)}
.ev-archive-desc{color:var(--muted);margin-top:8px}
.ev-empty{padding:60px 0;color:var(--muted)}
.ev-pagination{margin:50px 0 8px}
.ev-pagination .nav-links{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.ev-pagination .page-numbers{display:grid;place-items:center;min-width:44px;height:44px;padding:0 10px;border-radius:10px;border:1px solid var(--line-2);background:var(--card);color:var(--ink);font-family:var(--font-head);font-weight:700}
.ev-pagination .page-numbers.current{background:var(--red);color:#fff;border-color:var(--red)}
.ev-pagination a.page-numbers:hover{background:var(--red-tint);border-color:var(--red)}

/* ---------- SINGLE ---------- */
.ev-single{padding:38px 0 0}
.ev-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px;font-size:.86rem;font-weight:600;color:var(--muted);margin-bottom:18px}
.ev-breadcrumb a{color:var(--muted)}
.ev-breadcrumb a:hover{color:var(--red-d)}
.ev-sep{color:var(--line-2)}
.ev-article-head{margin-bottom:24px}
.ev-article-head .ev-tag{margin-bottom:14px}
.ev-article-head h1{font-size:clamp(2rem,4.4vw,3rem);line-height:1.08}
.ev-article-meta{margin-top:14px;color:var(--muted);font-weight:600;font-size:.92rem;display:flex;align-items:center}
.ev-article-cover{margin:8px auto 34px;max-width:1000px;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow)}
.ev-article-cover img{width:100%}

.ev-article-body{font-size:1.09rem;line-height:1.82;color:var(--ink-2)}
.ev-article-body>*{margin-bottom:1.25em}
.ev-article-body h2{font-family:var(--font-head);font-size:1.74rem;margin:1.7em 0 .5em;color:var(--ink);padding-left:16px;border-left:5px solid var(--red)}
.ev-article-body h3{font-family:var(--font-head);font-size:1.34rem;margin:1.5em 0 .4em;color:var(--ink)}
.ev-article-body a{color:var(--red-d);text-decoration:underline;text-decoration-color:var(--red-soft);text-underline-offset:3px;text-decoration-thickness:2px}
.ev-article-body a:hover{text-decoration-color:var(--red)}
.ev-article-body img{border-radius:var(--radius);margin:1.4em auto;box-shadow:var(--shadow-sm)}
.ev-article-body figure{margin:1.6em 0}
.ev-article-body figcaption{text-align:center;color:var(--muted);font-size:.86rem;margin-top:.7em}
.ev-article-body ul,.ev-article-body ol{padding-left:1.3em}
.ev-article-body li{margin-bottom:.5em}
.ev-article-body ul li::marker{color:var(--red)}
.ev-article-body blockquote{margin:1.6em 0;padding:6px 24px;border-left:4px solid var(--red);background:var(--red-tint);border-radius:0 var(--radius) var(--radius) 0;font-style:italic;color:var(--ink)}
/* Tableaux d'article : conteneur scrollable + en-tete accentue */
.ev-article-body .wp-block-table{margin:1.8em 0;padding:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 10px 30px rgba(29,31,36,.13),0 2px 6px rgba(29,31,36,.06);overflow-x:auto;-webkit-overflow-scrolling:touch}
.ev-article-body table{width:100%;border-collapse:collapse;margin:1.8em 0;font-size:.95rem;background:var(--card)}
.ev-article-body .wp-block-table table{margin:0}
.ev-article-body th{background:var(--ink);color:#fff;font-family:var(--font-head);font-weight:600;text-align:left;padding:20px 16px;font-size:1.01rem;border-bottom:3px solid var(--red)}
.ev-article-body td{padding:12px 16px;border-top:1px solid var(--line);vertical-align:top;color:var(--ink-2);line-height:1.5}
.ev-article-body tbody tr:nth-child(even) td{background:var(--paper)}
.ev-article-body tbody tr:hover td{background:var(--red-tint)}
.ev-article-body tbody td:first-child{font-weight:600;color:var(--ink)}
@media(max-width:900px){
  .ev-article-body .wp-block-table table{min-width:460px;font-size:.9rem}
  .ev-article-body th{padding:16px 12px}
  .ev-article-body td{padding:10px 12px}
}

/* Callout .ev-callout */
.ev-callout{position:relative;margin:1.8em 0;padding:22px 24px 22px 26px;background:var(--red-tint);border:1px solid var(--red-soft);border-left:5px solid var(--red);border-radius:0 var(--radius) var(--radius) 0}
.ev-callout__label,.ev-callout>strong:first-child{display:block;font-family:var(--font-head);font-weight:700;color:var(--red-d);margin-bottom:.4em;font-size:1.05rem}
.ev-callout p:last-child{margin-bottom:0}

.ev-article-foot{margin:34px 0 10px}
.ev-tags{display:flex;flex-wrap:wrap;gap:8px}
.ev-tags a{display:inline-block;padding:6px 14px;border-radius:var(--radius-pill);background:var(--paper);border:1px solid var(--line);color:var(--ink-2);font-weight:600;font-size:.83rem}
.ev-tags a:hover{background:var(--red);color:#fff;border-color:var(--red)}
.ev-page .ev-article-body{margin-top:8px}

/* ---------- RELATED (checklist noire) ---------- */
.ev-related{padding:20px 0 74px}
.ev-related__head{margin-bottom:20px}
.ev-related__head h2{font-size:clamp(1.5rem,2.6vw,2rem);margin-top:.2em}
.ev-related__list{list-style:none;margin:0;padding:0;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-sm)}
.ev-related__list li{border-top:1px solid var(--line)}
.ev-related__list li:first-child{border-top:0}
.ev-related__list a{display:flex;align-items:center;gap:16px;padding:16px 22px;transition:.15s ease}
.ev-related__list a:hover{background:var(--red-tint)}
.ev-related__x{flex:0 0 auto;display:grid;place-items:center;width:34px;height:34px;border-radius:8px;background:var(--red-soft);color:var(--red-d);font-weight:800;font-size:1.1rem}
.ev-related__body{display:flex;flex-direction:column;gap:2px;min-width:0}
.ev-related__title{font-family:var(--font-head);font-weight:700;font-size:1.1rem;line-height:1.25;color:var(--ink)}
.ev-related__list a:hover .ev-related__title{color:var(--red-d)}
.ev-related__cat{font-size:.76rem;font-weight:700;text-transform:uppercase;letter-spacing:.05em;color:var(--muted)}
.ev-related__arrow{margin-left:auto;color:var(--red);font-size:1.2rem;transition:.15s ease}
.ev-related__list a:hover .ev-related__arrow{transform:translateX(4px)}

/* ---------- 404 ---------- */
.ev-404{text-align:center;padding:80px 0}
.ev-404__mark{display:block;margin:0 auto 20px;width:70px;height:70px}
.ev-404__mark svg{width:100%;height:100%}
.ev-404 h1{font-size:clamp(1.7rem,4vw,2.5rem)}
.ev-404 p{color:var(--muted);max-width:460px;margin:.6em auto 1.6em}
.ev-404__search{display:flex;gap:10px;max-width:440px;margin:0 auto 20px}
.ev-404__search input{flex:1;padding:13px 18px;border:1px solid var(--line-2);border-radius:var(--radius-pill);font:inherit;background:var(--card)}
.ev-404__search input:focus{outline:2px solid var(--red);border-color:var(--red)}
.ev-404__search button{padding:0 22px;border:0;border-radius:var(--radius-pill);background:var(--red);color:#fff;font-family:var(--font-head);font-weight:700;cursor:pointer}

/* ---------- FOOTER ---------- */
.ev-footer{background:var(--ink);color:#b7b9c0;padding:56px 0 30px}
.ev-footer__top{display:grid;grid-template-columns:1.7fr 1fr 1fr 1fr;gap:36px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.1)}
.ev-footer__mark{display:inline-block;width:32px;height:32px;vertical-align:middle;margin-right:8px}
.ev-footer__mark svg{width:100%;height:100%}
.ev-footer__name{font-family:var(--font-head);font-weight:700;font-size:1.5rem;color:#fff;vertical-align:middle}
.ev-footer__dot{color:var(--red)}
.ev-footer__brand p{color:#8a8d95;font-size:.95rem;max-width:340px;margin:14px 0 0}
.ev-footer__col h4{font-family:var(--font-head);color:var(--red);font-size:1.02rem;margin-bottom:14px}
.ev-footer__col ul{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:9px}
.ev-footer__col a{color:#a9acb3;font-weight:500;font-size:.94rem}
.ev-footer__col a:hover{color:#fff}
.ev-footer__bottom{display:flex;justify-content:space-between;align-items:center;gap:14px;padding-top:22px;color:#767a82;font-size:.86rem;flex-wrap:wrap}

/* ========== v2 : masthead sombre + une + fil d'alertes + colonne latérale ========== */
.ev-lead{padding:40px 0 6px}
.ev-lead__card{display:grid;grid-template-columns:1.12fr .88fr;background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);transition:.2s ease}
.ev-lead__card:hover{transform:translateY(-3px)}
.ev-lead__media{position:relative;min-height:360px;overflow:hidden;background:var(--paper-2)}
.ev-lead__media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:.5s ease}
.ev-lead__card:hover .ev-lead__media img{transform:scale(1.03)}
.ev-lead__body{display:flex;flex-direction:column;align-items:flex-start;gap:13px;padding:38px 40px}
.ev-lead__kicker{display:inline-flex;align-items:center;gap:8px;font-family:var(--font-head);font-weight:700;font-size:.8rem;text-transform:uppercase;letter-spacing:.12em;color:var(--red-d)}
.ev-lead__pulse{width:9px;height:9px;border-radius:50%;background:var(--red);animation:ev-pulse 2s infinite}
@keyframes ev-pulse{0%{box-shadow:0 0 0 0 rgba(226,59,52,.5)}70%{box-shadow:0 0 0 9px rgba(226,59,52,0)}100%{box-shadow:0 0 0 0 rgba(226,59,52,0)}}
.ev-lead__title{font-family:var(--font-head);font-weight:700;font-size:clamp(1.7rem,3.2vw,2.6rem);line-height:1.08;color:var(--ink);letter-spacing:-.015em}
.ev-lead__card:hover .ev-lead__title{color:var(--red-d)}
.ev-lead__excerpt{color:var(--ink-2);font-size:1.05rem;line-height:1.6}
.ev-lead__foot{margin-top:auto;font-family:var(--font-head);font-weight:700;font-size:.95rem;color:var(--red-d)}

.ev-wire{padding:46px 0 62px}
.ev-wire__grid{display:grid;grid-template-columns:1fr 320px;gap:44px;align-items:start}
.ev-wire__head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:4px;padding-bottom:14px;border-bottom:2px solid var(--ink)}
.ev-wire__head h2{font-size:clamp(1.5rem,2.6vw,2rem)}
.ev-feed{display:flex;flex-direction:column}
.ev-feed__item{display:flex;align-items:center;gap:20px;padding:22px 0;border-bottom:1px solid var(--line);transition:.15s ease}
.ev-feed__item:hover{padding-left:6px}
.ev-feed__thumb{flex:0 0 152px;width:152px;height:102px;border-radius:12px;overflow:hidden;background:var(--paper-2)}
.ev-feed__thumb img{width:100%;height:100%;object-fit:cover;transition:.4s ease}
.ev-feed__item:hover .ev-feed__thumb img{transform:scale(1.05)}
.ev-feed__ph{display:grid;place-items:center;width:100%;height:100%;font-size:1.8rem;background:linear-gradient(135deg,var(--red),var(--red-d))}
.ev-feed__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px}
.ev-feed__meta{display:flex;align-items:center;gap:10px;font-size:.75rem;font-weight:700}
.ev-feed__cat{text-transform:uppercase;letter-spacing:.05em;color:var(--red-d)}
.ev-feed__date{color:var(--muted)}
.ev-feed__title{font-family:var(--font-head);font-weight:700;font-size:1.28rem;line-height:1.2;color:var(--ink)}
.ev-feed__item:hover .ev-feed__title{color:var(--red-d)}
.ev-feed__excerpt{color:var(--ink-2);font-size:.94rem;line-height:1.5;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.ev-feed__arrow{flex:0 0 auto;color:var(--red);font-size:1.3rem;opacity:0;transform:translateX(-6px);transition:.15s ease}
.ev-feed__item:hover .ev-feed__arrow{opacity:1;transform:translateX(0)}
.ev-wire__more{margin-top:26px}

.ev-wire__side{display:flex;flex-direction:column;gap:20px;position:sticky;top:94px}
.ev-side{background:var(--card);border:1px solid var(--line);border-radius:var(--radius-lg);padding:22px;box-shadow:var(--shadow-sm)}
.ev-side__title{font-size:1.15rem;margin:0 0 10px;padding-bottom:12px;border-bottom:2px solid var(--red-soft)}
.ev-side__rubs{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}
.ev-side__rubs li{border-top:1px solid var(--line)}
.ev-side__rubs li:first-child{border-top:0}
.ev-side__rubs a{display:flex;align-items:center;gap:11px;padding:10px 2px;color:var(--ink);font-weight:600;transition:.12s ease}
.ev-side__rubs a:hover{color:var(--red-d);padding-left:4px}
.ev-side__ic{font-size:1.1rem;line-height:1}
.ev-side__name{flex:1}
.ev-side__count{color:var(--muted);font-weight:700;font-size:.85rem}
.ev-side--tip{background:var(--ink);color:#c9cbd1}
.ev-side__badge{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:var(--red);color:#fff;font-weight:800;font-size:1.2rem;margin-bottom:12px}
.ev-side__tip-title{color:#fff;font-size:1.2rem;margin:0 0 8px}
.ev-side--tip p{font-size:.94rem;line-height:1.6;margin:0 0 14px}
.ev-side--tip strong{color:var(--red)}
.ev-side__tip-link{font-family:var(--font-head);font-weight:700;color:var(--red);font-size:.95rem}
.ev-side__tip-link:hover{color:#fff}

/* ---------- RESPONSIVE ---------- */
@media(max-width:980px){
  .ev-hero__grid{grid-template-columns:1fr;gap:34px}
  .ev-rubs{grid-template-columns:repeat(2,1fr)}
  .ev-grid{grid-template-columns:repeat(2,1fr)}
  .ev-footer__top{grid-template-columns:1fr 1fr;gap:28px}
  .ev-footer__brand{grid-column:1 / -1}
  .ev-lead__card{grid-template-columns:1fr}
  .ev-lead__media{min-height:0;aspect-ratio:16/9}
  .ev-wire__grid{grid-template-columns:1fr;gap:40px}
  .ev-wire__side{position:static;flex-direction:row;flex-wrap:wrap}
  .ev-side{flex:1 1 280px}
  .ev-nav-wrap{position:fixed;inset:76px 0 auto 0;background:rgba(20,22,26,.99);border-bottom:1px solid rgba(255,255,255,.08);box-shadow:0 18px 34px rgba(0,0,0,.3);max-height:0;overflow:hidden;transition:max-height .3s ease;margin:0}
  .ev-nav{flex-direction:column;align-items:stretch;padding:14px 24px 22px;gap:2px}
  .ev-nav a{padding:12px 14px;border-radius:10px;font-size:1rem}
  .ev-burger{display:flex}
  .ev-search-toggle{margin-left:auto}
}
@media(max-width:760px){
  body{font-size:16px}
  .ev-brand__tag{display:none}
  .ev-section{padding:48px 0}
  .ev-section__head--row{flex-direction:column;align-items:flex-start;gap:8px}
  .ev-nl__panel{grid-template-columns:1fr}
  .ev-nl__side--no{border-right:0;border-bottom:1px solid var(--line)}
  .ev-nl__form{flex-direction:column}
}
@media(max-width:560px){
  .ev-rubs{grid-template-columns:1fr}
  .ev-grid{grid-template-columns:1fr}
  .ev-hero__cta{flex-direction:column;align-items:stretch}
  .ev-btn{justify-content:center}
  .ev-lead__body{padding:26px 24px}
  .ev-feed__item{gap:14px}
  .ev-feed__thumb{flex-basis:104px;width:104px;height:80px}
  .ev-feed__excerpt{display:none}
  .ev-feed__arrow{display:none}
}
