/* PowerProof Home - tools, forms, and directory cards. Uses theme tokens with fallbacks. */
.pph-tool { background: var(--sand-2, #f4f7fa); border: 1px solid var(--line, #d9e2ec); border-radius: 18px; padding: clamp(18px, 3vw, 32px); margin: 24px 0 40px; }
.pph-intro { font-size: 1.05rem; color: var(--slate, #475467); }
.pph-form { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .pph-form { grid-template-columns: 1fr 1fr; } .pph-form .pph-table-wrap, .pph-form .pph-actions, .pph-form .pph-q, .pph-form > .pph-btn { grid-column: 1 / -1; } }
.pph-field label, .pph-ff label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 6px; color: var(--forest-ink, #0a1c2e); }
.pph-input { display: flex; align-items: stretch; border: 1px solid #b8c6d6; border-radius: 10px; background: #fff; overflow: hidden; }
.pph-input:focus-within { outline: 3px solid var(--focus, #0b63ce); outline-offset: 1px; }
.pph-input input { flex: 1; min-width: 0; border: 0; padding: 12px 14px; font: inherit; font-size: 1.05rem; background: transparent; }
.pph-input input:focus { outline: none; }
.pph-unit { display: flex; align-items: center; padding: 0 12px; background: var(--sand, #e6edf4); color: var(--slate, #475467); font-size: .85rem; white-space: nowrap; }
.pph-help { font-size: .85rem; color: var(--slate, #475467); margin: 6px 0 0; }
.pph-q { border: 1px solid var(--line, #d9e2ec); border-radius: 12px; padding: 14px 16px; background: #fff; margin: 0; }
.pph-q legend { font-weight: 700; padding: 0 6px; }
.pph-radio, .pph-check { display: flex; gap: 10px; align-items: flex-start; padding: 6px 0; }
.pph-radio input, .pph-check input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--forest, #0f2a44); flex: none; }
.pph-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.pph-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 22px; border-radius: 999px; border: 2px solid var(--forest, #0f2a44); background: var(--forest, #0f2a44); color: #fff; font: 700 1rem var(--sans, system-ui); cursor: pointer; }
.pph-btn:hover { background: var(--forest-ink, #0a1c2e); }
.pph-btn--ghost { background: transparent; color: var(--forest, #0f2a44); }
.pph-btn--ghost:hover { background: #fff; color: var(--forest-ink, #0a1c2e); }
.pph-output:empty { display: none; }
.pph-output { margin-top: 22px; background: #fff; border-radius: 14px; border: 1px solid var(--line, #d9e2ec); padding: 20px; }
.pph-output:focus { outline: none; }
.pph-results { display: grid; gap: 10px; margin: 0; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pph-results { grid-template-columns: 1fr 1fr; } }
.pph-result { background: var(--sand-2, #f4f7fa); border-radius: 10px; padding: 12px 14px; }
.pph-result dt { font-size: .85rem; color: var(--slate, #475467); }
.pph-result dd { margin: 2px 0 0; font-weight: 700; font-size: 1.15rem; color: var(--forest-ink, #0a1c2e); }
.pph-result.is-key { background: var(--forest, #0f2a44); }
.pph-result.is-key dt { color: #cbd8e6; }
.pph-result.is-key dd { color: #fff; font-size: 1.4rem; }
.pph-steps { margin-top: 16px; }
.pph-steps summary { cursor: pointer; font-weight: 700; color: var(--forest-2, #1d4e89); }
.pph-steps ol { margin: 10px 0 0; padding-left: 1.2em; color: var(--slate, #475467); }
.pph-assumptions, .pph-related { margin-top: 26px; }
.pph-assumptions h3, .pph-related h3 { font-size: 1.05rem; margin: 0 0 8px; }
.pph-assumptions ul { margin: 0; padding-left: 1.2em; color: var(--slate, #475467); font-size: .95rem; }
.pph-related ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pph-related a { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line, #d9e2ec); text-decoration: none; font-size: .92rem; }
.pph-privacy { font-size: .82rem; color: var(--slate, #475467); margin: 20px 0 0; }
.pph-table-wrap { overflow-x: auto; }
.pph-list { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; }
.pph-list th { text-align: left; font-size: .82rem; padding: 10px; background: var(--sand, #e6edf4); }
.pph-list td { padding: 6px; border-top: 1px solid var(--line, #d9e2ec); }
.pph-list input { width: 100%; min-width: 70px; border: 1px solid #b8c6d6; border-radius: 8px; padding: 8px 10px; font: inherit; }
.pph-list td:first-child input { min-width: 160px; }
.pph-icon-btn { border: 0; background: none; font-size: 1.4rem; line-height: 1; color: var(--slate, #475467); cursor: pointer; padding: 6px 10px; border-radius: 8px; }
.pph-icon-btn:hover { background: var(--sand, #e6edf4); }
.pph-checklist fieldset { border: 1px solid var(--line, #d9e2ec); border-radius: 12px; background: #fff; margin: 0 0 14px; padding: 12px 18px; }
.pph-checklist legend { font-weight: 700; padding: 0 6px; font-family: var(--serif, Georgia); font-size: 1.1rem; }
.pph-check input:checked + label { color: var(--slate, #475467); text-decoration: line-through; }
.pph-progress { font-weight: 700; color: var(--forest-2, #1d4e89); }

/* directory cards */
.pph-group-title { margin-top: 1.6em; }
.pph-cards { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pph-cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .pph-cards { grid-template-columns: repeat(3, 1fr); } }
.pph-card { position: relative; background: #fff; border: 1px solid var(--line, #d9e2ec); border-radius: 14px; padding: 20px; }
.pph-card__title { margin: 0 0 6px; font-size: 1.1rem; }
.pph-card__title a { text-decoration: none; color: var(--forest-ink, #0a1c2e); }
.pph-card__title a::after { content: ""; position: absolute; inset: 0; }
.pph-card:hover { border-color: var(--forest-2, #1d4e89); }
.pph-card p { margin: 0; color: var(--slate, #475467); font-size: .95rem; }
.pph-card.is-planned { background: var(--sand-2, #f4f7fa); }
.pph-badge { display: inline-block; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--gold-ink, #8a5a00); margin-bottom: 6px; }

/* forms */
.pph-form-ui { display: grid; gap: 14px; }
.pph-form-ui input[type="text"], .pph-form-ui input[type="email"], .pph-form-ui input[type="url"], .pph-form-ui input[type="date"], .pph-form-ui select, .pph-form-ui textarea { width: 100%; min-height: 48px; border: 1px solid #b8c6d6; border-radius: 10px; padding: 10px 14px; font: inherit; background: #fff; color: var(--charcoal, #1f2933); }
.pph-form-ui fieldset { border: 1px solid var(--line, #d9e2ec); border-radius: 10px; padding: 10px 14px; margin: 0; }
.pph-form-ui legend { font-weight: 600; padding: 0 6px; }
.pph-inline { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 400 !important; padding: 4px 0; }
.pph-inline input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--forest, #0f2a44); }
.pph-req { color: #b3261e; }
.pph-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pph-form-note { font-size: .82rem; color: var(--slate, #475467); margin: 0; }
.pph-form-ui.is-compact { grid-template-columns: 1fr; }
@media (min-width: 640px) { .pph-form-ui.is-compact { grid-template-columns: 1fr 1fr; } .pph-form-ui.is-compact .pph-ff--checkbox, .pph-form-ui.is-compact button, .pph-form-ui.is-compact .pph-form-note { grid-column: 1 / -1; } }
.pph-notice { padding: 14px 18px; border-radius: 10px; font-weight: 600; }
.pph-notice--ok { background: #e3f1e7; color: #14492a; border: 1px solid #a9d3b6; }
.pph-notice--err { background: #fdecea; color: #7a1d15; border: 1px solid #f1b3ab; }
.section--forest .pph-form-ui label, .section--forest .pph-form-ui legend { color: #fff; }
.section--forest .pph-form-note, .section--forest .pph-form-note a { color: #cbd8e6; }

@media print { .pph-tool { border: 0; background: none; padding: 0; } .pph-actions, .pph-related, .pph-list .pph-icon-btn { display: none !important; } }

/* 1.1.0: article table of contents, brand box, keep-planning links. */
.pph-toc { background: var(--sand-2, #f4f7fa); border: 1px solid var(--line, #d9e2ec); border-radius: 14px; padding: 16px 20px; margin: 24px 0 32px; }
.pph-toc__title { font-weight: 700; margin: 0 0 8px; color: var(--forest-ink, #0a1c2e); }
.pph-toc ol { margin: 0; padding-left: 1.25em; columns: 1; }
@media (min-width: 760px) { .pph-toc ol { columns: 2; column-gap: 32px; } }
.pph-toc li { margin: 4px 0; break-inside: avoid; }
.pph-brandbox { border: 1px solid var(--line, #d9e2ec); border-left: 5px solid var(--gold, #f0a500); border-radius: 14px; padding: 18px 20px; margin: 32px 0; background: #fff; }
.pph-brandbox__title { font-weight: 700; font-size: 1.05rem; margin: 0 0 10px; color: var(--forest-ink, #0a1c2e); }
.pph-brandbox ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 700px) { .pph-brandbox ul { grid-template-columns: repeat(3, 1fr); } }
.pph-brandbox li { background: var(--sand-2, #f4f7fa); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.pph-brandbox li a { font-weight: 700; }
.pph-brandbox li span { font-size: .9rem; color: var(--slate, #475467); }
.pph-brandbox__note { font-size: .85rem; color: var(--slate, #475467); margin: 12px 0 0; }
.pph-keep { margin: 44px 0 8px; padding-top: 24px; border-top: 1px solid var(--line, #d9e2ec); }
.pph-keep ul { margin: 0 0 14px; padding-left: 1.2em; }
.pph-keep li { margin: 6px 0; }
.pph-keep__more { font-size: .98rem; }
.pph-cg__status { margin: 16px 0 0; font-weight: 600; }
.pph-cg__h { margin: 28px 0 10px; font-size: 1.15rem; }
.pph-cg__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .pph-cg__list { grid-template-columns: 1fr 1fr; } }
.pph-cg__item { background: #fff; border: 1px solid var(--line, #d9e2ec); border-radius: 12px; padding: 14px 16px; }
.pph-cg__item h3 { font-size: 1.02rem; margin: 0 0 4px; }
.pph-cg__meta, .pph-cg__facts { margin: 4px 0; font-size: .9rem; color: var(--slate, #475467); }
.pph-cg__fit { display: inline-block; margin: 6px 0 2px; padding: 3px 10px; border-radius: 999px; background: #e3efe6; color: var(--forest-ink, #0a1c2e); font-size: .85rem; font-weight: 700; }
.pph-cg__fit.is-no { background: #f7e0dc; color: #7a2016; }
.pph-cg__fit.is-unknown { background: var(--sand, #e6edf4); color: var(--slate, #475467); font-weight: 600; }
.pph-cg-source { font-size: .85rem; color: var(--slate, #475467); margin-top: 16px; }
.pph-cg-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pph-cg-table th, .pph-cg-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line, #d9e2ec); vertical-align: top; }
.pph-cg-list { padding-left: 1.2em; }
.pph-cg-list li { margin: 6px 0; }
.pph-cg-list span { color: var(--slate, #475467); font-size: .92rem; }
.pph-cg-summary { font-weight: 600; }
.pph-cg select, .pph-cg input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #b8c6d6; border-radius: 10px; font: inherit; background: #fff; }
.pph-cg .pph-btn { align-self: end; }

/* 1.2.0 premium tool layout: badges, two-column form + sticky results panel, charts, share bar. */
.pph-tool { box-shadow: 0 1px 2px rgba(15,42,68,.06), 0 18px 40px rgba(15,42,68,.10); border-color: #dde5ee; background: linear-gradient(180deg, #f8fafc 0%, #f5eddd 100%); }
.pph-badges { list-style: none; margin: 0 0 14px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pph-badges li { font-size: .78rem; font-weight: 700; letter-spacing: .02em; padding: 5px 11px; border-radius: 999px; background: #fff; border: 1px solid #dde5ee; color: var(--forest-ink, #0a1c2e); }
.pph-badges li:first-child { background: var(--forest, #0f2a44); border-color: var(--forest, #0f2a44); color: #fff; }
.pph-tool__grid { display: grid; gap: 22px; grid-template-columns: 1fr; align-items: start; }
/* Tools break out of the 760px reading column to the full content width. */
.entry__content .pph-tool, .entry__content .pph-cg { width: min(1116px, calc(100vw - 2 * var(--gutter, 24px))); max-width: none; }
.pph-tool { container-type: inline-size; }
.pph-tool__grid .pph-form { grid-template-columns: 1fr; }
@container (min-width: 620px) { .pph-tool__grid .pph-form { grid-template-columns: 1fr 1fr; } }
@container (min-width: 900px) {
  .pph-tool__grid { grid-template-columns: minmax(0, 1.4fr) minmax(300px, 1fr); }
  .pph-tool__grid.is-wide { grid-template-columns: 1fr; }
  .pph-tool__panel { position: sticky; top: 96px; }
}
.pph-tool__panel { background: #fff; border: 1px solid #dde5ee; border-radius: 16px; padding: 18px; }
.pph-tool__panel-title { margin: 0 0 12px; font-weight: 800; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-ink, #8a5a00); }
.pph-tool__panel .pph-output { margin-top: 0; border: 0; padding: 0; background: transparent; }
.pph-tool__panel .pph-results { grid-template-columns: 1fr; }
.pph-result.is-key { background: linear-gradient(135deg, #0f2a44 0%, #1d4e89 100%); box-shadow: 0 8px 20px rgba(15,42,68,.18); }
.pph-result.is-key dd { font-size: 1.55rem; }
.pph-result { transition: background-color .2s ease; }
.pph-chart { margin: 18px 0 4px; }
.pph-chart figcaption { font-weight: 700; font-size: .92rem; margin-bottom: 8px; color: var(--forest-ink, #0a1c2e); }
.pph-chart ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.pph-chart li { display: grid; grid-template-columns: minmax(0, 9em) 1fr auto; gap: 10px; align-items: center; font-size: .86rem; }
.pph-chart__label { color: var(--slate, #475467); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pph-chart__track { height: 10px; background: #e6edf4; border-radius: 999px; overflow: hidden; }
.pph-chart__bar { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #f0a500, #e9b95a); transition: width .35s ease; }
.pph-chart__value { font-weight: 700; color: var(--forest-ink, #0a1c2e); white-space: nowrap; }
.pph-share { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #e6edf4; }
.pph-chip { font: 600 .82rem var(--sans, system-ui); padding: 7px 12px; border-radius: 999px; border: 1px solid #d9ccb3; background: #f8fafc; color: var(--forest-ink, #0a1c2e); cursor: pointer; }
.pph-chip:hover { background: #fff; border-color: var(--forest, #0f2a44); }
.pph-chip:focus-visible { outline: 3px solid var(--focus, #0b63ce); outline-offset: 2px; }
.pph-share__note { font-size: .82rem; color: var(--forest-2, #1d4e89); margin: 8px 0 0; min-height: 1em; }
.pph-input input:focus { background: #fffdf8; }
@media (prefers-reduced-motion: reduce) { .pph-chart__bar, .pph-result { transition: none; } }
@media print {
  .pph-share, .pph-badges, .pph-actions, .pph-related, .pph-keep, .pph-brandbox { display: none !important; }
  .pph-tool { box-shadow: none; background: #fff; }
  .pph-tool__grid { grid-template-columns: 1fr !important; }
}

/* Readable links on dark boxes (the article "Your next step" panel and similar). */
.next-step a, .next-step a:visited { color: #ffd37a; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; font-weight: 600; }
.next-step a:hover, .next-step a:focus { color: #fff; text-decoration-thickness: 2px; }
.next-step a:focus-visible { outline: 3px solid #ffd37a; outline-offset: 2px; border-radius: 2px; }

/* Article "Key takeaways" box. */
.pph-takeaways { background: #fff; border: 1px solid #dde5ee; border-left: 5px solid var(--forest, #0f2a44); border-radius: 14px; padding: 16px 20px; margin: 20px 0 28px; box-shadow: 0 6px 18px rgba(15,42,68,.06); }
.pph-takeaways__title { font-weight: 800; margin: 0 0 8px; color: var(--forest-ink, #0a1c2e); letter-spacing: .01em; }
.pph-takeaways ul { margin: 0; padding-left: 1.2em; }
.pph-takeaways li { margin: 5px 0; }

/* ---- Premium newsletter / sign-up layout (1.2.1) ---- */
.pph-nl { display: grid; gap: 28px; margin: 8px 0 40px; }
@media (min-width: 900px) { .pph-nl { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.pph-nl__pitch h2 { margin-top: 0; }
.pph-nl__perks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 12px; }
.pph-nl__perks li { position: relative; padding: 14px 16px 14px 48px; background: var(--sand-2, #f4f7fa); border: 1px solid var(--line, #d9e2ec); border-radius: 14px; }
.pph-nl__perks li::before { content: ""; position: absolute; left: 16px; top: 17px; width: 18px; height: 18px; border-radius: 50%; background: var(--forest, #0f2a44) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f3cf7a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat; }
.pph-nl__perks strong { display: block; color: var(--forest-ink, #0a1c2e); }
.pph-nl__card { position: sticky; top: 96px; padding: 26px; border-radius: 20px; background: linear-gradient(160deg, #0f2a44 0%, #0a1c2e 100%); color: #f4f7fa; box-shadow: 0 18px 40px rgba(15, 42, 68, .22); }
.pph-nl__card h2, .pph-nl__card h3 { color: #fff; margin-top: 0; }
.pph-nl__card p, .pph-nl__card label { color: #e6edf4; }
.pph-nl__card a { color: #ffd37a; }
.pph-nl__card input[type=email], .pph-nl__card input[type=text] { background: #fff; color: #1f2933; }
.pph-nl__badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; padding: 0; list-style: none; }
.pph-nl__badges li { font-size: .78rem; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: rgba(255, 211, 122, .14); color: #ffd37a; }
.pph-nl__sample { margin: 26px 0; padding: 22px 24px; border-left: 4px solid var(--gold, #f0a500); background: #fff; border-radius: 0 14px 14px 0; box-shadow: 0 6px 18px rgba(31, 41, 51, .06); }
.pph-nl__sample h3 { margin-top: 0; }
.pph-nl__sample ol { margin-bottom: 0; }

/* 1.2.2: banner breadcrumbs stay readable over photos (main.css .breadcrumbs rules came later
   in the cascade and turned them muted grey on dark images). */
.page-banner .breadcrumbs--light, .page-banner .breadcrumbs--light a, .page-banner .breadcrumbs--light span { color: #f3ede0; }
.page-banner .breadcrumbs--light a:hover { color: #ffd37a; }
/* Phones: show the sign-up card right after the intro instead of below every perk. */
@media (max-width: 899px) {
  .pph-nl__card { order: -1; position: static; }
  .pph-nl { display: flex; flex-direction: column; }
}

/* 1.2.3: hub "Every guide in this topic" grid */
.pph-guide-list { list-style: none; padding: 0; margin: 14px 0 28px; display: grid; gap: 10px; }
@media (min-width: 720px) { .pph-guide-list { grid-template-columns: 1fr 1fr; } }
.pph-guide-list li { margin: 0; }
.pph-guide-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border: 1px solid var(--line, #d9e2ec); border-radius: 12px; background: var(--sand-2, #f4f7fa); color: var(--forest, #0f2a44); font-weight: 600; text-decoration: none; transition: border-color .15s, transform .15s; }
.pph-guide-list a::after { content: "\2192"; color: var(--gold, #f0a500); font-weight: 700; }
.pph-guide-list a:hover, .pph-guide-list a:focus-visible { border-color: var(--forest-2, #1d4e89); transform: translateY(-1px); }


/* 1.2.4: Home Power Plan Builder roadmap */
.pph-plan { list-style: none; counter-reset: frlplan; margin: 18px 0 6px; padding: 0; display: grid; gap: 12px; }
.pph-plan__step { counter-increment: frlplan; position: relative; padding: 14px 16px 14px 56px; background: #fff; border: 1px solid var(--line, #d9e2ec); border-radius: 14px; box-shadow: 0 4px 14px rgba(15, 42, 68, .05); }
.pph-plan__step::before { content: counter(frlplan); position: absolute; left: 14px; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--forest, #0f2a44); color: #ffd37a; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: .95rem; }
.pph-plan__title { margin: 0 0 4px; font-size: 1.05rem; color: var(--forest-ink, #0a1c2e); }
.pph-plan__why { margin: 0 0 8px; color: var(--slate, #475467); font-size: .95rem; }
.pph-plan__links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pph-plan__links a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--sand-2, #f4f7fa); border: 1px solid var(--line, #d9e2ec); color: var(--forest, #0f2a44); font-weight: 600; font-size: .88rem; text-decoration: none; }
.pph-plan__links a:hover, .pph-plan__links a:focus-visible { border-color: var(--forest-2, #1d4e89); }
.pph-tool__grid.has-plan { grid-template-columns: 1fr; }

/* 1.2.5: premium brand cards (photo per brand, whole card clickable) */
.pph-brandbox--cards { position: relative; overflow: hidden; border: 0; border-left: 0; border-radius: var(--r-lg, 22px); padding: 26px 22px 18px; margin: 40px 0; color: #f6f1e6;
  background: radial-gradient(120% 90% at 0% 0%, rgba(240, 165, 0, .22), transparent 55%), linear-gradient(160deg, #0f2a44 0%, #0a1c2e 70%, #0e1c14 100%); box-shadow: 0 18px 40px rgba(8, 20, 36, .25); }
.pph-brandbox--cards::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07; background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0); background-size: 18px 18px; }
.pph-brandbox__head { position: relative; z-index: 1; margin: 0 0 18px; }
.pph-brandbox__eyebrow { margin: 0 0 4px; font: 700 .72rem/1 var(--sans, system-ui); letter-spacing: .16em; text-transform: uppercase; color: #ffd37a; }
.pph-brandbox--cards .pph-brandbox__title { font-family: var(--serif, Georgia, serif); font-size: clamp(1.3rem, 2.4vw, 1.6rem); font-weight: 700; color: #fff; margin: 0 0 6px; }
.pph-brandbox__sub { margin: 0; color: rgba(244, 247, 250, .82); font-size: .95rem; max-width: 60ch; }
.pph-brandbox--cards ul.pph-brandbox__grid { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .pph-brandbox--cards ul.pph-brandbox__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .pph-brandbox--cards ul.pph-brandbox__grid { grid-template-columns: repeat(3, 1fr); } .pph-brandbox--cards ul.pph-brandbox__grid:has(> li:nth-child(4)) { grid-template-columns: repeat(2, 1fr); } }
.pph-brandbox--cards li.pph-bcard { background: none; padding: 0; border-radius: 16px; display: block; }
.pph-bcard__link { display: flex; flex-direction: column; height: 100%; border-radius: 16px; overflow: hidden; background: #f8fafc; color: var(--charcoal, #1f2933) !important; text-decoration: none !important; box-shadow: 0 6px 18px rgba(0, 0, 0, .22); transition: transform .2s ease, box-shadow .2s ease; }
.pph-bcard__link:hover, .pph-bcard__link:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(0, 0, 0, .32); }
.pph-bcard__link:focus-visible { outline: 3px solid #ffd37a; outline-offset: 2px; }
.pph-bcard__media { position: relative; display: block; aspect-ratio: 16 / 9; background: #1d4e89; overflow: hidden; }
.pph-bcard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; margin: 0 !important; border-radius: 0 !important; transition: transform .5s ease; }
.pph-bcard__link:hover .pph-bcard__img { transform: scale(1.05); }
.pph-bcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 18, 32, .88) 0%, rgba(6, 18, 32, .35) 55%, rgba(6, 18, 32, .1) 100%); }
.pph-bcard__cat { position: absolute; z-index: 1; top: 10px; left: 10px; padding: 4px 9px; border-radius: 999px; background: rgba(244, 247, 250, .92); color: #0a1c2e; font: 700 .7rem/1.2 var(--sans, system-ui); letter-spacing: .04em; text-transform: uppercase; }
.pph-bcard__name { position: absolute; z-index: 1; left: 14px; right: 14px; bottom: 10px; color: #fff; font-family: var(--serif, Georgia, serif); font-size: 1.35rem; font-weight: 700; line-height: 1.15; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.pph-bcard__body { display: flex; flex-direction: column; gap: 6px; padding: 12px 14px 14px; flex: 1; }
.pph-bcard__known { font-weight: 700; font-size: .9rem; color: var(--forest-ink, #0a1c2e); }
.pph-bcard__blurb { font-size: .86rem; color: var(--slate, #475467); }
.pph-bcard__cta { margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; background: var(--gold, #f0a500); color: #0a1c2e; font-weight: 800; font-size: .88rem; transition: background .2s ease; }
.pph-bcard__link:hover .pph-bcard__cta { background: #ffb81c; }
.pph-brandbox--cards .pph-brandbox__note { position: relative; z-index: 1; color: rgba(244, 247, 250, .72); font-size: .8rem; margin: 16px 0 0; }
.pph-brandbox--cards .pph-brandbox__note a { color: #ffd37a; }
@media (prefers-reduced-motion: reduce) { .pph-bcard__link, .pph-bcard__img { transition: none; } .pph-bcard__link:hover { transform: none; } .pph-bcard__link:hover .pph-bcard__img { transform: none; } }

/* 1.2.5: Amazon comparison links read as a clear "shop" action inside articles */
.entry-content a.pph-aff--amz, .pph-article a.pph-aff--amz { white-space: nowrap; font-weight: 700; text-decoration-thickness: 2px; text-underline-offset: 3px; text-decoration-color: var(--gold, #f0a500); }
a.pph-aff--amz::after { content: " \2197"; font-size: .8em; color: var(--gold-ink, #8a5a00); }
/* 1.2.6: beat the legacy ".pph-brandbox li span" rule inside cards */
.pph-brandbox--cards li span.pph-bcard__name { color: #fff; font-size: 1.35rem; }
.pph-brandbox--cards li span.pph-bcard__cat { color: #0a1c2e; font-size: .7rem; }
.pph-brandbox--cards li span.pph-bcard__known { color: var(--forest-ink, #0a1c2e); font-size: .92rem; }
.pph-brandbox--cards li span.pph-bcard__blurb { color: var(--slate, #475467); font-size: .86rem; }
.pph-brandbox--cards li span.pph-bcard__cta { color: #0a1c2e; font-size: .88rem; }
.pph-brandbox--cards li span.pph-bcard__media, .pph-brandbox--cards li span.pph-bcard__body { color: inherit; font-size: inherit; }
/* 1.2.8: shop shortlist link inside brand boxes */
.pph-brandbox--cards .pph-brandbox__shop { position: relative; z-index: 1; margin: 14px 0 0; color: #e9e1cf; font-size: .92rem; }
.pph-brandbox--cards .pph-brandbox__shop a { color: #ffd37a; font-weight: 700; }
/* 1.2.8: category guide under archive descriptions */
.pph-cat-guide { text-align: left; max-width: 820px; margin: 18px auto 0; padding: 20px 22px; background: #fff; border: 1px solid var(--line, #d9e2ec); border-radius: 16px; box-shadow: 0 6px 18px rgba(15, 42, 68, .05); color: var(--charcoal, #1f2933); }
.pph-cat-guide h2 { font-size: 1.25rem; margin: 18px 0 6px; color: var(--forest-ink, #0a1c2e); }
.pph-cat-guide h2:first-child { margin-top: 0; }
.pph-cat-guide p { margin: 0 0 10px; }
.pph-cat-guide ul { margin: 0 0 10px 1.1em; }
.pph-cat-guide .pph-cat-tools { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 8px 0 12px; padding: 0; }
.pph-cat-guide .pph-cat-tools a { display: inline-block; padding: 6px 12px; border-radius: 999px; background: var(--sand-2, #f4f7fa); border: 1px solid var(--line, #d9e2ec); color: var(--forest, #0f2a44); font-weight: 700; font-size: .9rem; text-decoration: none; }
.pph-cat-guide details { border-top: 1px solid var(--line, #d9e2ec); padding: 10px 0; }
.pph-cat-guide summary { cursor: pointer; font-weight: 700; color: var(--forest-ink, #0a1c2e); }
/* 1.4.0: feedback, printable checklists */
.pph-map { margin: 18px 0 26px; }
.pph-map__filters { display: grid; gap: 10px 14px; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); align-items: end; padding: 14px 16px; background: var(--sand-2, #f4f7fa); border: 1px solid var(--line, #d9e2ec); border-radius: 14px 14px 0 0; }
.pph-map__filters label { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; font-weight: 700; color: var(--forest-ink, #0a1c2e); }
.pph-map__filters input[type=number], .pph-map__filters select { min-height: 40px; padding: 6px 10px; border: 1px solid var(--line, #d9e2ec); border-radius: 10px; background: #fff; font-size: .95rem; }
.pph-map__filters .pph-map__check { flex-direction: row; align-items: center; gap: 8px; font-weight: 600; min-height: 40px; }
.pph-map__check input { width: 18px; height: 18px; accent-color: var(--forest, #0f2a44); }
.pph-map__count { margin: 0; padding: 10px 16px; background: var(--forest, #0f2a44); color: #e6edf4; font-size: .9rem; }
.pph-map__canvas { height: min(70vh, 620px); min-height: 380px; border: 1px solid var(--line, #d9e2ec); border-top: 0; border-radius: 0 0 14px 14px; z-index: 0; }
.pph-map__legend { display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; font-size: .85rem; color: var(--slate, #475467); margin: 10px 0 0; }
.pph-map__legend .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; border: 2px solid #fff; box-shadow: 0 0 0 1px #bbb; }
.pph-map__legend .fit { background: #2c7a4b; } .pph-map__legend .unk { background: #f0a500; } .pph-map__legend .no { background: #a33a2c; }
.pph-map .leaflet-popup-content { font-size: .88rem; line-height: 1.45; }
.pph-map__park { color: var(--slate, #475467); }
.pph-helpful { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin: 28px 0; padding: 14px 18px; border: 1px solid var(--line, #d9e2ec); border-radius: 14px; background: #fff; }
.pph-helpful__q { margin: 0; font-weight: 800; color: var(--forest-ink, #0a1c2e); }
.pph-helpful__btns { display: flex; gap: 8px; }
.pph-helpful__btns button { min-width: 72px; min-height: 40px; padding: 6px 16px; border-radius: 999px; border: 1px solid var(--line, #d9e2ec); background: var(--sand-2, #f4f7fa); font-weight: 700; color: var(--forest, #0f2a44); cursor: pointer; }
.pph-helpful__btns button:hover, .pph-helpful__btns button:focus-visible { border-color: var(--gold, #f0a500); background: #fff8ea; }
.pph-helpful__thanks { margin: 0; color: var(--slate, #475467); }
.pph-print-check { display: inline-flex; align-items: center; gap: 8px; margin: 4px 0 18px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--forest, #0f2a44); background: var(--forest, #0f2a44); color: #ffd37a; font-weight: 800; font-size: .92rem; cursor: pointer; }
.pph-print-check:hover, .pph-print-check:focus-visible { background: var(--forest-ink, #0a1c2e); }
@media print { .pph-helpful, .pph-print-check, .pph-map__filters { display: none !important; } }
