/* =====================================================================
   BuilditLORE POP-UP STANDARD v1.0 (28 Nov 2026)
   Matches the approved Know Thyself pop-up: opens under the site header,
   art on the left in a navy panel, white content panel on the right,
   orange top edge, navy close button with orange cross.
   Identical copy ships in every plugin that opens tiles in a pop-up.
   ===================================================================== */
html.blp-lock,html.blp-lock body{overflow:hidden!important}
.blp-ov{position:fixed;left:0;right:0;bottom:0;top:var(--blp-top,0px);z-index:100000;display:flex;align-items:flex-start;justify-content:center;padding:24px 24px 0;background:rgba(11,25,48,.9);overscroll-behavior:contain}
.blp-ov[hidden]{display:none!important}
.blp-ov,.blp-ov *{box-sizing:border-box}
.blp-md{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);width:100%;max-width:1410px;height:calc(100dvh - var(--blp-top,0px) - 36px);min-height:420px;background:#fff;border-top:5px solid #ef7622;border-radius:6px;overflow:hidden;overflow:clip;box-shadow:0 24px 60px rgba(0,0,0,.35);font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#17243a;text-align:left}


/* Art panel */
.blp-art{background:#0b1930;padding:34px;overflow-y:auto;display:flex;flex-direction:column;gap:14px;align-items:stretch;justify-content:flex-start}
.blp-art>img,.blp-art>.blp-ph{display:block;flex:none;width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:2px}
.blp-ph{position:relative;display:grid!important;place-items:center;background:linear-gradient(135deg,#0b1930,#1b3a6b);overflow:hidden}
.blp-ph::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);background-size:38px 38px}
.blp-ph b{position:relative;font-size:clamp(64px,9vw,128px);font-weight:900;line-height:1;color:#ef7622;letter-spacing:-.02em}
.blp-ph small{position:absolute;left:22px;bottom:18px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:#d7e1ef}

/* Text-only pop-up (e.g. Trade Packages): same frame, content uses the full width */
.blp-md.blp-noart{grid-template-columns:minmax(0,1fr)}
.blp-md.blp-noart .blp-art{display:none}
.blp-md.blp-noart .blp-main{padding:40px 48px 56px}
@media (max-width:760px){.blp-md.blp-noart .blp-main{padding:22px 18px 48px}}

/* Content panel */
.blp-main:focus{outline:none}
.blp-main{position:relative;overflow-y:auto;overscroll-behavior:contain;padding:36px 40px 56px 30px;scroll-padding-top:84px}
.blp-k{margin:0 0 8px;padding-right:72px;font-size:12px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;color:#ef7622}
.blp-h{margin:0 0 18px;padding-right:72px;font-size:36px;font-weight:850;line-height:1.1;letter-spacing:-.01em;color:#102447}
.blp-core{max-width:600px;margin:0 0 18px;padding:16px 20px;background:#f4f2ee;border-left:4px solid #ef7622;border-radius:0 4px 4px 0;font-size:18px;font-weight:650;line-height:1.45;color:#102447}
.blp-jump{display:inline-block;margin:0 0 10px;padding:0 0 2px;border-bottom:1.5px solid #102447;font-size:13.5px;font-weight:800;color:#102447!important;text-decoration:none!important}
.blp-jump:hover,.blp-jump:focus-visible{color:#ef7622!important;border-color:#ef7622}
.blp-sk{margin:34px 0 0;padding:0 0 14px;border-bottom:1px solid #e3e7ed;font-size:12px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#ef7622}
/* Lesson rows, as on Know Thyself: plain text rows split by thin lines, clipboard on the right */
.blp-row{display:flex;gap:12px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #e3e7ed}
.blp-row>div,.blp-row>p{flex:1;min-width:0;margin:0;font-size:15.5px;line-height:1.65;color:#3d4b61}
.blp-lab{display:block;margin:0 0 4px;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#102447}
.blp-row a{color:#102447;font-weight:700;text-decoration:underline;text-decoration-color:rgba(16,36,71,.3);text-underline-offset:3px}
.blp-row a:hover{color:#ef7622;text-decoration-color:#ef7622}

/* Close button: navy square, orange cross; orange with white cross on hover */
.blp-x{position:absolute;top:16px;right:16px;z-index:5;display:grid;place-items:center;width:52px;height:52px;margin:0;padding:0;border:0;border-radius:8px;background:#102447;color:#ef7622;box-shadow:0 4px 12px rgba(0,0,0,.25);cursor:pointer;transition:background .15s,color .15s}
.blp-x svg{width:28px;height:28px;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;fill:none}
.blp-x:hover,.blp-x:focus-visible{background:#ef7622;color:#fff;outline:none}
.blp-x:focus-visible{box-shadow:0 0 0 3px #fff,0 0 0 5px #ef7622}

/* Phones and small tablets: one column, art as a banner, whole pop-up scrolls */
@media (max-width:760px){
  .blp-ov{padding:0}
  .blp-md{display:block;height:calc(100dvh - var(--blp-top,0px));min-height:0;border-radius:0;overflow-y:auto;overscroll-behavior:contain}
  .blp-art{padding:12px;gap:10px;overflow:visible}
  .blp-art>img,.blp-art>.blp-ph{aspect-ratio:16/10;max-height:38vh}
  .blp-main{overflow:visible;padding:22px 18px 48px}
  .blp-x{position:fixed;top:calc(var(--blp-top,0px) + 18px);right:18px;width:48px;height:48px}
  .blp-k,.blp-h{padding-right:0}
  .blp-h{font-size:28px}
  .blp-core{font-size:16.5px}
}

