.ag-stories-nav-entry,.ag-stories-menu-item>a{white-space:nowrap}
.ag-stories-home-block{padding:clamp(52px,7vw,88px) 0;background:linear-gradient(180deg,#fffaf0 0%,#f7efe2 100%);color:#153d4b}
.ag-stories-home-block .shell{width:min(1180px,calc(100% - 32px));margin-inline:auto}
.ag-stories-home-head{display:flex;align-items:end;justify-content:space-between;gap:28px;margin-bottom:28px}
.ag-stories-home-head>div{max-width:760px}
.ag-stories-home-head .eyebrow{margin:0 0 9px;color:#a64d2d;font-size:.78rem;font-weight:900;letter-spacing:.13em}
.ag-stories-home-head h2{max-width:760px;margin:0;font-size:clamp(2rem,4vw,3.45rem);line-height:1.02;letter-spacing:-.035em}
.ag-stories-home-head p:not(.eyebrow){max-width:720px;margin:15px 0 0;font-size:1.04rem;line-height:1.65;color:#47636d}
.ag-stories-home-cta{flex:0 0 auto}
.ag-stories-home-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ag-stories-home-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid rgba(20,61,75,.13);border-radius:22px;background:#fff;color:inherit;text-decoration:none;box-shadow:0 15px 34px rgba(20,61,75,.08);transition:transform .18s ease,box-shadow .18s ease}
.ag-stories-home-card:hover{transform:translateY(-3px);box-shadow:0 20px 42px rgba(20,61,75,.13)}
.ag-stories-home-card>img,.ag-stories-home-placeholder{display:block;width:100%;aspect-ratio:3/2;object-fit:cover;background:#d9e9e8}
.ag-stories-home-placeholder{display:grid;place-items:center;font-size:3rem;font-weight:900;color:#153d4b}
.ag-stories-home-copy{display:flex;flex:1;flex-direction:column;padding:20px}
.ag-stories-home-copy small{margin-bottom:8px;color:#a64d2d;font-size:.76rem;font-weight:900;letter-spacing:.09em;text-transform:uppercase}
.ag-stories-home-copy strong{font-size:1.28rem;line-height:1.17;letter-spacing:-.018em}
.ag-stories-home-excerpt{margin-top:11px;color:#5a7078;font-size:.95rem;line-height:1.5}
.ag-stories-home-copy em{margin-top:auto;padding-top:17px;color:#0d6470;font-style:normal;font-weight:900}

/* 18.7 archive refinement: five stories should read like an editorial
   collection, not five compressed catalog products. */
.ag-essay-collection-summary{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 28px;padding:0;list-style:none}
.ag-essay-collection-summary li{display:inline-flex;align-items:center;min-height:42px;padding:9px 14px;border:1px solid #cad8d5;border-radius:999px;background:rgba(255,255,255,.72);color:#355a65;font-size:.82rem;font-weight:800;box-shadow:0 4px 14px rgba(3,44,57,.035)}
.ag-essay-collection-summary li:first-child{border-color:#0b6472;background:#0b6472;color:#fff}
.ag-essay-filter-state{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 26px;padding:16px 18px;border:1px solid #d5dfdc;border-radius:16px;background:#fff}
.ag-essay-filter-state strong{font-family:Georgia,serif;font-size:1.15rem;font-weight:500}
.ag-essay-filter-state a{color:#0b6472;font-weight:900;text-decoration:none}

@media(min-width:901px){
  .ag-essay-card-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
  .ag-essay-card--featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.08fr) minmax(360px,.92fr);min-height:440px}
  .ag-essay-card--featured .ag-essay-card-image{height:100%;min-height:440px;aspect-ratio:auto}
  .ag-essay-card--featured .ag-essay-card-body{justify-content:center;padding:clamp(30px,4vw,58px)}
  .ag-essay-card--featured h2{max-width:13ch;margin-top:18px;font-size:clamp(2.55rem,4vw,4.8rem);line-height:.98;letter-spacing:-.025em}
  .ag-essay-card--featured .ag-essay-card-body>p{max-width:58ch;font-size:1.08rem;line-height:1.68}
  .ag-essay-card:not(.ag-essay-card--featured) .ag-essay-card-image{aspect-ratio:16/9}
  .ag-essay-card:not(.ag-essay-card--featured) .ag-essay-card-body{padding:24px}
  .ag-essay-card:not(.ag-essay-card--featured) h2{font-size:clamp(1.7rem,2.2vw,2.35rem);line-height:1.03}
  .ag-essay-card:not(.ag-essay-card--featured) .ag-essay-card-body>p{font-size:1rem;line-height:1.62}
}

.ag-essay-mobile-promise{margin-top:58px}
.ag-essay-author-promo{margin-top:24px}
.ag-growth-language-pill a{white-space:nowrap}

@media(min-width:1221px){
  #primary-nav>.ag-stories-nav-item,#primary-nav>.ag-stories-menu-item{order:initial!important}
  #primary-nav .ag-stories-nav-entry,#primary-nav .ag-stories-menu-item>a{font-size:inherit!important}
}
@media(max-width:900px){
  .ag-stories-home-head{align-items:flex-start;flex-direction:column}
  .ag-stories-home-grid{grid-template-columns:1fr 1fr}
  .ag-stories-home-card:last-child{grid-column:1/-1}
  .ag-essay-card--featured{display:flex}
  .ag-essay-card-grid{grid-template-columns:1fr 1fr;gap:18px}
}
@media(max-width:640px){
  .ag-stories-home-block{padding:44px 0}
  .ag-stories-home-block .shell{width:min(100% - 22px,1180px)}
  .ag-stories-home-grid{grid-template-columns:1fr}
  .ag-stories-home-card:last-child{grid-column:auto}
  .ag-stories-home-head h2{font-size:2.05rem}
  .ag-stories-home-cta{width:100%;text-align:center}
  .ag-stories-home-card>img,.ag-stories-home-placeholder{aspect-ratio:16/10}
  .ag-essay-card-grid{grid-template-columns:1fr;gap:16px}
  .ag-essay-collection-summary{gap:8px;margin-bottom:22px}
  .ag-essay-collection-summary li{min-height:38px;padding:8px 12px;font-size:.76rem}
  .ag-essay-filter-state{align-items:flex-start;flex-direction:column}
}


/* 24.9.7.9.18.9 — restore the normal Explore experience on the custom
   Stories archive and individual essay header. */
.ag-growth-explore-menu{position:relative;color:#fff}
.ag-growth-explore-menu>summary{display:flex;align-items:center;gap:6px;min-height:44px;list-style:none;color:#fff;cursor:pointer;font-size:.92rem;font-weight:850;white-space:nowrap}
.ag-growth-explore-menu>summary::-webkit-details-marker{display:none}
.ag-growth-explore-menu>summary span{color:#f7c94f;font-size:.9rem;transition:transform .16s ease}
.ag-growth-explore-menu[open]>summary span{transform:rotate(180deg)}
.ag-growth-explore-panel{position:absolute;z-index:2147482000;top:calc(100% + 14px);left:0;display:grid;grid-template-columns:repeat(3,minmax(150px,1fr));gap:16px;width:min(680px,calc(100vw - 36px));padding:20px;border:1px solid rgba(255,255,255,.18);border-radius:20px;background:#073b4c;box-shadow:0 24px 70px rgba(0,0,0,.35)}
.ag-growth-explore-panel section{display:grid;align-content:start;gap:7px;min-width:0}
.ag-growth-explore-panel strong{margin-bottom:3px;color:#ffd367;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase}
.ag-growth-explore-panel a{display:block;padding:8px 9px;border-radius:10px;color:#fff!important;font-size:.84rem!important;font-weight:760!important;line-height:1.25}
.ag-growth-explore-panel a:hover,.ag-growth-explore-panel a:focus{background:rgba(255,255,255,.11);color:#ffd367!important}

/* The iOS menu must remain sharp and above any theme backdrop. Some theme
   overlays were blurring the drawer itself and intercepting every tap. */
@media(max-width:1220px){
 html.ag-mobile-menu-open,html.ag-mobile-menu-open body,body.mobile-menu-open{filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html.ag-mobile-menu-open .site-header,body.mobile-menu-open .site-header,html.ag-mobile-menu-open #primary-nav,body.mobile-menu-open #primary-nav,
 html.ag-mobile-menu-open .site-header *,body.mobile-menu-open .site-header *,html.ag-mobile-menu-open #primary-nav *,body.mobile-menu-open #primary-nav *{filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
 html.ag-mobile-menu-open .site-header,body.mobile-menu-open .site-header{z-index:2147483000!important;isolation:isolate!important;pointer-events:auto!important}
 html.ag-mobile-menu-open #primary-nav,body.mobile-menu-open #primary-nav{z-index:2147483100!important;pointer-events:auto!important;touch-action:pan-y!important;-webkit-overflow-scrolling:touch!important}
 html.ag-mobile-menu-open #primary-nav a,html.ag-mobile-menu-open #primary-nav button,html.ag-mobile-menu-open #primary-nav summary,
 body.mobile-menu-open #primary-nav a,body.mobile-menu-open #primary-nav button,body.mobile-menu-open #primary-nav summary{position:relative!important;z-index:2!important;pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important}
 html.ag-mobile-menu-open body::before,html.ag-mobile-menu-open body::after,body.mobile-menu-open::before,body.mobile-menu-open::after{backdrop-filter:none!important;-webkit-backdrop-filter:none!important;pointer-events:none!important}
}
@media(max-width:800px){.ag-growth-explore-menu{display:none!important}}
@media(max-width:1220px){
 body.mobile-menu-open .mobile-menu-backdrop,body.mobile-menu-open .nav-backdrop,body.mobile-menu-open [data-menu-backdrop],body.mobile-menu-open .menu-overlay,body.mobile-menu-open [data-menu-overlay],
 html.ag-mobile-menu-open .mobile-menu-backdrop,html.ag-mobile-menu-open .nav-backdrop,html.ag-mobile-menu-open [data-menu-backdrop],html.ag-mobile-menu-open .menu-overlay,html.ag-mobile-menu-open [data-menu-overlay]{z-index:2147481000!important;pointer-events:none!important;filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
}


/* 24.9.7.9.18.10 — consistent mobile navigation and hard closed-menu state. */
@media(max-width:1220px){
  html.ag-nav-1810-ready:not(.ag-mobile-menu-open) #primary-nav,
  html.ag-nav-1810-ready body:not(.mobile-menu-open) #primary-nav{
    display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important;transform:translateY(-8px)!important;
  }
  html.ag-nav-1810-ready.ag-mobile-menu-open #primary-nav,
  html.ag-nav-1810-ready body.mobile-menu-open #primary-nav{
    display:flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;transform:none!important;
  }
  html.ag-nav-1810-ready #primary-nav:not(.open):not(.is-open):not([data-ag-menu-open]) *{
    visibility:hidden!important;pointer-events:none!important;
  }
  html.ag-nav-1810-ready #primary-nav.open *,
  html.ag-nav-1810-ready #primary-nav.is-open *,
  html.ag-nav-1810-ready #primary-nav[data-ag-menu-open] *{
    visibility:visible!important;pointer-events:auto!important;
  }
  .site-header .menu-toggle,.menu-toggle,[data-menu-toggle],button[aria-controls="primary-nav"],
  .ag-growth-menu-toggle,[data-ag-growth-menu-toggle]{pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important}
}

@media(max-width:900px){
  .mobile-bottom-nav [data-mobile-nav="stories"]>b,
  .mobile-bottom-nav [data-mobile-nav="stories"]>.ag-mobile-nav-label,
  .mobile-bottom-nav a[href*="/mexico-travel-essays/"]>b{
    display:block!important;visibility:visible!important;opacity:1!important;position:static!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;clip:auto!important;overflow:visible!important;white-space:nowrap!important;color:inherit!important;font-size:inherit!important;line-height:1.1!important;
  }
  .ag-growth-mobile-nav{
    left:12px!important;right:12px!important;bottom:calc(10px + env(safe-area-inset-bottom))!important;height:auto!important;min-height:76px!important;padding:8px!important;border:1px solid rgba(255,255,255,.24)!important;border-radius:24px!important;background:#073f50!important;color:#fff!important;box-shadow:0 16px 40px rgba(0,0,0,.28)!important;
  }
  .ag-growth-mobile-nav a{min-height:58px!important;border-radius:18px!important;color:#fff!important;font-size:.68rem!important;font-weight:900!important}
  .ag-growth-mobile-nav a span{color:inherit!important}
  .ag-growth-mobile-nav a.active{background:#f5c65b!important;color:#073b4c!important}
  .ag-growth-public{padding-bottom:calc(98px + env(safe-area-inset-bottom))!important}
  .ag-growth-mobile-menu{position:relative!important;z-index:2147483200!important;filter:none!important;-webkit-filter:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
  .ag-growth-mobile-menu[hidden]{display:none!important}
  .ag-growth-mobile-menu:not([hidden]){display:block!important;pointer-events:auto!important}
  .ag-growth-mobile-menu a{pointer-events:auto!important;touch-action:manipulation!important}
}

/* Today route: prevent the hidden desktop menu from painting over the hero and
   show the entire 960×400 planning banner instead of cropping its right side. */
@media(max-width:980px){
  html.ag-today-route-1810,html.ag-today-route-1810 body{max-width:100%!important;overflow-x:clip!important}
  html.ag-today-route-1810 .ag-today-main,
  html.ag-today-route-1810 .ag-today-main section,
  html.ag-today-route-1810 .ag-today-shell,
  html.ag-today-route-1810 .ag-today-hero-grid,
  html.ag-today-route-1810 .ag-today-hero-copy,
  html.ag-today-route-1810 .ag-today-hero-media{min-width:0!important;max-width:100%!important}
  html.ag-today-route-1810 .ag-today-hero-media{width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:12/5!important;background:#073f50!important;overflow:hidden!important}
  html.ag-today-route-1810 .ag-today-hero-media img{display:block!important;width:100%!important;max-width:100%!important;height:auto!important;min-height:0!important;aspect-ratio:12/5!important;object-fit:contain!important;object-position:center!important}
  html.ag-today-route-1810 .ag-today-hero-media:after{background:linear-gradient(180deg,transparent 48%,rgba(4,40,53,.68))!important}
  html.ag-today-route-1810 .ag-today-hero-media figcaption{left:16px!important;right:16px!important;bottom:12px!important}
}
@media(max-width:640px){
  .ag-growth-mobile-nav{left:10px!important;right:10px!important;bottom:calc(8px + env(safe-area-inset-bottom))!important;padding:6px!important;border-radius:20px!important}
  .ag-growth-mobile-nav a{min-height:52px!important;border-radius:15px!important;font-size:.62rem!important}
  .ag-growth-mobile-nav a span{font-size:1.05rem!important}
  html.ag-today-route-1810 .ag-today-hero-media strong{font-size:2rem!important}
  html.ag-today-route-1810 .ag-today-hero-media span{font-size:.78rem!important;line-height:1.15!important}
}
