/* Facelift layer: Moodle tokens. Prefixed with body for specificity over compiled Tailwind. */
:root{--m-primary:#007bff;--m-primary-d:#0056b3;--m-orange:#ff8c00;--m-green:#28a745;--m-bg:#f4f6f9;--m-slate:#1e293b;--m-border:#e2e8f0}
body{background:var(--m-bg);color:var(--m-slate)}
/* Recolour the WP blue to the Moodle blue (stat strip, footer card, burger lines) */
body .bg-\[\#336699\]{background-color:var(--m-primary)!important}
body .shadow-\[\#336699\]\/50{--tw-shadow-color:rgba(0,123,255,.35)!important}
body .text-\[\#336699\]{color:var(--m-primary)!important}
/* Rounded top and bottom edges like the Moodle banner/footer */
body header,body #header,body .site-header{border-radius:0 0 20px 20px}
body footer{border-radius:20px 20px 0 0;overflow:hidden}
body #sectionTwo{border-radius:20px}
.dbf-banner,.dbf-banner *,.dbf-banner-link{box-sizing:border-box}
.dbf-banner-link{display:block;width:100%;max-width:none;margin:0;text-decoration:none;color:inherit;transition:transform .2s}
.dbf-banner-link:hover{transform:translateY(-3px)}
.dbf-banner{container-type:inline-size;width:100%;aspect-ratio:100/25;background:var(--m-primary);border-radius:20px;box-shadow:0 10px 30px rgba(0,123,255,.30);display:flex;flex-direction:column;justify-content:center;gap:2cqw;padding:2.6cqw 2.2cqw}
.dbf-top{display:flex;align-items:center;gap:1.4cqw}
.dbf-title{font-weight:800;color:#fff;font-size:3.1cqw;margin-right:auto;white-space:nowrap}
.dbf-tiers{display:flex;background:#f8f9fa;border-radius:99px;padding:.35cqw;font-size:1.35cqw;font-weight:500;text-transform:uppercase;white-space:nowrap}
.dbf-tiers span{padding:.7cqw 1.7cqw;border-radius:99px;color:#6c757d}
.dbf-tiers span.on{background:#2e7d32;color:#fff;font-weight:700}
.dbf-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.1cqw}
.dbf-btn{background:#fff;border-radius:.9cqw;color:var(--m-primary);font-weight:700;font-size:1.75cqw;line-height:1.15;min-height:5.6cqw;display:flex;align-items:center;justify-content:center;text-align:center;padding:.5cqw}
.dbf-cue{display:block;margin-top:10px;text-align:right;font-weight:700;color:var(--m-primary-d);font-size:15px}
/* Demo page */
.dbf-demo{max-width:1000px;margin:40px auto;padding:0 16px}
.dbf-demo-head h1{font-size:clamp(1.6rem,4vw,2.4rem);font-weight:800;color:var(--m-slate)}
.dbf-shot{margin:28px 0;background:#fff;border:1px solid var(--m-border);border-radius:16px;overflow:hidden;box-shadow:0 4px 18px rgba(30,41,59,.08)}
.dbf-shot img{display:block;width:100%;height:auto}
.dbf-shot figcaption{padding:12px 16px;font-size:15px}
.dbf-demo-note{font-size:14px;color:#64748b}

/* Hero v3 (self-contained, no Tailwind dependence) */
.dbf-hero{width:100%;margin:0;padding:clamp(20px,4vw,48px) 0 clamp(28px,5vw,56px);background:linear-gradient(180deg,#fff,#f0f7ff);border-radius:0 0 20px 20px}
.dbf-hero-in{width:91.666%;margin:0 auto;display:flex;flex-direction:column;gap:24px}
.dbf-h{font-size:clamp(1.9rem,7vw,2.2rem);font-weight:800;line-height:1.15;color:var(--m-slate);margin:0;letter-spacing:-.01em}
.dbf-sub{font-size:1.05rem;line-height:1.6;color:#475569;margin:14px 0 22px;max-width:32rem}
.dbf-cta{display:flex;flex-wrap:wrap;gap:12px}
.dbf-cta a.maxbutton{border-radius:8px!important;min-height:48px;display:inline-flex!important;align-items:center;justify-content:center;padding:0 26px!important;font-weight:700!important;font-size:1rem!important;text-decoration:none}
.dbf-cta a.maxbutton-1{background:var(--m-primary)!important;border:2px solid var(--m-primary)!important;color:#fff!important}
.dbf-cta a.maxbutton-2{background:#fff!important;border:2px solid var(--m-primary)!important;color:var(--m-primary)!important}
@media(min-width:768px){.dbf-hero-in{width:83.333%;flex-direction:row;align-items:center;gap:48px}.dbf-hero-text{flex:0 0 40%}.dbf-hero-art{flex:1 1 0;min-width:0}.dbf-h{font-size:clamp(2rem,3.1vw,3rem)}}

@media(max-width:767px){.dbf-banner{aspect-ratio:auto;border-radius:14px;gap:3.5cqw;padding:4cqw}.dbf-top{flex-direction:column;align-items:flex-start;gap:2.5cqw}.dbf-title{font-size:5cqw}.dbf-tiers{font-size:2.5cqw}.dbf-tiers span{padding:1cqw 2.4cqw}.dbf-btn{font-size:2.6cqw;min-height:9cqw;border-radius:1.4cqw}.dbf-grid{gap:1.6cqw}.dbf-cue{text-align:center}}
/* Header "Contact Us": the colour lives on the <ul class="menu-button">, not the link */
body ul.menu-button{background-color:var(--m-primary)!important;border-radius:8px!important;box-shadow:none!important;height:48px!important;display:flex;align-items:center;justify-content:center}
body ul.menu-button:hover{background-color:var(--m-primary-d)!important}
body ul.menu-button li,body ul.menu-button a{background:transparent!important;color:#fff!important}
/* MaxButtons inner text sits low: reset its padding/line-height */
.dbf-cta a.maxbutton,.dbf-cta a.maxbutton span{line-height:1.2!important}
.dbf-cta a.maxbutton .mb-text{padding:0!important;display:block!important;height:auto!important}
.dbf-cta a.maxbutton{height:auto!important;min-height:48px}
.desktopMenu li>ul.link-dropdown::before{border-color:transparent transparent var(--m-primary) transparent!important}
/* Claims strip */
.dbf-strip-wrap{width:100%;display:flex;justify-content:center;margin:56px 0}
.dbf-strip{width:91.666%;background:var(--m-primary);color:#fff;border-radius:20px;box-shadow:0 10px 30px rgba(0,123,255,.25);display:flex;flex-direction:column;align-items:center;gap:14px;padding:26px 24px;text-align:center}
.dbf-strip-stat{display:flex;flex-direction:column;align-items:center;padding-bottom:14px;border-bottom:1px solid rgba(255,255,255,.3);width:100%}
.dbf-strip-stat strong{font-size:2.2rem;font-weight:800;line-height:1.1}
.dbf-strip-stat span{font-size:1rem;opacity:.9}
.dbf-strip-orgs{display:flex;flex-direction:column;gap:6px}
.dbf-strip-lead{font-size:.95rem;opacity:.9}
.dbf-strip-list{font-size:1.25rem;font-weight:700;line-height:1.5}
@media(min-width:768px){.dbf-strip-wrap{margin:72px 0}.dbf-strip{width:83.333%;flex-direction:row;gap:36px;padding:28px 40px;text-align:left}.dbf-strip-stat{width:auto;padding:0 36px 0 0;border-bottom:0;border-right:1px solid rgba(255,255,255,.3)}}
/* CONTACT-FIX-2 (centre the label) */
body ul.menu-button{padding:0!important;margin:0!important;width:150px!important}
body ul.menu-button li{display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;width:100%!important;margin:0!important;padding:0!important}
body ul.menu-button li a{display:flex!important;align-items:center!important;justify-content:center!important;height:100%!important;width:100%!important;padding:0!important;margin:0!important;line-height:1!important;font-weight:600}
