/*
Theme Name: Shallon Legal
Theme URI: https://shalloncsp.com
Author: Shallon Legal
Description: Custom theme for the Shallon Legal website — DIFC & ADGM Wills, trusts, foundations, company formation and dispute resolution in the UAE.
Version: 1.0
License: All rights reserved
Text Domain: shallon-legal
*/

/* ===== base + chrome ===== */
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{margin:0;background:#F4F6F8;color:#2b2e32;font-family:'Hanken Grotesk',sans-serif;-webkit-font-smoothing:antialiased;}
img{max-width:100%;height:auto;}
.sl-hdr{position:sticky;top:0;z-index:50;background:rgba(244,246,248,0.92);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid rgba(20,22,25,0.10);}
.sl-hdr-inner{max-width:1240px;margin:0 auto;padding:0 40px;height:76px;display:flex;align-items:center;justify-content:space-between;gap:20px;position:relative;}
.sl-logo{display:flex;align-items:center;}
.sl-logo img{height:23px;width:auto;display:block;}
.sl-nav{display:flex;align-items:center;gap:34px;font-size:15px;color:#4a4f54;font-weight:500;}
.sl-navlink{position:relative;color:inherit;text-decoration:none;font-weight:500;cursor:pointer;transition:color .18s ease;}
.sl-navlink:hover{color:#10161a;}
.sl-caret{font-size:9px;opacity:.6;}
.sl-navwrap{position:relative;display:inline-flex;}
.sl-navwrap::after{content:"";position:absolute;top:100%;left:0;right:0;height:22px;}
.sl-drop{position:absolute;top:100%;left:50%;transform:translateX(-50%);margin-top:14px;width:300px;background:#fff;border:1px solid rgba(20,22,25,0.10);border-radius:4px;box-shadow:0 24px 60px -20px rgba(16,22,26,0.28);padding:10px 0;opacity:0;visibility:hidden;transition:opacity .18s ease;}
.sl-navwrap:hover .sl-drop{opacity:1;visibility:visible;}
.sl-menuitem{display:block;padding:11px 18px;text-decoration:none;color:#2c3136;font-size:14.5px;font-weight:500;transition:background .15s ease;}
.sl-menuitem:hover{background:#eef1f3;}
.sl-cta{background:#00b0c9;color:#fff;text-decoration:none;font-size:14.5px;font-weight:600;padding:11px 22px;border-radius:3px;white-space:nowrap;transition:background .18s ease;}
.sl-cta:hover{background:#068196;}
.sl-hdr-cta{flex:none;}
.sl-navtoggle{position:absolute;clip:rect(0,0,0,0);width:1px;height:1px;overflow:hidden;}
.sl-burger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:8px;}
.sl-burger span{display:block;width:24px;height:2px;background:#2b2e32;border-radius:2px;}
.sl-nav-cta{display:none;}
@media (max-width:860px){
  .sl-burger{display:flex;}
  .sl-navwrap::after{display:none;}
  .sl-hdr-cta{display:none;}
  .sl-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;background:#F4F6F8;border-bottom:1px solid rgba(20,22,25,0.12);box-shadow:0 22px 44px -22px rgba(16,22,26,0.28);padding:8px 0;}
  .sl-navtoggle:checked ~ .sl-nav{display:flex;}
  .sl-nav .sl-navlink{padding:15px 26px;font-size:16px;}
  .sl-navwrap{display:block;}
  .sl-nav-cta{display:block;margin:10px 26px 14px;text-align:center;}
  .sl-drop{position:static;transform:none;width:auto;opacity:1;visibility:visible;box-shadow:none;border:none;background:transparent;margin:0;padding:0 0 8px;}
  .sl-menuitem{padding:11px 40px;color:#565c61;}
}
/* page-level responsive helpers */
@media (max-width:860px){
  [style*="grid-template-columns"]{grid-template-columns:1fr !important;min-width:0 !important;}
  [style*="max-width:1240px"],[style*="max-width:1100px"],[style*="max-width:1000px"],[style*="max-width:960px"],[style*="max-width:940px"],[style*="max-width:920px"],[style*="max-width:820px"]{padding-left:20px !important;padding-right:20px !important;}
  h1{font-size:34px !important;line-height:1.07 !important;}
  h2{font-size:26px !important;}
}

/* ===== page styles ===== */
body { margin:0; }
    .sl-card { transition: border-color .2s ease, transform .2s ease; }
    .sl-card:hover { border-color:#00b0c9; transform:translateY(-3px); }
    .sl-card:hover .sl-arrow { transform:translateX(4px); color:#00b0c9; }
    .sl-arrow { transition: transform .2s ease, color .2s ease; }
    .sl-btn-primary { transition: background .18s ease; }
    .sl-btn-primary:hover { background:#068196; }
    .sl-btn-ghost { transition: border-color .18s ease, color .18s ease; }
    .sl-btn-ghost:hover { border-color:#2b2e32; color:#2b2e32; }
    .sl-link-underline { background-image:linear-gradient(#00b0c9,#00b0c9); background-size:0% 1.5px; background-repeat:no-repeat; background-position:0 100%; transition:background-size .25s ease; padding-bottom:2px; }
    .sl-link-underline:hover { background-size:100% 1.5px; }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; }
    .sl-btn-primary:hover { background:#068196; }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; }
    .sl-btn-primary:hover { background:#068196; }
    .sl-pa { transition: background .2s ease; }
    .sl-pa:hover { background:#FFFFFF; }
    .sl-pa:hover .sl-pa-num { color:#00b0c9; }
    .sl-pa-num { transition: color .2s ease; }
    .sl-svc { transition: border-color .2s ease, transform .2s ease; }
    .sl-svc:hover { border-color:#00b0c9; transform:translateY(-3px); }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; }
    .sl-btn-primary:hover { background:#068196; }
    .sl-faq summary { list-style:none; cursor:pointer; }
    .sl-faq summary::-webkit-details-marker { display:none; }
    .sl-faq summary .sl-plus { transition: transform .2s ease; }
    .sl-faq[open] summary .sl-plus { transform:rotate(45deg); }
    .sl-typecard { transition: border-color .2s ease, transform .2s ease; }
    .sl-typecard:hover { border-color:#00b0c9; transform:translateY(-3px); }
    .sl-trow:hover { background:#EDF0F2 !important; }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; } .sl-btn-primary:hover { background:#068196; }
    .sl-faq summary { list-style:none; cursor:pointer; } .sl-faq summary::-webkit-details-marker { display:none; }
    .sl-faq summary .sl-plus { transition: transform .2s ease; } .sl-faq[open] summary .sl-plus { transform:rotate(45deg); }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; }
    .sl-btn-primary:hover { background:#068196; }
    .sl-faq summary { list-style:none; cursor:pointer; }
    .sl-faq summary::-webkit-details-marker { display:none; }
    .sl-faq summary .sl-plus { transition: transform .2s ease; }
    .sl-faq[open] summary .sl-plus { transform:rotate(45deg); }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; } .sl-btn-primary:hover { background:#068196; }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; } .sl-btn-primary:hover { background:#068196; }
    .sl-art { transition: transform .2s ease; }
    .sl-art:hover { transform:translateY(-4px); }
    .sl-art:hover .sl-art-img img { transform:scale(1.04); }
    .sl-art-img img { transition: transform .5s ease; }
    .sl-art:hover h3 { color:#00b0c9; }
    .sl-art h3 { transition: color .2s ease; }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; }
    .sl-btn-primary:hover { background:#068196; }
    .sl-field { transition: border-color .18s ease, background .18s ease; }
    .sl-field:focus { outline:none; border-color:#00b0c9; background:#fff; }
    .sl-reach a { transition: color .16s ease; }
    .sl-reach a:hover { color:#00b0c9 !important; }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; } .sl-btn-primary:hover { background:#068196; }
    .sl-field { transition: border-color .18s ease, background .18s ease; }
    .sl-field:focus { outline:none; border-color:#00b0c9; background:#fff; }
  
    /* ---- responsive (mobile) ---- */
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      h2{font-size:29px !important;line-height:1.14 !important;}
      [style*="1.6fr 1fr 1fr"],[style*="1.5fr 1fr 1fr"]{min-width:600px;}
      [style*="border-radius: 5px; overflow: hidden; background: rgb(255, 255, 255)"]{overflow-x:auto !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; } .sl-btn-primary:hover { background:#068196; }
    .tc { max-width:820px; margin:0 auto; }
    .tc-h { font-family:'Jost',sans-serif; font-weight:500; font-size:24px; letter-spacing:-0.01em; color:#20262b; margin:44px 0 8px; padding-top:22px; border-top:1px solid rgba(20,22,25,0.12); }
    .tc-h:first-child { border-top:none; padding-top:0; margin-top:0; }
    .tc-p { font-family:'Hanken Grotesk',sans-serif; font-size:15.5px; line-height:1.75; color:#3a4045; margin:0 0 14px; text-wrap:pretty; }
    .tc-p strong { color:#20262b; font-weight:700; }
    .tc-ol { margin:0 0 16px; padding-left:24px; }
    .tc-ol li { font-family:'Hanken Grotesk',sans-serif; font-size:15.5px; line-height:1.75; color:#3a4045; margin:0 0 12px; padding-left:6px; }
    .tc-ol li::marker { color:#00808f; font-weight:600; }
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      .tc-h{font-size:21px !important;}
    }

body { margin:0; }
    .sl-btn-primary { transition: background .18s ease; } .sl-btn-primary:hover { background:#068196; }
    .tc { max-width:820px; margin:0 auto; }
    .tc-h { font-family:'Jost',sans-serif; font-weight:500; font-size:24px; letter-spacing:-0.01em; color:#20262b; margin:44px 0 8px; padding-top:22px; border-top:1px solid rgba(20,22,25,0.12); }
    .tc-h:first-child { border-top:none; padding-top:0; margin-top:0; }
    .tc-p { font-family:'Hanken Grotesk',sans-serif; font-size:15.5px; line-height:1.75; color:#3a4045; margin:0 0 14px; text-wrap:pretty; }
    .tc-p strong { color:#20262b; font-weight:700; }
    .tc-ul { margin:0 0 16px; padding-left:22px; }
    .tc-ul li { font-family:'Hanken Grotesk',sans-serif; font-size:15.5px; line-height:1.7; color:#3a4045; margin:0 0 8px; }
    @media (max-width:860px){
      [style*="max-width: 1240px"],[style*="max-width: 1100px"],[style*="max-width: 1000px"],[style*="max-width: 960px"],[style*="max-width: 940px"],[style*="max-width: 920px"]{padding-left:22px !important;padding-right:22px !important;}
      [style*="grid-template-columns"]:not([style*="1.6fr 1fr 1fr"]):not([style*="1.5fr 1fr 1fr"]){grid-template-columns:1fr !important;}
      h1{font-size:40px !important;line-height:1.06 !important;}
      .tc-h{font-size:21px !important;}
    }
