/* Only the opened Morocco Tours panel. Artwork comes from the approved reference. */
#am-heritage-tours{
 --hm-wine:#650f24;--hm-gold:#c68a2d;--hm-line:#dfbb82;
 box-sizing:border-box;position:absolute!important;top:100%!important;left:max(24px,calc(50% - 460px))!important;
 transform:none;width:720px!important;max-width:calc(100vw - 48px)!important;
 padding:20px 36px 14px!important;margin:0!important;border:0!important;border-radius:32px!important;
 background:radial-gradient(ellipse at center,#fff8ef 20%,#fcf1e5 75%,#f7e9d8 100%)!important;
 color:#27171a;box-shadow:0 10px 24px #4b281d38!important;isolation:isolate;z-index:65!important;
}
#am-heritage-tours::before{content:"";position:absolute;inset:5px;z-index:-1;pointer-events:none;border-radius:28px;background:url('../home-heritage/arabesque.svg') center/44px 44px repeat;opacity:.38;mask-image:linear-gradient(120deg,#000,transparent 30%,transparent 70%,#000);}
#am-heritage-tours .hm-frame{display:block;position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:0;overflow:visible;}
#am-heritage-tours .hm-corner{display:none;}
#am-heritage-tours .am-menu-heading{
 position:relative!important;top:auto!important;left:auto!important;right:auto!important;
 display:flex!important;align-items:center;justify-content:center;gap:14px;
 width:auto;margin:0 52px 10px!important;padding:0 0 12px!important;border:0!important;
 color:#4b1020!important;font:700 17px/1.3 'Playfair Display',Georgia,serif!important;
 letter-spacing:.23em!important;text-align:center;white-space:nowrap;
}
#am-heritage-tours .am-menu-heading::after{content:"";position:absolute;bottom:0;left:10%;right:10%;height:1px;background:linear-gradient(90deg,transparent,#c68a2d,transparent);}
#am-heritage-tours .hm-heading-rule{position:relative;display:block!important;flex:1 1 80px;min-width:32px;height:1px;background:linear-gradient(90deg,transparent,#c68a2d);}
#am-heritage-tours .hm-heading-rule:last-child{transform:scaleX(-1);}
#am-heritage-tours .hm-heading-rule::after{content:"";position:absolute;right:12px;top:-5px;width:11px;height:11px;box-sizing:border-box;border:2px solid #c68a2d;background:#fcf2e7;transform:rotate(45deg);}
#am-heritage-tours .am-collection-links{position:relative;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:0 20px!important;margin:0!important;padding:0!important;}
#am-heritage-tours .am-collection-links::before{content:"";position:absolute;left:50%;top:4px;bottom:8px;width:1px;background:linear-gradient(transparent,#cda35e 12%,#cda35e 88%,transparent);}
#am-heritage-tours .am-collection-links a{
 position:relative;display:flex!important;align-items:center;gap:8px;min-width:0;min-height:64px;
 padding:8px 3px!important;margin:0!important;border:0!important;border-radius:6px;
 text-decoration:none!important;color:var(--hm-wine)!important;background:transparent;box-shadow:none;
 transition:background-color .16s;
}
#am-heritage-tours .am-collection-links a:nth-child(-n+4)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#dfbb82 25%,#dfbb82 75%,transparent);}
#am-heritage-tours .hm-icon{display:block;flex:0 0 46px;width:46px;height:46px;max-width:none;overflow:hidden;mix-blend-mode:darken;}
#am-heritage-tours .hm-copy{display:block!important;min-width:0;}
#am-heritage-tours .am-collection-links strong{display:block!important;margin:0 0 3px!important;padding:0!important;color:var(--hm-wine)!important;font:700 18px/1.2 Georgia,'Times New Roman',serif!important;letter-spacing:-.035em!important;text-wrap:balance;}
#am-heritage-tours .hm-description{display:block!important;margin:0!important;color:#27171a!important;font:400 13px/1.4 Arimo,Arial,sans-serif!important;letter-spacing:0!important;}
#am-heritage-tours .am-collection-links a:hover{background-color:#f1dfc74f;}
#am-heritage-tours .am-collection-links a:focus-visible{outline:2px solid #650f24!important;outline-offset:3px;background-color:#f1dfc74f;}
#am-heritage-tours .hm-bottom{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;width:47%;margin:5px auto 0;pointer-events:none;}
#am-heritage-tours .hm-bottom::before,#am-heritage-tours .hm-bottom::after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,#c68a2d);}
#am-heritage-tours .hm-bottom::after{transform:scaleX(-1);}
#am-heritage-tours .hm-medallion{display:block;width:24px;height:24px;flex:0 0 24px;mix-blend-mode:darken;}
@media(max-width:1199px){
 #am-heritage-tours{position:relative!important;top:auto!important;left:auto!important;transform:none!important;width:100%!important;max-width:100%!important;margin:8px 0 15px!important;padding:32px 44px 20px!important;border:0!important;}
 #am-heritage-tours .am-menu-heading{margin:0 65px 14px!important;font-size:21px!important;letter-spacing:.16em!important;gap:15px;}
 #am-heritage-tours .am-collection-links{gap:0 24px!important;}
 #am-heritage-tours .am-collection-links a{gap:10px;min-height:110px;padding:13px 4px!important;}
 #am-heritage-tours .hm-icon{width:67px;height:67px;flex-basis:67px;}
 #am-heritage-tours .am-collection-links strong{font-size:21px!important;letter-spacing:-.025em!important;}
 #am-heritage-tours .hm-description{font-size:15px!important;}
}
@media(max-width:1199px){
 #am-heritage-tours{padding:32px 14px 10px!important;border:2px solid #cf9a46!important;border-radius:23px!important;box-shadow:inset 0 0 0 2px #fff5e8,inset 0 0 0 3px #e7c78f,0 6px 12px #5c341b20!important;}
 #am-heritage-tours .hm-frame{display:none;}
 #am-heritage-tours .hm-corner{display:block;position:absolute;top:0;left:0;width:54px;height:61px;pointer-events:none;border-top-left-radius:21px;overflow:hidden;}
 #am-heritage-tours .hm-corner-right{left:auto;right:0;transform:scaleX(-1);}
 #am-heritage-tours .am-menu-heading{margin:0 0 8px!important;padding-bottom:10px!important;font-size:15px!important;letter-spacing:.12em!important;gap:9px;}
 #am-heritage-tours .hm-heading-rule{min-width:10px;flex-basis:16px;}
 #am-heritage-tours .hm-heading-rule::after{right:4px;width:7px;height:7px;top:-3px;border-width:1px;}
 #am-heritage-tours .am-collection-links{grid-template-columns:minmax(0,1fr)!important;gap:0!important;}
 #am-heritage-tours .am-collection-links::before{display:none;}
 #am-heritage-tours .am-collection-links a{gap:8px;min-height:60px;padding:6px 0!important;}
 #am-heritage-tours .am-collection-links a:nth-child(5)::after{content:"";position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#dfbb82 25%,#dfbb82 75%,transparent);}
 #am-heritage-tours .hm-icon{width:38px;height:38px;flex-basis:38px;}
 #am-heritage-tours .am-collection-links strong{font-size:16px!important;line-height:1.2!important;text-wrap:pretty;letter-spacing:-.025em!important;}
 #am-heritage-tours .hm-description{font-size:13px!important;line-height:1.4!important;}
 #am-heritage-tours .hm-bottom{width:70%;margin-top:6px;}
 #am-heritage-tours .hm-medallion{width:22px;height:22px;flex-basis:22px;}
}
@media(prefers-reduced-motion:reduce){#am-heritage-tours .am-collection-links a{transition:none;}}

#am-heritage-tours .hm-icon{clip-path:polygon(50% 0%,77% 9%,92% 24%,100% 50%,92% 78%,75% 95%,50% 100%,24% 95%,8% 76%,0% 50%,8% 24%,25% 8%);}
#am-heritage-tours .hm-medallion{clip-path:polygon(50% 0%,65% 15%,85% 15%,85% 35%,100% 50%,85% 65%,85% 85%,65% 85%,50% 100%,35% 85%,15% 85%,15% 65%,0% 50%,15% 35%,15% 15%,35% 15%);}

@media(min-width:700px) and (max-width:1199px){#am-heritage-tours{padding-inline:30px!important;}#am-heritage-tours .am-menu-heading{font-size:16px!important;}#am-heritage-tours .am-collection-links strong{font-size:17px!important;}#am-heritage-tours .hm-description{font-size:13px!important;}#am-heritage-tours .hm-icon{width:40px;height:40px;flex-basis:40px;}}
