:root {
  --pna-mf-accent: #c71920;
  --pna-mf-bg: #0c0c0d;
  --pna-mf-surface: #fff;
  --pna-mf-header: 58px;
  --pna-mf-nav: 58px;
}

html.pna-mf-active,
html.pna-mf-active body {
  overflow: hidden !important;
  overscroll-behavior: none;
}

.pna-mf,
.pna-mf * {
  box-sizing: border-box;
}

.pna-mf .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.pna-mf {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  display: grid;
  grid-template-rows: var(--pna-mf-header) minmax(0, 1fr) var(--pna-mf-nav);
  width: 100%;
  height: 100dvh;
  color: #111;
  background: var(--pna-mf-bg);
  font-family: Arial, Helvetica, sans-serif;
}

.pna-mf__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 16px;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(0,0,0,.08);
  z-index: 3;
}

.pna-mf__brand { min-width: 0; font-weight: 800; font-size: 20px; }
.pna-mf__brand a { color: #111; text-decoration: none; }
.pna-mf__brand .custom-logo-link { display: flex; align-items: center; max-width: 100%; height: 42px; }
.pna-mf__brand .custom-logo { width: auto; max-width: min(278px, 100%); height: auto !important; max-height: 38px; object-fit: contain; }

.pna-mf__viewport {
  position: relative;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  overscroll-behavior-y: contain;
  scrollbar-width: none;
  background: var(--pna-mf-bg);
}
.pna-mf__viewport::-webkit-scrollbar { display: none; }
.pna-mf__items { min-height: 100%; }

.pna-mf-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(42%, 58%) minmax(0, 1fr);
  width: 100%;
  height: calc(100dvh - var(--pna-mf-header) - var(--pna-mf-nav));
  min-height: 520px;
  overflow: hidden;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background: var(--pna-mf-surface);
}

.pna-mf-card__media { position: relative; display: block; min-height: 0; overflow: hidden; background: #252528; }
.pna-mf-card__media-link { position: absolute; inset: 0; display: block; }
.pna-mf-card__image { width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; transition: transform .5s ease; }
.pna-mf-card__shade { position: absolute; inset: auto 0 0; height: 35%; background: linear-gradient(transparent, rgba(0,0,0,.36)); pointer-events: none; }
.pna-mf-card--no-image .pna-mf-card__media { background: radial-gradient(circle at 30% 20%, #a91820, #171719 70%); }
.pna-mf-card__video { position: absolute; inset: 0; z-index: 2; background: #000; opacity: 0; visibility: hidden; transition: opacity .2s ease; }
.pna-mf-card__video.is-active { opacity: 1; visibility: visible; }
.pna-mf-card__video iframe { display: block; width: 100%; height: 100%; border: 0; }

.pna-mf-card__content {
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 16px 18px 14px;
  background: #fff;
}

.pna-mf-card__meta { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; color: #777; font-size: 12px; }
.pna-mf-card__category { color: var(--pna-mf-accent); font-weight: 800; text-decoration: none; text-transform: uppercase; }
.pna-mf-card__title { margin: 0; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(24px, 7vw, 34px); line-height: 1.08; letter-spacing: -.025em; }
.pna-mf-card__title a { color: #111; text-decoration: none; }
.pna-mf-card__excerpt { display: -webkit-box; overflow: hidden; margin: 10px 0 0; color: #444; font-size: 15px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.pna-mf-card__author { margin: 8px 0 0; color: #666; font-size: 12px; font-weight: 700; }
.pna-mf-card__actions { display: flex; align-items: center; gap: 12px; margin-top: auto; padding-top: 12px; }
.pna-mf-card__read { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; color: #fff; background: var(--pna-mf-accent); border-radius: 999px; font-size: 14px; font-weight: 800; text-decoration: none; }
.pna-mf-card__share { display: flex; align-items: center; justify-content: center; gap: 7px; width: auto; min-height: 44px; margin-left: auto; padding: 0 13px; color: #111; background: #f1f1f2; border: 0; border-radius: 999px; font-size: 12px; font-weight: 800; cursor: pointer; }
.pna-mf-card__share svg { flex: none; width: 19px; height: 19px; fill: currentColor; }

.pna-mf-banner {
  position: relative;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  place-items: stretch;
  padding: 18px;
  color: #111;
  background: #f3f3f4;
	 scroll-snap-stop: normal;
	 touch-action: pan-y;
}
.pna-mf-banner__label { align-self: start; color: #777; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.pna-mf-banner__creative { display: grid; place-items: center; min-height: 0; padding: 18px 0; }
.pna-mf-banner__creative a { display: grid; place-items: center; width: 100%; height: 100%; }
.pna-mf-banner__image { display: block; width: auto; max-width: 100% !important; height: auto !important; max-height: 100%; object-fit: contain; box-shadow: 0 12px 34px rgba(0,0,0,.12); }
.pna-mf-banner__next { position: absolute; right: 16px; bottom: 16px; z-index: 2147483001; display: flex; align-items: center; justify-content: center; gap: 8px; width: auto; min-width: 46px; height: 46px; padding: 0 15px; color: #fff; background: rgba(0,0,0,.84); border: 0; border-radius: 999px; font-size: 13px; font-weight: 800; line-height: 1; cursor: pointer; touch-action: manipulation; }
.pna-mf-banner__next span[aria-hidden="true"] { font-size: 22px; }

.pna-mf-code-slot {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: 18px;
  background: #f3f3f4;
	 scroll-snap-stop: normal;
	 touch-action: pan-y;
}
.pna-mf-code-slot__host { display: grid; place-items: center; width: 100%; min-width: 0; min-height: 0; overflow: hidden; padding: 18px 0; }
.pna-mf-code-slot__host > * { max-width: 100%; }
.pna-mf-code-slot__host iframe { max-width: 100%; touch-action: pan-y; }
.pna-mf-code-slot__host .pna-mf__spinner { border-color: rgba(0,0,0,.16); border-top-color: var(--pna-mf-accent); }
.pna-mf-banner__pair { display: flex; flex-direction: column; gap: 12px; min-width: 0; min-height: 0; overflow: hidden; padding: 8px 0 54px; }
.pna-mf-banner__pair-primary { display: grid; flex: 1 1 180px; place-items: center; min-width: 0; min-height: 140px; overflow: hidden; }
.pna-mf-banner__pair-primary > .pna-mf-code-slot__host { height: 100%; padding: 0; }
.pna-mf-banner__pair-companion { display: grid; flex: 0 1 250px; place-items: center; align-self: center; width: calc(100% + 36px); min-width: 0; min-height: 0; margin-inline: -18px; overflow: hidden; }
.pna-mf-banner__pair-companion > a { display: grid; place-items: center; width: 100%; height: 100%; }
.pna-mf-banner__pair-companion .pna-mf-code-slot__host { place-items: center; height: 100%; overflow: hidden; padding: 0; }
.pna-mf-banner__pair-companion iframe { display: block; max-width: 100%; max-height: 100%; margin-inline: auto; }
.pna-mf-banner__pair-companion--image { flex-basis: auto; max-height: 48%; aspect-ratio: 6 / 5; }
.pna-mf-banner__pair-image { width: 100% !important; max-width: none !important; height: 100% !important; max-height: none; object-fit: contain; }

.pna-mf__nav { z-index: 3; background: rgba(255,255,255,.98); border-top: 1px solid rgba(0,0,0,.09); }
.pna-mf__nav-list { display: flex; align-items: stretch; justify-content: space-around; height: 100%; margin: 0 !important; padding: 0 !important; list-style: none !important; }
.pna-mf__nav-list li { display: flex; flex: 1; margin: 0 !important; }
.pna-mf__nav-list a { display: flex; align-items: center; justify-content: center; width: 100%; padding: 6px 10px; color: #555; font-size: 12px; font-weight: 700; text-decoration: none; }
.pna-mf__nav-list .current-menu-item a { color: var(--pna-mf-accent); }

.pna-mf__loader,
.pna-mf__end,
.pna-mf__empty { display: grid; place-items: center; min-height: 120px; color: #fff; background: var(--pna-mf-bg); text-align: center; }
.pna-mf__spinner { width: 28px; height: 28px; border: 3px solid rgba(255,255,255,.25); border-top-color: #fff; border-radius: 50%; animation: pna-mf-spin .7s linear infinite; }
.pna-mf__notice { position: fixed; left: 50%; bottom: calc(var(--pna-mf-nav) + 16px); z-index: 4; max-width: calc(100% - 32px); padding: 10px 16px; color: #fff; background: rgba(0,0,0,.86); border-radius: 999px; font-size: 13px; opacity: 0; pointer-events: none; transform: translate(-50%, 12px); transition: .2s ease; }
.pna-mf__notice.is-visible { opacity: 1; transform: translate(-50%, 0); }

@keyframes pna-mf-spin { to { transform: rotate(360deg); } }

@media (min-width: 768px) {
  .pna-mf { left: 50%; width: min(430px, 100%); box-shadow: 0 0 60px rgba(0,0,0,.35); transform: translateX(-50%); }
  .pna-mf::before { position: fixed; inset: 0 auto 0 50%; z-index: -1; width: 100vw; background: #e8e8ea; content: ''; transform: translateX(-50%); }
}

@media (max-height: 680px) {
  :root { --pna-mf-header: 50px; --pna-mf-nav: 52px; }
  .pna-mf-card { grid-template-rows: 48% 52%; min-height: 0; }
  .pna-mf-card__content { padding-top: 11px; }
  .pna-mf-card__title { font-size: 23px; }
  .pna-mf-card__excerpt { margin-top: 6px; font-size: 13px; -webkit-line-clamp: 2; }
  .pna-mf-card__actions { padding-top: 7px; }
}

@media (prefers-reduced-motion: reduce) {
  .pna-mf__viewport { scroll-behavior: auto; }
  .pna-mf-card__image, .pna-mf-card__video, .pna-mf__notice { transition: none; }
}
