/* Pandora pages: shared styles (on top of /assets/site.css) */
[hidden] { display: none !important; }
[data-pt] { display: none; }
body.pt [data-pt] { display: revert; }
body.pt [data-en] { display: none; }

.pd-head .wrap { max-width: 1260px; }
.pd-head .logo img { height: 36px; }
.pd-head .nav { gap: 8px; }
.pd-head .nav > a, .pd-head .nav .dd > button { font-size: 20px; white-space: nowrap; }
.pd-head .nav .dd > a.ddl { display: block; font-family: var(--script); font-weight: 700; font-size: 20px; line-height: 1.2; color: #111; text-decoration: none; border-top: 2px solid #111; padding: 6px 4px 4px; white-space: nowrap; }
.pd-head .nav .dd > a.ddl:hover, .pd-head .nav .dd.on > a.ddl { border-top-color: var(--teal); color: var(--teal-d); }
.pd-head .nav .dd .menu { min-width: 240px; }
.pd-head .nav .dd .menu .mlab { display: block; padding: 8px 12px 2px; font: 700 11px var(--body); letter-spacing: 1px; text-transform: uppercase; color: var(--mute); border-top: 1px solid var(--line); margin-top: 4px; }
.pd-head .nav .dd .menu a { white-space: nowrap; }
.hlang { display: inline-flex; gap: 4px; margin-left: 8px; align-self: center; }
.hlang button { background: #fff; color: #111; border: 1px solid #111; border-radius: 6px; padding: 3px 8px; font: 700 11px var(--body); cursor: pointer; }
.hlang button.on { background: #111; color: #fff; }
/* menu ☰ below 1100 px (the Pandora menu has more items than the site one) */
@media (max-width: 1100px) {
  .pd-head .burger { display: block; }
  .pd-head .nav { display: none; position: absolute; top: 96px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 24px 18px; border-bottom: 1px solid var(--line); }
  .pd-head .nav.open { display: flex; }
  .pd-head .nav .dd .menu { position: static; display: block; box-shadow: none; border: 0; padding: 0 0 0 12px; }
  .pd-head .nav .lux { align-self: flex-start; margin: 8px 0 0; }
  .hlang { margin: 10px 0 0; align-self: flex-start; }
}
@media (max-width: 820px) { .pd-head .nav { top: 72px; } }

.pd-hero { background: radial-gradient(1200px 500px at 80% 0%, #0d5b7f 0%, rgba(13,91,127,0) 60%), linear-gradient(160deg, #052a3f 0%, #073b57 55%, #0a2233 100%); color: #fff; position: relative; overflow: hidden; }
.pd-hero .wrap { position: relative; padding: 80px 24px 96px; }
.pd-hero .tag { display: inline-block; font: 700 12px var(--body); letter-spacing: 1.5px; text-transform: uppercase; color: var(--yellow); border: 1px solid rgba(255,194,14,.5); border-radius: 20px; padding: 4px 12px; margin-bottom: 18px; }
.pd-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(36px, 5.6vw, 58px); line-height: 1.05; margin: 0 0 18px; max-width: 720px; }
.pd-hero h1 em { font-style: normal; color: var(--yellow); }
.pd-hero .lead { font-size: 18px; color: #d6e3ea; max-width: 620px; margin: 0 0 22px; }
.pd-main { background: var(--soft); padding-bottom: 80px; }
.pd-card { max-width: 700px; margin: -56px auto 0; background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.12); padding: 32px 36px; position: relative; z-index: 2; }
.pd-card h2 { font-family: var(--display); font-weight: 400; font-size: 25px; margin: 0 0 10px; }
.pd-card p { margin: 0 0 14px; }
.muted { color: var(--mute); font-size: 14px; }
.go { background: var(--teal); color: #fff; border: 0; border-radius: 8px; padding: 13px 26px; font: 700 14px var(--body); letter-spacing: .5px; text-transform: uppercase; cursor: pointer; text-decoration: none; display: inline-block; }
.go:hover { background: var(--teal-d); }
.go:disabled { opacity: .6; cursor: wait; }
.go.yellow { background: var(--yellow); color: #1a1610; }
.ghost { background: none; border: 2px solid var(--line); color: var(--ink); border-radius: 8px; padding: 10px 18px; font: 700 13px var(--body); cursor: pointer; text-decoration: none; display: inline-block; }
.ghost.light { border-color: rgba(255,255,255,.55); color: #fff; }
@media (max-width: 600px) { .pd-card { padding: 24px 18px; } }

/* script tiles */
.sc-icon { width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center; flex: none; font: 400 22px var(--display); color: #fff; background: var(--navy); }
.sc-icon img { width: 34px; height: 34px; image-rendering: auto; filter: brightness(0) invert(1); }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.sc-card { display: flex; gap: 14px; background: #fff; border-radius: 12px; padding: 18px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 20px rgba(0,0,0,.05); border: 1px solid transparent; }
.sc-card:hover { border-color: var(--teal); }
.sc-card b { display: block; font-size: 16px; }
.sc-card span.d { font-size: 14px; color: #555; line-height: 1.5; }
.sc-card .v { font-size: 12px; color: var(--mute); }

/* downloads list */
.dl { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: flex; gap: 12px; align-items: center; margin: 0 0 10px; }
.dl .sc-icon { width: 40px; height: 40px; border-radius: 10px; font-size: 16px; }
.dl .sc-icon img { width: 24px; height: 24px; }
.dl .n { flex: 1; min-width: 0; }
.dl .n b { display: block; }
.dl .n small { color: var(--mute); }
.badge-up { display: inline-block; background: var(--yellow); color: #1a1610; font: 700 11px var(--body); border-radius: 20px; padding: 2px 9px; margin-left: 6px; text-transform: uppercase; letter-spacing: .5px; }
.badge-ok { display: inline-block; background: #e6f5f2; color: var(--teal-d); font: 700 11px var(--body); border-radius: 20px; padding: 2px 9px; margin-left: 6px; }
