/* ReleaseGround Phase 9: lightweight, local-only discovery and return-visit design */
.t3p9{max-width:1200px;margin:30px auto 54px;box-sizing:border-box;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.t3p9 *{box-sizing:border-box}
.t3p9__inner{padding:clamp(20px,3vw,36px);border-radius:24px;border:1px solid var(--t3p9-border);background:var(--t3p9-bg);color:var(--t3p9-color);box-shadow:0 12px 44px rgba(12,23,45,.07)}
.t3p9--light{--t3p9-bg:linear-gradient(135deg,#eff7ff,#fff 66%);--t3p9-color:#132134;--t3p9-muted:#51647a;--t3p9-border:#d9e6f3;--t3p9-card:#fff;--t3p9-card-border:#dbe5ef;--t3p9-accent:#1364cf;--t3p9-action-color:#fff}
.t3p9--dark{--t3p9-bg:linear-gradient(130deg,#0e2031,#0b1723 70%);--t3p9-color:#eef6ff;--t3p9-muted:#adbecd;--t3p9-border:rgba(255,255,255,.12);--t3p9-card:#12293a;--t3p9-card-border:rgba(255,255,255,.13);--t3p9-accent:#6ee7f5;--t3p9-action-color:#04131e}
.t3p9__heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:24px}
.t3p9__kicker{display:block;color:var(--t3p9-accent);font-size:11px;letter-spacing:.12em;font-weight:900}
.t3p9__heading h2{max-width:700px;color:var(--t3p9-color);font-size:clamp(24px,3.4vw,38px);line-height:1.13;margin:8px 0 10px;letter-spacing:-.035em}
.t3p9__heading p{color:var(--t3p9-muted);line-height:1.6;font-size:14px;margin:0;max-width:750px}
.t3p9__primary{flex-shrink:0;border-radius:999px;background:var(--t3p9-accent);color:var(--t3p9-action-color)!important;padding:12px 17px;text-decoration:none!important;font-size:13px;font-weight:900;white-space:nowrap}
.t3p9__topics{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}
.t3p9__topic{display:flex;min-width:0;flex-direction:column;gap:9px;min-height:125px;padding:18px 15px;color:var(--t3p9-color)!important;background:var(--t3p9-card);border:1px solid var(--t3p9-card-border);border-radius:14px;text-decoration:none!important;transition:transform .15s,border-color .15s}
.t3p9__topic:hover,.t3p9__topic:focus-visible{transform:translateY(-2px);border-color:var(--t3p9-accent)}
.t3p9__topic-name{display:flex;gap:6px;justify-content:space-between;font-size:15px;font-weight:900;line-height:1.28}
.t3p9__topic-name span{color:var(--t3p9-accent)}
.t3p9__topic-desc{font-size:12px;line-height:1.52;color:var(--t3p9-muted)}
.t3p9__return{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:22px;padding-top:18px;border-top:1px solid var(--t3p9-card-border)}
.t3p9__return strong{display:block;font-size:15px;color:var(--t3p9-color)}
.t3p9__return p{margin:5px 0 0;color:var(--t3p9-muted);font-size:12px;line-height:1.55;max-width:680px}
.t3p9__actions{display:flex;gap:12px;flex-wrap:wrap;justify-content:flex-end}
.t3p9__actions a{color:var(--t3p9-accent)!important;font-size:12px;font-weight:850;text-decoration:underline!important;text-underline-offset:3px}
.t3p9--compact .t3p9__topic{min-height:0;padding:12px}
.t3p9--compact .t3p9__topic-name{font-size:12px}
.t3p9--compact .t3p9__heading h2{font-size:clamp(24px,3vw,31px)}
.t3p9__lang{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.t3p9__lang a{font-size:11px;font-weight:900;text-decoration:none;color:#b7cadb;padding:7px 8px;border:1px solid rgba(255,255,255,.14);border-radius:7px}
.t3p9__lang a[aria-current="page"],.t3p9__lang a:hover,.t3p9__lang a:focus-visible{background:rgba(110,231,245,.14);border-color:#6ee7f5;color:#fff}
@media(max-width:980px){.t3p9__topics{grid-template-columns:repeat(3,minmax(0,1fr))}.t3p9__heading{align-items:flex-start;flex-direction:column}.t3p9__return{align-items:flex-start;flex-direction:column}.t3p9__actions{justify-content:flex-start}}
@media(max-width:630px){.t3p9{margin:24px 0 38px}.t3p9__inner{padding:20px 15px;border-radius:17px}.t3p9__topics{grid-template-columns:1fr 1fr}.t3p9__topic{min-height:0;padding:13px}.t3p9__topic-name{font-size:13px}.t3p9__topic-desc{font-size:11px}.t3p9__primary{white-space:normal}.t3p9__lang a{padding:6px}}
@media(max-width:380px){.t3p9__topics{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.t3p9__topic{transition:none}.t3p9__topic:hover{transform:none}}
/* Keep editorial navigation and language choices reachable on small screens. */
@media(max-width:900px){
  body.editorial-page .ed-topbar-inner{flex-wrap:wrap;gap:9px;padding-top:10px;padding-bottom:9px}
  body.editorial-page .ed-nav{order:3;width:100%;flex:1 1 100%;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;-webkit-overflow-scrolling:touch}
  body.editorial-page .ed-nav a{flex:0 0 auto;white-space:nowrap;font-size:12px;padding:7px 9px}
  body.editorial-page .ed-nav a:not(.active){display:inline-block}
  body.editorial-page .t3p9__lang{margin-left:auto}
}
