/* PMN Discovery V1 — namespaced, mobile-first, no interference with existing ContestMarket navigation */
#pmn-discovery{--ink:#0b1830;--navy:#10233e;--muted:#64748b;--gold:#ffcc00;--line:#e3e9f1;color:var(--ink);font-family:Arial,Helvetica,sans-serif}
#pmn-discovery *{box-sizing:border-box}
.pd-shell{max-width:1440px;margin:25px auto 70px;padding:0 clamp(14px,2.8vw,32px)}
.pd-hero{border-radius:25px;background:radial-gradient(circle at 88% 12%,#28598a 0,#122e53 33%,#08172f 78%);color:#fff;padding:clamp(25px,5vw,58px);box-shadow:0 18px 46px #061a332b}
.pd-eyebrow,.pd-kicker{font-size:11px;font-weight:900;letter-spacing:.15em;color:#f9cc3b}.pd-hero h1{font-size:clamp(30px,4.5vw,57px);line-height:1.08;letter-spacing:-.035em;margin:15px 0;max-width:870px;color:#fff}.pd-hero p{font-size:clamp(15px,1.7vw,20px);color:#d9e8f6;line-height:1.55;max-width:800px;margin:0 0 25px}
.pd-search{display:flex;gap:9px;max-width:970px;background:#fff;padding:7px;border-radius:15px}.pd-search input{background:transparent;color:#13243d;border:0;outline:0;padding:11px 13px;flex:1;min-width:0;font-size:16px}.pd-search button,.pd-primary{display:inline-flex;align-items:center;justify-content:center;gap:10px;border:0;background:#ffcc00;color:#091a30;font-size:15px;font-weight:900;padding:13px 19px;border-radius:11px;text-decoration:none;white-space:nowrap;cursor:pointer}.pd-hero-caption{font-size:12px;color:#bcd0e4;margin-top:12px}.pd-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.pd-goals{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:19px 0 34px}.pd-goal{display:flex;flex-direction:column;gap:8px;border:1px solid #dae4ef;border-radius:15px;padding:17px 15px;text-decoration:none;background:#fff;color:#152844;transition:box-shadow .15s,transform .15s}.pd-goal:hover,.pd-goal:focus-visible{box-shadow:0 8px 25px #071e3820;transform:translateY(-2px)}.pd-goal.is-active{border-color:#dfaa00;background:#fffae6;box-shadow:0 0 0 1px #e6bc46}.pd-goal strong{font-size:15px;line-height:1.25}.pd-goal span{font-size:12px;line-height:1.5;color:#66788e}
.pd-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:0 0 17px}.pd-section-head h2{margin:6px 0 0;font-size:clamp(24px,2.7vw,34px);letter-spacing:-.025em}.pd-section-head h2 em{font-style:normal;color:#ae8410}.pd-section-head p{max-width:400px;color:#64748b;font-size:14px;line-height:1.5;margin:0}.pd-section-head a{color:#0b5487;font-weight:800;text-decoration:none;font-size:14px}
.pd-duo{display:grid;grid-template-columns:1fr 1fr;gap:18px}.pd-pillar{border:1px solid var(--line);background:#fff;border-radius:22px;overflow:hidden;padding:clamp(18px,2.3vw,28px);display:flex;flex-direction:column;gap:17px;min-width:0}.pd-pillar-head{margin:-28px -28px 0;padding:27px 28px 22px;background:#fff7d8}.pd-pillar-solutions .pd-pillar-head{background:#eaf3ff}.pd-pillar-head .pd-eyebrow{color:#856100}.pd-pillar-solutions .pd-eyebrow{color:#1769a7}.pd-pillar h3{font-size:clamp(22px,2.5vw,30px);margin:9px 0;letter-spacing:-.02em}.pd-pillar-head p{color:#586b82;line-height:1.5;margin:0;font-size:14px}.pd-pill-links{display:grid;gap:8px}.pd-pill-links a,.pd-item{display:flex;justify-content:space-between;align-items:center;gap:12px;background:#f5f8fc;padding:13px 15px;border-radius:11px;color:#152842;font-weight:750;text-decoration:none;font-size:14px}.pd-pill-links a:hover,.pd-item:hover{background:#e9f0f8}.pd-item-info{display:flex;flex-direction:column;gap:4px;min-width:0}.pd-item-info small{font-weight:400;color:#62758a;line-height:1.4}.pd-items{display:grid;gap:8px}.pd-pillar .pd-primary{align-self:start;margin-top:auto}.pd-note,.pd-empty{color:#66778b;font-size:13px;line-height:1.6;margin:0}
.pd-explore{margin-top:37px}.pd-article-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.pd-article{display:flex;flex-direction:column;gap:12px;border:1px solid var(--line);border-radius:15px;padding:21px;text-decoration:none;background:#fff;color:#15253c;min-width:0}.pd-article strong{font-size:16px;line-height:1.4}.pd-article small{font-size:13px;color:#64748b;line-height:1.5}.pd-article-tag{font-size:10px;font-weight:900;letter-spacing:.08em;color:#946e08;text-transform:uppercase}.pd-read{color:#14649c;font-size:13px;font-weight:900;margin-top:auto}.pd-article:hover{border-color:#acc7e0;box-shadow:0 8px 30px #0a234013}
.pd-grow{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:36px;background:#112943;color:#fff;border-radius:20px;padding:clamp(22px,3vw,34px)}.pd-grow h2{color:#fff;margin:9px 0;font-size:25px}.pd-grow p{color:#cedceb;line-height:1.55;margin:0;max-width:690px;font-size:14px}.pd-grow-actions{display:flex;gap:9px;flex-wrap:wrap}.pd-grow-actions a{display:inline-flex;white-space:nowrap;text-decoration:none;color:#0b1f35;background:#ffcc00;border-radius:10px;padding:12px 16px;font-size:13px;font-weight:900}.pd-grow-actions a+ a{background:#fff}.pd-footnote{margin-top:20px;color:#728092;line-height:1.6;font-size:12px}
@media(max-width:1020px){.pd-goals{grid-template-columns:repeat(3,minmax(0,1fr))}.pd-article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pd-grow{flex-direction:column;align-items:start}}
@media(max-width:700px){.pd-shell{margin-top:14px}.pd-goals{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.pd-goal{padding:13px}.pd-goal strong{font-size:14px}.pd-duo{grid-template-columns:1fr}.pd-article-grid{grid-template-columns:1fr}.pd-section-head{align-items:start;flex-direction:column;gap:7px}.pd-hero{border-radius:17px}.pd-search{flex-direction:column}.pd-search input{width:100%;padding:12px}.pd-search button{min-height:44px}.pd-pillar-head{margin:-18px -18px 0;padding:22px 18px}.pd-pillar .pd-primary{width:100%}}
@media(max-width:360px){.pd-goals{grid-template-columns:1fr}}

/* PMN_DISCOVERY_CONTRAST_FIX_V1_0_1
   Existing global Joomla/ContestMarket heading rules can override unscoped
   .pd-section-head h2. Scope every public-facing foreground to this page. */
#pmn-discovery { color:#e9f2fc !important; }
#pmn-discovery .pd-section-head h2,
#pmn-discovery .pd-section-head h2 a { color:#ffffff !important; -webkit-text-fill-color:#ffffff !important; text-shadow:none !important; opacity:1 !important; }
#pmn-discovery .pd-section-head h2 em { color:#ffcc00 !important; -webkit-text-fill-color:#ffcc00 !important; }
#pmn-discovery .pd-section-head p,
#pmn-discovery .pd-note,
#pmn-discovery .pd-empty,
#pmn-discovery .pd-footnote { color:#c2d3e7 !important; -webkit-text-fill-color:#c2d3e7 !important; opacity:1 !important; }
#pmn-discovery .pd-section-head a { color:#facc45 !important; -webkit-text-fill-color:#facc45 !important; }
#pmn-discovery .pd-kicker { color:#ffcc00 !important; -webkit-text-fill-color:#ffcc00 !important; }
#pmn-discovery .pd-hero h1,
#pmn-discovery .pd-grow h2 { color:#fff !important; -webkit-text-fill-color:#fff !important; }
#pmn-discovery .pd-hero p,
#pmn-discovery .pd-hero-caption { color:#e2edf8 !important; -webkit-text-fill-color:#e2edf8 !important; }
#pmn-discovery .pd-goal,
#pmn-discovery .pd-pillar,
#pmn-discovery .pd-article { color:#142b46 !important; }
#pmn-discovery .pd-goal strong,
#pmn-discovery .pd-pillar h3,
#pmn-discovery .pd-item strong,
#pmn-discovery .pd-article strong { color:#10233f !important; -webkit-text-fill-color:#10233f !important; }
#pmn-discovery .pd-goal span,
#pmn-discovery .pd-pillar-head p,
#pmn-discovery .pd-item-info small,
#pmn-discovery .pd-article small { color:#53677f !important; -webkit-text-fill-color:#53677f !important; }
#pmn-discovery .pd-pillar .pd-note,
#pmn-discovery .pd-pillar .pd-empty { color:#53677f !important; -webkit-text-fill-color:#53677f !important; }
#pmn-discovery .pd-pill-links a,
#pmn-discovery .pd-item { color:#132843 !important; -webkit-text-fill-color:#132843 !important; }
#pmn-discovery .pd-grow p { color:#e2eaf5 !important; -webkit-text-fill-color:#e2eaf5 !important; }
#pmn-discovery .pd-search input { color:#152944 !important; -webkit-text-fill-color:#152944 !important; }
#pmn-discovery .pd-search input::placeholder { color:#64748b !important; -webkit-text-fill-color:#64748b !important; opacity:1; }
#pmn-discovery .pd-search button,
#pmn-discovery .pd-primary,
#pmn-discovery .pd-grow-actions a { color:#091a30 !important; -webkit-text-fill-color:#091a30 !important; }
