/* Главная edison.bz — в стиле квиза (токены .qz из quiz.css: --qz-accent, --qz-dark и т.д.) */
.hm{font-family:Montserrat,system-ui,sans-serif;color:var(--qz-ink)}
.hm *{box-sizing:border-box}
.hm-wrap{max-width:1160px;margin:0 auto;padding:0 16px}
.hm h1,.hm h2{font-family:inherit;color:inherit}
/* Первый экран */
.hm-hero{background:var(--qz-dark);color:#fff;padding:56px 0 48px;margin-top:-1px}
.hm-band:last-child{margin-bottom:-1px}
.hm-kicker{color:var(--qz-accent);font-weight:600;font-size:13px;text-transform:uppercase;letter-spacing:.08em;margin:0 0 14px}
.hm-hero h1{color:#fff;font-size:40px;line-height:1.15;font-weight:700;margin:0 0 16px;max-width:820px}
.hm-lead{color:rgba(255,255,255,.78);font-size:18px;line-height:1.5;max-width:700px;margin:0 0 28px}
.hm-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px 26px;margin-bottom:40px}
.hm-hero .eq-team{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:12px 14px;margin:0 0 18px;padding:0;text-decoration:none!important}
.hm-hero .hm-lead{margin-bottom:16px}
.hm-hero .eq-team-faces{display:flex;flex:none}
.hm-hero .eq-team-faces img,.hm-hero .eq-team-more{width:40px;height:40px;border-radius:50%;border:2px solid #1f202e;object-fit:cover;margin-left:-12px;background:#2c2e40}
.hm-hero .eq-team-faces img:first-child{margin-left:0}
.hm-hero .eq-team-more{display:flex;align-items:center;justify-content:center;font:700 12px/1 Montserrat,system-ui,sans-serif;color:#fff;background:#1e87f0}
.hm-hero .eq-team-text{display:none}

.hm-link{color:#fff;font-weight:600;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.35)}
.hm-link:hover{color:#fff;border-color:#fff;text-decoration:none}
.hm-facts{display:flex;flex-wrap:wrap;gap:12px 40px;list-style:none;margin:0;padding:0;color:rgba(255,255,255,.75);font-size:14px}
.hm-facts b{display:block;color:#fff;font-size:28px}
/* Секции */
.hm-band{padding:4px 0 44px}
.hm-band-white{background:#fff}
.hm-band-accent{background:#e8f2fe}
.hm-band-accent .qz-cta-bottom{border-color:transparent;box-shadow:0 10px 30px rgba(30,135,240,.12)}
.hm-section{padding-top:40px}
.hm-section h2{font-size:28px;font-weight:700;margin:0 0 20px}
.hm-head{display:flex;justify-content:space-between;align-items:baseline;gap:16px}
.hm-head a{color:var(--qz-accent);font-weight:600;text-decoration:none;white-space:nowrap}
/* Разделы */
.hm-rubrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hm-rubric{display:flex;flex-direction:column;gap:8px;background:#fff;border:2px solid var(--qz-line);border-radius:14px;padding:18px;text-decoration:none;color:var(--qz-ink);transition:border-color .15s,transform .15s}
.hm-rubric:hover{border-color:var(--qz-accent);transform:translateY(-2px);text-decoration:none;color:var(--qz-ink)}
.hm-rubric-title{font-weight:700;font-size:17px}
.hm-rubric-about{color:var(--qz-muted);font-size:14px;line-height:1.45;flex:1}
.hm-rubric-count{color:var(--qz-accent);font-weight:600;font-size:14px}
/* Карточки статей */
.hm-cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.hm-cards-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.hm-card{display:flex;flex-direction:column;background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 18px rgba(31,32,46,.08);text-decoration:none;color:var(--qz-ink);transition:transform .15s,box-shadow .15s}
.hm-card:hover{transform:translateY(-3px);box-shadow:0 10px 28px rgba(31,32,46,.14);text-decoration:none;color:var(--qz-ink)}
.hm-card:hover .eq-card-title,.hm-card:focus .eq-card-title,.hm-card:hover .eq-card-name,.hm-card:focus .eq-card-name{color:#fff}
.hm-card:hover .eq-card-date,.hm-card:focus .eq-card-date{color:rgba(255,255,255,.72)}
.hm-card .eq-card-date--upd,.hm-card:hover .eq-card-date--upd,.hm-card:focus .eq-card-date--upd{color:rgba(255,255,255,.95)}
.hm-card-pic{display:block;width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover;background:#e8eaf0}
.hm-card-body{display:flex;flex-direction:column;gap:6px;padding:16px}
.hm-card-lead{color:var(--qz-muted);font-size:14px;font-weight:400;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden}
/* Авторы */
.hm-people{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:14px}
.hm-person{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;font-size:13px;color:var(--qz-muted)}
.hm-person b{color:var(--qz-ink);font-size:14px}
.hm-avatar{width:84px;height:84px;border-radius:50%;background:#e8eaf0 center/cover no-repeat;margin-bottom:6px}
@media (max-width:1000px){
  .hm-rubrics,.hm-cards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-cards-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hm-people{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media (max-width:600px){
  .hm-hero{padding:36px 0 32px}
  .hm-hero h1{font-size:28px}
  .hm-lead{font-size:16px}
  .hm-actions .qz-btn{width:100%;text-align:center}
  .hm-band{padding-bottom:32px}
  .hm-section{padding-top:28px}
  .hm-section h2{font-size:22px}
  .hm-rubrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .hm-rubric{padding:14px;gap:6px}
  .hm-rubric-title{font-size:15px}
  .hm-rubric-about{display:none}
  .hm-cards,.hm-cards-3{grid-template-columns:1fr}
  .hm-card-body{padding:16px}
  .hm-card-lead{font-size:14px}
  .hm-people{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Страница авторов (/authors/) — язык главной */
.au-hero .au-hero-faces{margin:0 0 18px}
.au-hero .eq-team-faces img,.au-hero .eq-team-more{border-color:#1f202e}
.au-hero .hm-actions{margin-bottom:28px}
.au-filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 22px}
.au-filter{appearance:none;border:1px solid var(--qz-line);background:#fff;color:var(--qz-ink);border-radius:999px;padding:8px 14px;font:600 13px/1 Montserrat,system-ui,sans-serif;cursor:pointer;transition:border-color .15s,color .15s,background .15s}
.au-filter:hover{border-color:#c5cad6;color:var(--qz-ink)}
.au-filter.is-on{border-color:var(--qz-accent);background:var(--qz-accent);color:#fff}
.au-featured,.au-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.au-featured{margin-bottom:18px}
.au-card{--au-photo:72px;--au-gap:16px;display:flex;flex-direction:column;height:100%;background:#fff;border:1px solid var(--qz-line);border-radius:14px;padding:18px;font-family:Montserrat,system-ui,sans-serif;color:var(--qz-ink);transition:border-color .15s,transform .15s,box-shadow .15s}
.au-card:hover{border-color:#c5cad6;transform:translateY(-2px);box-shadow:0 8px 22px rgba(31,32,46,.08)}
.au-card[hidden]{display:none!important}
.au-card--lead{--au-photo:84px;padding:20px}
.au-card-main{display:flex;align-items:flex-start;gap:var(--au-gap);text-decoration:none;color:inherit;flex:1;min-width:0;min-height:0}
.au-card-main:hover,.au-card-main:focus{text-decoration:none;color:inherit}
.au-photo{flex:none;width:var(--au-photo);height:var(--au-photo);border-radius:50%;background:#e8eaf0 center/cover no-repeat}
.au-card-body{display:flex;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;flex:1}
.au-chip{display:inline-block;font-size:11px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--qz-muted);background:#f3f4f7;border-radius:999px;padding:4px 8px;margin-bottom:2px}
.au-name{font-size:18px;font-weight:700;color:var(--qz-ink);line-height:1.25}
.au-card--lead .au-name{font-size:19px}
.au-role{color:var(--qz-muted);font-size:14px;line-height:1.4;min-height:2.8em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden}
.au-meta{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;margin:auto 0 0 calc(var(--au-photo) + var(--au-gap));padding-top:10px;min-height:20px;font:500 13px/20px Montserrat,system-ui,sans-serif;color:var(--qz-muted)}
.au-meta-sep{flex:none;line-height:20px;font:inherit;color:var(--qz-muted)}
.au-meta .au-meta-link,
.au-meta a.au-meta-link,
.au-meta button.au-meta-link{appearance:none;border:0;background:none;padding:0;margin:0;display:inline-flex!important;align-items:center;height:20px;font:inherit;line-height:20px;color:var(--qz-muted);cursor:pointer;text-decoration:underline;text-decoration-color:#d0d4dc;text-underline-offset:3px;vertical-align:middle;box-shadow:none}
.au-meta .au-meta-link:hover{color:var(--qz-accent);text-decoration-color:var(--qz-accent)}
.au-certs{display:inline-flex!important;align-items:center;height:20px;font:inherit;line-height:20px}
.au-certs-pool{position:absolute!important;left:-9999px!important;width:1px!important;height:1px!important;overflow:hidden!important;display:block!important;clip:rect(0,0,0,0)}
.au-empty{color:var(--qz-muted);margin:24px 0 0;text-align:center}
@media (max-width:1000px){
  .au-featured,.au-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:720px){
  .au-featured,.au-grid{grid-template-columns:1fr;gap:12px}
}
@media (max-width:600px){
  .au-card,.au-card--lead{--au-photo:64px;--au-gap:12px;padding:16px}
  .au-name,.au-card--lead .au-name{font-size:17px}
  .au-meta{flex-wrap:wrap;row-gap:4px}
  .au-filters{gap:6px;margin-bottom:16px}
  .au-filter{padding:7px 12px;font-size:12px}
  .au-hero .hm-actions .qz-btn{width:100%;text-align:center}
}

.au-card--profile{height:auto;margin:0 0 24px;max-width:100%}
.au-card--profile .au-card-main{cursor:default}
.au-meta-text{display:inline-flex!important;align-items:center;height:20px;font:inherit;line-height:20px;color:var(--qz-muted);margin:0;padding:0}
.au-posts-title{margin-top:8px!important;margin-bottom:18px!important}
.au-posts{display:block}
.au-posts>.uk-card:first-child{margin-top:0}
@media (min-width:960px){
  .au-card--profile{
    --au-photo:112px;--au-gap:22px;
    flex-direction:row;align-items:center;justify-content:space-between;gap:28px;
    padding:28px 32px;
  }
  .au-card--profile:hover{transform:none;box-shadow:none;border-color:var(--qz-line)}
  .au-card--profile .au-card-main{flex:1;min-width:0;align-items:center}
  .au-card--profile .au-name{font-size:26px;letter-spacing:-.015em}
  .au-card--profile .au-role{font-size:15px}
  .au-card--profile .au-chip{margin-bottom:4px}
  .au-card--profile .au-meta{
    margin:0;flex:none;flex-direction:column;align-items:flex-end;gap:6px;
    font:600 15px/1.35 Montserrat,system-ui,sans-serif;text-align:right;
  }
  .au-card--profile .au-meta-sep{display:none}
  .au-card--profile .au-meta-text,
  .au-card--profile .au-meta .au-meta-link{height:auto;line-height:1.35}
}
@media (max-width:959px){
  .au-card--profile{padding:18px}
}
.hm-authors{margin-top:0;margin-bottom:0!important}

.eq-feed-more{height:1px;margin:0;padding:0;border:0}
.eq-feed-more.is-loading{height:48px;margin:18px 0 8px;position:relative}
.eq-feed-more.is-loading::after{content:"";position:absolute;left:50%;top:50%;width:22px;height:22px;margin:-11px 0 0 -11px;border:2px solid #d5d8e0;border-top-color:#1e87f0;border-radius:50%;animation:eq-feed-spin .7s linear infinite}
@keyframes eq-feed-spin{to{transform:rotate(360deg)}}
