/* prinPopesti homepage v2 */
.pph {
  --ink: #16181d;
  --muted: #5d6470;
  --line: #ebe6dc;
  --bg: #ffffff;
  --bg-alt: #faf7f1;
  --accent: #f5a000;
  --accent-ink: #1a1300;
  --accent-soft: #fff4dc;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(22,24,29,.04), 0 8px 24px rgba(22,24,29,.06);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
.pph *, .pph *::before, .pph *::after { box-sizing: border-box; }
.pph a { color: inherit; text-decoration: none; }
.pph img { display: block; max-width: 100%; height: auto; }
.pph h1, .pph h2, .pph h3 { color: var(--ink); margin: 0; letter-spacing: -.02em; font-weight: 700; }
.pph h2 { font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.pph-section h2::after { content: ""; display: block; width: 40px; height: 4px; margin-top: 10px; border-radius: 4px; background: linear-gradient(90deg, var(--accent), #e0603a); }
.pph-about h2::after { display: none; }
.pph p { margin: 0; }
.pph ul { list-style: none; margin: 0; padding: 0; }
.pph-wrap { max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.pph-narrow { max-width: 820px; }
.pph-section { padding: 64px 0; }
.pph-alt { background: var(--bg-alt); }
.pph-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.pph-sub { color: var(--muted); margin-top: 6px; }
.pph-more, .pph-link { color: #a86b00 !important; font-weight: 600; white-space: nowrap; }
.pph-more:hover, .pph-link:hover { text-decoration: underline !important; }
.pph-ic { flex: none; }

/* Hero */
.pph-hero { padding: 120px 0 40px; background:
  radial-gradient(900px 400px at 85% 0%, #fff1cc 0%, rgba(255,241,204,0) 70%),
  linear-gradient(180deg, #fffaf0 0%, #fff 100%); }
.pph-hero-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center; }
.pph-eyebrow { display: inline-block; font-size: 13px; font-weight: 600; color: #8a5a00; background: var(--accent-soft); border: 1px solid #ffe2a3; padding: 5px 12px; border-radius: 999px; margin-bottom: 18px !important; }
.pph h1 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.08; letter-spacing: -.03em; }
.pph-lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); margin-top: 18px !important; max-width: 560px; }

.pph-search { display: flex; align-items: center; gap: 8px; margin-top: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 6px 6px 6px 16px; box-shadow: var(--shadow); max-width: 600px; }
.pph-search:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(245,160,0,.18), var(--shadow); }
.pph-search svg { color: var(--muted); flex: none; }
.pph .pph-search input { flex: 1; min-width: 0; border: 0 !important; outline: 0; background: transparent !important; box-shadow: none !important; font-size: 16px; height: 48px; padding: 0 4px !important; margin: 0; color: var(--ink); }
.pph-search button, .pph-btn { appearance: none; border: 0; cursor: pointer; background: var(--accent); color: var(--accent-ink) !important; font-weight: 700; font-size: 16px; padding: 0 24px; height: 48px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; transition: background .15s, transform .15s; }
.pph-search button:hover, .pph-btn:hover { background: #ffb21f; }
.pph-search button:active, .pph-btn:active { transform: translateY(1px); }

.pph-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px !important; height: 40px; overflow: hidden; padding: 2px !important; margin-left: -2px !important; max-width: 604px; }
.pph-chips li { flex: 1 1 auto; display: flex; }
.pph-chips a { flex: 1; justify-content: center; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; font-size: 14px; padding: 6px 14px 6px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); transition: border-color .15s, background .15s, color .15s; }
.pph-chips .pph-ic { width: 16px; height: 16px; color: #c98a00; }
.pph-chips a:hover { border-color: var(--accent); background: var(--accent-soft); color: #7a4d00; }

.pph-hero-art { position: relative; height: 440px; }
.pph-tile { position: absolute; overflow: hidden; border-radius: 20px; box-shadow: 0 20px 40px rgba(22,24,29,.14); background: #eee; }
.pph-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pph-tile:hover img { transform: scale(1.04); }
.pph-tile span { position: absolute; left: 12px; bottom: 12px; right: 12px; color: #fff; font-weight: 600; font-size: 14px; text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.pph-tile::after { content: ""; position: absolute; inset: 50% 0 0; background: linear-gradient(transparent, rgba(0,0,0,.55)); pointer-events: none; }
.pph-tile span { z-index: 1; }
.pph-tile-0 { left: 0; top: 30px; width: 58%; height: 300px; }
.pph-tile-1 { right: 0; top: 0; width: 38%; height: 200px; }
.pph-tile-2 { right: 6%; bottom: 0; width: 46%; height: 210px; }

.pph-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 48px 0 0; }
.pph-stats > div { --t: #f5a000; --tb: #fff4dc; position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.pph-stats > div::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--t); }
.pph-stats > div::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: var(--tb); opacity: .7; transition: transform .3s; }
.pph-stats > div:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--tb); }
.pph-stats > div:hover::after { transform: scale(1.25); }
.pph-stats > div:nth-child(2) { --t: #1e9e8a; --tb: #dcf5f0; }
.pph-stats > div:nth-child(3) { --t: #e0603a; --tb: #fde6dd; }
.pph-stats > div:nth-child(4) { --t: #6d5bd0; --tb: #ebe7fb; }
.pph-stat-ic { grid-row: 1 / 3; position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 12px; background: var(--tb); color: var(--t); }
.pph-stats dt { position: relative; z-index: 1; font-size: 13px; color: var(--muted); font-weight: 500; }
.pph-stats dd { position: relative; z-index: 1; margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }

/* Categories */
.pph-cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.pph-cats a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s; height: 100%; }
.pph-cats a:hover { border-color: #ffd27a; box-shadow: var(--shadow); transform: translateY(-1px); }
.pph-cats li { --t: #b87800; --tb: #fff4dc; }
.pph-cats li:nth-child(4n+2) { --t: #17806f; --tb: #dcf5f0; }
.pph-cats li:nth-child(4n+3) { --t: #c24a26; --tb: #fde6dd; }
.pph-cats li:nth-child(4n+4) { --t: #5b49c0; --tb: #ebe7fb; }
.pph-cats .pph-ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--tb); color: var(--t); transition: background .2s, color .2s, transform .2s; }
.pph-cats a:hover .pph-ic { background: var(--t); color: #fff; transform: rotate(-6deg); }
.pph-cat-name { flex: 1; min-width: 0; overflow-wrap: break-word; font-weight: 600; font-size: 15px; line-height: 1.3; }
.pph-cat-n { font-size: 13px; color: var(--muted); background: var(--bg-alt); padding: 2px 8px; border-radius: 999px; }

/* Cards */
.pph-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pph-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pph-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.pph-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.pph-card-media { position: relative; display: block; aspect-ratio: 3 / 2; background: var(--bg-alt); overflow: hidden; }
.pph-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.pph-card:hover .pph-card-media img { transform: scale(1.05); }
.pph-card-ph { display: block; width: 100%; height: 100%; }
.pph-card-ph .pph-ic { width: 44px; height: 44px; }
.pph-badge { position: absolute; top: 10px; left: 10px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: #fff; }
.pph-open { color: #0f7a3d; }
.pph-open::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #1db954; margin-right: 6px; vertical-align: 1px; }
.pph-closed { color: var(--muted); }
.pph-card-body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.pph-card-cat { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: #a86b00; }
.pph-card-title { font-size: 17px !important; line-height: 1.3; }
.pph-card-title a:hover { color: #a86b00; }
.pph-card-addr { display: flex; gap: 6px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.pph-card-addr svg { flex: none; margin-top: 4px; }
.pph-card-rating { font-size: 14px; font-weight: 600; }
.pph-card-rating span[aria-hidden] { color: var(--accent); }
.pph-card-rating span:last-child { color: var(--muted); font-weight: 400; }

/* Utile + about */
.pph-util-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; }
.pph-util { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 24px !important; }
.pph-util a { display: flex; gap: 14px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s; }
.pph-util a:hover { border-color: #ffd27a; background: #fffcf5; }
.pph-util .pph-ic { width: 40px; height: 40px; padding: 9px; border-radius: 10px; background: var(--bg-alt); color: var(--ink); transition: background .2s, color .2s; }
.pph-util a:hover .pph-ic { background: var(--accent); color: var(--accent-ink); }
.pph-util strong { display: block; font-size: 15px; }
.pph-util small { display: block; font-size: 13px; color: var(--muted); }
.pph-about { background: var(--bg-alt); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pph-about h2 { font-size: 22px; }
.pph-about p { color: var(--muted); margin-top: 12px; }
.pph-lead, .pph-about p, .pph-post p, .pph-faq details p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.pph-about ul { margin: 18px 0 !important; border-top: 1px solid var(--line); }
.pph-about li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pph-about li span { color: var(--muted); }

/* Air quality */
.pph-aq { --l0: #3fbfb3; --l1: #5cb87a; --l2: #e3c51c; --l3: #f0643c; --l4: #b0213f; --l5: #7d2181; --lna: #b9bec7; }
.pph-aq .lvl-0 { --lv: var(--l0); } .pph-aq .lvl-1 { --lv: var(--l1); } .pph-aq .lvl-2 { --lv: var(--l2); }
.pph-aq .lvl-3 { --lv: var(--l3); } .pph-aq .lvl-4 { --lv: var(--l4); } .pph-aq .lvl-5 { --lv: var(--l5); } .pph-aq .lvl-na { --lv: var(--lna); }
.pph-aq { background: radial-gradient(700px 300px at 100% 0%, rgba(63,191,179,.12), transparent 70%), linear-gradient(180deg, #f3faf9 0%, #fff 100%); }
.pph-aq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 20px; align-items: stretch; }
.pph-aq-side { display: flex; flex-direction: column; gap: 14px; }
.pph-aq-side > * { flex: 1; }
.pph-aq-kicker { font-size: 12px !important; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.pph-aq-now { display: flex; gap: 14px; align-items: flex-start; margin: 0; padding: 18px; background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--lv); border-radius: 14px; }
.pph-aq-now .pph-aq-dot { width: 14px; height: 14px; margin-top: 6px; box-shadow: 0 0 0 5px color-mix(in srgb, var(--lv) 22%, transparent); }
.pph-aq-now strong { display: block; font-size: 20px; }
.pph-aq-now span { display: block; color: var(--muted); font-size: 14px; }
.pph-aq-now small { display: block; margin-top: 6px; font-size: 14px; }
.pph-aq-dot { display: inline-block; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--lv); }
.pph-aq-iar { display: flex; gap: 12px; align-items: center; padding: 14px 16px; margin: 0; border-radius: 14px; background: linear-gradient(120deg, #fff1d6, #ffe4cf); border: 1px solid #ffd9a8; transition: transform .15s, box-shadow .15s; }
.pph-aq-iar:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.pph-aq-iar-ic { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; flex: none; border-radius: 12px; background: #fff; color: #c24a26; }
.pph-aq-iar strong { display: block; font-size: 15px; }
.pph-aq-iar small { display: block; font-size: 14px; color: #a3401f; font-weight: 600; }
.pph-aq-table { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow-x: auto; box-shadow: var(--shadow); }
.pph .pph-aq-table table { flex: 1; width: 100%; margin: 0; border: 0; border-collapse: collapse; font-size: 15px; }
.pph .pph-aq-table th, .pph .pph-aq-table td { padding: 13px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; background: transparent; }
.pph .pph-aq-table thead th { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: #1f6f68; border-bottom: 0; }
.pph .pph-aq-table tbody th { font-weight: 600; }
.pph .pph-aq-table td:nth-child(3), .pph .pph-aq-table td:nth-child(4), .pph .pph-aq-table thead th:nth-child(3), .pph .pph-aq-table thead th:nth-child(4) { text-align: right; font-variant-numeric: tabular-nums; }
.pph .pph-aq-table td:nth-child(3) { font-weight: 700; }
.pph .pph-aq-table td:last-child { color: var(--muted); font-size: 14px; }
.pph .pph-aq-table tbody tr { transition: background .15s; }
.pph .pph-aq-table tbody tr:hover { background: #fffcf5; }
.pph-aq-pill { display: inline-flex; align-items: center; gap: 7px; padding: 3px 10px 3px 8px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in srgb, var(--lv) 16%, #fff); }
.pph-aq-note { margin-top: auto !important; padding: 12px 16px; font-size: 13px; color: var(--muted); }
.pph-aq-note a { text-decoration: underline !important; }

/* CTA */
.pph-cta { padding: 56px 0 8px; }
.pph-cta-in { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 24px; border: 1px solid #ffe2a3; border-radius: 20px; padding: 36px 40px;
  background: radial-gradient(260px 160px at 92% 10%, rgba(245,160,0,.28), transparent 70%), radial-gradient(220px 140px at 4% 100%, rgba(224,96,58,.14), transparent 70%), linear-gradient(120deg, #fff7e6, #fff1d6); }
.pph-cta-in > div { position: relative; }
@media (max-width: 1240px) { .pph-cta-in { margin: 0 20px; } }
@media (max-width: 760px) { .pph-cta-in { margin: 0 16px; } }
.pph-cta p { color: #6b5a3e; margin-top: 6px; }
.pph-cta .pph-btn { flex: none; position: relative; gap: 8px; box-shadow: 0 6px 18px rgba(245,160,0,.35); }
.pph-cta .pph-btn span { transition: transform .2s; }
.pph-cta .pph-btn:hover span { transform: translateX(3px); }

/* Posts */
.pph-post { display: flex; flex-direction: column; gap: 8px; }
.pph-post-media { display: flex !important; align-items: center; justify-content: center; border-radius: 14px; aspect-ratio: 5 / 3; overflow: hidden; background: var(--accent-soft); color: #d9a640; margin-bottom: 6px; }
.pph-post-media .pph-ic { width: 44px; height: 44px; }
.pph-post img { object-fit: cover; width: 100%; height: 100%; }
.pph-post time { font-size: 13px; color: var(--muted); }
.pph-post h3 { font-size: 19px; line-height: 1.3; }
.pph-post h3 a:hover { color: #a86b00; }
.pph-post p { color: var(--muted); font-size: 15px; }

/* FAQ */
.pph-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 40px; align-items: start; }
.pph-faq-intro { position: sticky; top: 96px; }
.pph-faq { border-top: 1px solid var(--line); }
.pph-faq details { border-bottom: 1px solid var(--line); }
.pph-faq summary { cursor: pointer; list-style: none; padding: 20px 36px 20px 0; font-weight: 600; font-size: 17px; position: relative; transition: color .15s; }
.pph-faq summary:hover, .pph-faq details[open] summary { color: #8a5a00; }
.pph-faq summary::-webkit-details-marker { display: none; }
.pph-faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 400; color: var(--muted); }
.pph-faq details[open] summary::after { content: "–"; }
.pph-faq details p { color: var(--muted); padding: 0 0 20px; }

.pph a:focus-visible, .pph button:focus-visible, .pph summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 8px; }

/* Responsive */
@media (max-width: 1024px) {
  .pph-hero-grid { grid-template-columns: minmax(0, 1fr); }
  .pph-hero-art { display: none; }
  .pph-cats, .pph-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pph-util-grid, .pph-faq-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .pph-faq-intro { position: static; }
  .pph-aq-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .pph-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .pph-section { padding: 44px 0; }
  .pph-wrap { padding: 0 16px; }
  .pph-hero { padding: 84px 0 28px; }
  .pph-search { padding-left: 12px; }
  .pph-search button { padding: 0 16px; }
  .pph-stats { gap: 10px; margin-top: 28px; }
  .pph-stats > div { padding: 12px; column-gap: 10px; }
  .pph-stat-ic { width: 38px; height: 38px; }
  .pph-stats dt { font-size: 12px; }
  .pph-stats dd { font-size: 20px; }
  .pph-stats > div::after { width: 56px; height: 56px; right: -22px; top: -22px; }
  .pph-lead { text-align: left; }
  .pph .pph-aq-table th, .pph .pph-aq-table td { padding: 11px 10px; font-size: 14px; }
  .pph-cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .pph-cats a { padding: 12px; gap: 10px; }
  .pph-cats .pph-ic { width: 34px; height: 34px; padding: 7px; }
  .pph-cat-name { font-size: 14px; }
  .pph-cat-n { display: none; }
  .pph-grid, .pph-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pph-card-body { padding: 10px 12px 14px; }
  .pph-card-title { font-size: 15px !important; }
  .pph-card-addr { display: none; }
  .pph-util { grid-template-columns: minmax(0, 1fr); }
  .pph-cta-in { flex-direction: column; align-items: flex-start; padding: 28px 24px; }
  .pph-grid-3 { grid-template-columns: minmax(0, 1fr); }
  .pph-head { align-items: flex-start; flex-wrap: wrap; }
  .pph-head > div { flex: 1 1 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .pph * { transition: none !important; }
}

/* Category placeholder image */
.pph-ph-svg { display: block; width: 100%; height: 100%; }

.pph-aq-now .pph-aq-place { display: inline-flex !important; align-items: center; gap: 5px; margin: 4px 0 6px; padding: 3px 10px 3px 8px; border-radius: 999px; background: #dcf5f0; color: #17806f !important; font-size: 13px !important; font-weight: 700; }
.pph-aq-place svg { flex: none; }
