.erl-library{--erl-navy:#07133e;--erl-gold:#c39d19;--erl-border:#e2e6ec;--erl-muted:#536078;--erl-pale:#f8f5e9;background:transparent;color:var(--erl-navy);font-family:inherit;width:100%;box-sizing:border-box;scroll-margin-top:110px}
.erl-library *{box-sizing:border-box}.erl-library button,.erl-library input,.erl-library select{font:inherit}.erl-library .erl-app{max-width:1160px;margin:0 auto;padding:30px 12px 50px}.erl-library .erl-top{text-align:center;margin-bottom:35px}.erl-library .erl-heading{font-size:clamp(26px,3vw,38px);line-height:1.2;font-weight:750;margin:0 0 14px;color:var(--erl-navy)}.erl-library .erl-subtitle{font-size:16px;line-height:1.65;color:var(--erl-muted);margin:0 auto 14px;max-width:670px}.erl-library .erl-language-row{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.erl-library .erl-language-label{font-weight:650;font-size:14px}.erl-library .erl-language-select{border:1px solid var(--erl-border);border-radius:9px;background:#fff;color:var(--erl-navy);padding:9px 30px 9px 11px;min-height:43px}
.erl-library .erl-grid{display:grid;gap:20px}.erl-library .erl-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.erl-library .erl-group-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.erl-library .erl-nav-card{appearance:none;border:1px solid var(--erl-border);background:#fff;border-radius:12px;display:flex;flex-direction:column;align-items:flex-start;min-height:198px;text-align:left;padding:27px;cursor:pointer;color:var(--erl-navy);transition:border-color .15s,box-shadow .15s,transform .15s}.erl-library .erl-nav-card:hover{border-color:var(--erl-gold);box-shadow:0 9px 28px rgba(7,19,62,.08);transform:translateY(-2px)}.erl-library .erl-card-icon{font-size:30px;color:var(--erl-gold);font-weight:700;line-height:1;margin-bottom:19px}.erl-library .erl-card-title{font-size:18px;font-weight:750;line-height:1.4;overflow-wrap:anywhere}.erl-library .erl-card-desc{font-size:14px;color:var(--erl-muted);line-height:1.55;margin-top:10px}.erl-library .erl-card-arrow{color:var(--erl-gold);font-size:24px;margin-top:auto;padding-top:20px;align-self:flex-end}
.erl-library .erl-breadcrumb{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin:0 0 22px;font-size:14px}.erl-library .erl-crumb{border:0;background:transparent;color:var(--erl-navy);padding:5px 0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.erl-library .erl-sep{color:#7a8290}.erl-library .erl-crumb-current{font-weight:750}.erl-library .erl-section-head{margin-bottom:21px}.erl-library .erl-section-title{font-size:clamp(23px,2.6vw,30px);line-height:1.25;color:var(--erl-navy);margin:0 0 7px;font-weight:750}.erl-library .erl-section-caption{font-size:14px;color:var(--erl-muted);margin:0 0 15px}.erl-library .erl-search-wrap{margin:0 0 22px}.erl-library .erl-search{max-width:520px;width:100%;border:1px solid #ccd2db;border-radius:9px;background:#fff;color:var(--erl-navy);padding:13px 15px;min-height:46px}.erl-library .erl-search:focus,.erl-library button:focus-visible,.erl-library a:focus-visible,.erl-library select:focus-visible{outline:3px solid rgba(195,157,25,.6);outline-offset:3px}.erl-library .erl-empty{color:var(--erl-muted);padding:30px 0}
.erl-library .erl-resource-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.erl-library .erl-resource-card{border:1px solid var(--erl-border);border-radius:12px;overflow:hidden;background:#fff;min-width:0;display:flex;flex-direction:column;transition:box-shadow .15s}.erl-library .erl-resource-card:hover{box-shadow:0 8px 24px rgba(7,19,62,.07)}.erl-library .erl-thumbnail{display:block;position:relative;height:190px;width:100%;border:0;border-bottom:1px solid var(--erl-border);background:linear-gradient(145deg,#fafafa,#f4f5f7);cursor:pointer;overflow:hidden;padding:0}.erl-library .erl-thumb-fallback{display:flex;align-items:center;justify-content:center;margin:auto;width:94px;height:116px;background:#fff;border:1px solid #d9dce2;border-radius:8px;box-shadow:0 5px 12px #0000000d;color:var(--erl-gold);font-weight:800;letter-spacing:2px}.erl-library .erl-thumb-image{display:none;width:100%;height:100%;object-fit:contain;background:#f8f9fa;position:absolute;inset:0}.erl-library .erl-has-thumb .erl-thumb-image{display:block}.erl-library .erl-resource-info{padding:17px 18px 19px;display:flex;flex-direction:column;gap:12px;flex:1}.erl-library .erl-file-badge{font-size:11px;letter-spacing:.07em;font-weight:800;color:#786111}.erl-library .erl-resource-title{margin:0;color:var(--erl-navy);font-size:15px;font-weight:750;overflow-wrap:anywhere;line-height:1.5;flex:1}.erl-library .erl-resource-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:8px}.erl-library .erl-action,.erl-library .erl-load-preview{border-radius:8px;padding:10px 12px;font-size:13px;font-weight:700;line-height:1.35;text-decoration:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--erl-gold);transition:background .15s,color .15s}.erl-library .erl-preview-action,.erl-library .erl-load-preview{background:var(--erl-gold);color:#07133e}.erl-library .erl-drive-action{background:#fff;color:var(--erl-navy)}.erl-library .erl-action:hover,.erl-library .erl-load-preview:hover{background:var(--erl-pale);color:var(--erl-navy);text-decoration:none}.erl-library .erl-preview-area{scroll-margin-top:110px}.erl-library .erl-preview-view{border:1px solid var(--erl-border);border-radius:12px;padding:20px;max-width:100%;background:#fff}.erl-library .erl-preview-header{margin-bottom:15px}.erl-library .erl-back{background:none;border:none;color:var(--erl-navy);font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;padding:5px 0}.erl-library .erl-preview-title{font-size:22px;color:var(--erl-navy);line-height:1.4;overflow-wrap:anywhere;margin:0 0 12px}.erl-library .erl-preview-privacy,.erl-library .erl-preview-help{font-size:13px;color:var(--erl-muted);margin:0 0 14px;line-height:1.5}.erl-library .erl-viewer{min-height:145px;display:flex;align-items:center;justify-content:center;background:#f7f8fa;border:1px solid var(--erl-border);border-radius:9px;overflow:hidden;margin-bottom:15px}.erl-library .erl-iframe{display:block;border:0;background:#fff;width:100%;height:min(73vh,770px);min-height:400px}.erl-library .erl-preview-actions{display:flex;gap:12px;flex-wrap:wrap}
@media(max-width:850px){.erl-library .erl-categories,.erl-library .erl-group-grid,.erl-library .erl-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:570px){.erl-library .erl-app{padding:22px 4px 35px}.erl-library .erl-categories,.erl-library .erl-group-grid,.erl-library .erl-resource-grid{grid-template-columns:1fr;gap:14px}.erl-library .erl-nav-card{min-height:155px;padding:20px}.erl-library .erl-thumbnail{height:175px}.erl-library .erl-resource-card{max-width:100%}.erl-library .erl-iframe{min-height:330px;height:60vh}.erl-library .erl-heading{font-size:26px}}

/* v2.3: true click-to-load modal. Scoped to ERL modal only, not page backgrounds. */
.erl-modal-backdrop{position:fixed;inset:0;z-index:2147483000;display:flex;align-items:center;justify-content:center;background:rgba(7,19,62,.72);padding:clamp(10px,2.5vw,30px);box-sizing:border-box}
.erl-modal-backdrop *{box-sizing:border-box}
.erl-modal{--erl-navy:#07133e;--erl-gold:#c39d19;display:flex;flex-direction:column;background:#fff;color:var(--erl-navy);border-radius:13px;width:min(1100px,100%);height:min(900px,95dvh);box-shadow:0 22px 70px rgba(0,0,0,.33);overflow:hidden;font-family:inherit}
.erl-modal-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:13px 18px;border-bottom:1px solid #e2e6ec;flex:0 0 auto}
.erl-modal-title{font-size:clamp(15px,2vw,20px);font-weight:750;color:var(--erl-navy);margin:0;overflow-wrap:anywhere;line-height:1.4}
.erl-modal button.erl-modal-close{
  appearance:none !important;
  -webkit-appearance:none !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex:0 0 38px;
  width:38px !important;
  min-width:38px !important;
  max-width:38px;
  height:38px !important;
  min-height:38px !important;
  margin:0 !important;
  padding:0 !important;
  border:1px solid #d8dde7 !important;
  border-radius:7px !important;
  background:#fff !important;
  color:var(--erl-navy) !important;
  font-family:inherit;
  font-size:27px !important;
  font-weight:400 !important;
  line-height:1 !important;
  letter-spacing:0 !important;
  text-align:center;
  text-decoration:none;
  box-shadow:none !important;
  transform:none !important;
  cursor:pointer;
}
.erl-modal button.erl-modal-close:hover{background:#f8f5e9 !important;color:var(--erl-navy) !important;border-color:var(--erl-gold) !important}
.erl-modal button.erl-modal-close:focus-visible{outline:3px solid var(--erl-gold) !important;outline-offset:2px}
.erl-modal-viewer{flex:1 1 auto;min-height:0;background:#f7f8fa}
.erl-modal-iframe{width:100%;height:100%;border:0;display:block;background:white}
.erl-modal-footer{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 18px;flex-wrap:wrap;border-top:1px solid #e2e6ec}
.erl-modal-help{font-size:13px;color:#536078;margin:0;line-height:1.4;flex:1 1 260px}
.erl-modal .erl-drive-action{display:inline-flex;padding:10px 14px;border-radius:8px;background:#fff;color:#07133e;border:1px solid #c39d19;text-decoration:none;font-size:14px;font-weight:700}
.erl-modal-close:focus-visible,.erl-modal .erl-drive-action:focus-visible{outline:3px solid #c39d19;outline-offset:2px}
@media(max-width:570px){.erl-modal-backdrop{padding:0}.erl-modal{width:100%;height:100dvh;border-radius:0}.erl-modal-header{padding:10px 13px}.erl-modal-footer{padding:10px 13px}.erl-modal-help{font-size:12px}}

/* v2.5: Preserve natural capitalization in breadcrumbs, overriding theme button styles. */
.erl-library .erl-breadcrumb,
.erl-library .erl-breadcrumb .erl-crumb,
.erl-library .erl-breadcrumb .erl-crumb-current,
.erl-library .erl-breadcrumb .erl-sep,
.erl-library .erl-breadcrumb * {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* v2.5.1: Keep the Preview button in sentence case regardless of Elementor styles. */
.erl-library button.erl-preview-action {
  text-transform: none !important;
  letter-spacing: normal !important;
}

/* Folder grids: avoid cramped cards on smaller desktop widths. */
@media (min-width:851px) and (max-width:1100px){.erl-library .erl-group-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
