/* BlabTab v0.10.164 — editorial tag archive fade hotfix.
   Lighter taxonomy treatment built on the shared editorial system. */
.ed-tags-page{background:var(--ed-bg);overflow-wrap:anywhere}
.ed-tags-page :where(section[id]){scroll-margin-top:20px}
.ed-tags-page h1{font-size:clamp(38px,4.5vw,58px);line-height:1.06;letter-spacing:-.048em;font-weight:780}
.ed-tags-page h2{font-size:clamp(25px,2.65vw,34px);line-height:1.22;letter-spacing:-.038em}
.ed-tags-page .ed-kicker{margin-bottom:12px}
.ed-tag-hero-section{position:relative;overflow:hidden;padding:22px 0 0;background:linear-gradient(to bottom,transparent 0%,transparent 56%,var(--ed-bg) 100%),linear-gradient(120deg,var(--ed-accent-soft),var(--ed-surface) 55%,var(--ed-bg))}

:root[data-theme="dark"] .ed-tag-hero-section{background:linear-gradient(to bottom,transparent 0%,transparent 56%,var(--ed-bg) 100%),linear-gradient(120deg,color-mix(in srgb,var(--ed-accent-soft) 78%,var(--ed-bg)),var(--ed-surface) 55%,var(--ed-bg))}
@media(prefers-color-scheme:dark){:root[data-theme="system"] .ed-tag-hero-section{background:linear-gradient(to bottom,transparent 0%,transparent 56%,var(--ed-bg) 100%),linear-gradient(120deg,color-mix(in srgb,var(--ed-accent-soft) 78%,var(--ed-bg)),var(--ed-surface) 55%,var(--ed-bg))}}
.ed-tag-breadcrumb{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:18px;color:var(--ed-subtle);font-size:12px;line-height:1.6}
.ed-tag-breadcrumb .ed-text-link{font-size:13px}
.ed-tag-hero{position:relative;display:grid;grid-template-columns:minmax(0,1.7fr) minmax(240px,.62fr);gap:32px;align-items:center;padding:42px 48px;border:1px solid var(--ed-line);border-radius:26px;background:linear-gradient(118deg,var(--ed-surface) 0%,var(--ed-accent-soft) 70%,var(--ed-surface-soft) 100%);overflow:hidden}
.ed-tag-hero-copy{position:relative;z-index:2;min-width:0}
.ed-tag-hero-labels{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin-bottom:18px}
.ed-tag-hero-labels .ed-kicker{margin:0;font-size:11px}
.ed-tag-state{display:inline-flex;align-items:center;gap:6px;min-height:27px;padding:4px 10px;border:1px solid var(--ed-line);border-radius:999px;background:var(--ed-surface);font-size:11px;font-weight:650;line-height:1.5;color:var(--ed-accent)}
.ed-tag-state::before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}
.ed-tag-hero h1 span{color:var(--ed-accent);font-weight:680}
.ed-tag-description{max-width:64ch;margin-top:18px;font-size:17px;line-height:1.78;color:var(--ed-muted)}
.ed-tag-published-count{display:flex;align-items:baseline;gap:6px;margin:18px 0 20px;color:var(--ed-muted);font-size:13px}
.ed-tag-published-count strong{font-size:18px;color:var(--ed-ink);font-weight:750}
.ed-tag-hero-art{position:relative;display:grid;place-items:center;height:220px;min-width:0;isolation:isolate}
.ed-tag-hash{display:grid;place-items:center;width:146px;height:146px;border-radius:42px;background:var(--ed-surface);border:1px solid var(--ed-line);box-shadow:var(--ed-shadow);color:var(--ed-accent);font-size:86px;font-weight:690;line-height:1;transform:rotate(-4deg)}
.ed-tag-thread{position:absolute;height:1px;background:var(--ed-line-strong);transform-origin:left center;opacity:.85}
.ed-tag-thread::after{content:"";position:absolute;right:-5px;top:-5px;width:11px;height:11px;border-radius:50%;background:var(--ed-surface);border:2px solid var(--ed-accent)}
.ed-tag-thread--one{width:154px;left:2px;top:54px;transform:rotate(17deg)}
.ed-tag-thread--two{width:184px;left:8px;bottom:52px;transform:rotate(-12deg)}
.ed-tag-thread--three{width:106px;right:-8px;top:107px;transform:rotate(168deg)}
.ed-tag-archive{padding:46px 0 20px}
.ed-tag-section-head{display:flex;justify-content:space-between;align-items:end;gap:24px;margin-bottom:24px}
.ed-tag-section-head>div{min-width:0}.ed-tag-section-head p:not(.ed-kicker){max-width:70ch;font-size:14px;line-height:1.7;margin-top:10px}
.ed-tag-section-head>.ed-text-link{flex-shrink:0}
.ed-tag-count{align-self:center;flex-shrink:0;padding:8px 14px;background:var(--ed-surface);border:1px solid var(--ed-line);border-radius:999px;font-size:12px;line-height:1.45;color:var(--ed-muted)}
.ed-tag-feature{margin:0 0 18px}
.ed-tag-feature .ed-story--hero{display:grid;grid-template-columns:minmax(0,1.04fr) minmax(0,1.36fr);min-height:318px;overflow:hidden;border-radius:20px;box-shadow:var(--ed-shadow)}
.ed-tag-feature .ed-story--hero .ed-story-media{height:100%;min-height:318px;aspect-ratio:auto;border-radius:0}
.ed-tag-feature .ed-story--hero .ed-story-body{justify-content:center;padding:30px 32px 26px}
.ed-tag-feature .ed-story--hero h2{font-size:clamp(27px,2.45vw,36px);line-height:1.1;margin:12px 0 10px}
.ed-tag-feature .ed-story--hero .ed-excerpt{max-width:64ch;margin-bottom:18px;font-size:15px;line-height:1.68}
.ed-tag-article-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ed-tag-article-grid .ed-story{height:100%}
.ed-tag-article-grid .ed-story-media{aspect-ratio:16/9}
.ed-tag-article-grid .ed-story-body{padding:17px 17px 15px}
.ed-tag-article-grid .ed-story h3{font-size:18px;line-height:1.22;margin:9px 0 7px}
.ed-tag-article-grid .ed-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;margin-bottom:13px;font-size:13px;line-height:1.55}
.ed-tag-pagination:has(.pagination){margin-top:32px}
.ed-tags-page .pagination{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:22px;border-top:1px solid var(--ed-line);font-size:13px;color:var(--ed-muted)}
.ed-tags-page .pagination>div{display:flex;align-items:center;flex-wrap:wrap;gap:12px}
.ed-tags-page .pagination a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 18px;border:1px solid var(--ed-line);background:var(--ed-surface);color:var(--ed-ink);font-size:13px;font-weight:650;border-radius:999px}
.ed-tags-page .pagination a:hover{background:var(--ed-accent-soft);border-color:var(--ed-line-strong)}
.ed-tag-related{padding:34px 0 8px}
.ed-tag-related-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.ed-tag-card{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:12px;align-items:center;min-height:82px;padding:17px 18px;border:1px solid var(--ed-line);border-radius:18px;background:var(--ed-surface);color:var(--ed-ink);transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease}
.ed-tag-card:hover{border-color:var(--ed-line-strong);box-shadow:var(--ed-shadow-hover);transform:translateY(-1px)}
.ed-tag-card-hash{display:grid;place-items:center;width:38px;height:38px;border-radius:12px;background:var(--ed-accent-soft);color:var(--ed-accent);font-size:20px;font-weight:750}
.ed-tag-card span:nth-child(2){display:flex;min-width:0;flex-direction:column;gap:4px}.ed-tag-card strong{font-size:14px;line-height:1.35}.ed-tag-card small{font-size:11px;line-height:1.45;color:var(--ed-muted)}
.ed-tag-card svg{color:var(--ed-subtle);flex-shrink:0}
.ed-tag-no-related{padding:22px 26px;border:1px dashed var(--ed-line-strong);border-radius:18px;background:var(--ed-surface);font-size:14px}
.ed-tag-outro{padding:48px 0 54px}
.ed-tag-join{display:flex;justify-content:space-between;align-items:center;gap:32px;padding:32px 36px;border:1px solid var(--ed-line);border-radius:22px;background:var(--ed-surface)}
.ed-tag-join>div{min-width:0}.ed-tag-join h2{font-size:clamp(24px,2.15vw,30px)}.ed-tag-join p:not(.ed-kicker){max-width:66ch;margin-top:10px;font-size:14px;line-height:1.7}
.ed-tag-outro-actions{display:flex;flex-direction:column;align-items:flex-start;gap:9px;flex-shrink:0}
.ed-tag-empty{padding:38px;background:var(--ed-surface);text-align:center}.ed-tag-empty>p{margin-inline:auto;line-height:1.8}.ed-tag-empty>.ed-button{margin-top:22px}.ed-tag-empty h3{font-size:25px;line-height:1.3}
.ed-tag-empty-icon{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 18px;border-radius:16px;background:var(--ed-accent-soft);color:var(--ed-accent);font-size:27px;font-weight:750}
@media(max-width:1000px){.ed-tag-related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ed-tag-hero{grid-template-columns:minmax(0,1.55fr) minmax(210px,.55fr);padding:36px}.ed-tag-hero-art{height:200px}}
@media(max-width:900px){.ed-tag-article-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.ed-tag-feature .ed-story--hero{grid-template-columns:minmax(0,1fr);min-height:0}.ed-tag-feature .ed-story--hero .ed-story-media{min-height:0;aspect-ratio:1.9}.ed-tag-feature .ed-story--hero .ed-story-body{padding:24px}.ed-tag-feature .ed-story--hero h2{font-size:clamp(25px,4.4vw,32px)}}
@media(max-width:760px){.ed-tag-hero{grid-template-columns:minmax(0,1fr);padding:32px}.ed-tag-hero-art{display:none}.ed-tag-section-head{align-items:flex-start;flex-direction:column;gap:14px}.ed-tag-count{align-self:flex-start}.ed-tag-join{align-items:flex-start;flex-direction:column}.ed-tag-outro-actions{width:100%}}
@media(max-width:600px){.ed-tag-hero-section{padding-top:14px}.ed-tag-breadcrumb{margin-bottom:12px}.ed-tag-hero{padding:26px 22px;border-radius:22px}.ed-tag-description{font-size:15px;line-height:1.7}.ed-tag-archive{padding-top:34px}.ed-tag-article-grid{grid-template-columns:minmax(0,1fr);gap:16px}.ed-tag-feature{margin-bottom:16px}.ed-tag-feature .ed-story--hero{border-radius:var(--ed-radius)}.ed-tag-feature .ed-story--hero .ed-story-body{padding:20px 18px 18px}.ed-tag-feature .ed-story--hero h2{font-size:25px}.ed-tag-feature .ed-story--hero .ed-excerpt{font-size:14px}.ed-tag-related-grid{grid-template-columns:minmax(0,1fr);gap:11px}.ed-tag-outro{padding:30px 0 40px}.ed-tag-join{padding:26px 24px}.ed-tags-page .pagination{flex-direction:column;align-items:flex-start;gap:14px}.ed-tags-page .pagination>div{gap:10px}}
@media(prefers-reduced-motion:reduce){.ed-tags-page *{transition:none!important}}
