/* Topic list pages (Oct 30): a calm "best list" page. Green band with the title and byline, then
   one bordered card per offer: pick label, logo and name, button on the right, a facts row and
   sections that open on tap. No stars or scores. */
.lp-page main { background: #fff; }

/* Topic tabs under the header */
.lp-tabs { border-bottom: 1px solid var(--line); background: #fff; }
.lp-tabs .wrap { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.lp-tabs .wrap::-webkit-scrollbar { display: none; }
.lp-tabs a { flex: none; display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; border-bottom: 3px solid transparent; color: var(--ink-2); font-size: 14.5px; font-weight: 600; text-decoration: none; }
.lp-tabs a:hover { color: var(--green-2); }
.lp-tabs a[aria-current="page"] { border-bottom-color: var(--green); color: var(--ink); }

/* Green band */
.lp-band { padding-block: 22px 28px; background: linear-gradient(115deg, var(--deep) 0%, var(--deep-2) 70%, #0f7a59 100%); color: #e2f5ec; }
@media (min-width: 900px) { .lp-band { padding-block: 32px 40px; } }
.lp-crumbrow { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 13.5px; }
.lp-crumbs, .lp-crumbs a, .h4 main .lp-crumbs a { color: #cfe3da; }
.lp-crumbs a { display: inline-flex; min-height: 24px; align-items: center; }
.h4 main .lp-disc { color: #fff; font-weight: 600; }
.h4 main .lp-band h1 { margin: 12px 0 0; color: #fff; font-size: clamp(1.75rem, 5.4vw, 2.6rem); line-height: 1.1; letter-spacing: -0.02em; }
.lp-by { margin: 12px 0 0; font-size: 14px; color: #cfe3da; }
.lp-by b { color: #fff; }
.lp-band .h4-fc { background: rgba(255,255,255,.14); color: #fff; }
.lp-lede { margin: 12px 0 0; max-width: 70ch; font-size: 15.5px; line-height: 1.55; color: #e2f5ec; }
.h4 main .lp-lede a { color: #fff; font-weight: 600; }

/* List */
.lp-list { display: grid; gap: 20px; padding-block: 24px 40px; }
.lp-note { margin: 0; font-size: 14px; color: var(--mute); }
.lp-card { border: 1px solid var(--line-2); border-radius: 12px; background: #fff; box-shadow: var(--sh); overflow: hidden; }
.lp-card:target { outline: 3px solid var(--green-soft); }
.lp-pick { display: inline-flex; align-items: center; gap: 6px; margin: 16px 16px 0; padding: 4px 10px; border-radius: 999px; background: var(--green-soft); color: var(--green-2); font-size: 13px; font-weight: 700; }
.lp-pick svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.lp-top { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: 12px 14px; align-items: center; padding: 14px 16px 16px; }
.lp-n { font-size: 20px; font-weight: 800; color: var(--ink); min-width: 1ch; }
.lp-logo { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid var(--line); border-radius: 10px; background: #fff; overflow: hidden; font-size: 26px; font-weight: 800; color: var(--green-2); }
.lp-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.lp-id h2 { margin: 0; font-size: 19px; line-height: 1.25; }
.h4 main .lp-id h2 a { color: var(--ink); text-decoration: none; }
.h4 main .lp-id h2 a:hover { text-decoration: underline; }
.lp-id p { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 0; }
.lp-review { display: inline-flex; align-items: center; min-height: 32px; font-size: 14px; font-weight: 600; }
.lp-act { grid-column: 1 / -1; }
.lp-on { margin: 6px 0 0; text-align: center; font-size: 12.5px; color: var(--mute); }
@media (min-width: 760px) {
  .lp-top { grid-template-columns: auto auto minmax(0, 1fr) 240px; }
  .lp-act { grid-column: auto; }
}
.lp-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.lp-facts div { padding: 12px 16px; border-bottom: 1px solid var(--line); }
.lp-facts div:nth-child(odd) { border-right: 1px solid var(--line); }
@media (min-width: 760px) {
  .lp-facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lp-facts div { border-bottom: 0; border-right: 1px solid var(--line); }
  .lp-facts div:last-child { border-right: 0; }
}
.lp-facts dt { font-size: 12.5px; color: var(--mute); }
.lp-facts dd { margin: 4px 0 0; font-size: 14.5px; font-weight: 700; color: var(--ink); }
.lp-more { border-top: 1px solid var(--line); }
.lp-more summary { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 16px; font-weight: 700; font-size: 15px; color: var(--ink); cursor: pointer; list-style: none; }
.lp-more summary::-webkit-details-marker { display: none; }
.lp-more summary:hover { background: var(--tint); }
.lp-more summary svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--green-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lp-more .lp-chev { margin-left: auto; stroke: var(--ink-2); transform-box: fill-box; transform-origin: center; transition: transform .2s; }
.lp-more[open] .lp-chev { transform: rotate(180deg); }
.lp-more-body { padding: 0 16px 16px 46px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.lp-more-body p { margin: 0 0 8px; }
.lp-more-body ul, .lp-more-body ol { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.lp-ad { margin: 0; padding: 10px 16px; border-top: 1px solid var(--line); background: var(--tint); font-size: 12.5px; color: var(--mute); }
@media (prefers-reduced-motion: reduce) { .lp-more .lp-chev { transition: none; } }

/* Nothing passed yet */
.lp-empty { padding: 28px 20px; border: 1px dashed var(--line-2); border-radius: 12px; text-align: center; }
.lp-empty[hidden] { display: none; }
.lp-empty h2 { margin: 0; font-size: 20px; }
.lp-empty p { margin: 8px auto 16px; max-width: 52ch; color: var(--ink-2); }
.lp-empty-act { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

/* Tips and alerts */
.lp-tips { padding-block: 8px 32px; }
.lp-tips h2 { margin: 0 0 14px; font-size: 22px; }
.lp-tips ul { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .lp-tips ul { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.lp-tips li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--tint); }
.lp-tips h3 { margin: 0 0 6px; font-size: 16px; }
.lp-tips li p { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.lp-small { margin: 12px 0 0; font-size: 13px; color: var(--mute); }
.lp-alerts { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 48px; padding: 24px; border-radius: 14px; background: var(--deep); color: #cfe3da; }
.h4 main .lp-alerts h2 { margin: 0 0 4px; color: #fff; font-size: 20px; }
.lp-alerts p { margin: 0; }
/* Topic tabs scroll sideways on phones: a soft fade at the edge says there is more. */
@media (max-width: 760px) {
  .lp-tabs .wrap { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 32px; }
}
.lp-alert-form { max-width: 520px; margin: 0 auto; text-align: left; }
.lp-alert-form[hidden] { display: none; }
.lp-alert-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lp-alert-row .h4-lbl { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.lp-alert-row input[type="email"] { flex: 1 1 220px; min-height: 48px; padding: 0 14px; border: 1px solid var(--line-2); border-radius: 10px; font: inherit; }
.lp-alert-row .h4-btn { min-height: 48px; flex: 0 0 auto; }
.lp-alert-consent { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: 13px; color: var(--ink-2); }
.lp-alert-consent input { margin-top: 3px; }
.lp-alert-form .form-error { color: #b42318; font-size: 14px; margin: 6px 0 0; min-height: 0; }
.lp-alert-done { font-weight: 600; color: var(--ink); }
.lp-empty-alt { margin: 14px 0 0; font-size: 14px; }
@media (max-width: 480px) { .lp-alert-row .h4-btn { width: 100%; } }
.lp-nocomm { margin-top: 28px; }
.lp-nocomm > h2 { margin: 0 0 6px; font-size: 22px; }
.lp-nc-tag { color: var(--ink-2); }
.lp-nc .lp-id h3 { margin: 0; font-size: 19px; }
.lp-nc-what { margin: 12px 0 6px; }
.lp-nc-facts { margin: 0 0 8px; padding-left: 20px; }
.lp-nc-catch { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.lp-nc .lp-nc-what, .lp-nc .lp-nc-catch { padding-inline: 16px; }
.lp-nc .lp-nc-facts { margin-left: 16px; margin-right: 16px; }
.lp-nc .lp-nc-catch { padding-bottom: 16px; }
.lp-group { margin: 28px 0 10px; font-size: 20px; }
