.real-resource{--real_resource-burgundy:#a3164f;--real_resource-ink:#151515;--real_resource-gap:28px;position:relative;width:100%;font-family:inherit}.real_resource-toolbar{display:flex;gap:14px;align-items:center;justify-content:flex-end;margin:0 0 28px}.real_resource-search-input,.real_resource-filter{border:1px solid #dedede;border-radius:7px;background:#fff;padding:12px 14px;font:inherit;color:var(--real_resource-ink);min-height:44px}.real_resource-search-input{min-width:260px}.real_resource-grid{display:grid;grid-template-columns:repeat(var(--real_resource-columns,4),minmax(0,1fr));gap:var(--real_resource-gap)}.real-resource[data-columns="1"]{--real_resource-columns:1}.real-resource[data-columns="2"]{--real_resource-columns:2}.real-resource[data-columns="3"]{--real_resource-columns:3}.real-resource[data-columns="4"]{--real_resource-columns:4}.real-resource[data-columns="5"]{--real_resource-columns:5}.real-resource[data-columns="6"]{--real_resource-columns:6}.real_resource-card{background:#fff;border-radius:0 0 28px 28px;box-shadow:0 8px 17px rgba(0,0,0,.18);overflow:hidden;display:flex;flex-direction:column;min-width:0;transition:transform .2s ease,box-shadow .2s ease}.real_resource-card:hover{transform:translateY(-3px);box-shadow:0 12px 24px rgba(0,0,0,.2)}.real_resource-cover{aspect-ratio:1.58;overflow:hidden;background:#f1f1f1}.real_resource-cover img{display:block;width:100%;height:100%;object-fit:cover}.real_resource-cover-placeholder{height:100%;display:flex;align-items:center;justify-content:center;gap:8px;flex-direction:column;color:#888;font-weight:600}.real_resource-cover-placeholder .dashicons{font-size:40px;width:40px;height:40px}.real_resource-card-body{text-align:center;padding:18px 14px 17px;display:flex;flex:1;flex-direction:column;align-items:center}.real_resource-card h3{font-size:21px;line-height:1.2;margin:0 0 18px;color:var(--real_resource-ink);font-weight:700}.real_resource-view-button{border:0;background:var(--real_resource-burgundy);color:#fff;border-radius:5px;padding:8px 21px;font:inherit;font-size:16px;line-height:1.25;cursor:pointer;transition:background .2s ease}.real_resource-view-button:hover,.real_resource-view-button:focus{background:#7f0f3c;color:#fff}.real_resource-empty,.real_resource-no-results{text-align:center;padding:30px;color:#666}.real_resource-modal[hidden]{display:none}.real_resource-modal{position:fixed;z-index:999999;inset:0;display:flex;align-items:center;justify-content:center;padding:24px}.real_resource-modal-backdrop{position:absolute;inset:0;background:rgba(15,15,20,.78)}.real_resource-modal-dialog{position:relative;z-index:1;background:#fff;width:min(1000px,96vw);height:min(88vh,900px);border-radius:10px;overflow:hidden;box-shadow:0 18px 60px rgba(0,0,0,.4);display:flex;flex-direction:column}.real_resource-modal-header{display:flex;align-items:center;justify-content:space-between;padding:10px 16px;border-bottom:1px solid #e8e8e8}.real_resource-modal-header h2{font-size:18px;margin:0}.real_resource-modal-close{border:0;background:transparent;font-size:30px;line-height:1;cursor:pointer;color:#444}.real_resource-modal-content{flex:1;background:#525252}.real_resource-modal-content iframe{width:100%;height:100%;border:0}.real_resource-modal-open{overflow:hidden}@media(max-width:1100px){.real_resource-grid{--real_resource-columns:3!important}.real-resource[data-columns="1"]{--real_resource-columns:1!important}.real-resource[data-columns="2"]{--real_resource-columns:2!important}}@media(max-width:760px){.real_resource-toolbar{flex-direction:column;align-items:stretch}.real_resource-search-input{width:100%;min-width:0}.real_resource-grid{--real_resource-columns:2!important;gap:18px}.real_resource-card h3{font-size:17px}.real_resource-view-button{font-size:14px;padding:8px 12px}}@media(max-width:480px){.real_resource-grid{--real_resource-columns:1!important}.real_resource-card h3{font-size:20px}.real_resource-modal{padding:8px}.real_resource-modal-dialog{width:100%;height:90vh}}

/* Resource layout refinements */
.real_resource-toolbar{gap:10px;justify-content:flex-end}
.real_resource-search-input,.real_resource-filter{padding:10px 12px;min-height:42px}
.real_resource-search-input{width:260px;min-width:0}
.real_resource-filter{width:150px;max-width:150px}
.real_resource-grid{align-items:stretch}
.real_resource-card{height:100%}
.real_resource-card h3{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:50px}
.real_resource-view-button{display:inline-block;text-decoration:none;margin-top:auto}
@media(max-width:760px){.real_resource-search-input,.real_resource-filter{width:100%;max-width:none}}
.real_resource-modal-content{display:flex;align-items:center;justify-content:center;padding:18px}.real_resource-modal-content img{display:block;max-width:100%;max-height:100%;height:auto;object-fit:contain}.real_resource-modal-content video{display:block;max-width:100%;max-height:100%;width:auto;height:auto}.real_resource-modal-content iframe{width:100%;height:100%;border:0}
.real_resource-category-badges{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;margin:0 0 10px;min-height:24px}.real_resource-category-badge{display:inline-flex;align-items:center;background:var(--real_resource-burgundy);color:#fff;border-radius:999px;padding:4px 10px;font-size:11px;font-weight:700;line-height:1.2;letter-spacing:.02em;text-transform:uppercase}

/* Toolbar controls share the available row equally. */
.real_resource-toolbar .real_resource-search-input,.real_resource-toolbar .real_resource-filter{flex:0 0 calc(50% - 5px);width:auto;max-width:none;box-sizing:border-box}
.real_resource-category-meta{width:100%;margin:0 0 10px;color:#666;font-size:12px;line-height:1.4;text-align:center}
.real_resource-category-label{font-weight:700;color:var(--real_resource-ink)}
@media(max-width:760px){.real_resource-toolbar .real_resource-search-input,.real_resource-toolbar .real_resource-filter{flex:1 1 100%;width:100%}}

/* Compact right-aligned toolbar layout matching the reference design. */
.real_resource-toolbar .real_resource-search-input{flex:0 0 270px;width:270px;max-width:270px}
.real_resource-toolbar .real_resource-filter{flex:0 0 176px;width:176px;max-width:176px}
.real_resource-category-meta{font-weight:600;color:#555}
@media(max-width:760px){.real_resource-toolbar .real_resource-search-input,.real_resource-toolbar .real_resource-filter{flex:1 1 100%;width:100%;max-width:none}}

.real_resource-email-form{width:min(460px,90%);margin:auto;background:#fff;border-radius:10px;padding:30px;text-align:left;box-sizing:border-box}.real_resource-email-form h3{margin:0 0 10px;color:var(--real_resource-ink);font-size:22px}.real_resource-email-form p{margin:0 0 18px;color:#555;line-height:1.5}.real_resource-email-form label{display:block;margin-bottom:7px;font-weight:600;color:var(--real_resource-ink)}.real_resource-email-form input{display:block;width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #cfcfcf;border-radius:5px;font:inherit;margin-bottom:14px}.real_resource-email-submit{border:0;border-radius:5px;background:var(--real_resource-burgundy);color:#fff;padding:10px 18px;font:inherit;font-weight:600;cursor:pointer}.real_resource-email-submit:disabled{opacity:.65;cursor:wait}.real_resource-email-status{margin-top:15px!important;margin-bottom:0!important}.real_resource-email-form.is-success{border:2px solid #2d7a46}
.real_resource-email-form .real_resource-consent{display:flex;align-items:flex-start;gap:6px;font-size:12px;font-weight:400;line-height:1.4;margin:0 0 16px;color:#555}.real_resource-email-form .real_resource-consent input{width:auto;margin:2px 0 0;flex:0 0 auto}
.real_resource-email-layout{display:grid;grid-template-columns:minmax(240px,42%) minmax(0,1fr);width:min(900px,94%);min-height:460px;background:#fff;border-radius:12px;overflow:hidden;box-shadow:0 12px 40px rgba(0,0,0,.2)}.real_resource-email-cover{background:#f0f0f0;display:flex;align-items:center;justify-content:center;min-height:320px}.real_resource-email-cover img{width:100%;height:100%;max-height:560px;object-fit:cover}.real_resource-email-cover-placeholder{padding:30px;color:#777;font-weight:700;font-size:22px;text-align:center}.real_resource-email-panel{display:flex;align-items:center;padding:34px}.real_resource-email-panel .real_resource-email-form{width:100%;padding:0;margin:0;background:transparent}.real_resource-email-panel .real_resource-email-form h3{font-size:28px;line-height:1.2}.real_resource-updates-optin{display:flex!important;align-items:flex-start;gap:7px;font-size:12px!important;font-weight:400!important;line-height:1.45;margin:0 0 18px;color:#555}.real_resource-updates-optin input{width:auto!important;margin:3px 0 0!important;flex:0 0 auto}.real_resource-email-success{width:100%;text-align:left}.real_resource-email-success h3{font-size:28px;line-height:1.2;margin:0 0 12px;color:var(--real_resource-ink)}.real_resource-email-success p{color:#555;font-size:16px;line-height:1.6}.real_resource-email-form.is-success{border:0}
@media(max-width:700px){.real_resource-email-layout{grid-template-columns:1fr;width:94%;max-height:82vh;overflow:auto}.real_resource-email-cover{min-height:180px;max-height:250px}.real_resource-email-cover img{max-height:250px}.real_resource-email-panel{padding:24px}.real_resource-email-panel .real_resource-email-form h3,.real_resource-email-success h3{font-size:23px}}

/* Full white split layout for gated resource requests. */
.real_resource-modal.real_resource-email-gate{padding:0}
.real_resource-modal.real_resource-email-gate .real_resource-modal-dialog{width:min(1100px,96vw);height:min(90vh,760px);max-height:90vh;background:#fff;border-radius:0;box-shadow:0 18px 60px rgba(0,0,0,.4)}
.real_resource-modal.real_resource-email-gate .real_resource-modal-header{position:absolute;z-index:3;top:0;right:0;border:0;padding:0;background:transparent}
.real_resource-modal.real_resource-email-gate .real_resource-modal-header h2{display:none}
.real_resource-modal.real_resource-email-gate .real_resource-modal-close{width:44px;height:44px;border-radius:0;background:rgba(255,255,255,.9);font-size:28px}
.real_resource-modal.real_resource-email-gate .real_resource-modal-content{display:block;padding:0;background:#fff}
.real_resource-modal.real_resource-email-gate .real_resource-email-layout{grid-template-columns:1fr 1fr;width:100%;height:100%;min-height:0;border-radius:0;box-shadow:none}
.real_resource-modal.real_resource-email-gate .real_resource-email-cover{min-height:0;background:#fff}
.real_resource-modal.real_resource-email-gate .real_resource-email-cover img{width:100%;height:100%;max-height:none;object-fit:contain}
.real_resource-modal.real_resource-email-gate .real_resource-email-cover-placeholder{font-size:20px}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel{padding:clamp(28px,5vw,72px);background:#fff}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-email-form h3,.real_resource-modal.real_resource-email-gate .real_resource-email-success h3{font-size:clamp(20px,2.3vw,30px);line-height:1.25}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-email-form p{font-size:clamp(14px,1.4vw,17px)}
.real_resource-modal.real_resource-email-gate .real_resource-email-title{font-weight:700;color:var(--real_resource-ink);margin-bottom:16px}
@media(max-width:700px){.real_resource-modal.real_resource-email-gate .real_resource-modal-dialog{width:100vw;height:100vh;max-height:100vh}.real_resource-modal.real_resource-email-gate .real_resource-email-layout{grid-template-columns:1fr;grid-template-rows:minmax(220px,45%) 1fr;height:100%}.real_resource-modal.real_resource-email-gate .real_resource-email-cover{min-height:0}.real_resource-modal.real_resource-email-gate .real_resource-email-panel{padding:28px 24px;overflow:auto}.real_resource-modal.real_resource-email-gate .real_resource-email-cover img{max-height:none}}

/* Reference styling: rounded white card, cream form panel, and flush cover. */
.real_resource-modal.real_resource-email-gate .real_resource-modal-dialog{width:min(1120px,94vw);height:min(720px,88vh);border-radius:20px;overflow:hidden}
.real_resource-modal.real_resource-email-gate .real_resource-email-layout{border-radius:0}
.real_resource-modal.real_resource-email-gate .real_resource-email-cover img{object-fit:cover;object-position:center}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel{padding:clamp(32px,5vw,70px);background:#fffdfa}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-email-form h3{font-size:clamp(21px,2vw,27px);line-height:1.28;margin:0 0 28px}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-email-form p{font-size:clamp(14px,1.35vw,17px);line-height:1.55}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-email-form label{font-size:14px;margin-bottom:9px}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-email-form input[type=email]{height:66px;border:1px solid #d9d9d6;border-radius:16px;background:#fff;padding:0 19px;font-size:16px;box-shadow:none}
.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-updates-optin{font-size:14px!important;line-height:1.5;margin:4px 0 28px}
.real_resource-modal.real_resource-email-gate .real_resource-email-submit{width:100%;height:66px;border-radius:15px;background:#2e5041;font-size:16px;font-weight:700;padding:0}
.real_resource-modal.real_resource-email-gate .real_resource-email-submit:hover,.real_resource-modal.real_resource-email-gate .real_resource-email-submit:focus{background:#244235}
.real_resource-modal.real_resource-email-gate .real_resource-email-footer{text-align:center;font-size:13px!important;color:#a3a3a0;margin:18px 0 0!important}
.real_resource-modal.real_resource-email-gate .real_resource-email-status{text-align:center}
.real_resource-modal.real_resource-email-gate .real_resource-modal-close{width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.78);font-size:25px;color:#30332f;margin:12px 12px 0 0}
@media(max-width:700px){.real_resource-modal.real_resource-email-gate .real_resource-modal-dialog{width:100vw;height:100vh;max-height:100vh;border-radius:0}.real_resource-modal.real_resource-email-gate .real_resource-email-layout{grid-template-rows:minmax(220px,42%) 1fr}.real_resource-modal.real_resource-email-gate .real_resource-email-panel{padding:30px 24px}.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-email-form h3{font-size:22px;margin-bottom:18px}.real_resource-modal.real_resource-email-gate .real_resource-email-panel .real_resource-email-form input[type=email],.real_resource-modal.real_resource-email-gate .real_resource-email-submit{height:56px}}

/* Honeypot: visible to automated form fillers but invisible and unfocusable for people. */
.real_resource-honeypot{position:absolute!important;left:-10000px!important;top:auto!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important}
