/* =========================================================
   PH News Network — shared network styles
   Used by every publication for the network bar, content
   labels and disclosure boxes, so they look the same
   everywhere. Each publication's own look lives in its
   own /<publication>/assets/style.css.
   ========================================================= */

.net-bar {
  background: #0b1f3a; color: #dbe4f3; font: 600 12px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: .02em;
}
.net-bar .net-in { max-width: 1200px; margin: 0 auto; padding: 7px 20px; display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.net-bar a { color: #fff; text-decoration: none; }
.net-bar a:hover { color: #fcd116; text-decoration: underline; }
.net-bar .net-name { display: inline-flex; align-items: center; gap: 6px; }
.net-bar .net-name svg { width: 16px; height: 16px; }
.net-bar .net-links { margin-left: auto; display: flex; gap: 14px; flex-wrap: wrap; }

/* Content-type labels: identical across the network */
.label {
  display: inline-block; font: 800 11px/1.2 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: .06em; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; vertical-align: middle;
}
.label--report { background: #1d4ed8; color: #fff; }
.label--opinion { background: #6d28d9; color: #fff; }
.label--press { background: #fcd116; color: #1f2937; }
.label--sponsored { background: #c2410c; color: #fff; }
.label--syndicated { background: #475569; color: #fff; }

.disclosure-box {
  font: 400 14px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  border-radius: 8px; padding: 14px 16px; margin: 18px 0; border: 1px solid; color: #1f2937;
}
.disclosure-box > strong:first-child { display: block; margin-bottom: 2px; }
.disclosure-box a { color: inherit; text-decoration: underline; }
.disclosure--report { background: #eff6ff; border-color: #93c5fd; }
.disclosure--opinion { background: #f5f3ff; border-color: #c4b5fd; }
.disclosure--press { background: #fffbeb; border-color: #fcd34d; }
.disclosure--sponsored { background: #fff7ed; border-color: #fdba74; }
.disclosure--syndicated { background: #f1f5f9; border-color: #94a3b8; }

/* Network affiliation block in every publication footer */
.net-affil {
  font: 400 13px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  border-top: 1px solid rgba(127,127,127,.35); margin-top: 22px; padding-top: 16px;
}
.net-affil a { color: inherit; text-decoration: underline; }
.net-affil ul { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }

.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fcd116; color: #111; padding: 10px 14px; border-radius: 6px; font-weight: 700; }
.skip-link:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
:focus-visible { outline: 3px solid #fcd116; outline-offset: 2px; }

@media (max-width: 640px) {
  .net-bar .net-links { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* Press releases section on every publication homepage */
.net-press { margin: 40px 0 8px; }
.net-press__title { font-size: 1.35rem; margin: 0; }
.net-press__note { margin: 4px 0 16px; font-size: .9rem; opacity: .75; }
.net-press__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.net-press__card { display: flex; flex-direction: column; color: inherit; text-decoration: none;
  border: 1px solid color-mix(in srgb, currentColor 18%, transparent); border-radius: 10px; overflow: hidden; }
.net-press__card:hover .net-press__h { text-decoration: underline; }
.net-press__img { display: block; aspect-ratio: 16/9; overflow: hidden; background: color-mix(in srgb, currentColor 8%, transparent); }
.net-press__img img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.net-press__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 18px; align-items: flex-start; }
.net-press__h { font-weight: 700; font-size: 1.05rem; line-height: 1.3; }
.net-press__dek { font-size: .92rem; line-height: 1.5; opacity: .85; }
@media (max-width: 860px) { .net-press__grid { grid-template-columns: 1fr; } }
