/* Online Prop Firm Discounts v0.1.0 — all selectors are namespaced. */
.opfd-directory{--opfd-bg:#0b1720;--opfd-cyan:#10ddeb;--opfd-orange:#ff8b20;--opfd-white:#f4fcff;--opfd-muted:#b9cbd4;--opfd-line:#284957;box-sizing:border-box;isolation:isolate;width:100%;max-width:1500px;margin:0 auto;padding:30px 30px 22px;background:radial-gradient(ellipse 57% 43% at 83% 0%,rgba(0,210,226,.13),transparent 75%),linear-gradient(125deg,#0a151e,#101e29 54%,#08151e);border:1px solid #254957;border-radius:17px;box-shadow:0 18px 46px rgba(0,0,0,.22);color:var(--opfd-white);font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.42}
.opfd-directory *,.opfd-directory *::before,.opfd-directory *::after{box-sizing:border-box}
.opfd-directory [hidden]{display:none!important}
.opfd-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.opfd-hero{margin:0 0 23px}.opfd-kicker{display:flex;align-items:center;gap:8px;font-size:10px;font-weight:800;letter-spacing:.19em;color:#7bd9e0;margin-bottom:12px}.opfd-kicker-dot{width:8px;height:8px;border-radius:100%;background:var(--opfd-cyan);box-shadow:0 0 15px var(--opfd-cyan)}
.opfd-hero-layout{display:flex;justify-content:space-between;align-items:center;gap:25px;min-height:80px}
.opfd-directory .opfd-title{margin:0 0 8px!important;padding:0;color:var(--opfd-white)!important;font-size:clamp(29px,3.5vw,45px)!important;font-weight:850!important;line-height:1.1!important;letter-spacing:-.035em}
.opfd-directory .opfd-subtitle{margin:0!important;max-width:790px;font-size:14px!important;font-weight:400!important;line-height:1.55!important;color:#cadde6!important}
.opfd-hero-side{width:135px;min-width:135px;height:78px;border:1px solid rgba(27,220,231,.25);border-radius:15px;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;background:linear-gradient(120deg,rgba(1,126,141,.20),rgba(4,17,27,.15));transform:rotate(-4deg)}
.opfd-hero-side::before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0 21px,rgba(17,212,225,.07) 22px 23px)}.opfd-hero-icon{position:relative;z-index:1;font-size:50px;font-weight:900;color:var(--opfd-cyan);line-height:1;text-shadow:0 0 22px rgba(3,226,246,.4)}
.opfd-hero-rule{display:block;margin-top:17px;width:82px;height:4px;background:var(--opfd-cyan);border-radius:5px;box-shadow:0 0 14px rgba(6,228,243,.6)}
.opfd-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;flex-wrap:wrap;margin-bottom:17px}.opfd-search{height:45px;min-width:210px;flex:1 1 300px;max-width:430px;padding:0 14px;border-radius:23px;display:flex;align-items:center;gap:10px;background:#091b27;border:1.4px solid #1c8797;color:#8adbe5}.opfd-search:focus-within{outline:2px solid rgba(4,227,241,.45);outline-offset:2px}
.opfd-directory input.opfd-search-input{min-width:0;width:100%;color:#f2fcff!important;background:transparent!important;border:0!important;outline:0!important;box-shadow:none!important;margin:0!important;padding:0!important;font-size:13px!important;font-weight:400!important;line-height:1!important;border-radius:0!important}.opfd-search-input::placeholder{color:#afc7d2!important;opacity:1}
.opfd-filter-buttons{display:flex;gap:8px;flex-wrap:wrap}.opfd-directory button.opfd-filter{cursor:pointer;color:#e9f8fb!important;border:1px solid #1b94a3!important;border-radius:24px!important;padding:11px 17px!important;background:#09202b!important;min-height:40px!important;font-family:inherit!important;font-size:12px!important;font-weight:800!important;line-height:1.2!important;letter-spacing:0!important;text-transform:none!important;box-shadow:none!important;transition:background .15s,filter .15s,color .15s}.opfd-directory button.opfd-filter:hover{background:#16404a!important}.opfd-directory button.opfd-filter.is-selected{color:#111924!important;border-color:#ff9d30!important;background:linear-gradient(180deg,#ffb440,#ff871d)!important;box-shadow:0 0 13px rgba(255,138,25,.20)!important}
.opfd-table-head,.opfd-offer-row{display:grid;grid-template-columns:minmax(220px,1.2fr) minmax(120px,.7fr) minmax(190px,.95fr) minmax(160px,.65fr);gap:16px;align-items:center}.opfd-table-head{padding:9px 20px;margin-bottom:8px;border:1px solid #2a4e5c;border-radius:10px;background:#122936;color:#a8c3d0;font-size:10px;letter-spacing:.12em;font-weight:850}
.opfd-list{display:flex;flex-direction:column;gap:9px}.opfd-offer-row{min-height:88px;padding:14px 20px;background:linear-gradient(105deg,#172c38,#11242f 75%,#0f202c);border:1px solid #315361;border-radius:12px;transition:border-color .15s,background .15s;box-shadow:inset 0 1px rgba(255,255,255,.04)}.opfd-offer-row:hover{border-color:#0bcfe0;background:linear-gradient(105deg,#1b3945,#12303d 70%,#102531)}.opfd-offer-row.is-featured{border-left:3px solid var(--opfd-cyan)}.opfd-offer-row>*{min-width:0}
.opfd-firm-cell{display:flex;align-items:center;gap:14px}.opfd-logo{display:flex;width:61px;height:61px;flex:0 0 61px;align-items:center;justify-content:center;overflow:hidden;background:#091923;border:1px solid #286b7a;border-radius:11px}.opfd-logo img{width:100%;height:100%;object-fit:contain;padding:6px}.opfd-logo-initials{font-size:23px;font-weight:900;color:#e8fdff}.opfd-firm-copy{min-width:0}.opfd-name{color:#f8feff;font-size:16px;font-weight:800;line-height:1.15;overflow-wrap:anywhere}.opfd-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:7px}.opfd-tag{border:1px solid #386779;color:#adced9;background:rgba(9,22,31,.62);font-size:9px;font-weight:850;letter-spacing:.06em;line-height:1.1;border-radius:5px;padding:4px 6px}.opfd-tag-featured{background:linear-gradient(180deg,#ffb33b,#ff8919);border-color:#ff9b2b;color:#10202c}
.opfd-offer-value{color:var(--opfd-orange);font-size:19px;font-weight:900;line-height:1.2;overflow-wrap:anywhere}.opfd-code-field{max-width:280px;min-height:42px;display:flex;align-items:center;gap:3px;background:#0b1d28;border:1px dashed #4294a0;border-radius:9px;padding:4px 5px 4px 12px}.opfd-directory code.opfd-code-text{min-width:0;flex:1;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#dbfaff!important;font-size:13px!important;font-weight:750!important;overflow-wrap:anywhere;white-space:normal;background:transparent!important;border:0!important;padding:0!important}.opfd-directory button.opfd-copy{display:flex;align-items:center;justify-content:center;gap:6px;flex:0 0 auto;cursor:pointer;padding:8px 10px!important;border-radius:6px!important;background:#173641!important;border:1px solid #3c7d88!important;color:#defbff!important;font-size:11px!important;font-family:inherit!important;font-weight:800!important;line-height:1!important;text-transform:none!important;box-shadow:none!important;min-height:31px!important}.opfd-directory button.opfd-copy:hover,.opfd-directory button.opfd-copy.is-copied{background:#15505c!important;border-color:#0de0ed!important}.opfd-no-code{color:#b7d0d9;font-size:12px}.opfd-action-cell{display:flex;align-items:center;justify-content:stretch}.opfd-directory a.opfd-visit{width:100%;min-height:43px;display:flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(180deg,#ffae37,#fb7f16);color:#111a23!important;text-decoration:none!important;font-size:13px;font-weight:900;border-radius:23px;white-space:nowrap;padding:10px 16px;box-shadow:0 2px 13px rgba(247,125,18,.17);transition:filter .15s,transform .15s}.opfd-directory a.opfd-visit:hover{filter:brightness(1.13);transform:translateY(-1px)}.opfd-visit span{font-size:17px;line-height:1}.opfd-link-missing{font-size:12px;font-weight:700;color:#a4b4bc;display:block;text-align:center;width:100%;border:1px dashed #45616a;border-radius:23px;padding:10px}
.opfd-directory button:focus-visible,.opfd-directory a:focus-visible{outline:2px solid white!important;outline-offset:3px}.opfd-mobile-label{display:none}.opfd-empty,.opfd-no-results{background:#102a35;border:1px solid #38606a;border-radius:11px;padding:27px;text-align:center;color:#d5ebf1!important;font-size:13px}.opfd-footer{border-top:1px solid #2c4652;margin-top:20px;padding-top:13px;display:flex;justify-content:space-between;gap:18px;align-items:flex-start}.opfd-directory .opfd-footer p{margin:0!important;max-width:930px;color:#91b0bc!important;font-size:11px!important;line-height:1.5!important}.opfd-count{flex:0 0 auto;color:#9cc2cd;font-size:11px;font-weight:800;white-space:nowrap}
@media(max-width:980px){.opfd-directory{padding:25px 20px}.opfd-table-head,.opfd-offer-row{grid-template-columns:minmax(180px,1.1fr) minmax(120px,.67fr) minmax(180px,.95fr) minmax(130px,.68fr);gap:12px}.opfd-table-head{padding:10px 13px}.opfd-offer-row{padding:12px 13px}.opfd-logo{width:52px;height:52px;flex-basis:52px}.opfd-name{font-size:14px}.opfd-offer-value{font-size:16px}.opfd-directory button.opfd-filter{padding:10px 12px!important}}
@media(max-width:760px){.opfd-directory{padding:22px 15px;border-radius:13px}.opfd-kicker{font-size:9px;letter-spacing:.11em}.opfd-hero-side{width:68px;min-width:68px;height:64px}.opfd-hero-icon{font-size:35px}.opfd-directory .opfd-title{font-size:clamp(27px,7vw,36px)!important}.opfd-directory .opfd-subtitle{font-size:12px!important}.opfd-toolbar{flex-direction:column;align-items:stretch;gap:11px}.opfd-search{max-width:none;width:100%;flex:none}.opfd-filter-buttons{width:100%;gap:5px}.opfd-directory button.opfd-filter{flex:1;padding:10px 7px!important;font-size:11px!important}.opfd-table-head{display:none}.opfd-offer-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:13px;min-height:auto;padding:15px}.opfd-firm-cell{grid-column:1/-1;padding-bottom:12px;border-bottom:1px solid #294a57}.opfd-firm-copy .opfd-name{font-size:16px}.opfd-offer-cell{grid-column:1;align-self:center}.opfd-code-cell{grid-column:2;align-self:center}.opfd-mobile-label{display:block;margin:0 0 5px;color:#8baeba;font-size:9px;font-weight:800;letter-spacing:.08em}.opfd-code-field{min-height:40px;padding-left:8px}.opfd-directory code.opfd-code-text{font-size:11px!important}.opfd-directory button.opfd-copy{padding:8px!important}.opfd-directory button.opfd-copy span{display:none}.opfd-action-cell{grid-column:1/-1}.opfd-directory a.opfd-visit{min-height:42px}.opfd-footer{flex-direction:column;gap:8px}}
@media(max-width:390px){.opfd-offer-row{grid-template-columns:1fr}.opfd-offer-cell,.opfd-code-cell,.opfd-action-cell{grid-column:1}.opfd-code-field{max-width:none}.opfd-hero-side{display:none}}
/* v0.1.1: Fix the white/grey theme canvas and duplicate WordPress page title
   automatically, but ONLY on published pages using [opf_discounts].
   The site navigation and footer stay owned by the theme. */
body.opfd-live-page,
body.opfd-live-page #page,
body.opfd-live-page #content,
body.opfd-live-page #primary,
body.opfd-live-page #main,
body.opfd-live-page .site,
body.opfd-live-page .site-content,
body.opfd-live-page .site-main,
body.opfd-live-page .entry-content,
body.opfd-live-page article.page,
body.opfd-live-page .wp-site-blocks,
body.opfd-live-page .elementor,
body.opfd-live-page .elementor-section-wrap,
body.opfd-live-page .elementor-top-section,
body.opfd-live-page .elementor-widget-wrap,
body.opfd-live-page .e-con,
body.opfd-live-page .e-con-inner {
  background-color:#0b1720!important;
  background-image:none!important;
}
body.opfd-live-page .entry-header,
body.opfd-live-page h1.entry-title,
body.opfd-live-page h1.page-title,
body.opfd-live-page .wp-block-post-title,
body.opfd-live-page .page-header,
body.opfd-live-page .elementor-page-title {
  display:none!important;
}
body.opfd-live-page #content,
body.opfd-live-page #primary,
body.opfd-live-page .site-main,
body.opfd-live-page .entry-content,
body.opfd-live-page .elementor-widget-shortcode,
body.opfd-live-page .elementor-widget-shortcode .elementor-widget-container {
  padding-top:0!important;
  margin-top:0!important;
}
/* Expand only the discount panel beyond any restrictive theme/Elementor content
   width. The 60px viewport inset protects the edges; max width is 1720px. */
body.opfd-live-page .opfd-directory {
  width:min(1720px,calc(100vw - 60px));
  max-width:none;
  margin-left:50%;
  margin-right:0;
  transform:translateX(-50%);
}
@media(max-width:760px){
  body.opfd-live-page .opfd-directory{width:calc(100vw - 20px)}
}
