/* PH News Report — PH News Network publication. Layout: magazine. Edit the variables to re-theme. */
:root { --c1: #0038a8; --c2: #ce1126; --bg: #f7f8fb; --ink: #111827; --muted: #6b7280; --line: rgba(0,0,0,.12); --card: #fff;
  --head: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; --wrap: 1180px; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--body); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--c1); }
h1, h2, h3 { font-family: var(--head); line-height: 1.2; margin: 0; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--head); font-weight: 900; }
.brand img { width: 40px; height: 40px; }
.menu-btn { display: none; border: 1px solid var(--line); background: transparent; color: inherit; border-radius: 8px; width: 42px; height: 42px; cursor: pointer; font-size: 20px; }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.cat-nav a { font-weight: 700; font-size: .9rem; }
.cat-nav a[aria-current="page"] { color: var(--c1); text-decoration: underline; text-underline-offset: 5px; }
.thumb { aspect-ratio: 16/9; overflow: hidden; border-radius: 6px; background: var(--c1); }
.thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.meta { font-size: .8rem; color: var(--muted); }
.kicker { font: 800 .75rem/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; color: var(--c1); text-transform: uppercase; letter-spacing: .06em; }
.story h3 { margin: 8px 0 6px; }
.story p { color: #374151; font-size: .95rem; }
.labels { display: flex; gap: 6px; flex-wrap: wrap; }
.section-title { font-size: 1.2rem; margin: 34px 0 14px; display: flex; align-items: center; gap: 10px; }
.section-title::after { content: ""; flex: 1; height: 2px; background: var(--line); }
.cat-block { scroll-margin-top: 20px; }
/* Article page */
.article { max-width: 760px; margin: 30px auto 10px; background: var(--card); padding: 34px; border-radius: 10px; box-shadow: 0 2px 14px rgba(0,0,0,.06); }
.article h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin: 12px 0; }
.article .dek { font-size: 1.12rem; color: #4b5563; }
.article .byline { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin: 18px 0; font-size: .9rem; }
.article figure { margin: 0 0 20px; }
.article figure img { width: 100%; max-height: 560px; object-fit: cover; object-position: center 20%; border-radius: 6px; }
.article figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.article .body p { margin: 0 0 1.1em; font-size: 1.1rem; line-height: 1.75; }
.crumbs { font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--c1); text-decoration: underline; }
.prose { max-width: 820px; margin: 30px auto; background: var(--card); padding: 34px; border-radius: 10px; }
.prose h1 { font-size: 2rem; margin-bottom: 14px; }
.prose h2 { font-size: 1.2rem; margin: 26px 0 8px; }
.prose p, .prose li { margin-bottom: .7em; color: #374151; }
.prose a { color: var(--c1); text-decoration: underline; }
/* Footer */
.pub-footer { background: var(--ink); color: #e5e7eb; margin-top: 50px; padding: 36px 0 26px; font-size: .9rem; }
.pub-footer a:hover { color: var(--c2); }
.pub-footer .cols { display: flex; flex-wrap: wrap; gap: 26px 60px; }
.pub-footer h2 { font-size: 1rem; color: #fff; margin-bottom: 8px; }
.pub-footer ul { list-style: none; padding: 0; margin: 0; }
.pub-footer li { margin-bottom: 6px; }
.pub-footer .brand { color: #fff; font-size: 1.3rem; }

/* ---- Layout: magazine grid ---- */
.pub-header { background: #fff; box-shadow: 0 1px 0 var(--line); }
.pub-header .top { display: flex; align-items: center; gap: 22px; padding: 16px 20px; max-width: var(--wrap); margin: 0 auto; }
.pub-header .brand { font-size: 1.6rem; color: var(--c1); }
.pub-header .tag { color: var(--muted); font-size: .85rem; }
.cat-nav { margin-left: auto; }
.cat-nav a { padding: 6px 12px; border-radius: 999px; background: rgba(0,0,0,.04); }
.cat-nav a:hover { background: var(--c1); color: #fff; }
.hero-mag { margin-top: 26px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 30px; align-items: center; background: var(--c1); color: #fff; border-radius: 22px; padding: 30px; }
.hero-mag .thumb { border-radius: 16px; }
.hero-mag h3 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
.hero-mag p { color: rgba(255,255,255,.88); }
.hero-mag .kicker { color: var(--c2); }
.hero-mag a:hover { color: var(--c2); }
.mag { columns: 3 280px; column-gap: 20px; }
.mag .story { break-inside: avoid; background: #fff; border-radius: 16px; overflow: hidden; margin-bottom: 20px; box-shadow: 0 4px 18px rgba(0,0,0,.06); }
.mag .story .inner { padding: 16px; }
.mag .story .thumb { border-radius: 0; }
.mag .story:nth-child(2n) .thumb { aspect-ratio: 4/5; }
.mag h3 { font-size: 1.15rem; }
.lead, .grid { display: none; }
.article { border-radius: 22px; }
@media (max-width: 860px) { .hero-mag { grid-template-columns: 1fr; } .pub-header .tag { display: none; } }
@media (max-width: 640px) { .pub-header .top { flex-wrap: wrap; } .menu-btn { display: inline-block; margin-left: auto; } .cat-nav { display: none; flex-basis: 100%; margin: 0; } .cat-nav.open { display: block; } }
