/* Topic packs follow Curiosity's existing learning palette and controls. */
.pk-wrap { max-width: 860px; margin: 0 auto 2rem; }
.pk-hero { max-width: 640px; padding: .5rem 0 1.5rem; }
.pk-eyebrow { color: var(--accent); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .8rem; }
.pk-hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.1rem); line-height: 1.15; margin-bottom: .75rem; text-wrap: balance; }
.pk-intro { max-width: 570px; color: var(--text-secondary); font-size: 1.02rem; line-height: 1.7; }
.pk-status { margin: 1.1rem 0 2.2rem; padding: .8rem 1rem; border: 1px solid var(--border-subtle); border-radius: 10px; background: var(--accent-subtle); font-size: .85rem; color: var(--text-secondary); }
.pk-status strong { color: var(--text); font-weight: 600; }
.pk-status a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.pk-section { margin-bottom: 2.4rem; }
.pk-section-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.pk-section-head h2 { font-size: 1.7rem; margin-bottom: .25rem; }
.pk-section-head p { color: var(--text-muted); font-size: .85rem; }
.pk-section-count { color: var(--text-muted); font-size: .8rem; white-space: nowrap; }
.pk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.pk-card { display: flex; flex-direction: column; min-width: 0; padding: 1.3rem; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; color: var(--text); text-decoration: none; transition: border-color 160ms ease, background-color 160ms ease; }
.pk-card-top { display: flex; justify-content: space-between; align-items: center; gap: .8rem; margin-bottom: .9rem; }
.pk-icon { font-size: 1.6rem; line-height: 1.2; }
.pk-category { color: var(--text-secondary); font-size: .7rem; background: var(--surface-raised); border-radius: 999px; padding: .25rem .6rem; }
.pk-card h3 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 600; line-height: 1.45; margin-bottom: .5rem; overflow-wrap: anywhere; }
.pk-tagline { color: var(--text-secondary); font-size: .85rem; line-height: 1.65; margin-bottom: 1.2rem; }
.pk-meta { display: flex; justify-content: space-between; align-items: center; gap: .5rem; margin-top: auto; padding-top: .8rem; border-top: 1px solid var(--border-subtle); font-size: .78rem; color: var(--text-muted); }
.pk-go { color: var(--accent); font-weight: 600; white-space: nowrap; }
.pk-footer-note { max-width: 650px; color: var(--text-muted); font-size: .8rem; line-height: 1.65; }
.pd-guidance { margin-top: 1rem; color: var(--text-secondary); font-size: .85rem; line-height: 1.65; }
.pd-sources { margin-top: 1.5rem; font-size: .85rem; color: var(--text-secondary); }
.pd-sources h2 { font-size: 1.2rem; margin-bottom: .5rem; }
.pd-sources ul { padding-left: 1.2rem; }
.pd-sources a { display: inline-block; padding-block: .25rem; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.pd-cta { min-height: 44px; transition: background-color 160ms ease, transform 120ms var(--ease-out); }
.pd-cta:active:not(:disabled):not(.disabled):not(:focus-visible) { transform: scale(.97); }
.pd-topics li { overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
    .pk-card:hover { color: var(--text); border-color: var(--accent); background: var(--surface-hover); }
}
@media (max-width: 700px) {
    .pk-grid { grid-template-columns: 1fr; }
    .pk-hero { padding-top: .5rem; }
    .pk-section-head { align-items: flex-start; }
    .pk-section-head h2 { font-size: 1.5rem; }
    .pk-section-count { padding-top: .35rem; }
    .pd-wrap .pd-head { padding: 1.3rem; }
    .pd-wrap .pd-head h1 { font-size: 1.6rem; overflow-wrap: anywhere; }
    .pd-wrap .pd-cta { width: 100%; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .pd-cta { transition: none; }
    .pd-cta:active:not(:disabled):not(.disabled):not(:focus-visible) { transform: none; }
}
