/* PZF Theme 0.5.11 - Editorial Premium: focused, scoped refinements.
   Existing layouts, PZF Core and all non-home page templates are preserved. */

/* Mobile header: keep original PZF red logo image flush vertically, but place a
   dark, symmetric gutter at the left edge. The wordmark is typeset as a tightly
   packed three-line block; after scroll the text alone disappears. */
@media (max-width: 991.98px) {
  body .pzf-mobile-header,
  body .pzf-mobile-header.pzf-mobile-header--compact {
    padding-left: 10px !important;
    padding-right: 0 !important;
    box-sizing: border-box !important;
  }
  body .pzf-mobile-header .pzf-mobile-brand,
  body .pzf-mobile-header.pzf-mobile-header--compact .pzf-mobile-brand {
    gap: 7px !important;
    overflow: hidden !important;
    min-width: 0 !important;
  }
  body .pzf-mobile-header .pzf-mobile-brand__mark,
  body .pzf-mobile-header.pzf-mobile-header--compact .pzf-mobile-brand__mark {
    object-fit: contain !important;
    align-self: stretch !important;
    height: 61px !important;
    min-height: 61px !important;
    max-height: 61px !important;
    flex-shrink: 0 !important;
  }
  body .pzf-mobile-header .pzf-mobile-brand__words,
  body .pzf-mobile-header:not(.pzf-mobile-header--compact) .pzf-mobile-brand__words {
    font-family: 'Khand Local', 'Arial Narrow', Arial, sans-serif !important;
    font-size: clamp(10.5px, 3.2vw, 14px) !important;
    font-weight: 700 !important;
    line-height: .87 !important;
    letter-spacing: -.18px !important;
    max-width: 114px !important;
    flex: 0 1 auto !important;
    white-space: nowrap !important;
    gap: 0 !important;
    transform: translateY(0) !important;
  }
  body .pzf-mobile-header .pzf-mobile-brand__words span {
    line-height: .91 !important;
    letter-spacing: -.2px !important;
  }
  body .pzf-mobile-header.pzf-mobile-header--compact .pzf-mobile-brand__words {
    display: none !important;
  }
  body .pzf-mobile-header__actions {
    padding-right: 10px !important;
  }
}
@media (max-width: 359px) {
  body .pzf-mobile-header,
  body .pzf-mobile-header.pzf-mobile-header--compact {
    padding-left: 7px !important;
  }
  body .pzf-mobile-header .pzf-mobile-brand,
  body .pzf-mobile-header.pzf-mobile-header--compact .pzf-mobile-brand {
    gap: 4px !important;
  }
  body .pzf-mobile-header .pzf-mobile-brand__words,
  body .pzf-mobile-header:not(.pzf-mobile-header--compact) .pzf-mobile-brand__words {
    font-size: 10px !important;
    max-width: 94px !important;
  }
  body .pzf-mobile-header__actions {
    padding-right: 7px !important;
  }
}

/* Editorial Premium: compact, full-width horizontal navigation with no
   underlining, buttons or visual headings. The first cropped link signals swipe. */
body .pzf-mag-home .pzf-mag-topic-rail {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 58px !important;
  padding: 0 0 0 16px !important;
  margin: 16px 0 26px !important;
  border: 1px solid var(--mag-hair) !important;
  border-left: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
body .pzf-mag-home .pzf-mag-topic-rail--competitions {
  background: #e9edf0 !important;
}
body .pzf-mag-home .pzf-mag-topic-rail--tags {
  background: #f0ebeb !important;
  margin-top: 8px !important;
  margin-bottom: 30px !important;
}
html[data-pzf-theme="dark"] .pzf-mag-home .pzf-mag-topic-rail--competitions {
  background: #252c34 !important;
}
html[data-pzf-theme="dark"] .pzf-mag-home .pzf-mag-topic-rail--tags {
  background: #2b2529 !important;
}
body .pzf-mag-home .pzf-mag-topic-rail__label {
  display: none !important;
}
body .pzf-mag-home .pzf-mag-topic-rail__symbol {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 29px !important;
  width: 29px !important;
  height: 29px !important;
  min-width: 29px !important;
  background: #bd2e23 !important;
  color: #fff !important;
  border-radius: 2px !important;
  font: 800 19px/1 Arial, sans-serif !important;
  letter-spacing: 0 !important;
  text-align: center;
}
body .pzf-mag-home .pzf-mag-topic-rail--tags .pzf-mag-topic-rail__symbol {
  background: #354254 !important;
}
body .pzf-mag-home .pzf-mag-topic-rail__scroll {
  display: flex !important;
  align-items: center !important;
  gap: 0 !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
  white-space: nowrap !important;
  scrollbar-width: none !important;
  scroll-snap-type: x proximity !important;
  overscroll-behavior-inline: contain !important;
  padding: 0 12px 0 0 !important;
  min-height: 56px !important;
}
body .pzf-mag-home .pzf-mag-topic-rail__scroll::-webkit-scrollbar { display: none; }
body .pzf-mag-home .pzf-mag-topic-rail__scroll a {
  display: inline-flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  scroll-snap-align: start;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  margin: 0 !important;
  min-height: 56px !important;
  padding: 12px 19px !important;
  color: var(--mag-fg) !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: .055em !important;
  font: 750 12px/1.25 var(--pzf-interface-font, Arial, sans-serif) !important;
  white-space: nowrap !important;
  transition: color .15s ease, background .15s ease;
}
body .pzf-mag-home .pzf-mag-topic-rail__scroll a:is(:hover, :focus-visible) {
  background: rgba(200, 45, 34, .075) !important;
  color: #c42f24 !important;
  text-decoration: none !important;
  outline-offset: -3px;
}
body .pzf-mag-home .pzf-mag-topic-rail--tags .pzf-mag-topic-rail__scroll a {
  text-transform: none !important;
}

/* New gallery treatment: camera watermark stays; one diagonal CTA arrow. */
body .pzf-mag-photo .pzf-photo-carousel__image-meta,
body .pzf-mag-photo .pzf-photo-carousel__cta,
body .pzf-mag-photo .pzf-photo-carousel__count {
  display: none !important;
}
body .pzf-mag-photo .pzf-photo-carousel__open-arrow {
  position: absolute !important;
  z-index: 6 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  right: 13px !important;
  bottom: 14px !important;
  width: 43px !important;
  height: 43px !important;
  background: #cf281c !important;
  color: #fff !important;
  border-radius: 1px !important;
  border: 1px solid rgba(255,255,255,.22) !important;
  box-shadow: 0 6px 24px rgba(0,0,0,.32) !important;
  font: 800 28px/1 Arial, sans-serif !important;
  transition: background .18s ease, transform .18s ease;
}
body .pzf-mag-photo .pzf-photo-carousel__slide:is(:hover, :focus-within) .pzf-photo-carousel__open-arrow {
  background: #a81e15 !important;
  transform: translate(2px, -2px);
}
@media(max-width:767px){
  body .pzf-mag-home .pzf-mag-topic-rail {
    min-height: 50px !important;
    gap: 6px !important;
    padding-left: 10px !important;
    margin: 12px 0 20px !important;
  }
  body .pzf-mag-home .pzf-mag-topic-rail--tags {margin-bottom: 24px !important;}
  body .pzf-mag-home .pzf-mag-topic-rail__symbol {
    flex-basis: 25px !important;
    width: 25px !important;
    height: 25px !important;
    min-width: 25px !important;
    font-size: 17px !important;
  }
  body .pzf-mag-home .pzf-mag-topic-rail__scroll {
    min-height: 48px !important;
    padding-right: 8px !important;
  }
  body .pzf-mag-home .pzf-mag-topic-rail__scroll a {
    font-size: 11px !important;
    padding: 10px 13px !important;
    min-height: 48px !important;
  }
  body .pzf-mag-photo .pzf-photo-carousel__open-arrow {
    width: 39px !important;
    height: 39px !important;
    font-size: 25px !important;
    right: 10px !important;
    bottom: 11px !important;
  }
}
@media(prefers-reduced-motion: reduce){
  body .pzf-mag-photo .pzf-photo-carousel__open-arrow {transition:none!important;}
}
