:root {
  --bg: #fff;
  --paper: #fff;
  --ink: #1b1b1b;
  --muted: #6f6c64;
  --line: #e3dfd4;
  --blue: #0037c9;
  --blue-deep: #002fae;
  --olive: #697345;
  --yellow: #f0c400;
  --sage: #e7eee3;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }
.wrap { width: min(var(--width), calc(100% - 40px)); margin: 0 auto; }

.dateline { border-bottom: 1px solid var(--line); }
.dateline-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  min-height: 34px;
  align-items: center;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.dateline-tools { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.top-login { color: var(--blue); }
.top-login:hover, .top-login.active { color: var(--blue-deep); }

.brandbar { background: #fff; border-bottom: 2px solid var(--blue); position: sticky; top: 0; z-index: 20; }
.brand-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 64px;
  position: relative;
}
.brandbar .wordmark strong { font-size: 28px; }
.brandbar .wordmark em { font-size: 12px; }
.brandbar .wordmark-rule { height: 18px; }
.logo-arrow { margin-top: 0; }
.head-nav { display: flex; align-items: center; gap: 2px; min-width: 0; }
.head-nav > a, .mais summary, .menu-panel a, .mais-menu a {
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 6px;
}
.head-nav > a.active, .head-nav > a:hover, .mais summary:hover, .menu-panel a:hover, .mais-menu a:hover { color: var(--blue); background: #f3f6ff; }
.mais { position: relative; }
.mais summary { list-style: none; cursor: pointer; }
.mais summary::-webkit-details-marker { display: none; }
.mais-menu, .menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: 220px;
  padding: 8px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .08);
  z-index: 30;
}
.mais-menu { left: 0; }
.mais-menu a, .menu-panel a { display: block; }
.menu-panel { display: none; right: 0; }
.brandbar.menu-open .menu-panel { display: grid; }
.menu-label { display: block; padding: 12px 10px 4px; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.head-tools { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.icon-btn, .text-tool {
  border: 0;
  background: transparent;
  color: var(--ink);
  height: 40px;
  border-radius: 8px;
  cursor: pointer;
}
.icon-btn { width: 40px; display: grid; place-items: center; }
.text-tool { padding: 0 10px; font-weight: 800; font-size: 14px; color: var(--blue); }
.icon-btn:hover, .text-tool:hover { background: #f3f6ff; }
.brandbar .search-form { display: none; flex: none; }
.brandbar .search-form.is-open { display: flex; }
.brandbar .search-field { width: 180px; }
.logo { display: flex; align-items: flex-start; gap: 8px; flex: none; color: inherit; }
.wordmark { display: grid; gap: 2px; }
.wordmark-row { display: flex; align-items: center; gap: 10px; }
.wordmark strong {
  color: var(--blue);
  font-family: "Arial Black", "Arial Bold", Impact, sans-serif;
  font-size: 52px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 0.8;
}
.wordmark-rule { width: 2px; height: 34px; background: #c5c1b4; }
.wordmark em {
  color: var(--olive);
  font-style: normal;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.16em;
}
.wordmark small { color: var(--olive); font-size: 13px; letter-spacing: 0.01em; }
.search-form { display: flex; align-items: flex-end; gap: 18px; flex: 1; justify-content: flex-end; }
.search-field {
  display: flex;
  align-items: center;
  gap: 8px;
  width: min(280px, 34vw);
  border-bottom: 1px solid #cfcabe;
  color: var(--muted);
  padding-bottom: 6px;
}
.search-field input {
  width: 100%;
  border: 0;
  background: transparent;
  outline: none;
  color: var(--ink);
  padding: 0;
}
.btn-yellow, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  border-radius: 6px;
  padding: 12px 16px;
  white-space: nowrap;
}
.btn { border-radius: 999px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

.nav { background: var(--blue); color: #fff; position: sticky; top: 0; z-index: 10; }
.nav-inner { display: flex; align-items: center; min-height: 48px; gap: 8px; position: relative; }
.menu-btn {
  display: none;
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;
  width: 36px;
  height: 36px;
}
.menu {
  display: flex;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}
.menu a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 650;
}
.menu a.active, .menu a:hover { background: rgba(255,255,255,.16); }
.menu-city { display: none; }
.menu-label span {
  display: block;
  padding: 12px 12px 4px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: .75;
}
.estado { margin-left: auto; position: relative; }
.estado summary {
  list-style: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 8px 0 8px 16px;
  border-left: 1px solid rgba(255,255,255,.28);
}
.estado summary::-webkit-details-marker { display: none; }
.estado-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  color: var(--ink);
  min-width: 220px;
  border-radius: 12px;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  padding: 8px;
  z-index: 12;
}
.estado-menu a { display: block; padding: 8px 10px; border-radius: 8px; }
.estado-menu a:hover { background: var(--sage); }

.radar { border-bottom: 1px solid var(--line); }
.radar-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 42px;
  overflow-x: auto;
  font-size: 14px;
  color: #4e4b45;
}
.radar b {
  color: var(--blue);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  flex: none;
}

main { padding: 28px 0 64px; }
.home-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
  margin-bottom: 16px;
}
.home-head h1, .page-head h1, .story h1, .page-card h1, .feature h2, .giro h2 {
  font-family: var(--serif);
  font-weight: 550;
  letter-spacing: -0.03em;
  line-height: 1.05;
}
.home-head h1 { margin: 0; font-size: clamp(32px, 4vw, 44px); }
.perspective { margin: 0; color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.perspective i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); display: inline-block; }

.home-grid {
  display: grid;
  grid-template-columns: 1.45fr 0.8fr;
  gap: 18px;
}
.home-block + .home-block { margin-top: 64px; }
.home-block .section-head { margin: 0 0 18px; }
.feature {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  display: block;
  background: #061844;
}
.feature img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  background: #061844;
}
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 28, 70, 0) 48%, rgba(6, 24, 68, .78));
}
.illus {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feature-copy {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: 36px 40px;
  max-width: 760px;
}
.feature .byline, .feature .kind { color: #f7f4ea; }
.byline { margin: 0 0 8px; color: var(--muted); font-size: 13px; }
.kind { color: var(--blue); font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; font-size: 11px; }
.kind::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: var(--yellow); }
.pill {
  display: inline-block;
  background: var(--yellow);
  color: #1b1b1b;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
  padding: 5px 8px;
}
.feature h2 { margin: 0 0 8px; font-size: clamp(24px, 2.5vw, 34px); max-width: 24ch; }
.feature p { margin: 0; max-width: 46ch; color: #f3f0e6; font-size: 14px; line-height: 1.4; }
.feature-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.feature-meta svg { margin-left: auto; }

.giro {
  background: var(--sage);
  border-radius: 18px;
  padding: 22px 22px 16px;
}
.giro header { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.eyebrow {
  margin: 0 0 8px;
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.giro h2 { margin: 0; font-size: 36px; }
.giro header p { margin: 6px 0 0; color: #4d5244; }
.time {
  border: 1px solid #c9d2be;
  border-radius: 999px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #3d4336;
  white-space: nowrap;
}
.giro ol { list-style: none; margin: 18px 0 8px; padding: 0; }
.giro li + li { border-top: 1px solid #d5decc; }
.giro a { display: grid; grid-template-columns: 32px 1fr; gap: 8px; padding: 12px 0; align-items: start; }
.giro a span { color: var(--blue); font-weight: 800; font-size: 13px; }
.giro a strong { font-family: var(--serif); font-weight: 550; font-size: 18px; line-height: 1.25; }
.giro-note { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
.giro-open { border: 0; background: transparent; color: var(--blue); font-weight: 800; padding: 0; cursor: pointer; }
body.brief-open { overflow: hidden; }
.giro-brief {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(16, 22, 12, .55);
  display: grid;
  place-items: end center;
  padding: 16px;
}
.giro-brief-card {
  width: min(680px, 100%);
  max-height: calc(100vh - 32px);
  overflow: auto;
  background: var(--paper);
  border-radius: 22px;
  padding: 22px 24px 18px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .2);
}
.giro-brief header { display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.giro-brief header p { margin: 0; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.giro-brief header button { border: 0; background: transparent; color: var(--muted); font-weight: 800; cursor: pointer; padding: 0; }
.giro-dots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin: 18px 0 10px; }
.giro-dots button { height: 4px; border: 0; border-radius: 99px; background: #ddd8cc; padding: 0; cursor: pointer; }
.giro-dots button.is-on { background: var(--blue); }
.giro-count { margin: 0; color: var(--olive); font-size: 12px; font-weight: 800; letter-spacing: 0.08em; }
.giro-brief h2 { font-family: var(--serif); font-weight: 550; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; letter-spacing: -0.03em; margin: 8px 0 14px; }
.giro-answer { margin: 0 0 14px; font-size: 17px; line-height: 1.45; }
.giro-read { color: var(--blue); font-weight: 800; }
.giro-actions { display: flex; justify-content: space-between; gap: 10px; margin-top: 22px; }
.giro-actions .btn-yellow, .giro-actions .btn { min-width: 148px; }
.giro-actions button:disabled { opacity: .4; cursor: default; }
.giro-forward { display: block; width: 100%; margin-top: 14px; border: 0; background: transparent; color: var(--ink); font-weight: 800; text-align: left; cursor: pointer; padding: 0; }
@media (min-width: 720px) {
  .giro-brief { place-items: center; }
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin: 36px 0 8px;
}
.section-head h2 {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.section-head a { color: var(--blue); font-weight: 700; font-size: 14px; }
.kicker {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.meta { color: var(--muted); font-size: 13px; }
.feed-item {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.feed-item img { height: 108px; width: 100%; object-fit: cover; border-radius: 10px; }
.feed-item h2 { font-family: var(--serif); font-size: 26px; font-weight: 550; line-height: 1.15; margin: 4px 0; }
.feed-item p { font-size: 14px; line-height: 1.4; }
.list p { color: #3e3c37; }

.story { width: min(760px, 100%); margin: 0 auto; }
.story h1 { font-size: clamp(36px, 5vw, 56px); margin: 8px 0; }
.story-figure img { width: 100%; height: auto; object-fit: contain; border-radius: 16px; background: #e7e2d6; }
.story-figure figcaption { color: var(--muted); font-size: 13px; padding-top: 6px; }
.story-lead { font-size: 17px; line-height: 1.4; }
.story-body p { font-family: var(--serif); font-size: 21px; line-height: 1.45; }
.share { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; }
.page-head { margin-bottom: 12px; }
.page-head h1 { font-size: 48px; margin: 8px 0; }
.page-card, .empty {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
}
.info-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.contact-form { display: grid; gap: 10px; }
.contact-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 700; }
.contact-form label[hidden] { display: none; }
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 10px 12px;
}
.login-card { max-width: 440px; margin: 24px auto; }
.password-form { margin-top: 22px; padding-top: 8px; border-top: 1px solid var(--line); }
.password-form h2, .editor-layout aside h2 { font-family: var(--serif); font-weight: 550; }
#logout { margin-top: 16px; }
.editor-layout { display: grid; grid-template-columns: 1.4fr 0.8fr; gap: 18px; align-items: start; }
.inbox { margin-bottom: 18px; }
.inbox-list { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 12px; }
.inbox-item { border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; background: #fff; }
.inbox-item.unread { border-color: #9db0ef; background: #f7f9ff; }
.inbox-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.inbox-head span, .inbox-item a { color: var(--muted); font-size: 14px; }
.inbox-item p { margin: 8px 0 0; white-space: pre-wrap; }
.inbox-actions { display: flex; gap: 14px; margin-top: 10px; }
.inbox-actions button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-weight: 700; padding: 0; }
.jobs-layout { display: grid; grid-template-columns: 1.35fr 0.75fr; gap: 16px; align-items: start; }
.job-list { display: grid; gap: 12px; margin-top: 16px; }
.job-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.job-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.job-card h2 { font-family: var(--serif); font-size: 26px; font-weight: 550; margin: 0; }
.job-card .pill { background: var(--sage); }
.job-search { width: min(360px, 100%); margin-top: 12px; }
.job-cities { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.job-city {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-weight: 700;
  cursor: pointer;
}
.job-city.is-on { background: var(--blue); border-color: var(--blue); color: #fff; }
.editor-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
.editor-preview { width: 100%; max-height: 240px; object-fit: cover; border-radius: 12px; }
.check { display: flex; align-items: center; gap: 8px; font-weight: 700; }
.check input { width: auto; }
.own-list { list-style: none; margin: 0; padding: 0; }
.own-list li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.own-list span { display: flex; gap: 10px; flex: none; }
.own-list button { border: 0; background: transparent; color: var(--blue); cursor: pointer; font-weight: 700; padding: 0; }
.page-card h1 { margin-top: 0; }
.note { color: var(--olive); }
.latest-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 12px; }
.card { background: var(--paper); border-radius: 14px; overflow: hidden; border: 1px solid var(--line); }
.card .thumb { aspect-ratio: 16/10; }
.card img { width: 100%; height: 100%; object-fit: cover; }
.card .pad { padding: 12px; }
.card h2 { font-family: var(--serif); font-size: 22px; margin: 6px 0 0; font-weight: 550; }
.rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.rail-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.rail-card.lead { grid-column: span 2; }
.rail-card a { display: block; color: inherit; }
.rail-card .thumb { aspect-ratio: 16/10; overflow: hidden; background: #e7e2d6; }
.rail-card img { width: 100%; height: 100%; object-fit: cover; }
.rail-card .pad { padding: 12px 14px 14px; }
.rail-card h3 { font-family: var(--serif); font-size: 18px; font-weight: 550; margin: 0 0 6px; line-height: 1.15; }
.rail-card.lead h3 { font-size: 26px; }
.rail-card p { margin: 0 0 8px; font-size: 14px; line-height: 1.4; }
.desk-alert { border-left: 4px solid var(--yellow); margin-bottom: 18px; }
.desk-alert h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 28px; font-weight: 550; }
.desk-alert p { margin: 0; }
.desk-status { margin: 0 0 18px; font-weight: 700; }

.footer { border-top: 1px solid var(--line); padding: 28px 0 16px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 18px; }
.footer-logo .wordmark strong { font-size: 34px; }
.footer-logo .wordmark em { font-size: 13px; }
.footer-logo .wordmark-rule { height: 22px; }
.footer-logo .wordmark small { font-size: 11px; }
.footer p { margin: 0 0 8px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.footer a { display: block; padding: 3px 0; }
.legal { color: var(--muted); font-size: 12px; }

@media (max-width: 900px) {
  .brand-inner, .home-grid, .info-grid, .footer-grid, .latest-grid, .editor-layout, .editor-row, .jobs-layout { grid-template-columns: 1fr; }
  .head-nav { display: none; }
  .menu-panel { left: 0; right: 0; border-radius: 0 0 12px 12px; }
  .rail { grid-template-columns: 1fr 1fr; }
  .rail-card.lead { grid-column: span 2; }
  .dateline-tag, .perspective { display: none; }
  .search-form { width: 100%; }
  .search-field { width: auto; flex: 1; }
  .menu-btn { display: grid; place-items: center; }
  .menu {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 48px;
    background: var(--blue-deep);
    flex-direction: column;
    padding: 8px;
  }
  .nav.open .menu { display: flex; }
  .nav.open .menu-city { display: block; }
  .estado { display: none; }
  .feature::after { content: none; }
  .feature-copy {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    padding: 16px 18px 18px;
    background: #061844;
  }
  .feed-item { grid-template-columns: 110px 1fr; }
}
@media (max-width: 640px) {
  .brand-inner { flex-direction: row; align-items: center; min-height: 58px; padding: 0; }
  .brandbar .search-form { flex-direction: row; }
  .rail { grid-template-columns: 1fr; }
  .rail-card.lead { grid-column: auto; }
  .feed-item { grid-template-columns: 1fr; }
  .feed-item img { height: 180px; }
  .feature h2, .giro h2 { font-size: 30px; }
}
