@font-face {
  font-family: Archivo;
  src: url("./archivo-latin.woff2") format("woff2");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Michroma;
  src: url("./michroma-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("./spacegrotesk-latin.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #faf8f7;
  --ink: #101113;
  --muted: #484c54;
  --line: #c8cbd0;
  --frame: #676d76;
  --red: #ec1820;
  --blue: #0646ee;
  --hero-rgb: 250 249 248;
  --hero: rgb(var(--hero-rgb));
  --focus: #0646d8;
  --column: min(65.4vw, 1280px);
  --mono: "Courier New", monospace;
  --display: Michroma, "Space Grotesk", Arial, sans-serif;
  --text: "Space Grotesk", Arial, Helvetica, sans-serif;
  --badge-red: #eb3d60;
  --badge-blue: #4567e8;
  --badge-dark-ink: #101113;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --paper: #111318;
  --ink: #f8f8f9;
  --muted: #d0d3da;
  --line: #626973;
  --frame: #858894;
  --red: #ff343c;
  --blue: #4c79ff;
  --hero-rgb: 9 12 16;
  --focus: #9dc4ff;
}
*, *::before, *::after { box-sizing: border-box; }
body {
  position: relative;
  isolation: isolate;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--text);
}
body::before {
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: clamp(850px, 62vw, 1200px);
  background: url("./pd17-field.svg") center top / max(100%, 1100px) auto no-repeat;
  content: "";
  pointer-events: none;
}
:root[data-theme="dark"] body::before {
  background-image: url("./pd17-field.svg"), radial-gradient(ellipse at 51% 36%, #101319 44%, #0a0d15 100%);
  background-size: max(100%, 1100px) auto, 100% 100%;
  mask-image: linear-gradient(#000 88%, transparent);
}
a { color: inherit; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: default; opacity: .55; }
:where(a, button):focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.wrap { width: var(--column); margin-inline: auto; }
.masthead {
  width: min(calc(var(--column) + 108px), calc(100% - 32px));
  min-height: 61px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}
.identity { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: 0; }
.logo { display: block; font-family: Arial, Helvetica, sans-serif; font-size: 58px; font-weight: 900; font-style: italic; line-height: .85; letter-spacing: -.095em; padding-right: .094em; white-space: nowrap; }
.logo i { color: var(--red); font-style: inherit; }
.site-name { font-size: clamp(12px, 1.5vw, 24px); font-weight: 750; letter-spacing: -.03em; white-space: nowrap; }
.language, .language-control, .theme-controls { display: flex; align-items: center; }
.language { gap: 16px; flex: none; }
.language-control {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}
.language-control button { min-width: 44px; min-height: 30px; padding: 0 8px; border: 0; }
.language-control button:focus-visible { outline-offset: -3px; }
.language button { color: var(--ink); background: transparent; font-weight: 600; font-size: 13px; }
.language button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.theme-controls { gap: 4px; border-left: 1px solid var(--line); padding-left: 13px; }
.theme-controls button { display: grid; place-items: center; width: 36px; height: 34px; border: 1px solid transparent; border-radius: 9px; }
.theme-controls svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; }
:root[data-theme="dark"] #theme-dark[aria-pressed="true"] { color: #9db9ff; background: #111c37; border-color: #647694; }
.editorial-mark, .art-coordinates {
  position: absolute;
  margin: 0;
  color: var(--ink);
  font: 700 10px/1.55 var(--mono);
  letter-spacing: .17em;
  pointer-events: none;
}
.editorial-mark { top: clamp(242px, 18vw, 340px); left: 3.4vw; width: 78px; }
.editorial-mark::after { content: ""; display: block; height: 1px; width: 23px; margin-top: 5px; background: currentColor; }
.art-coordinates { top: clamp(241px, 18vw, 340px); right: 1.4vw; letter-spacing: .04em; }
.art-coordinates i { font-size: 16px; color: var(--red); }
#inicio { padding-top: 14px; }

.cover {
  --cut: 20px;
  --tail: 34px;
  --shape: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--tail)), calc(100% - var(--tail)) 100%, 16px 100%, 0 calc(100% - 16px), 0 var(--cut));
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: stretch;
  min-height: clamp(296px, 19.8vw, 385px);
  clip-path: var(--shape);
  background: var(--frame);
  padding: 1px;
}
.cover::before { position: absolute; z-index: -2; inset: 1px; clip-path: var(--shape); background: var(--hero); content: ""; }
.cover-copy, .cover-art { grid-area: 1 / 1; position: relative; }
.cover-copy {
  pointer-events: none;
  align-self: center;
  width: 54%;
  padding: clamp(12px, .85vw, 16px) 0 clamp(10px, .72vw, 14px) clamp(24px, 2.35vw, 46px);
}
.cover-copy a { pointer-events: auto; }
.cover-mark {
  display: inline-block;
  padding: 8px 29px 8px 20px;
  margin: 0 0 6px;
  color: var(--badge-dark-ink);
  background: var(--badge-red);
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  font: 400 clamp(12px, 1vw, 17px)/1.25 var(--display);
}
.cover-manifesto {
  margin: 0 0 7px;
  font-family: var(--display);
  font-size: clamp(22px, 2.48vw, 43px);
  font-weight: 400;
  letter-spacing: -.024em;
  line-height: 1.15;
  text-transform: uppercase;
  text-wrap: balance;
}
.cover-manifesto i, .section-head h2::before { color: var(--red); }
.cover-manifesto i { margin-left: .15em; font-style: normal; }
.cover-desc { max-width: 48ch; margin: 0 0 7px; color: var(--ink); font-size: clamp(14px, .99vw, 18px); line-height: 1.28; }
.cover-date { margin: 0 0 9px; color: var(--muted); font: 700 11px/1.25 var(--mono); }
.cover-button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 17px;
  background: #111214;
  border: 1px solid #111214;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 1px 4px #0002;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  gap: 8px;
}
.cover-button::after { content: "↗"; font-family: "DejaVu Sans", sans-serif; }
:root[data-theme="dark"] .cover-button { background: #0d1016; border-color: #f0f1f3; }
.cover-button:hover { text-decoration: underline; text-underline-offset: .2em; }
.cover-art {
  z-index: -1;
  margin-left: 29%;
  overflow: hidden;
  clip-path: var(--shape);
}
.cover-photo {
  display: block;
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--hero);
  text-decoration: none;
}
.cover-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 64% 43%; }
.cover-photo.no-image { display: grid; place-items: center end; padding-right: 14%; font-size: clamp(58px, 10vw, 180px); font-weight: 900; color: var(--frame); }
.cover-art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, var(--hero) 12%, rgb(var(--hero-rgb) / .97) 30%, rgb(var(--hero-rgb) / .69) 43%, transparent 62%),
    url("./pd17-photo.svg") center / 100% 100% no-repeat;
}

#noticias { width: calc(var(--column) - 15px); }
.section-head { margin: 10px 0 8px; }
.section-head h2 { margin: 0; font: 400 clamp(18px, 1.65vw, 29px)/1.2 var(--display); letter-spacing: -.012em; }
.section-head h2::before { content: "/"; display: inline-block; margin-right: 8px; }
.section-head .live { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: 8px 12px; margin-bottom: 15px; }
.filters button, .pagination button {
  min-height: 29px;
  padding: 4px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 12px;
  font-weight: 600;
}
.filters button:is(:hover, .active), .pagination button[aria-current] { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 15px; }
.notice { grid-column: 1 / -1; padding: 24px 14px; background: var(--paper); border: 1px solid var(--line); }
.card {
  --accent: #0346ff;
  --card-bg: #101113;
  --badge: var(--badge-blue);
  --badge-ink: #fff;
  --image-height: clamp(126px, 9.25vw, 184px);
  --link: #acd7ff;
  --card-shape: polygon(0 0, 100% 0, 100% calc(100% - 21px), calc(100% - 21px) 100%, 0 100%);
  position: relative;
  isolation: isolate;
  min-height: clamp(218px, 14.2vw, 280px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 1px 1px;
  color: #fff;
  background: var(--accent);
  border-radius: 5px 5px 0 5px;
  clip-path: var(--card-shape);
}
.card:nth-child(2n) { --accent: #cc111d; --badge: var(--badge-red); --badge-ink: var(--badge-dark-ink); --link: #ffc1b4; }
:root[data-theme="dark"] .card { background: #858990; }
.card::before { position: absolute; z-index: -2; inset: 1px 1px 1px; background: var(--card-bg); clip-path: var(--card-shape); content: ""; }
:root:not([data-theme="dark"]) .card::before { inset: 1px 1px 0; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), calc(100% - 40px) 100%, 0 100%); }
.card-visual { position: absolute; inset: 1px 1px auto; height: var(--image-height); z-index: -1; overflow: hidden; display: grid; place-items: start center; background: #1b2438; color: #c4d2ee; font-size: 40px; font-weight: 900; }
.card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 45%; }
.card-visual::after { position: absolute; inset: 0; background: linear-gradient(
  180deg,
  transparent 14%,
  rgb(16 17 19 / .12) 25%,
  rgb(16 17 19 / .52) 45%,
  rgb(16 17 19 / .86) 65%,
  var(--card-bg) 94%
); content: ""; }
.card:focus-within { box-shadow: inset 0 0 0 2px var(--focus); }
.card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 5px;
  padding: clamp(67px, 4.58vw, 89px) 16px 11px;
}
.category { background: var(--badge); padding: 4px 8px 3px; color: var(--badge-ink); border-radius: 3px; font: 600 11px/1.15 var(--text); letter-spacing: .025em; }
.card h3 { margin: 0; line-height: 1.17; font-size: clamp(15px, .98vw, 19px); font-weight: 500; letter-spacing: -.012em; overflow-wrap: anywhere; }
.card .summary {
  display: -webkit-box;
  margin: 0;
  color: #d9dce2;
  font-size: 13px;
  line-height: 1.33;
  overflow-wrap: anywhere;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.card .summary:empty { display: none; }
.card .eyebrow { color: #f2f2f5; font: 11px/1.18 var(--mono); margin-top: auto; padding-top: 3px; }
.card .read { color: var(--link); font: 700 12px/1.2 var(--mono); margin-top: 1px; text-decoration: none; }
.card .read:is(:hover, :focus-visible) { text-decoration: underline; }
.card .read:focus-visible { outline-color: #fff; outline-offset: 2px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; padding-block: 24px; }
.pagination:empty { display: none; }
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-block: 35px 0; padding-block: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 11px/1.4 var(--mono); }

@media (min-width: 851px) {
  .masthead { min-height: 80px; gap: 22px; }
  .identity { gap: 17px; }
  .logo { font-size: 72px; }
  .site-name { font: 400 clamp(16.2px, 1.64vw, 28px)/1.2 var(--display); letter-spacing: -.022em; }
  .language { gap: 18px; }
  .language-control button { min-width: 49px; min-height: 36px; }
  .theme-controls { gap: 6px; padding-left: 16px; }
  .theme-controls button { width: 39px; height: 38px; }
  .cover { min-height: clamp(356px, 24.4vw, 462px); }
  #noticias .section-head { margin-block: clamp(22px, 1.8vw, 34px) 15px; }
  .filters { margin-bottom: 24px; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 24px; }
  .card {
    display: grid;
    --desktop-photo-height: clamp(222px, 13.9vw, 263px);
    grid-template-rows: var(--desktop-photo-height) minmax(min-content, 1fr);
    min-height: clamp(342px, 22vw, 418px);
  }
  .card-visual { position: relative; inset: auto; height: auto; }
  .card-visual img { position: absolute; inset: 0; }
  .card-visual::after { background: linear-gradient(180deg, transparent 80%, rgb(16 17 19 / .24) 92%, var(--card-bg) 100%); }
  .card-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: max-content max-content max-content max-content 1fr;
    align-items: start;
    gap: 0 12px;
    position: relative;
    margin-top: -24px;
    padding: 0 22px 10px 20px;
  }
  .card-body > :is(.category, h3, .summary, .eyebrow:not(:nth-last-child(2))) { grid-column: 1 / -1; }
  .card-body .category { grid-row: 1; justify-self: start; margin-bottom: 8px; }
  .card h3 { grid-row: 2; margin-bottom: 11px; font-size: clamp(18px, 1.16vw, 23px); line-height: 1.24; }
  .card .summary { grid-row: 3; margin-bottom: 14px; font-size: 13.5px; line-height: 1.36; }
  .card .eyebrow { margin-top: 0; padding-top: 0; overflow-wrap: anywhere; }
  .card .eyebrow:not(:nth-last-child(2)) { grid-row: 4; }
  .card .eyebrow:nth-last-child(2), .card .read { grid-row: 5; align-self: end; }
  .card .read { grid-column: 2; justify-self: end; margin: 0; }
}
@media (min-width: 851px) and (max-width: 1500px) {
  .card-body { padding-inline: 18px; }
}
@media (min-width: 851px) and (max-width: 1000px) {
  .card { --desktop-photo-height: 234px; }
}
@media (min-width: 1201px) {
  :root { --column: clamp(990px, 75vw, 1400px); }
  body::before {
    height: auto;
    aspect-ratio: 1672 / 1140;
    background-image: url("./pd17-field-light.webp");
    background-size: 100% auto;
    mask-image: none;
  }
  :root[data-theme="dark"] body::before {
    background-image: url("./pd17-field-dark.webp");
    background-size: 100% auto;
    mask-image: none;
  }
  .cover-copy { padding-right: 3px; }
}
@media (max-width: 1200px) {
  :root { --column: min(88vw, 990px); }
  .editorial-mark, .art-coordinates { display: none; }
}
@media (max-width: 850px) {
  :root { --column: calc(100% - 40px); }
  .masthead { width: var(--column); }
  .cover-copy { width: 58%; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  :root { --column: calc(100% - 28px); }
  body::before, :root[data-theme="dark"] body::before { background-size: 760px auto, 100% 100%; background-position: 46% 105px, center top; }
  .masthead { min-height: 62px; gap: 7px; }
  .logo {
    font-family: Archivo, Arial, Helvetica, sans-serif;
    font-size: clamp(37px, 11.2vw, 48px);
    letter-spacing: -.10em;
    padding-right: .12em;
  }
  .logo i { margin-left: .025em; }
  .identity { gap: clamp(6px, 2vw, 9px); }
  .site-name { font-family: Arial, Helvetica, sans-serif; font-size: clamp(11px, 3.2vw, 16px); letter-spacing: -.038em; }
  .language { gap: 6px; }
  .language-control button { min-width: 32px; min-height: 34px; padding-inline: 5px; }
  .theme-controls { gap: 2px; padding-left: 6px; }
  .theme-controls button { width: 31px; height: 34px; padding: 0; }
  .theme-controls svg { width: 17px; height: 17px; }
  #inicio { padding-top: 11px; }
  .cover { --cut: 12px; --tail: 22px; grid-template-rows: auto auto; }
  .cover-art { grid-area: 1 / 1; margin: 0; min-height: clamp(180px, 52vw, 260px); clip-path: none; }
  .cover-art::after {
    background-image:
      linear-gradient(0deg, var(--hero), rgb(var(--hero-rgb) / .55) 16%, transparent 39%),
      url("./pd17-photo.svg");
  }
  .cover-copy { grid-area: 2 / 1; width: auto; padding: 0 17px 18px; margin-top: -23px; }
  .cover-mark { margin-bottom: 8px; padding: 7px 17px; }
  .cover-manifesto { font-size: clamp(17px, 5.15vw, 29px); line-height: 1.20; }
  .cover-desc { font-size: 14px; line-height: 1.24; }
  #noticias { width: var(--column); }
  .section-head { margin-top: 14px; }
  .filters { gap: 5px; margin-bottom: 10px; }
  .filters button { min-height: 32px; padding-inline: 8px; font-size: 11px; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .card { --image-height: clamp(152px, 43vw, 195px); min-height: 228px; }
  .card-body { padding-top: clamp(90px, 25vw, 105px); }
  .card h3 { font-size: 17px; }
}
@media (max-width: 360px) {
  .masthead { min-height: 57px; }
  .identity { gap: 5px; }
  .language { gap: 4px; }
  .language-control button { min-width: 28px; padding-inline: 3px; }
  .theme-controls { gap: 1px; padding-left: 3px; }
  .theme-controls button { width: 27px; }
}

/* Contact navigation and form */
.masthead-tools { display: flex; flex: none; align-items: center; gap: clamp(16px, 3vw, 44px); }
.site-navigation a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.site-navigation a::before, .contact h2::before {
  width: 3px;
  height: 1em;
  background: var(--red);
  transform: skew(-16deg);
  content: "";
}
.site-navigation a:hover { text-decoration: underline; text-underline-offset: .25em; }
.site-name { letter-spacing: calc(-.03em + .5px); }

.contact { margin-block-start: clamp(34px, 6vw, 84px); scroll-margin-top: 14px; }
.contact-panel {
  max-width: 730px;
  margin-inline: auto;
  padding: clamp(16px, 4vw, 42px);
  border: 1px solid var(--frame);
  border-radius: 0 12px 0 12px;
  background: var(--paper);
}
.contact h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 26px;
  font: 400 clamp(19px, 2vw, 26px)/1.25 var(--display);
  text-transform: uppercase;
}
.contact-fields { display: grid; gap: 16px; }
.contact-fields label {
  display: grid;
  min-width: 0;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
}
.contact-fields :is(input, textarea) {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--frame);
  border-radius: 6px;
  color: var(--ink);
  background: var(--paper);
  font: 400 16px/1.4 var(--text);
}
.contact-fields textarea { resize: vertical; }
.contact-fields :is(input, textarea):focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.contact-fields [aria-invalid="true"] { border-color: #a5273c; }
:root[data-theme="dark"] .contact-fields [aria-invalid="true"] { border-color: #ff879a; }
.contact-challenge:not(:empty) { margin-block-start: 18px; }
.contact-submit {
  min-height: 44px;
  margin-top: 20px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  color: var(--paper);
  background: var(--ink);
  font-weight: 600;
}
.contact-submit:hover:not(:disabled) { text-decoration: underline; text-underline-offset: .2em; }
.contact-status { margin: 12px 0 0; line-height: 1.4; color: var(--muted); }
.contact-status:empty { margin: 0; }
.contact-status[data-error] { color: #a5273c; }
:root[data-theme="dark"] .contact-status[data-error] { color: #ff9aaa; }

@media (min-width: 621px) {
  .contact-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-fields label:nth-last-child(-n+2) { grid-column: 1 / -1; }
}
@media (min-width: 851px) {
  .site-name { letter-spacing: calc(-.022em + .8px); }
}
@media (max-width: 620px) {
  .masthead { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 7px; row-gap: 0; }
  .masthead-tools { display: contents; }
  .masthead .identity, .masthead .language { min-height: 54px; }
  .masthead .language { grid-area: 1 / 2; }
  .site-name { letter-spacing: calc(-.038em + .5px); }
  .site-navigation { grid-row: 2; grid-column: 1 / -1; }
}
