/* 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("/assets/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;}}

/* Blog dropdown only; matches the approved homepage palette and heritage details. */
.am-menu-demo .ag-blog-item { position: relative !important; }
.am-menu-demo .ag-blog-dropdown > .ag-blog-panel {
  --blog-wine: #702D40;
  --blog-ink: #453A37;
  box-sizing: border-box;
  position: absolute !important;
  top: 100% !important;
  right: 0 !important;
  left: auto !important;
  width: 420px !important;
  max-width: calc(100vw - 32px) !important;
  margin: 0 !important;
  padding: 26px 26px 16px !important;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #D6B28D !important;
  border-radius: 20px !important;
  background: #FBF0E3 !important;
  box-shadow: inset 0 0 0 4px #FFF8EF, inset 0 0 0 5px #D6B28D65, 0 14px 32px #55223124 !important;
  color: var(--blog-ink);
  z-index: 70 !important;
}
.ag-blog-panel::before {
  content: "";
  position: absolute;
  inset: 5px;
  z-index: -1;
  pointer-events: none;
  border-radius: 16px;
  background: url("/assets/home-heritage/arabesque.svg") center / 44px 44px repeat;
  opacity: .75;
  mask-image: linear-gradient(115deg, #000, transparent 32%, transparent 72%, #000);
}
.ag-blog-panel .ag-blog-corner {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 62px;
  height: 62px;
  background: url("/assets/home-heritage/corner.svg") center / contain no-repeat;
  transform: scaleX(-1);
  opacity: .9;
  pointer-events: none;
}
.ag-blog-panel .ag-blog-intro { margin: 0 0 12px; padding: 0 30px 15px 0; border-bottom: 1px solid #D6B28D80; }
.ag-blog-panel .ag-blog-eyebrow { margin: 0 0 7px; color: var(--blog-wine); font: 700 10px/1.5 Arimo, Arial, sans-serif; letter-spacing: .18em; }
.ag-blog-panel .ag-blog-title { display: block; margin: 0; color: var(--blog-wine); font: 600 23px/1.25 'Playfair Display', Georgia, serif; }
.ag-blog-panel .ag-blog-guides { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.ag-blog-panel .ag-blog-guides > a {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  min-height: 88px;
  padding: 14px 7px !important;
  margin: 0 !important;
  border: 0;
  border-radius: 9px;
  color: var(--blog-wine) !important;
  background: transparent;
  text-decoration: none !important;
  transition: background-color .16s ease;
}
.ag-blog-panel .ag-blog-guides > a + a { border-top: 1px solid #D6B28D60; }
.ag-blog-panel .ag-blog-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 44px;
  background: #FAEEDC;
  border: 1px solid #C99A6070;
  border-radius: 18px 18px 7px 7px;
}
.ag-blog-panel .ag-blog-icon svg { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.ag-blog-panel .ag-blog-copy { display: block; min-width: 0; }
.ag-blog-panel .ag-blog-copy strong { display: block; margin: 0 0 5px !important; color: var(--blog-wine) !important; font: 600 19px/1.25 'Playfair Display', Georgia, serif !important; letter-spacing: -.02em; }
.ag-blog-panel .ag-blog-copy > span { display: block; color: var(--blog-ink); font: 400 13px/1.5 Arimo, Arial, sans-serif; }
.ag-blog-panel .ag-blog-arrow { font: 400 18px/1 Arimo, Arial, sans-serif; color: var(--blog-wine); }
.ag-blog-panel .ag-blog-guides > a:hover,
.ag-blog-panel .ag-blog-guides > a:focus-visible { background: #702D400A; }
.ag-blog-panel a:focus-visible { outline: 2px solid var(--blog-wine); outline-offset: 2px; }
.ag-blog-panel .ag-blog-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin: 9px 0 0;
  padding: 12px 8px 3px;
  border-top: 1px solid #D6B28D80;
  color: var(--blog-wine) !important;
  font: 700 13px/1.5 Arimo, Arial, sans-serif;
  text-decoration: none;
}
.ag-blog-panel .ag-blog-all:hover { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 1199px) {
  .am-menu-demo .ag-blog-dropdown > .ag-blog-panel {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 4px 0 14px !important;
    padding: 22px 20px 12px !important;
  }
}
@media (max-width: 480px) {
  .am-menu-demo .ag-blog-dropdown > .ag-blog-panel { padding: 22px 16px 12px !important; }
  .ag-blog-panel .ag-blog-title { font-size: 21px; }
  .ag-blog-panel .ag-blog-guides > a { grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 9px; padding-inline: 3px !important; }
  .ag-blog-panel .ag-blog-icon { width: 34px; height: 40px; }
  .ag-blog-panel .ag-blog-copy strong { font-size: 17px !important; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-blog-panel .ag-blog-guides > a { transition: none; }
}

/* The shared editorial navigation now opens the seven guide categories. */
.am-menu-demo .ag-blog-dropdown>.tg-menu-panel{width:640px!important}
.tg-menu-panel .ag-blog-title{font-size:23px;text-decoration:none}
.tg-menu-categories{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}
.tg-menu-categories>a{display:flex!important;justify-content:space-between;align-items:center;gap:14px;min-height:56px;padding:13px 9px!important;border-top:1px solid #c7a16a66;text-decoration:none!important;color:#702d40!important;font:600 17px/1.3 'Playfair Display',Georgia,serif!important;white-space:normal!important}
.tg-menu-categories>a:hover{background:#702d4009}.tg-menu-categories>a:last-child{grid-column:1/-1;background:#f3e2c9;margin-top:7px;border:1px solid #c7a16a80;border-radius:8px;padding-inline:15px!important}
/* Give every desktop label its natural width; use the spare space between links. */
@media(min-width:1200px){
 .aisha-header .am-menu-demo .am-menu-inner{width:min(1440px,100%);gap:14px!important;padding-inline:24px!important;flex-wrap:nowrap;align-items:center!important}
 .aisha-header .am-menu-demo .am-menu-root{flex:1 1 auto!important;min-width:0;margin-right:0!important}
 .aisha-header .am-menu-demo .am-menu-list{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between!important;gap:8px!important}
 .aisha-header .am-menu-demo .am-menu-list>li{flex:0 0 auto}
 .aisha-header .am-menu-demo .am-menu-list>li>a,.aisha-header .am-menu-demo .am-tours-dropdown>summary{white-space:nowrap!important;max-width:none;min-height:62.5px;padding:19px 3px!important;gap:7px;font:400 15px/22.5px Arimo,Arial,sans-serif!important}
 .aisha-header .am-menu-demo .am-chevron{flex-shrink:0}
 .aisha-header .am-menu-demo .av-language{position:relative!important;left:auto!important;right:auto!important;top:auto!important;width:50px!important;flex:0 0 50px!important}
 .aisha-header .am-menu-demo .am-menu-plan{position:static!important;flex:0 0 auto;margin:0!important;padding-inline:14px!important}
}
@media(max-width:1199px){.am-menu-demo .ag-blog-dropdown>.tg-menu-panel{width:100%!important}}
@media(max-width:600px){.tg-menu-categories{grid-template-columns:1fr}.tg-menu-categories>a{font-size:17px!important}.tg-menu-panel .ag-blog-title{font-size:21px}}

/* Keep the approved compact dimensions; match the Morocco Tours heritage menu. */
@media (min-width: 1200px) {
 .am-menu-demo .ag-blog-dropdown > .tg-menu-panel {
  width: 340px !important;
  padding: 14px 14px 12px !important;
  border: 1px solid #C68A2D !important;
  border-top-width: 2px !important;
  border-radius: 16px !important;
  background: radial-gradient(ellipse at center, #FFF8EF 20%, #FCF1E5 75%, #F7E9D8 100%) !important;
  box-shadow: inset 0 0 0 2px #FFF5E8, inset 0 0 0 3px #E7C78F, 0 10px 24px #4B281D38 !important;
 }
 .tg-menu-panel .ag-blog-eyebrow { display: none; }
 .tg-menu-panel::before { display: block; opacity: .38; border-radius: 12px; }
 .tg-menu-panel .ag-blog-corner {
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  background: none;
  transform: none;
  opacity: 1;
 }
 .tg-menu-panel .ag-blog-corner::before,
 .tg-menu-panel .ag-blog-corner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 47px;
  background: url("/assets/blog-menu/tours-corner.svg") center / contain no-repeat;
 }
 .tg-menu-panel .ag-blog-corner::after { left: auto; right: 0; transform: scaleX(-1); }
 .tg-menu-panel::after {
  content: "";
  position: absolute;
  bottom: 1px;
  left: calc(50% - 5px);
  width: 10px;
  height: 10px;
  background: url("/assets/home-heritage/rosette.svg") center / contain no-repeat;
  pointer-events: none;
 }
 .tg-menu-panel .ag-blog-intro {
  position: relative;
  margin: 0 0 5px;
  padding: 0 20px 11px;
  border-bottom: 1px solid #DFBB8280;
 }
 .tg-menu-panel .ag-blog-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: #650F24 !important;
  font: 600 18px/1.35 'Playfair Display', Georgia, serif !important;
 }
 .tg-menu-panel .tg-menu-categories { position: relative; grid-template-columns: minmax(0, 1fr); gap: 0; }
 .tg-menu-panel .tg-menu-categories > a {
  min-height: 36px;
  padding: 8px !important;
  border: 0;
  border-radius: 4px;
  gap: 8px;
  color: #650F24 !important;
  background: linear-gradient(90deg, transparent, #DFBB8280 20%, #DFBB8280 80%, transparent) bottom / 100% 1px no-repeat;
  font: 700 15px/20px Georgia, 'Times New Roman', serif !important;
  white-space: nowrap !important;
  transition: background-color .16s ease;
 }
 .tg-menu-panel .tg-menu-categories > a::before {
  content: "";
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  background: var(--guide-icon) center / contain no-repeat;
 }
 .tg-menu-panel .tg-menu-categories > a:nth-child(1) { --guide-icon: url("/assets/blog-menu/icon-guides.svg"); }
 .tg-menu-panel .tg-menu-categories > a:nth-child(2) { --guide-icon: url("/assets/blog-menu/icon-destinations.svg"); }
 .tg-menu-panel .tg-menu-categories > a:nth-child(3) { --guide-icon: url("/assets/blog-menu/icon-tips.svg"); }
 .tg-menu-panel .tg-menu-categories > a:nth-child(4) { --guide-icon: url("/assets/blog-menu/icon-experiences.svg"); }
 .tg-menu-panel .tg-menu-categories > a:nth-child(5) { --guide-icon: url("/assets/blog-menu/icon-heritage.svg"); }
 .tg-menu-panel .tg-menu-categories > a:nth-child(6) { --guide-icon: url("/assets/blog-menu/icon-itineraries.svg"); }
 .tg-menu-panel .tg-menu-categories > a:nth-child(7) { --guide-icon: url("/assets/blog-menu/icon-luxury.svg"); }
 .tg-menu-panel .tg-menu-categories > a > span:first-child { flex: 1; }
 .tg-menu-panel .tg-menu-categories > a > span:last-child { color: #B98943; }
 .tg-menu-panel .tg-menu-categories > a:last-child {
  margin-top: 4px;
  background: #F1DFC74F;
  border-top: 1px solid #DFBB8280;
  border-radius: 0 0 4px 4px;
 }
 .tg-menu-panel .tg-menu-categories > a:hover,
 .tg-menu-panel .tg-menu-categories > a:focus-visible { background: #F1DFC780; }
 .tg-menu-panel a:focus-visible { outline: 2px solid #650F24; outline-offset: 1px; }
}

