/* World Morocco Tours – header 2026. Colours taken from the logo. */
.wmt-hd{--wmt-t:#BF6C2F;--wmt-td:#9E5520;--wmt-ink:#2C2721;--wmt-muted:#6B6158;--wmt-sand:#AF805E;--wmt-line:#EDE4DA;--wmt-surf:#FBF7F2;--wmt-wa:#1FA855;--wmt-wad:#178A45;--wmt-top:36px;--wmt-h:76px;--wmt-ease:cubic-bezier(.2,.7,.2,1);
  font-family:"Work Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--wmt-ink);-webkit-font-smoothing:antialiased;line-height:1.3}
.wmt-hd *,.wmt-hd *::before,.wmt-hd *::after{box-sizing:border-box}
.wmt-hd ul{list-style:none;margin:0;padding:0}
.wmt-hd p{margin:0}
.wmt-hd a{text-decoration:none}
.wmt-hd button{font:inherit;background:none;border:0;margin:0;padding:0;color:inherit;cursor:pointer;box-shadow:none;text-transform:none;letter-spacing:normal;min-height:0;line-height:1}
.wmt-hd button:hover,.wmt-hd button:focus{background:none;color:inherit}
.wmt-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wmt-ic{width:20px;height:20px;flex:none;display:block}
.wmt-wrap{max-width:1320px;margin:0 auto;padding:0 clamp(16px,3vw,32px)}

/* Make the Elementor header location sticky; the slim top strip scrolls away. */
.elementor-location-header:has(.wmt-hd){position:sticky;top:calc(var(--wp-admin--admin-bar--height,0px) - 36px);z-index:1000}
@media (max-width:1099px){.elementor-location-header:has(.wmt-hd){top:var(--wp-admin--admin-bar--height,0px)}}
@media (max-width:600px){.admin-bar .elementor-location-header:has(.wmt-hd){top:0}}
.elementor-location-header:has(.wmt-hd) .elementor-element,.elementor-location-header:has(.wmt-hd) .elementor-widget-container{padding:0!important;margin:0!important}
.elementor-location-header:has(.wmt-hd) .e-con,.elementor-location-header:has(.wmt-hd) .e-con-inner{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;--gap:0px;padding:0!important;max-width:none!important}

/* Where the new header is present, hide the older UAE/Astra header. */
body:has(.wmt-hd) #masthead{display:none!important}

/* Top strip */
.wmt-hd__top{background:var(--wmt-ink);color:#EFE6DC;font-size:13px;height:var(--wmt-top);display:flex;align-items:center}
.wmt-hd__top-in{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%}
.wmt-hd__tag{letter-spacing:.04em;color:#D9C7B5}
.wmt-hd__top-links{display:flex;gap:22px}
.wmt-hd__top-links a{color:#EFE6DC;display:inline-flex;align-items:center;gap:6px;transition:color .2s}
.wmt-hd__top-links a:hover{color:#F2B98C}
.wmt-hd__top-links .wmt-ic{width:15px;height:15px}

/* Main bar */
.wmt-hd__main{background:rgba(255,255,255,.97);border-bottom:1px solid var(--wmt-line);transition:box-shadow .3s var(--wmt-ease)}
@supports (backdrop-filter:blur(8px)){.wmt-hd__main{background:rgba(255,255,255,.9);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px)}}
.wmt-hd.is-scrolled .wmt-hd__main{box-shadow:0 8px 24px -14px rgba(44,39,33,.35)}
.wmt-hd__main-in{display:flex;align-items:center;gap:24px;height:var(--wmt-h)}

.wmt-logo{display:flex;align-items:center;flex:none;line-height:0}
.wmt-logo__img{height:56px!important;width:auto!important;max-width:none!important;display:block}
.wmt-logo__text{font-family:"Playfair Display",Georgia,serif;font-weight:700;font-size:20px;color:var(--wmt-ink);line-height:1.1}

/* Desktop nav */
.wmt-nav{margin-left:auto}
.wmt-nav__list{display:flex;align-items:center;gap:2px}
.wmt-nav__item{position:relative;display:flex;align-items:center}
.wmt-nav__link{position:relative;display:block;padding:10px 12px;font-size:15px;font-weight:500;color:var(--wmt-ink)!important;white-space:nowrap;transition:color .2s}
.wmt-nav__item.has-sub .wmt-nav__link{padding-right:4px}
.wmt-nav__link::after{content:"";position:absolute;left:12px;right:12px;bottom:4px;height:2px;border-radius:2px;background:var(--wmt-t);transform:scaleX(0);transform-origin:left;transition:transform .3s var(--wmt-ease)}
.wmt-nav__item.has-sub .wmt-nav__link::after{right:4px}
.wmt-nav__item:hover>.wmt-nav__link,.wmt-nav__item:focus-within>.wmt-nav__link{color:var(--wmt-t)!important}
.wmt-nav__item:hover>.wmt-nav__link::after,.wmt-nav__item.is-current>.wmt-nav__link::after,.wmt-nav__item.is-ancestor>.wmt-nav__link::after{transform:scaleX(1)}
.wmt-nav__item.is-current>.wmt-nav__link,.wmt-nav__item.is-ancestor>.wmt-nav__link{color:var(--wmt-t)!important}
.wmt-nav__toggle{display:flex;align-items:center;justify-content:center;width:24px;height:36px;color:var(--wmt-muted)}
.wmt-nav__toggle .wmt-ic{width:16px;height:16px;transition:transform .25s var(--wmt-ease)}
.wmt-nav__item:hover .wmt-nav__toggle .wmt-ic,.wmt-nav__toggle[aria-expanded="true"] .wmt-ic{transform:rotate(180deg);color:var(--wmt-t)}

.wmt-sub{position:absolute;top:100%;left:0;padding-top:12px;min-width:250px;opacity:0;visibility:hidden;transform:translateY(6px);transition:opacity .22s var(--wmt-ease),transform .22s var(--wmt-ease),visibility 0s linear .22s;z-index:10}
.wmt-nav__item:hover>.wmt-sub,.wmt-nav__item.is-open>.wmt-sub{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.wmt-sub__list{background:#fff;border:1px solid var(--wmt-line);border-radius:14px;padding:8px;box-shadow:0 18px 40px -18px rgba(44,39,33,.35)}
.wmt-sub__list::before{content:"";display:block;height:3px;width:36px;border-radius:3px;background:var(--wmt-t);margin:4px 12px 6px}
.wmt-sub a{display:flex;align-items:center;padding:9px 12px;border-radius:8px;font-size:14.5px;font-weight:450;color:var(--wmt-ink)!important;transition:background .18s,color .18s,padding .18s}
.wmt-sub a:hover,.wmt-sub a:focus-visible,.wmt-sub a.is-current{background:var(--wmt-surf);color:var(--wmt-t)!important;padding-left:16px}

/* Buttons */
.wmt-actions{display:flex;align-items:center;gap:10px;flex:none}
.wmt-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:44px;padding:0 20px;border-radius:999px;font-size:15px;font-weight:600;white-space:nowrap;line-height:1;transition:background .2s,color .2s,border-color .2s,transform .2s var(--wmt-ease),box-shadow .2s}
.wmt-btn:active{transform:translateY(1px)}
.wmt-btn--book{background:var(--wmt-t);color:#fff!important;box-shadow:0 6px 16px -8px rgba(191,108,47,.7)}
.wmt-btn--book:hover{background:var(--wmt-td);color:#fff!important;transform:translateY(-1px);box-shadow:0 10px 20px -10px rgba(158,85,32,.8)}
.wmt-btn--ghost{border:1.5px solid var(--wmt-line);color:var(--wmt-ink)!important;background:#fff;font-weight:500;font-size:15px}
.wmt-btn--ghost:hover{border-color:var(--wmt-t);color:var(--wmt-t)!important}
.wmt-btn .wmt-ic{width:19px;height:19px}

.wmt-burger{display:none;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;color:var(--wmt-ink)!important;border:1px solid var(--wmt-line)!important;background:#fff!important}
.wmt-burger .wmt-ic{width:24px;height:24px}

.wmt-hd a:focus-visible,.wmt-hd button:focus-visible{outline:2px solid var(--wmt-t);outline-offset:2px;border-radius:8px}

/* Compact desktop */
@media (max-width:1279px){
  .wmt-hd__main-in{gap:16px}
  .wmt-nav__link{padding:10px 9px;font-size:14.5px}
  .wmt-nav__link::after{left:9px;right:9px}
  .wmt-btn--book{padding:0 18px}
}

/* Tablet + mobile: hamburger */
@media (max-width:1099px){
  .wmt-hd{--wmt-top:0px;--wmt-h:68px}
  .wmt-hd__top,.wmt-nav{display:none}
  .wmt-logo__img{height:46px!important}
  .wmt-actions{margin-left:auto;gap:8px}
  .wmt-burger{display:inline-flex}
}
@media (max-width:480px){
  .wmt-hd{--wmt-h:62px}
  .wmt-logo__img{height:40px!important}
  .wmt-btn{height:42px;font-size:14px}
  .wmt-btn--book{padding:0 14px}
  .wmt-burger{width:42px;height:42px}
}
@media (max-width:339px){
  .wmt-btn--book{padding:0 12px;font-size:13.5px}
}

/* Drawer */
.wmt-scrim{position:fixed;inset:0;background:rgba(28,24,20,.45);opacity:0;transition:opacity .3s var(--wmt-ease);z-index:100000}
.wmt-scrim.is-open{opacity:1}
.wmt-drawer{position:fixed;top:0;right:0;bottom:0;width:min(400px,90vw);background:#fff;z-index:100001;display:flex;flex-direction:column;transform:translateX(100%);transition:transform .35s var(--wmt-ease);box-shadow:-20px 0 40px -20px rgba(44,39,33,.4);overscroll-behavior:contain}
.wmt-drawer.is-open{transform:none}
.wmt-scrim[hidden],.wmt-drawer[hidden]{display:none}
.wmt-drawer__head{display:flex;align-items:center;justify-content:space-between;padding:12px 16px 12px 20px;border-bottom:1px solid var(--wmt-line);min-height:68px}
.wmt-logo--drawer .wmt-logo__img{height:42px!important}
.wmt-drawer__close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:12px;background:var(--wmt-surf)!important;color:var(--wmt-ink)!important}
.wmt-drawer__nav{flex:1;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:8px 0}
.wmt-acc__item{border-bottom:1px solid var(--wmt-line)}
.wmt-acc__row{display:flex;align-items:center}
.wmt-acc__link{flex:1;display:block;padding:15px 20px;font-size:17px;font-weight:550;color:var(--wmt-ink)!important}
.wmt-acc__link[aria-current="page"]{color:var(--wmt-t)!important}
.wmt-acc__toggle{display:inline-flex;align-items:center;justify-content:center;width:52px;height:52px;margin-right:6px;border-radius:12px;color:var(--wmt-muted)!important}
.wmt-acc__toggle .wmt-ic{transition:transform .25s var(--wmt-ease)}
.wmt-acc__toggle[aria-expanded="true"]{color:var(--wmt-t)!important}
.wmt-acc__toggle[aria-expanded="true"] .wmt-ic{transform:rotate(180deg)}
.wmt-acc__panel{display:grid;grid-template-rows:0fr;transition:grid-template-rows .3s var(--wmt-ease)}
.wmt-acc__panel.is-open{grid-template-rows:1fr}
.wmt-acc__sub{overflow:hidden;min-height:0;background:var(--wmt-surf)}
.wmt-acc__panel.is-open .wmt-acc__sub{padding:6px 0 10px}
.wmt-acc__sub a{display:block;padding:12px 20px 12px 32px;font-size:15.5px;color:var(--wmt-muted)!important;border-left:2px solid transparent}
.wmt-acc__sub a:hover,.wmt-acc__sub a:focus-visible{color:var(--wmt-t)!important;border-left-color:var(--wmt-t)}
.wmt-drawer__cta{padding:16px 20px calc(16px + env(safe-area-inset-bottom));border-top:1px solid var(--wmt-line);display:grid;gap:10px;background:#fff}
.wmt-btn--block{width:100%!important;height:50px;font-size:16px}
.wmt-drawer__note{text-align:center;font-size:12.5px;color:var(--wmt-muted)}
html.wmt-lock,html.wmt-lock body{overflow:hidden!important}

@media (prefers-reduced-motion:reduce){
  .wmt-hd *,.wmt-hd *::before,.wmt-hd *::after{transition:none!important;animation:none!important}
}

/* ================= Footer ================= */
.wmt-ft{--wmt-t:#BF6C2F;--wmt-td:#9E5520;--wmt-ink:#2C2721;--wmt-muted:#6B6158;--wmt-sand:#AF805E;--wmt-line:#E7DCCF;--wmt-ease:cubic-bezier(.2,.7,.2,1);
  font-family:"Work Sans",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;color:var(--wmt-ink);line-height:1.6;-webkit-font-smoothing:antialiased}
.wmt-ft *,.wmt-ft *::before,.wmt-ft *::after{box-sizing:border-box}
.wmt-ft ul{list-style:none;margin:0;padding:0}
.wmt-ft p{margin:0}
.wmt-ft a{text-decoration:none}
.wmt-ft svg{width:18px;height:18px;flex:none;display:block}

/* CTA band */
.wmt-ft__cta{background:var(--wmt-ink);color:#F3EADF;position:relative;overflow:hidden}
.wmt-ft__cta::after{content:"";position:absolute;right:-80px;top:-120px;width:360px;height:360px;border-radius:50%;border:1px solid rgba(191,108,47,.35);box-shadow:0 0 0 40px rgba(191,108,47,.06),0 0 0 90px rgba(191,108,47,.04);pointer-events:none}
.wmt-ft__cta-in{display:flex;align-items:center;justify-content:space-between;gap:24px 40px;padding-top:44px;padding-bottom:44px;position:relative;z-index:1}
.wmt-ft__cta-title{font-family:"Playfair Display",Georgia,serif;font-weight:700;font-size:clamp(24px,3vw,34px);line-height:1.15;color:#fff!important;margin:0 0 8px}
.wmt-ft__cta-text p{color:#D9C7B5;max-width:52ch;font-size:16px}
.wmt-ft__cta-actions{display:flex;gap:12px;flex-wrap:wrap;flex:none}
.wmt-ft__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;height:50px;padding:0 24px;border-radius:999px;font-weight:600;font-size:16px;white-space:nowrap;transition:background .2s,color .2s,border-color .2s,transform .2s var(--wmt-ease)}
.wmt-ft__btn--primary{background:var(--wmt-t);color:#fff!important}
.wmt-ft__btn--primary:hover{background:var(--wmt-td);transform:translateY(-1px)}
.wmt-ft__btn--line{border:1.5px solid rgba(243,234,223,.45);color:#F3EADF!important}
.wmt-ft__btn--line:hover{border-color:#fff;color:#fff!important;background:rgba(255,255,255,.06)}

/* Main */
.wmt-ft__main{background:#F7F1EA;border-top:3px solid var(--wmt-t)}
.wmt-ft__grid{display:grid;grid-template-columns:1.35fr 1fr 1.1fr 1.25fr;gap:40px 48px;padding-top:60px;padding-bottom:52px}
.wmt-ft__logo{display:inline-block;line-height:0;margin-bottom:18px}
.wmt-ft__logo-img{height:78px!important;width:auto!important;max-width:none!important}
.wmt-ft__about{color:var(--wmt-muted);font-size:15px;max-width:38ch}
.wmt-ft__social{display:flex;gap:10px;margin-top:22px!important}
.wmt-ft__social a{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;border:1px solid var(--wmt-line);background:#fff;color:var(--wmt-ink)!important;transition:background .2s,color .2s,border-color .2s,transform .2s var(--wmt-ease)}
.wmt-ft__social a:hover{background:var(--wmt-t);border-color:var(--wmt-t);color:#fff!important;transform:translateY(-2px)}
.wmt-ft__h{font-family:"Playfair Display",Georgia,serif!important;font-size:19px!important;font-weight:700!important;line-height:1.2!important;color:var(--wmt-ink)!important;margin:0 0 18px!important;padding-bottom:12px;position:relative;letter-spacing:0;text-transform:none}
.wmt-ft__h::after{content:"";position:absolute;left:0;bottom:0;width:32px;height:2px;border-radius:2px;background:var(--wmt-t)}
.wmt-ft__col li+li{margin-top:4px}
.wmt-ft__col a{display:inline-block;padding:4px 0;font-size:15px;color:var(--wmt-ink)!important;transition:color .2s,transform .2s var(--wmt-ease)}
.wmt-ft__col a:hover{color:var(--wmt-t)!important;transform:translateX(3px)}
.wmt-ft__contact-list li{display:flex;align-items:flex-start;gap:10px;font-size:15px;color:var(--wmt-ink)}
.wmt-ft__contact-list li+li{margin-top:8px}
.wmt-ft__contact-list svg{color:var(--wmt-t);margin-top:6px}
.wmt-ft__contact-list a{padding:2px 0!important;word-break:break-word}
.wmt-ft__contact-list a:hover{transform:none}
.wmt-ft__h--pay{margin-top:28px!important}
.wmt-ft__pay{display:block;width:100%;max-width:280px!important;height:auto!important;border-radius:10px}

/* Bottom bar */
.wmt-ft__bar{background:#EFE5D9;color:var(--wmt-muted);font-size:14px}
.wmt-ft__bar-in{display:flex;align-items:center;justify-content:space-between;gap:10px 24px;flex-wrap:wrap;padding-top:18px;padding-bottom:18px}
.wmt-ft__bar-links{display:flex;gap:20px}
.wmt-ft__bar a{color:var(--wmt-muted)!important}
.wmt-ft__bar a:hover{color:var(--wmt-t)!important}
.wmt-ft a:focus-visible{outline:2px solid var(--wmt-t);outline-offset:3px;border-radius:6px}

@media (max-width:1099px){
  .wmt-ft__grid{grid-template-columns:1fr 1fr;gap:40px 32px}
  .wmt-ft__cta-in{flex-direction:column;align-items:flex-start}
}
@media (max-width:640px){
  .wmt-ft__cta-in{padding-top:36px;padding-bottom:36px}
  .wmt-ft__cta-actions{width:100%;display:grid;grid-template-columns:1fr 1fr}
  .wmt-ft__btn{width:100%;padding:0 12px}
  .wmt-ft__grid{grid-template-columns:1fr 1fr;gap:34px 20px;padding-top:44px;padding-bottom:36px}
  .wmt-ft__brand,.wmt-ft__contact{grid-column:1/-1}
  .wmt-ft__logo-img{height:68px!important}
  .wmt-ft__about{max-width:none}
  .wmt-ft__col a{font-size:15px;padding:6px 0}
  .wmt-ft__bar-in{flex-direction:column;align-items:flex-start}
}
@media (max-width:360px){
  .wmt-ft__cta-actions{grid-template-columns:1fr}
}

/* Hide the old UAE footer wherever the new one is present */
body:has(.wmt-ft) #colophon:not(:has(.wmt-ft)){display:none!important}
.elementor-location-footer:has(.wmt-ft) .elementor-element,.elementor-location-footer:has(.wmt-ft) .elementor-widget-container{padding:0!important;margin:0!important}
.elementor-location-footer:has(.wmt-ft) .elementor-container,.elementor-location-footer:has(.wmt-ft) .elementor-column-wrap,.elementor-location-footer:has(.wmt-ft) .elementor-widget-wrap{max-width:none!important;padding:0!important}

/* ================= Site-wide mobile + brand fixes ================= */
html,body{overflow-x:clip;max-width:100%}
body{overflow-wrap:break-word}
img,video,iframe,embed,object{max-width:100%}
.entry-content img,.elementor-widget-image img{height:auto}
iframe[src*="youtube"],iframe[src*="vimeo"],iframe[src*="google.com/maps"]{width:100%}
/* Astra scroll-to-top in brand colours */
#ast-scroll-top{background-color:#BF6C2F!important;color:#fff!important;border-radius:999px!important;width:44px;height:44px;line-height:44px}
#ast-scroll-top:hover{background-color:#9E5520!important}
@media (max-width:767px){
  .entry-content table,.elementor-widget-text-editor table{display:block;max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
  .elementor-section.elementor-section-boxed>.elementor-container{max-width:100%}
  .elementor-button,.wpcf7-submit,input[type=submit],button[type=submit]{min-height:46px}
  input[type=text],input[type=email],input[type=tel],input[type=number],input[type=date],select,textarea{font-size:16px!important;max-width:100%}
  .wpcf7 form .wpcf7-form-control-wrap{max-width:100%}
}
