/* Quabizion Foundation WordPress Theme — Site-wide style v1.0 */
:root{--qft-burgundy:#741626;--qft-red:#BF1D30;--qft-orange:#FA572D;--qft-cream:#FCF9F6;--qft-navy:#10234C;--qft-ink:#302B30;--qft-border:#E8DFDA}
html{scroll-behavior:smooth}body{margin:0;color:var(--qft-ink);background:#fff;font:400 15px/1.75 'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}*,*:before,*:after{box-sizing:border-box}a{color:var(--qft-burgundy)}a:focus-visible,button:focus-visible{outline:3px solid var(--qft-orange);outline-offset:3px}.qft-shell{width:min(1200px,calc(100% - 48px));margin-inline:auto}.qft-skip-link{position:absolute;z-index:9999;left:16px;top:-90px;padding:12px 18px;background:#fff;color:#111}.qft-skip-link:focus{top:12px}
/* Compact topbar */
.qft-topbar{background:var(--qft-burgundy);color:#fff;font-size:12px;font-weight:600}.qft-topbar-inner{display:flex;justify-content:space-between;align-items:center;gap:22px;min-height:36px}.qft-topbar a{color:#fff;text-decoration:none;white-space:nowrap}.qft-topbar a:hover{color:#FFE1D1}.qft-topbar-message{margin-left:auto}
/* Clear header hierarchy */
.qft-header{position:relative;z-index:80;background:#fff;border-bottom:1px solid #F0E9E5}.qft-header-inner{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:108px;padding-top:10px;padding-bottom:10px}.qft-brand{display:flex;align-items:center;flex:none;max-width:220px}.qft-brand .custom-logo-link{display:block;line-height:0}.qft-brand .custom-logo{display:block;width:auto;max-width:192px;max-height:86px;object-fit:contain}.qft-wordmark{display:flex;align-items:center;gap:12px;color:var(--qft-burgundy);text-decoration:none}.qft-wordmark-icon{display:grid;place-items:center;width:58px;height:58px;border:5px solid var(--qft-red);border-radius:50%;font:bold 35px/1 Georgia,serif;color:var(--qft-orange)}.qft-wordmark strong{display:block;font:bold 22px/1.05 'DM Sans',sans-serif;letter-spacing:-.05em}.qft-wordmark small{display:block;margin-top:4px;color:var(--qft-red);font:600 9px/1.1 'DM Sans',sans-serif;letter-spacing:.25em}.qft-nav{display:flex;align-items:center;gap:31px;margin-left:auto}.qft-menu{display:flex;align-items:center;gap:29px;margin:0;padding:0;list-style:none}.qft-menu li{position:relative;margin:0;padding:0;list-style:none}.qft-menu a{display:inline-flex;align-items:center;min-height:44px;color:var(--qft-ink);font-size:14px;font-weight:600;text-decoration:none;white-space:nowrap;transition:color .2s}.qft-menu a:hover,.qft-menu .current-menu-item>a,.qft-menu .current_page_item>a,.qft-menu a[aria-current=page]{color:var(--qft-red)}.qft-menu .current-menu-item>a:after,.qft-menu .current_page_item>a:after,.qft-menu a[aria-current=page]:after{content:"";position:absolute;bottom:0;left:0;right:0;height:2px;background:var(--qft-red)}.qft-menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:240px;padding:10px 0;margin:0;list-style:none;background:#fff;box-shadow:0 14px 35px rgba(20,24,40,.12);border:1px solid var(--qft-border)}.qft-menu li:hover>.sub-menu,.qft-menu li:focus-within>.sub-menu{display:block}.qft-menu .sub-menu a{display:block;min-height:0;padding:10px 20px;white-space:normal}.qft-donate{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:46px;padding:11px 22px;border-radius:5px;background:var(--qft-red);color:#fff!important;font-size:13px;font-weight:700;text-decoration:none;white-space:nowrap;transition:background .2s}.qft-donate:hover{background:var(--qft-burgundy)}.qft-menu-toggle{display:none;align-items:center;justify-content:center;flex-direction:column;gap:5px;width:44px;height:44px;padding:7px;border:1px solid var(--qft-border);background:#fff;border-radius:4px;cursor:pointer}.qft-menu-toggle span{width:21px;height:2px;background:var(--qft-burgundy)}
/* Elementor content is not constrained by standard-page widths */
.qft-main{min-height:40vh}.qft-elementor-page{width:100%;padding:0}.qft-elementor-page .qft-page-content{width:100%;margin:0}.qft-standard-page{padding:70px 0}.qft-content-shell{max-width:1100px}.qft-page-title{font:600 clamp(36px,5vw,56px)/1.2 'Playfair Display',Georgia,serif;color:var(--qft-burgundy);margin:0 0 28px}.qft-standard-page .qft-page-content{font-size:16px;line-height:1.85}.qft-article{padding:25px 0;border-bottom:1px solid var(--qft-border)}.qft-article h2{font:600 30px/1.25 'Playfair Display',Georgia,serif}.qft-article h2 a{text-decoration:none}.qft-not-found h1{font:600 46px/1.2 'Playfair Display',serif;color:var(--qft-burgundy)}.qft-kicker{color:var(--qft-red);font-size:12px;letter-spacing:.14em;font-weight:700}.qft-action{display:inline-block;margin:24px 12px 0 0;padding:12px 22px;background:var(--qft-red);color:#fff;text-decoration:none;border-radius:4px}.qft-action-outline{background:#fff;border:1px solid var(--qft-red);color:var(--qft-red)}
/* Nonprofit footer */
.qft-footer{background:#221F26;color:#FAF6F4;padding:67px 0 0}.qft-footer-grid{display:grid;grid-template-columns:1.4fr .6fr 1.3fr .8fr;gap:44px;padding-bottom:60px}.qft-footer h2{margin:0 0 16px;font:600 27px/1.2 'Playfair Display',Georgia,serif;color:#fff}.qft-footer h3{margin:4px 0 18px;font:700 13px/1.5 'DM Sans',Arial,sans-serif;letter-spacing:.10em;text-transform:uppercase;color:#FFF1EB}.qft-footer p{margin:0 0 12px;color:#D7D0D0;font-size:13px;line-height:1.9}.qft-footer-intro p{max-width:300px}.qft-footer a{color:#EAE0DF;text-decoration:none}.qft-footer a:hover{color:#FFB899;text-decoration:underline;text-underline-offset:4px}.qft-footer-links{margin:0;padding:0;list-style:none}.qft-footer-links li{margin:0 0 11px}.qft-footer-links a{font-size:13px;line-height:1.65}.qft-footer-cta{display:inline-block;margin-top:15px;color:#FFB899!important;font-size:13px;font-weight:700}.qft-footer-bottom{display:flex;justify-content:space-between;gap:25px;padding-top:21px;padding-bottom:24px;border-top:1px solid rgba(255,255,255,.16);color:#C8C0C1;font-size:12px}
/* Responsive */
@media(max-width:1020px){.qft-header-inner{min-height:92px}.qft-menu{gap:18px}.qft-nav{gap:19px}.qft-brand .custom-logo{max-width:165px;max-height:77px}.qft-menu a{font-size:13px}.qft-footer-grid{gap:25px}}
@media(max-width:800px){.qft-shell{width:calc(100% - 36px)}.qft-topbar-inner{min-height:35px;gap:12px}.qft-topbar-message{display:none}.qft-header-inner{min-height:78px}.qft-brand .custom-logo{max-width:145px;max-height:64px}.qft-wordmark-icon{width:45px;height:45px;font-size:27px}.qft-wordmark strong{font-size:18px}.qft-menu-toggle{display:flex}.qft-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:16px;margin:0;padding:18px;background:#fff;box-shadow:0 15px 28px rgba(25,20,25,.11);border-top:1px solid var(--qft-border)}.qft-nav.qft-open{display:flex}.qft-menu{flex-direction:column;align-items:stretch;gap:0}.qft-menu>li{border-bottom:1px solid var(--qft-border)}.qft-menu a{display:flex;min-height:48px;font-size:15px}.qft-menu .sub-menu{position:static;display:block;min-width:0;box-shadow:none;border:none;padding:0 0 10px 15px}.qft-menu .sub-menu a{padding:8px 0}.qft-donate{align-self:flex-start}.qft-footer-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px}.qft-footer{padding-top:50px}}
@media(max-width:480px){.qft-topbar{font-size:11px}.qft-topbar-inner{gap:10px}.qft-topbar a{font-size:11px}.qft-footer-grid{grid-template-columns:1fr;gap:27px}.qft-footer-bottom{flex-direction:column;gap:8px}.qft-header-inner{gap:12px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition-duration:.01ms!important;animation-duration:.01ms!important}}


/* ============================================================
   QUABIZION FOUNDATION — PROFESSIONAL NONPROFIT REFINEMENT v1.1
   Large readable navigation; refined spacing and hierarchy.
   The desktop menu stays fully visible until tablet width.
============================================================ */

:root {
  --qft-burgundy: #741626;
  --qft-red: #BF1D30;
  --qft-orange: #FA572D;
  --qft-ink: #302B30;
}

/* A wider masthead holds a larger menu without clipping. */
.qft-shell {
  width: min(1320px, calc(100% - 72px));
}

body {
  font-size: 16px;
  line-height: 1.75;
}

/* Refined contact strip */
.qft-topbar {
  background: #741626;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .005em;
}
.qft-topbar-inner {
  min-height: 41px;
  gap: 26px;
}
.qft-topbar a {
  font-size: 13px;
  font-weight: 700;
}

/* Strong brand anchoring without wasted vertical space */
.qft-header {
  background: #FFFFFF;
  border-bottom: 1px solid #EDE4DE;
  box-shadow: 0 4px 15px rgba(32, 26, 30, .035);
}
.qft-header-inner {
  min-height: 108px;
  padding-top: 8px;
  padding-bottom: 8px;
  gap: 46px;
}
.qft-brand {
  max-width: 250px;
}
.qft-brand .custom-logo {
  width: auto;
  max-width: 196px;
  max-height: 92px;
  object-fit: contain;
}
.qft-wordmark strong { font-size: 25px; }
.qft-wordmark small { font-size: 10px; }

/* Accessible, properly sized desktop navigation */
.qft-nav {
  gap: 34px;
  margin-left: auto;
}
.qft-menu {
  gap: clamp(21px, 2.2vw, 38px);
}
.qft-menu > li > a {
  position: relative;
  min-height: 58px;
  padding: 12px 0;
  color: #29242A;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -.015em;
  white-space: nowrap;
}
.qft-menu > li > a::before {
  content: '';
  position: absolute;
  bottom: 7px;
  left: 0;
  width: 100%;
  height: 3px;
  transform: scaleX(0);
  transform-origin: left;
  background: var(--qft-red);
  transition: transform .2s ease;
}
.qft-menu > li > a:hover::before,
.qft-menu > .current-menu-item > a::before,
.qft-menu > .current_page_item > a::before,
.qft-menu > .current-menu-ancestor > a::before,
.qft-menu > li > a[aria-current='page']::before {
  transform: scaleX(1);
}
/* Retire the former 2px underline in favor of the new 3px rule. */
.qft-menu .current-menu-item > a::after,
.qft-menu .current_page_item > a::after,
.qft-menu a[aria-current='page']::after {
  content: none;
  display: none;
}
.qft-menu > li > a:hover,
.qft-menu .current-menu-item > a,
.qft-menu .current_page_item > a,
.qft-menu .current-menu-ancestor > a {
  color: #941A2C;
}
.qft-menu .sub-menu {
  min-width: 265px;
  padding: 12px 0;
  border-top: 3px solid var(--qft-red);
  box-shadow: 0 15px 35px rgba(16,35,76,.14);
}
.qft-menu .sub-menu a {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.5;
  padding: 13px 21px;
}
.qft-menu .sub-menu a:hover {
  background: #FCF9F6;
}

/* Donation CTA is visibly important, yet consistent with the brand. */
.qft-donate {
  min-height: 52px;
  padding: 14px 26px;
  border-radius: 5px;
  background: #BF1D30;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .005em;
  box-shadow: none;
}
.qft-donate:hover {
  background: #741626;
}
.qft-donate span { font-size: 17px; }

/* Footer uses comfortably readable type and clear columns. */
.qft-footer {
  background: #241F26;
  padding-top: 74px;
}
.qft-footer-grid {
  gap: clamp(26px, 3vw, 55px);
  grid-template-columns: 1.25fr .65fr 1.25fr .85fr;
}
.qft-footer h2 {
  font-size: 30px;
}
.qft-footer h3 {
  font-size: 14px;
  letter-spacing: .1em;
}
.qft-footer p,
.qft-footer-links a,
.qft-footer-cta {
  font-size: 14px;
  line-height: 1.85;
}
.qft-footer-bottom {
  font-size: 13px;
}

/* Laptop: keep 16px links until the mobile navigation threshold. */
@media (min-width: 981px) and (max-width: 1200px) {
  .qft-shell { width: calc(100% - 48px); }
  .qft-header-inner { gap: 24px; }
  .qft-brand .custom-logo { max-width: 165px; max-height: 84px; }
  .qft-nav { gap: 22px; }
  .qft-menu { gap: 20px; }
  .qft-menu > li > a { font-size: 16px; }
  .qft-donate { padding-inline: 21px; }
}

/* At tablet widths use a large, readable stacked menu. */
@media (max-width: 980px) {
  .qft-shell { width: calc(100% - 40px); }
  .qft-header-inner { min-height: 87px; gap: 16px; }
  .qft-brand .custom-logo { max-width: 165px; max-height: 75px; }
  .qft-menu-toggle {
    display: flex;
    width: 52px;
    height: 52px;
    border: 1px solid #DFCFCB;
    border-radius: 5px;
  }
  .qft-menu-toggle span { width: 25px; height: 2px; }
  .qft-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    margin: 0;
    padding: 18px max(20px, calc((100vw - 800px)/2)) 26px;
    background: #FFFFFF;
    border-top: 1px solid #E9DED8;
    box-shadow: 0 18px 30px rgba(16,35,76,.13);
  }
  .qft-nav.qft-open { display: flex; }
  .qft-menu { flex-direction: column; align-items: stretch; gap: 0; }
  .qft-menu > li { border-bottom: 1px solid #EFE7E2; }
  .qft-menu > li > a {
    display: flex;
    min-height: 61px;
    padding: 16px 2px;
    font-size: 19px;
    line-height: 1.4;
    white-space: normal;
  }
  .qft-menu > li > a::before { bottom: 0; height: 2px; }
  .qft-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    padding: 0 0 14px 18px;
    border: 0;
    box-shadow: none;
  }
  .qft-menu .sub-menu a {
    padding: 10px 2px;
    font-size: 16px;
  }
  .qft-donate {
    align-self: stretch;
    min-height: 54px;
    font-size: 16px;
  }
  .qft-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .qft-shell { width: calc(100% - 32px); }
  .qft-topbar { font-size: 12px; }
  .qft-topbar-inner { min-height: 37px; gap: 10px; }
  .qft-topbar a { font-size: 12px; }
  .qft-header-inner { min-height: 80px; }
  .qft-brand .custom-logo { max-width: 140px; max-height: 67px; }
  .qft-footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .qft-footer { padding-top: 54px; }
  .qft-footer-bottom { flex-direction: column; gap: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .qft-menu > li > a::before { transition: none; }
}

/* ============================================================
   QUABIZION LAYOUT OPTIONS / ELEMENTOR COMPATIBILITY — v1.2
   ============================================================ */
.qft-elementor-page-title{width:min(1200px,calc(100% - 48px));margin:40px auto 26px}
body .qft-page-content>.elementor{width:100%}
body .qft-menu-toggle{flex-shrink:0}
@media (max-width: 980px){
  .qft-nav .qft-menu > li > a{font-size:19px;line-height:1.45}
  .qft-menu .sub-menu a{font-size:16px}
}
