:root {
  --revista-accent: #cf2e2e;
  --revista-highlight: #ffaaa3;
  --revista-tint: #30201f;
  --revista-paper: #faf7f2;
  --revista-border: #464147;
  --revista-title: #fff8ee;
  --revista-face: "Avenir Next", "Helvetica Neue", Arial, sans-serif;
}
:root[data-brand="micromania"] {
  --revista-accent: #0693e3;
  --revista-highlight: #90d7ff;
  --revista-tint: #132a3d;
  --revista-paper: #f6eb9f;
  --revista-border: #334855;
}
.masthead.ed-masthead {
  color-scheme: light;
  background: var(--revista-paper);
  border-top: 4px solid var(--revista-accent);
  border-bottom: 1px solid #23180933;
  color: #201b19;
}
.ed-masthead .masthead-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.ed-masthead .ed-logo { display: inline-flex; flex-shrink: 0; padding-block: 8px; }
.ed-logo img { display: block; width: clamp(130px, 25vw, 224px); height: auto; }
[data-brand="micromania"] .ed-logo img { width: clamp(112px, 19vw, 154px); }
.ed-nav { display: flex; justify-content: flex-end; align-items: center; flex-wrap: wrap; gap: 2px 18px; }
.ed-masthead .ed-nav :is(a, button) {
  display: inline-flex;
  align-items: center;
  min-height: 35px;
  background: none;
  border: 0;
  padding: 0;
  color: #211a17;
  text-decoration: none;
  font: 700 .86rem/1.2 var(--revista-face);
}
.ed-masthead .ed-nav :is(a, button):hover { color: #211a17; text-decoration: underline; text-underline-offset: .22em; }
.ed-masthead :focus-visible { outline: 2px solid #211a17; outline-offset: 4px; }
.ed-intro h1 {
  max-width: 19ch;
  color: var(--revista-title);
  font: 800 clamp(2.2rem, 5vw, 4.6rem)/1.02 var(--revista-face);
  letter-spacing: -.06em;
  text-wrap: balance;
}
.ed-intro :is(.kicker, .section-name) {
  color: var(--revista-highlight);
  font: 800 .76rem/1.3 var(--revista-face);
  letter-spacing: .12em;
  text-transform: uppercase;
}
.ed-intro .kicker span { display: none; }
.ed-intro.ed-art { margin-top: 22px; }

a.ed-issue {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 63px;
  margin: 0 0 16px;
  padding: 8px 14px;
  color: var(--revista-title);
  background: var(--revista-tint);
  border: 1px solid var(--revista-border);
  border-inline-start: 3px solid var(--revista-accent);
  border-radius: 8px;
  text-decoration: none;
  font-family: var(--revista-face);
}
.ed-art + a.ed-issue { margin-top: 16px; }
a.ed-issue:hover { border-color: var(--revista-accent); }
.ed-issue img { display: block; width: 32px; height: 44px; object-fit: contain; border-radius: 2px; flex-shrink: 0; }
.ed-issue .ed-issue-copy { display: grid; gap: 2px; flex: 1 1 auto; min-width: 0; }
.ed-issue strong { font-size: .98rem; line-height: 1.22; }
.ed-issue .ed-issue-status { color: var(--revista-highlight); font-size: .72rem; line-height: 1.25; font-weight: 750; }
.ed-issue .ed-issue-action { color: var(--revista-title); font-size: .8rem; line-height: 1.25; text-align: right; font-weight: 750; }
.ed-issue:hover .ed-issue-action { text-decoration: underline; text-underline-offset: .2em; }

.ed-coverage {
  margin-block: 25px 0;
  padding-block: 17px 4px;
  border-top: 1px solid var(--revista-border);
  font-family: var(--revista-face);
  scroll-margin-top: 12px;
}
.ed-coverage h2 {
  margin: 0 0 11px;
  color: var(--revista-title);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: -.035em;
}
.ed-coverage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.ed-coverage-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: start;
  gap: 12px;
  padding: 13px;
  color: var(--revista-title);
  background: var(--panel);
  border: 1px solid var(--revista-border);
  border-radius: 8px;
  text-decoration: none;
}
.ed-coverage-card:hover { border-color: var(--revista-highlight); }
.ed-coverage-card:hover .ed-coverage-number { text-decoration: underline; text-underline-offset: .2em; }
.ed-coverage-card.ed-no-cover { grid-template-columns: minmax(0, 1fr) auto; }
.ed-coverage-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; object-position: center top; border-radius: 3px; }
.ed-coverage-number { display: block; color: var(--revista-highlight); font-size: .82rem; }
.ed-coverage-arrow { color: var(--revista-highlight); font-size: .86rem; }
.ed-coverage-card p { margin: 6px 0 0; color: var(--revista-title); font-size: .92rem; line-height: 1.32; }
.ed-coverage-card small { display: block; margin-top: 3px; color: var(--soft); font-size: .77rem; line-height: 1.35; }
.ed-footer { border-top: 1px solid var(--revista-border); margin-top: 20px; font-family: var(--revista-face); }
.ed-verification { color: var(--soft); margin: 8px 0 0; font: .85rem/1.45 var(--revista-face); }
.ed-verification strong { color: var(--revista-title); }

@media (max-width: 640px) {
  .ed-masthead .masthead-inner { min-height: 65px; gap: 12px; }
  .ed-nav { gap: 0 11px; }
  .ed-masthead .ed-nav :is(a, button) { font-size: .75rem; min-height: 28px; }
  .ed-intro h1 { letter-spacing: -.048em; }
  .ed-intro.ed-art { margin-top: 13px; }
  a.ed-issue { min-height: 54px; gap: 9px; padding: 7px 10px; margin-bottom: 12px; }
  .ed-issue img { width: 25px; height: 35px; }
  .ed-issue .ed-issue-action { font-size: .72rem; }
  .ed-coverage-card { grid-template-columns: 49px minmax(0, 1fr) auto; gap: 10px; }
}

.ed-help-body { padding: 16px 22px; }
.ed-help-body p + p { margin-top: .65em; }
