/* SULYAP — Isang Probinsya Kada Linggo (October 2026). Own file so it never conflicts with
   style.css / sulyap-features.css edits elsewhere. Builds on the .ksy-* (Kasaysayan) styles. */

/* ── Feature page ─────────────────────────────────────────── */
.lg-hero { margin: 4px 0 16px; border-radius: 12px; overflow: hidden; background: #1b1b1b; }
.lg-hero img { display: block; width: 100%; max-height: 380px; object-fit: cover; }
.lg-hero figcaption { font-size: 11.5px; color: rgba(255,255,255,0.55); padding: 6px 12px 8px; }
.lg-fil { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.8); margin: -6px 0 16px;
  padding-left: 12px; border-left: 3px solid #CE1126; }
.lg-why { background: rgba(252,209,22,0.08); border: 1px solid rgba(252,209,22,0.4); border-radius: 12px;
  padding: 12px 16px; margin: 0 0 20px; }
.lg-why-head, .lg-section-head, .lg-archive-head { font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #FCD116; margin-bottom: 6px; }
.lg-why p { margin: 0; font-size: 14.5px; line-height: 1.6; color: #fff; }
.lg-why-src { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,0.6); }
.lg-why-src a, .ksy-source a, .lg-facts-note a { color: #FCD116; }
.lg-body { margin-bottom: 8px; }
.lg-section-head { margin-top: 26px; margin-bottom: 10px; }
.lg-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px; }
.lg-fact { background: #1b1b1b; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 10px 12px; }
.lg-fact-k { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.5); font-weight: 700; }
.lg-fact-v { display: block; font-size: 15px; font-weight: 700; color: #fff; margin-top: 3px; }
.lg-facts-note { font-size: 12px; color: rgba(255,255,255,0.5); margin: 8px 0 0; }
.lg-trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-top: 26px; }
.lg-trio-card { background: #1b1b1b; border: 1px solid rgba(255,255,255,0.12); border-top: 3px solid #0038A8;
  border-radius: 10px; padding: 12px 14px; }
.lg-trio-k { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #FCD116; }
.lg-trio-date { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 6px; }
.lg-trio-title { font-size: 15.5px; font-weight: 700; color: #fff; margin-top: 4px; }
.lg-trio-card p { font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.78); margin: 6px 0 0; }
.lg-related a.lg-rel-main { background: #FCD116; color: #121212; }

/* ── Archive ──────────────────────────────────────────────── */
.lg-current { display: flex; flex-direction: column; text-decoration: none; color: #fff; background: #1b1b1b;
  border: 2px solid rgba(252,209,22,0.7); border-radius: 14px; overflow: hidden; margin: 6px 0 24px; }
.lg-current-img { display: block; height: 190px; background-size: cover; background-position: center; }
.lg-current-body { display: block; padding: 14px 18px 16px; }
.lg-kicker { display: block; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: #FCD116; }
.lg-current-title { display: block; font-size: 24px; font-weight: 700; margin-top: 4px; }
.lg-current-dek { display: block; font-size: 14.5px; color: rgba(255,255,255,0.72); margin-top: 4px; font-family: Georgia, serif; font-style: italic; }
.lg-current-cta { display: inline-block; margin-top: 10px; font-size: 13px; font-weight: 700; color: #FCD116; }

/* ── Province page chip ───────────────────────────────────── */
.lg-chip { display: inline-block; margin-top: 10px; font-size: 12px; font-weight: 700; text-decoration: none;
  color: #FCD116; background: rgba(0,0,0,0.35); border: 1px solid rgba(252,209,22,0.6); border-radius: 16px; padding: 6px 12px; }
.lg-chip-now { background: #FCD116; color: #121212; border-color: #FCD116; }
.lg-chip:hover { filter: brightness(1.08); }

/* ── Home map: pill (above the bottom nav) ────────────────── */
.lg-pill { position: absolute; left: 50%; bottom: 52px; transform: translateX(-50%); z-index: 420;
  display: flex; align-items: center; max-width: calc(100% - 24px);
  background: rgba(10,10,10,0.88); border: 1.5px solid #FCD116; border-radius: 22px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.5); }
.lg-pill[hidden] { display: none; }
.lg-pill-link { display: block; padding: 8px 4px 8px 14px; color: #fff; text-decoration: none; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lg-pill-link strong { color: #FCD116; }
.lg-pill-star { color: #FCD116; }
.lg-pill-x { flex: 0 0 auto; background: transparent; border: none; color: rgba(255,255,255,0.6); font-size: 20px;
  line-height: 1; padding: 6px 12px 8px 8px; cursor: pointer; }
.lg-pill-x:hover { color: #fff; }
/* When the mobile name bar slides up after a tap, it owns the bottom of the map */
.province-name-bar.visible ~ .lg-pill { display: none; }
@media (max-width: 380px) { .lg-pill-k { display: none; } }

/* ── Home map: gold outline (a non-interactive copy of the shape, drawn on top) ── */
#ph-map svg .lg-ring,
#ph-map svg path.lg-ring,
#ph-map svg .lg-ring path,
#ph-map svg .lg-ring polygon {
  fill: none !important;
  stroke: #FCD116 !important;
  stroke-width: 3px !important;
  stroke-linejoin: round;
  pointer-events: none !important;
  vector-effect: non-scaling-stroke;
  animation: lg-pulse 2.4s ease-in-out infinite;
}
@keyframes lg-pulse { 0%, 100% { stroke-opacity: 1; } 50% { stroke-opacity: 0.55; } }
@media (prefers-reduced-motion: reduce) {
  #ph-map svg .lg-ring, #ph-map svg path.lg-ring, #ph-map svg .lg-ring path { animation: none; }
}

/* Panahon ng Hapon cards for this province (compact list under the related links) */
.lg-pan { margin-top: 14px; background: #1b1b1b; border: 1px solid rgba(255,255,255,0.12); border-radius: 10px; padding: 10px 14px; }
.lg-pan-head { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: rgba(255,255,255,0.55); margin-bottom: 6px; }
.lg-pan ul { list-style: none; margin: 0; padding: 0; }
.lg-pan li { border-top: 1px solid rgba(255,255,255,0.06); }
.lg-pan li:first-child { border-top: none; }
.lg-pan a { display: block; padding: 6px 0; color: #fff; text-decoration: none; font-size: 13.5px; }
.lg-pan a:hover { color: #FCD116; }
.lg-pan-q { display: inline-block; min-width: 150px; font-size: 11.5px; color: #FCD116; font-weight: 700; }
@media (max-width: 480px) { .lg-pan-q { display: block; min-width: 0; } }
