/* PZF 0.11.20 — consistent search, fallback pages, 404, and editorial type. */
.pzf-mag-footer__links .pzf-mag-footer__custom-menu,
.pzf-mag-footer__links .pzf-mag-footer__custom-menu > li {
  display: contents;
  list-style: none;
  margin: 0;
  padding: 0;
}

.pzf-directory__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 36px;
  margin-bottom: 42px;
}
.pzf-directory__heading > div:first-child { min-width: 0; }
.pzf-directory .pzf-archive--standard__title { margin-bottom: 0 !important; }
.pzf-directory__query { margin: 13px 0 0 !important; color: var(--pzf-c-muted) !important; font-size: 15px !important; line-height: 1.5 !important; }
.pzf-directory__query strong { color: var(--pzf-c-fg); font-weight: 750; overflow-wrap: anywhere; }
.pzf-directory__search { width: min(410px, 100%); flex: 0 0 min(410px, 39%); margin-bottom: 3px; }
.pzf-directory__search label,
.pzf-not-found__search label { display: block; margin-bottom: 9px; color: var(--pzf-c-muted); font-size: 10px; font-weight: 850; letter-spacing: .14em; }
.pzf-directory__search-row { display: flex; align-items: stretch; min-width: 0; border: 1px solid var(--pzf-c-line); border-radius: 4px; overflow: hidden; background: var(--pzf-c-panel); }
.pzf-directory__search-row:focus-within { border-color: var(--pzf-c-red); outline: 2px solid color-mix(in srgb, var(--pzf-c-red), transparent 70%); outline-offset: 2px; }
.pzf-directory__search-row input,
.pzf-directory__search-row input:focus,
.pzf-directory__search-row input:hover { display: block; flex: 1 1 auto; width: 0; min-width: 0; height: 49px; padding: 0 15px; border: 0 !important; border-radius: 0 !important; outline: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--pzf-c-fg) !important; font: 600 14px/1.4 "Inter", Arial, sans-serif !important; }
.pzf-directory__search-row input::placeholder { color: var(--pzf-c-muted); opacity: 1; }
.pzf-directory__search-row button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; flex: 0 0 auto; padding: 0 17px; border: 0; border-left: 1px solid var(--pzf-c-line); border-radius: 0; background: var(--pzf-c-surface); color: var(--pzf-c-fg); font: 800 11px/1.2 "Inter", Arial, sans-serif; cursor: pointer; transition: color .16s ease, background-color .16s ease; }
.pzf-directory__search-row button:is(:hover,:focus-visible) { color: var(--pzf-c-red); background: var(--pzf-c-panel); }
.pzf-directory__empty { padding: 31px; }
.pzf-directory__empty strong { display: block; margin-bottom: 7px; color: var(--pzf-c-fg); font-size: 18px; }
.pzf-directory__empty p { margin: 0 0 15px; }
.pzf-directory__empty a { color: var(--pzf-c-red) !important; font-weight: 800; }

/* An original 404 page grounded in the same PZF archive palette. */
.pzf-not-found { min-height: 69vh; }
.pzf-not-found__stage { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 35px; padding: clamp(30px, 5vw, 70px) 0 50px; border-top: 3px solid var(--pzf-c-fg); border-bottom: 1px solid var(--pzf-c-line); }
.pzf-not-found__copy { max-width: 730px; }
.pzf-not-found__copy h1 { margin: 18px 0 25px; color: var(--pzf-c-fg); font: 700 clamp(58px, 7vw, 104px)/.99 "Oswald", "Khand Local", Arial, sans-serif; letter-spacing: -.025em; }
.pzf-not-found__copy h1 em { font-style: normal; color: var(--pzf-c-red); }
.pzf-not-found__copy p { max-width: 620px; color: var(--pzf-c-muted); font: 500 17px/1.7 "Inter", Arial, sans-serif; }
.pzf-not-found__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 31px; }
.pzf-not-found__actions a { display: inline-flex; align-items: center; justify-content: center; gap: 13px; min-height: 46px; padding: 10px 17px; border: 1px solid var(--pzf-c-line); border-radius: 4px; color: var(--pzf-c-fg); font: 800 12px/1.3 "Inter", Arial, sans-serif; transition: color .2s, background-color .2s; }
.pzf-not-found__actions a:hover { color: var(--pzf-c-red); background: var(--pzf-c-panel); }
.pzf-not-found__actions .pzf-not-found__home { color: #fff; border-color: #b42629; background: #b42629; }
.pzf-not-found__actions .pzf-not-found__home:hover { color: #fff; background: #901d21; }
.pzf-not-found__score { position: relative; display: flex; align-items: center; color: var(--pzf-c-panel); font: 800 clamp(115px, 17vw, 225px)/1 "Oswald", Impact, sans-serif; user-select: none; }
.pzf-not-found__score span:nth-child(3) { color: var(--pzf-c-surface); }
.pzf-not-found__score-ball { z-index: 1; margin: 0 -12px; color: var(--pzf-c-red); font-size: clamp(36px, 4vw, 60px); transform: rotate(-12deg); }
.pzf-not-found__score {gap:.035em;color:var(--pzf-c-fg)!important;opacity:1!important;font-size:clamp(100px,12vw,180px)!important;line-height:1!important;font-weight:650!important;letter-spacing:-.055em}
.pzf-not-found__score span:nth-child(3){color:var(--pzf-c-fg)!important}
.pzf-not-found__score-zero{color:var(--pzf-c-red)!important}
@media(max-width:900px){
  .pzf-not-found__score{position:static!important;justify-content:flex-start;opacity:1!important;font-size:clamp(70px,12vw,100px)!important;margin-top:-10px;pointer-events:none}
}
.pzf-not-found__search { max-width: 570px; margin-top: 32px; }

/* Regular WP pages (not editor/technical templates) no longer use Newsio columns. */
.pzf-page-standard__article { max-width: 920px; margin: 0 auto; }
.pzf-page-standard__article .pzf-archive--standard__title { margin: 10px 0 30px !important; }
.pzf-page-standard__content { padding-top: 26px; border-top: 3px solid var(--pzf-c-fg); color: var(--pzf-c-fg); font: 400 17px/1.75 "Inter", Arial, sans-serif; }
.pzf-page-standard__content :is(h2,h3,h4,h5,h6) { margin: 32px 0 12px; color: var(--pzf-c-fg); font-family: "Oswald", "Khand Local", Arial, sans-serif; line-height: 1.16; }
.pzf-page-standard__content a { color: var(--pzf-c-red) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.pzf-page-standard__content :is(img,iframe,video,figure) { max-width: 100%; height: auto; }

/* A consistent typographic pair in article reading mode, including old H4s. */
body .pzf-article .pzf-article__title,
body .pzf-article .pzf-article__content :is(h2,h3,h4,h5,h6) {
  font-family: var(--pzf-heading-font, "Oswald", "Khand Local", "Arial Narrow", sans-serif) !important;
}
body .pzf-article .pzf-article__content,
body .pzf-article .pzf-article__content :is(p,li,blockquote),
body .pzf-article .pzf-article__meta {
  font-family: var(--pzf-interface-font, "Inter", "Roboto Local", Arial, sans-serif) !important;
}
body .pzf-article .pzf-article__content h2 {
  font-weight: 600 !important;
  letter-spacing: .005em !important;
  line-height: 1.18 !important;
}

@media (max-width: 900px) {
  .pzf-directory__heading { flex-direction: column; align-items: stretch; gap: 19px; }
  .pzf-directory__search { width: 100%; flex: 0 0 auto; }
  .pzf-not-found__stage { grid-template-columns: 1fr; }
  .pzf-not-found__score { position: absolute; top: 5px; right: 0; opacity: .24; font-size: 140px; pointer-events: none; }
  .pzf-not-found__copy { position: relative; z-index: 1; }
}
@media (max-width: 600px) {
  .pzf-directory__heading { margin-bottom: 27px; }
  .pzf-directory__search-row button { padding-inline: 13px; }
  .pzf-directory__search-row button span { display: none; }
  .pzf-not-found__stage { padding-top: 15px; padding-bottom: 36px; }
  .pzf-not-found__copy h1 { font-size: clamp(52px, 14vw, 72px); margin: 16px 0 17px; }
  .pzf-not-found__copy p { font-size: 15px; }
  .pzf-not-found__score { font-size: 100px; top: 0; }
  .pzf-not-found__score-ball { font-size: 23px; margin-inline: -6px; }
  .pzf-not-found__actions { margin-top: 24px; }
  .pzf-not-found__actions a { font-size: 11px; padding: 10px 13px; }
  .pzf-page-standard__content { font-size: 16px; }
}
