/* Online Prop Firm Reviews v0.1.1 – deliberately namespaced to avoid Elementor theme interference. */
.opf-directory{--opf-cyan:#0de0ed;--opf-fg:#f4fbff;--opf-muted:#b0c1ce;--opf-line:#304c5d;position:relative;isolation:isolate;max-width:1600px;width:100%;margin:0 auto;box-sizing:border-box;padding:30px 28px 28px;color:var(--opf-fg);border:1px solid #1e4350;border-radius:17px;background:radial-gradient(ellipse 60% 45% at 78% 0%,rgba(0,197,219,.17),transparent 75%),linear-gradient(130deg,#0a151e 0%,#0d1a25 55%,#09121b 100%);box-shadow:0 14px 48px rgba(0,0,0,.21);font-family:Inter,Arial,Helvetica,sans-serif;font-size:14px;line-height:1.4}
.opf-directory *,.opf-directory *::before,.opf-directory *::after{box-sizing:border-box}
.opf-directory [hidden]{display:none!important}
.opf-visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.opf-hero{position:relative;display:flex;align-items:flex-start;min-height:125px;margin:0 0 12px;overflow:hidden}
.opf-hero-copy{position:relative;z-index:1;max-width:830px}
.opf-directory .opf-heading{margin:0 0 6px!important;padding:0;font-size:clamp(30px,3.25vw,44px)!important;font-weight:800!important;line-height:1.1!important;letter-spacing:-.035em;color:var(--opf-fg)!important}
.opf-directory .opf-heading::first-letter{color:var(--opf-fg)}
.opf-directory .opf-heading{background:linear-gradient(90deg,#f4fbff 0%,#f4fbff 54%,#11dce7 75%,#11dce7 100%);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;max-width:max-content}
.opf-directory .opf-tagline{margin:0!important;font-size:15px!important;line-height:1.55!important;font-weight:400;color:#dceaf0!important}
.opf-heading-rule{display:block;margin-top:14px;width:74px;height:4px;background:var(--opf-cyan);border-radius:20px;box-shadow:0 0 13px #09ecf5aa}
.opf-chart-art{position:absolute;right:-4px;top:-34px;width:min(45%,520px);height:160px;opacity:.65;filter:drop-shadow(0 0 7px rgba(0,238,250,.4));pointer-events:none}
.opf-controls{display:flex;gap:22px;align-items:center;margin-bottom:20px;flex-wrap:wrap}
.opf-search{flex:1 1 290px;display:flex;align-items:center;gap:10px;max-width:440px;min-width:190px;height:45px;border:1.4px solid #22d8e4;border-radius:24px;background:#0b1c28;padding:0 15px;box-shadow:inset 0 0 16px rgba(0,225,239,.025)}
.opf-search:focus-within{outline:2px solid rgba(20,224,234,.2);outline-offset:2px}
.opf-search-icon{font-size:31px;color:#d8faff;line-height:1;transform:rotate(-15deg);font-family:Arial,sans-serif}
.opf-directory .opf-search-input{min-width:0;flex:1;width:100%;margin:0;padding:0;border:none!important;box-shadow:none!important;outline:none!important;background:transparent!important;color:#f7fdff!important;font:inherit!important;font-size:14px!important;line-height:1!important;border-radius:0!important}
.opf-directory .opf-search-input::placeholder{color:#b9d0da;opacity:1}
.opf-tabs{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.opf-directory button.opf-tab{cursor:pointer;padding:10px 19px!important;min-height:42px!important;min-width:0!important;background:transparent!important;border:1.4px solid #b9d0db!important;border-radius:24px!important;color:#eef9fb!important;font:inherit!important;font-size:13px!important;font-weight:700!important;line-height:1!important;transition:background .18s,border-color .18s,color .18s,box-shadow .18s;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important}
.opf-directory button.opf-tab.is-active,.opf-directory button.opf-tab:hover{border-color:var(--opf-cyan)!important;background:var(--opf-cyan)!important;color:#04151d!important}
.opf-directory button.opf-tab:focus-visible,.opf-read-review:focus-visible,.opf-offer-badge:focus-visible{outline:2px solid white;outline-offset:3px}
.opf-headings,.opf-firm-row{display:grid;grid-template-columns:minmax(145px,1.26fr) minmax(92px,.72fr) minmax(170px,1.44fr) minmax(105px,.78fr) minmax(90px,.7fr) minmax(100px,.82fr) minmax(82px,.6fr) minmax(112px,.76fr);align-items:center;column-gap:14px}
.opf-headings{padding:9px 15px;margin-bottom:8px;color:#bcd0da;font-size:11px;text-transform:uppercase;letter-spacing:.08em;border:1px solid #35515e;border-radius:11px;background:linear-gradient(180deg,#1c2f3b,#10202c)}
.opf-headings span:not(:last-child){white-space:nowrap}
.opf-results{display:flex;flex-direction:column;gap:7px}
.opf-firm-row{min-height:75px;padding:8px 15px;border:1px solid rgba(94,126,145,.67);border-radius:12px;background:linear-gradient(108deg,#1c2c39 0%,#14232e 51%,#11202a 100%);box-shadow:inset 0 1px rgba(255,255,255,.045);transition:transform .17s,background .17s,border-color .17s}
.opf-firm-row:hover{border-color:rgba(13,224,237,.8);background:linear-gradient(108deg,#1e3540,#17303a 60%,#10232d)}
.opf-firm-row.is-featured{border-color:var(--opf-cyan);background:linear-gradient(100deg,rgba(0,136,149,.33),#17303a 48%,#0b2330);box-shadow:0 0 16px rgba(8,224,237,.11),inset 0 0 20px rgba(8,224,237,.045)}
.opf-firm-row>*{min-width:0}
.opf-firm-cell{display:flex;align-items:center;gap:11px}
.opf-firm-logo{width:56px;height:52px;flex:0 0 56px;border:1px solid #42cfdc;border-radius:9px;background:#08151e;display:flex;align-items:center;justify-content:center;overflow:hidden}
.opf-firm-logo img{width:100%;height:100%;object-fit:contain;padding:5px}
.opf-logo-fallback{font-size:22px;font-weight:900;letter-spacing:-.07em;color:#e5fbff}
.opf-firm-name-wrap{display:flex;min-width:0;flex-direction:column;align-items:flex-start;gap:4px}
.opf-firm-name{font-weight:800;color:#f7fdff;font-size:14px;overflow-wrap:anywhere;line-height:1.2}
.opf-pick{display:inline-block;max-width:100%;white-space:nowrap;font-weight:800;background:#00dbe8;color:#051820;border-radius:10px;font-size:9px;line-height:1.2;padding:3px 7px;letter-spacing:.03em}
.opf-rating-number{font-size:20px;line-height:1.05;font-weight:800;color:#fff}
.opf-score-of{font-size:11px;color:var(--opf-muted);font-weight:600}
.opf-stars{position:relative;width:max-content;font-size:14px;letter-spacing:-.05em;line-height:1.25;white-space:nowrap}
.opf-stars-bg{color:#526676}
.opf-stars-fill{position:absolute;top:0;left:0;overflow:hidden;color:#ffb51a;white-space:nowrap}
.opf-info-cell{display:flex;gap:7px;align-items:center;color:#e5eff3;font-size:12px;line-height:1.4;overflow-wrap:anywhere}
.opf-summary-cell{font-size:12px;line-height:1.42;color:#d8e7ee}
.opf-info-icon{font-size:19px;line-height:1;color:var(--opf-cyan);flex:0 0 auto}
.opf-offer-cell{display:flex;align-items:flex-start;justify-content:center;flex-direction:column;gap:4px}
.opf-directory a.opf-offer-badge,.opf-directory span.opf-offer-badge{display:inline-block;text-decoration:none!important;font-weight:800;font-size:11px;white-space:nowrap;color:var(--opf-cyan)!important;border:1px solid var(--opf-cyan);border-radius:16px;padding:5px 10px;line-height:1.2;background:#0c2530}
.opf-discount-code{font-size:10px;color:#c8dbe5;overflow-wrap:anywhere}
.opf-dash{color:#8198a6;font-size:12px}
.opf-action-cell{display:flex;justify-content:stretch}
.opf-directory a.opf-read-review,.opf-directory span.opf-read-review{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;width:100%;padding:8px 8px;border-radius:20px;background:var(--opf-cyan);color:#051820!important;font-size:11px;font-weight:800;white-space:nowrap;text-decoration:none!important;line-height:1.2;transition:filter .15s,transform .15s}
.opf-directory a.opf-read-review:hover{filter:brightness(1.13);transform:translateY(-1px)}
.opf-directory span.opf-read-review.is-disabled{background:#344b57;color:#a5b7c0!important;cursor:default}
.opf-read-review span{font-size:17px;line-height:.5}
.opf-directory .opf-no-match,.opf-directory .opf-empty{background:#152b35;border:1px solid #375865;border-radius:12px;padding:30px;text-align:center;color:#d7edf2!important;font-size:14px}
.opf-directory-footer{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #25434f;margin-top:22px;padding-top:15px;color:#91b0bb;font-size:11px;letter-spacing:.015em}
.opf-mobile-label{display:none}
@media(max-width:1230px){.opf-headings,.opf-firm-row{grid-template-columns:minmax(145px,1.1fr) minmax(92px,.68fr) minmax(155px,1.3fr) minmax(95px,.75fr) minmax(80px,.6fr) minmax(105px,.75fr) minmax(110px,.8fr)}.opf-headings span:nth-child(6),.opf-firm-row>.opf-info-cell:nth-child(6){display:none}.opf-directory{padding:27px 20px}}
@media(max-width:1040px){.opf-headings,.opf-firm-row{grid-template-columns:minmax(155px,1.1fr) minmax(105px,.7fr) minmax(160px,1.3fr) minmax(110px,.75fr) minmax(95px,.68fr) minmax(110px,.8fr)}.opf-headings span:nth-child(5),.opf-firm-row>.opf-info-cell:nth-child(5){display:none}.opf-search{max-width:none}.opf-controls{gap:15px}.opf-chart-art{opacity:.32}}
@media(max-width:790px){.opf-directory{padding:23px 15px 20px;border-radius:14px}.opf-hero{min-height:0;padding-bottom:16px;margin-bottom:5px}.opf-directory .opf-heading{font-size:clamp(27px,6vw,36px)!important}.opf-directory .opf-tagline{font-size:13px!important}.opf-chart-art{width:55%;top:0;opacity:.15}.opf-controls{flex-direction:column;align-items:stretch;gap:12px}.opf-search{flex:none;max-width:none;min-width:0;width:100%}.opf-tabs{gap:7px;justify-content:space-between}.opf-directory button.opf-tab{padding:11px 12px!important;flex:1;font-size:12px!important}.opf-headings{display:none}.opf-firm-row{display:grid;grid-template-columns:1fr 1fr;gap:13px;min-height:auto;padding:14px}.opf-firm-cell{grid-column:1/-1;border-bottom:1px solid #2b4652;padding-bottom:10px}.opf-firm-name{font-size:17px}.opf-firm-logo{width:56px;height:54px;flex-basis:56px}.opf-mobile-label{display:block;color:#8daebc;font-size:10px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;margin-bottom:4px}.opf-rating-cell{grid-column:1/2}.opf-summary-cell{display:flex!important;grid-column:1/-1;flex-direction:column;align-items:flex-start;font-size:13px}.opf-info-cell{display:flex!important;align-items:flex-start;flex-direction:column;gap:3px}.opf-info-icon{display:none}.opf-firm-row>.opf-info-cell:nth-child(6),.opf-firm-row>.opf-info-cell:nth-child(5){display:flex}.opf-offer-cell{grid-column:1/2}.opf-action-cell{grid-column:2/3;align-self:end}.opf-directory a.opf-read-review,.opf-directory span.opf-read-review{min-height:40px}.opf-directory-footer{font-size:10px}}
@media(max-width:420px){.opf-tabs button.opf-tab{padding:9px 7px!important;font-size:11px!important}.opf-firm-row{gap:11px}.opf-firm-logo{width:50px;height:50px;flex-basis:50px}.opf-firm-name{font-size:15px}.opf-directory .opf-heading{font-size:28px!important}.opf-offer-badge{font-size:10px!important}}

/* v0.1.1: test-page-only full charcoal backdrop.
   The pale space in screenshots belonged to the theme page canvas,
   not to the borders inside .opf-directory. */
body.opf-reviews-test-page,
body.opf-reviews-test-page #page,
body.opf-reviews-test-page #content,
body.opf-reviews-test-page .site-content,
body.opf-reviews-test-page .content-area,
body.opf-reviews-test-page #primary,
body.opf-reviews-test-page .site-main,
body.opf-reviews-test-page main.site-main,
body.opf-reviews-test-page .entry-content,
body.opf-reviews-test-page article.page,
body.opf-reviews-test-page .wp-site-blocks,
body.opf-reviews-test-page .wp-block-post-content {
    background-color: #0b1720 !important;
}

/* Hide the automatically generated white-page heading; the shortcode has its own hero. */
body.opf-reviews-test-page .entry-header > .entry-title,
body.opf-reviews-test-page .entry-header > h1,
body.opf-reviews-test-page h1.wp-block-post-title,
body.opf-reviews-test-page header.entry-header {
    display: none !important;
}

/* Widen only the test directory; it remains constrained on small screens. */
body.opf-reviews-test-page .opf-directory {
    width: min(1600px, calc(100vw - 40px));
    max-width: none;
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
    border-color: #1c3b49 !important;
}

/* The internal separators should stay muted steel-blue, not bright white. */
.opf-directory .opf-headings {border-color:#2a4554 !important;}
.opf-directory .opf-firm-row {border-color:#335260 !important;}
.opf-directory .opf-firm-row:hover,
.opf-directory .opf-firm-row.is-featured {border-color:#0ddae9 !important;}
.opf-directory button.opf-tab:not(.is-active):not(:hover) {border-color:#536e7b !important;}
.opf-directory .opf-search {border-color:#1b8794 !important;}

@media(max-width:790px) {
  body.opf-reviews-test-page .opf-directory {
    width: calc(100vw - 24px);
  }
}


/* v0.1.2 – hide only the page-generated heading; the shortcode has its own. */
body.opf-reviews-test-page h1.entry-title,
body.opf-reviews-test-page .entry-title,
body.opf-reviews-test-page h1.page-title,
body.opf-reviews-test-page .page-title,
body.opf-reviews-test-page .wp-block-post-title,
body.opf-reviews-test-page .elementor-page-title,
body.opf-reviews-test-page .site-main h1:not(.opf-heading),
body.opf-reviews-test-page main h1:not(.opf-heading),
body.opf-reviews-test-page #primary h1:not(.opf-heading) {
    display: none !important;
}
/* When the theme uses an Elementor-generated page title element outside main. */
body.opf-reviews-test-page .elementor-widget-theme-post-title,
body.opf-reviews-test-page .elementor-widget-theme-page-title,
body.opf-reviews-test-page .ast-advanced-headers-title {display:none !important;}

/* v0.1.2 – don't let a sticky theme header overlap the directory on this TEST page.
   Covers common WordPress themes and Elementor sticky-header wrappers. */
body.opf-reviews-test-page #masthead,
body.opf-reviews-test-page #site-header,
body.opf-reviews-test-page .site-header,
body.opf-reviews-test-page .elementor-location-header,
body.opf-reviews-test-page .elementor-sticky--active,
body.opf-reviews-test-page .elementor-sticky--effects,
body.opf-reviews-test-page .ast-sticky-active .main-header-bar,
body.opf-reviews-test-page .ast-sticky-active #masthead,
body.opf-reviews-test-page .sticky-header,
body.opf-reviews-test-page .sticky-header-active,
body.opf-reviews-test-page .header-sticky,
body.opf-reviews-test-page header.sticky,
body.opf-reviews-test-page .site-header.is-sticky {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    transform: none !important;
}
body.opf-reviews-test-page .elementor-sticky__spacer,
body.opf-reviews-test-page .ast-sticky-header-placeholder {
    display: none !important;
}
