:root {
  --bg: #f6f5f0;
  --paper: #fffcf6;
  --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: var(--bg); }
.brand-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 118px;
}
.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; }
.logo-arrow { margin-top: 10px; }

.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(--yellow);
  color: #1b1b1b;
  font-weight: 800;
  border-radius: 6px;
  padding: 12px 16px;
  white-space: nowrap;
}
.btn { background: var(--blue); color: #fff; 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); }
.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;
}
.feature {
  position: relative;
  min-height: 460px;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  display: flex;
  align-items: flex-end;
  background: #163;
}
.feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 28, 70, .05) 20%, rgba(6, 24, 68, .82));
}
.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: relative; z-index: 1; padding: 28px; }
.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: 14px 0 8px; font-size: clamp(32px, 4vw, 48px); max-width: 16ch; }
.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; }

.ad {
  margin-top: 18px;
  background: #fff;
  border-radius: 14px;
  border-left: 4px solid var(--yellow);
  padding: 16px 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.ad span {
  display: block;
  color: var(--olive);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.ad strong { font-family: var(--serif); font-size: 26px; font-weight: 550; }
.ad a { color: var(--blue); font-weight: 700; }

.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%; max-height: 460px; object-fit: cover; border-radius: 16px; }
.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; 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; }

.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; }
  .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; }
  .estado { display: none; }
  .feature { min-height: 420px; }
  .ad { align-items: flex-start; flex-direction: column; }
  .feed-item { grid-template-columns: 110px 1fr; }
}
@media (max-width: 640px) {
  .brand-inner { flex-direction: column; align-items: flex-start; min-height: 0; padding: 16px 0; }
  .wordmark strong { font-size: 42px; }
  .search-form { flex-direction: column; align-items: stretch; }
  .feed-item { grid-template-columns: 1fr; }
  .feed-item img { height: 180px; }
  .feature h2, .giro h2, .ad strong { font-size: 30px; }
}
