/* Anej + Teja v1.68: full-bleed category covers, consistent destination cards. */
@media (min-width: 781px) {
 body.category main:has(.atce-magazine) { padding-top:0!important; }
 body.category .atce-magazine { overflow:visible!important; }
 body.category .atce-magazine > .atce-hero {
   position:relative!important;left:50%!important;transform:translateX(-50%)!important;
   width:100vw!important;max-width:none!important;min-height:620px!important;
   height:clamp(520px,64vh,760px)!important;max-height:none!important;
   border-radius:0!important;padding:65px 36px!important;margin-bottom:38px!important;
   display:flex!important;align-items:center!important;justify-content:center!important;
 }
 body.category .atce-hero .atce-hero-content { width:min(100%,920px)!important;max-width:920px!important; }
 body.category .atce-hero h1 { font-size:clamp(40px,4.5vw,72px)!important;line-height:1.09!important; }
 body.category .atce-hero-intro {font-size:clamp(15px,1.3vw,18px)!important;line-height:1.65!important;max-width:760px!important;}
}
@media (max-width:780px) {
 body.category main:has(.atce-magazine) {padding-top:0!important;}
 body.category .atce-magazine > .atce-hero {
   left:50%!important;transform:translateX(-50%)!important;
   width:100vw!important;max-width:none!important;min-height:390px!important;
   height:clamp(390px,56vh,580px)!important;max-height:none!important;
   border-radius:0!important;padding:35px 20px!important;margin-bottom:20px!important;
 }
 body.category .atce-hero h1{font-size:clamp(33px,8vw,50px)!important;}
}
body.category .atce-hero.atce-has-image {background-position:center center!important;background-size:cover!important;}
body.category .atce-hero {background-color:#07545b!important;}
/* Restrict new cover style to the category hero: maps, featured stories and article grid retain their layout. */
body.category .atce-featured,body.category .atce-map,body.category .atce-list-heading {max-width:1440px!important;margin-inline:auto!important;}
/* Destination directory: grid/card media originate from two plugins, so normalize their final layout. */
body.page .at-destinations-page {width:100%!important;max-width:none!important;margin-inline:auto!important;min-width:0!important;}
body .at-destinations-page .at-explorer {width:min(1440px,calc(100% - 40px))!important;max-width:1440px!important;margin-inline:auto!important;padding-inline:0!important;}
body .at-destinations-page .at-destination-list {display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:26px!important;align-items:stretch!important;max-width:none!important;width:100%!important;}
body .at-destinations-page .at-destination-tile {box-sizing:border-box!important;min-width:0!important;width:100%!important;display:flex!important;flex-direction:column!important;gap:10px!important;border:1px solid #d5e8e6!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;padding:0 0 20px!important;}
body .at-destinations-page .at-destination-tile > .at-destination-card-media {position:relative!important;display:block!important;aspect-ratio:16/10!important;flex:0 0 auto!important;width:100%!important;max-width:none!important;overflow:hidden!important;margin:0 0 7px!important;background:#eaf3f2!important;}
body .at-destinations-page .at-destination-card-media img {width:100%!important;height:100%!important;max-height:none!important;aspect-ratio:auto!important;object-fit:cover!important;margin:0!important;border-radius:0!important;display:block!important;}
body .at-destinations-page .at-destination-tile > :not(.at-destination-card-media):not(.atw-dest-photo) {margin-inline:20px!important;}
body .at-destinations-page .at-destination-tile > img.atw-dest-photo {display:none!important;}
body .at-destinations-page .at-destination-tile .at-destination-open {margin-top:auto!important;}
@media(max-width:980px){body .at-destinations-page .at-destination-list{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important;}}
@media(max-width:640px){body .at-destinations-page .at-explorer{width:calc(100% - 28px)!important;}body .at-destinations-page .at-destination-list{grid-template-columns:minmax(0,1fr)!important;}}
