/* Alleyne Law - GLOBAL styles (footer + mobile bar + shared base). Loaded on every page. All classes are prefixed al- so nothing leaks. */
:root{--al-navy:#2a6aa0;--al-blue:#2a6aa0;--al-pale:#f1f7fa;--al-line:#dbe5ea;--al-ink:#18354f;--al-muted:#526779;--al-white:#fff;
  /* Fonts follow Woodmart > Theme Settings > Typography. Fallbacks only used if those variables are missing. */
  --al-serif:var(--wd-title-font,'Playfair Display',Georgia,serif);--al-sans:var(--wd-text-font,'DM Sans',Arial,sans-serif)}
.al-home,.al-footer{font-family:var(--al-sans);color:var(--al-ink);font-size:15px;line-height:1.7}
.al-home *,.al-home *::before,.al-home *::after,.al-footer *,.al-footer *::before,.al-footer *::after{box-sizing:border-box}
.al-home a,.al-footer a{color:inherit;text-decoration:none}
.al-home img,.al-footer img{display:block;max-width:100%;height:auto}
@media(max-width:600px){.al-home,.al-footer{font-size:13px}}
html:has(.al-home){scroll-behavior:smooth}
.al-shell{width:min(1180px,calc(100% - 48px));margin:auto}
.al-footer{padding:60px 0 28px}
.al-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:80px}
.al-footer-grid img{width:115px;margin-bottom:15px}
.al-footer-grid p,.al-footer-grid a{display:block;font-size:11px;color:var(--al-muted);margin:0 0 8px}
.al-footer-grid h4{font-size:12px;margin:0 0 15px}
.al-footer-pay{font-weight:600;color:var(--al-navy)!important}
.al-fineprint{border-top:1px solid var(--al-line);margin-top:42px;padding-top:22px;font-size:9px;color:#718392}
@media(max-width:900px){
  .al-shell{width:min(100% - 34px,700px)}
  .al-footer-grid{gap:35px}
}
@media(max-width:600px){
  .al-shell{width:calc(100% - 30px)}
  .al-footer-grid{grid-template-columns:1fr;gap:28px}
  .al-fineprint{font-size:8px}
}
.al-mobile-sticky{display:none}
@media(max-width:600px){
  body.al-has-bar{padding-bottom:58px}
  .al-mobile-sticky{position:fixed;display:grid;grid-template-columns:.78fr 1.22fr;left:0;right:0;bottom:0;height:58px;z-index:100;background:#fff;box-shadow:0 -5px 20px rgba(18,52,84,.13)}
  .al-mobile-sticky a{display:flex;align-items:center;justify-content:center;text-transform:uppercase;font-size:9px;font-weight:600;letter-spacing:.04em}
  .al-mobile-pay{color:var(--al-navy);border-top:1px solid var(--al-navy)}
  .al-mobile-consult{background:var(--al-navy);color:#fff;border-top:1px solid var(--al-navy)}
  .al-footer{padding-bottom:34px}
}
@media (min-width:901px){
  .al-shell{width:min(1355px,calc(100% - 80px))}
}
@media (max-width:600px){
  .al-shell{width:calc(100% - 32px)}
  .al-mobile-sticky{height:62px}
  .al-mobile-sticky a{font-size:10px}
  body.al-has-bar{padding-bottom:62px}
}
.al-shell{width:min(1300px,calc(100% - 48px))}
@media(min-width:901px){
  .al-shell{width:min(1300px,calc(100% - 80px))}
}
@media(max-width:600px){
  .al-shell{width:calc(100% - 30px)}
  .al-mobile-sticky{grid-template-columns:1fr 1.35fr;background:#fff;border-top:0}
  .al-mobile-sticky a{font-size:11px;text-transform:none;letter-spacing:0}
  .al-mobile-pay{background:#fff;color:#2a6aa0;border:1px solid #2a6aa0;border-bottom:0}
  .al-mobile-consult{background:#2a6aa0;color:#fff;border-top:1px solid #2a6aa0}
}
@media(max-width:600px){
  .al-mobile-sticky{height:68px}
  .al-mobile-sticky a{font-size:14px;font-weight:700;line-height:1.2;padding:0 10px}
  body.al-has-bar{padding-bottom:68px}
}

/* ===== v1.2 - sizes matched to the approved reference page ===== */
.al-shell{width:min(1200px,calc(100% - 96px))}
@media(max-width:1050px){.al-shell{width:calc(100% - 56px)}}
@media(max-width:550px){.al-shell{width:calc(100% - 40px)}}
.al-home,.al-footer{font-size:17px;line-height:1.75;font-weight:400}
.al-footer{padding:65px 0 20px;background:#f8fafc;font-size:14px}
.al-footer-grid{grid-template-columns:1.2fr .8fr 1fr;gap:55px}
.al-footer-grid img{width:130px;margin-bottom:0}
.al-footer-grid a,.al-footer-grid p{display:block;font-size:14px;line-height:1.75;color:var(--al-ink);margin:0 0 9px}
.al-footer-grid p{margin-top:22px}
.al-footer-grid a:hover{text-decoration:underline;text-underline-offset:5px}
.al-footer-grid h4{font-family:var(--al-sans);font-size:15px;font-weight:600;line-height:1.5;margin:0 0 18px;color:var(--al-navy)}
.al-footer-pay{font-size:14px;margin-top:6px}
.al-fineprint{border-top:1px solid var(--al-line);margin-top:35px;padding-top:23px;color:var(--al-muted);font-size:12px;line-height:1.65}
.al-fineprint p{font-size:12px;line-height:1.65;color:var(--al-muted);margin:0 0 13px}
@media(max-width:850px){
  .al-footer-grid{grid-template-columns:1fr 1fr}
  .al-footer-grid>div:first-child{grid-column:1/-1}
}
@media(max-width:550px){.al-footer-grid{grid-template-columns:1fr;gap:30px}.al-fineprint{font-size:12px}}

/* ===== Custom header (active only when body has .al-custom-header) ===== */
body.al-custom-header .whb-header,
body.al-custom-header .whb-header-clone{display:none!important}
.al-header{position:sticky;top:0;z-index:999;background:#fff;border-bottom:1px solid var(--al-line);font-family:var(--al-sans)}
body.admin-bar .al-header{top:32px}
@media(max-width:782px){body.admin-bar .al-header{top:46px}}
.al-header *{box-sizing:border-box}
.al-header-inner{display:flex;align-items:center;justify-content:space-between;gap:28px;min-height:92px}
.al-brand{display:block;flex-shrink:0}
.al-brand img{display:block;height:72px;width:auto}
.al-nav{display:flex;align-items:center;gap:26px;font-size:14px;font-weight:500;line-height:1.4}
.al-nav>a,.al-dd-toggle{color:var(--al-ink);text-decoration:none;background:none;border:0;padding:8px 0;font:inherit;cursor:pointer;white-space:nowrap}
.al-nav>a:hover,.al-dd-toggle:hover{color:var(--al-navy);text-decoration:underline;text-underline-offset:6px}
.al-nav-actions{display:flex;gap:10px;margin-left:8px}
.al-hbtn{display:inline-flex;align-items:center;justify-content:center;padding:11px 18px;font-size:13px;font-weight:600;line-height:1.5;border:1px solid var(--al-navy);white-space:nowrap;text-decoration:none;transition:background .2s,color .2s}
.al-hbtn-primary{background:var(--al-navy);color:#fff}
.al-hbtn-primary:hover{background:#245d8d;border-color:#245d8d;color:#fff;text-decoration:none}
.al-hbtn-ghost{background:#fff;color:var(--al-navy)}
.al-hbtn-ghost:hover{background:#eef6fb;color:var(--al-navy);text-decoration:none}
.al-dd{position:relative}
.al-caret{display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg) translateY(-2px);margin-left:6px}
.al-dd-menu{display:none;position:absolute;top:100%;left:-18px;min-width:270px;background:#fff;border:1px solid var(--al-line);box-shadow:0 14px 30px rgba(18,52,84,.1);padding:8px 0;z-index:5}
.al-dd-menu a{display:block;padding:10px 20px;font-size:14px;color:var(--al-ink);text-decoration:none}
.al-dd-menu a:hover{background:#f2f7fa;color:var(--al-navy)}
.al-dd:hover .al-dd-menu,.al-dd:focus-within .al-dd-menu,.al-dd.is-open .al-dd-menu{display:block}
.al-burger{display:none;width:44px;height:44px;padding:0;background:#fff;border:1px solid var(--al-line);cursor:pointer;flex-direction:column;align-items:center;justify-content:center;gap:5px}
.al-burger span{display:block;width:20px;height:2px;background:var(--al-navy)}
@media(max-width:1100px){
  .al-header-inner{min-height:78px;flex-wrap:wrap;gap:12px}
  .al-brand img{height:58px}
  .al-burger{display:flex;margin-left:auto}
  .al-nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0;padding:6px 0 22px;font-size:16px}
  .al-header.is-open .al-nav{display:flex}
  .al-nav>a,.al-dd-toggle{padding:14px 0;border-bottom:1px solid var(--al-line);width:100%;text-align:left}
  .al-dd-menu{position:static;display:none;min-width:0;border:0;box-shadow:none;padding:0 0 0 14px}
  .al-dd:hover .al-dd-menu,.al-dd:focus-within .al-dd-menu{display:none}
  .al-dd.is-open .al-dd-menu{display:block}
  .al-dd-menu a{padding:12px 0;border-bottom:1px solid var(--al-line);font-size:15px}
  .al-nav-actions{flex-direction:column;margin:18px 0 0;gap:10px}
  .al-hbtn{padding:14px 18px;font-size:15px;width:100%}
}

/* ===== Header: beat Woodmart's global <button> styles ===== */
body .al-header button.al-dd-toggle,
body .al-header button.al-dd-toggle:hover,
body .al-header button.al-dd-toggle:focus,
body .al-header button.al-dd-toggle:active{background:none;color:var(--al-ink);border:0;border-radius:0;box-shadow:none;text-transform:none;letter-spacing:0;font-family:var(--al-sans);font-size:14px;font-weight:500;line-height:1.4;min-height:0;min-width:0;height:auto;padding:8px 0;margin:0;width:auto;display:inline-flex;align-items:center;justify-content:flex-start;transform:none}
body .al-header button.al-dd-toggle:hover{color:var(--al-navy);text-decoration:underline;text-underline-offset:6px}
body .al-header button.al-burger,
body .al-header button.al-burger:hover,
body .al-header button.al-burger:focus{display:none;background:#fff;color:var(--al-navy);border:1px solid var(--al-line);border-radius:0;box-shadow:none;width:44px;height:44px;min-height:0;min-width:0;padding:0;margin:0;text-transform:none}
.al-header .al-nav>a{font-family:var(--al-sans);font-size:14px;font-weight:500;text-transform:none;letter-spacing:0}
.al-header .al-hbtn{font-family:var(--al-sans);text-transform:none;letter-spacing:0;border-radius:0;box-shadow:none}
@media(max-width:1100px){
  body .al-header button.al-burger,
  body .al-header button.al-burger:hover,
  body .al-header button.al-burger:focus,
  body .al-header button.al-burger:active{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;margin-left:auto}
  body .al-header button.al-dd-toggle,
  body .al-header button.al-dd-toggle:hover,
  body .al-header button.al-dd-toggle:focus{font-size:16px;padding:14px 0;border-bottom:1px solid var(--al-line);width:100%;justify-content:flex-start}
  .al-header .al-nav>a{font-size:16px}
}

/* ===== Footer: break out of Woodmart's 1300px footer container ===== */
.wd-footer .main-footer:has(.al-footer),
.wd-footer .container:has(>.al-footer),
.wd-prefooter .container:has(>.al-footer){max-width:none!important;width:100%!important;padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
footer.wd-footer:has(.al-footer){background:#f8fafc;padding:0;margin:0}
.wd-prefooter:has(.al-footer){padding:0;margin:0;background:#f8fafc}

/* ===== New emblem logo (wide format) ===== */
.al-header-inner{min-height:100px}
.al-brand img{height:84px;width:auto}
.al-footer-grid img{width:170px;height:auto;margin-bottom:6px}
@media(max-width:1100px){
  .al-header-inner{min-height:84px}
  .al-brand img{height:62px}
}
@media(max-width:550px){.al-brand img{height:56px}}
