/*
 * Aegean Editorial v1.4 — live-site Gutenberg geometry repair.
 * Style only. Do not change page content, image sources, links or Gutenberg blocks.
 * Paths intentionally use DESCENDANT selectors because WordPress may insert
 * extra Group/Columns wrappers around page content.
 */
:root{
  --tta-v14-gutter:clamp(26px, 4.4vw, 68px);
  --tta-v14-corner:24px;
  --tta-v14-limit:1490px;
  --tta-v14-grid-gap:clamp(18px, 2.4vw, 34px);
}
body{overflow-x:clip}
/* Prevent invisible constrained Gutenberg wrappers from resetting home width. */
body #main .tta-gutenberg-home,
body #main .tta-gutenberg-home.wp-block-group{
  box-sizing:border-box!important;
  width:100%!important;max-width:none!important;
  margin-inline:0!important;padding-inline:0!important;
  min-width:0!important;
}
/* Gutenberg may nest each section inside an additional constrained Group.
   Remove *that wrapper's* implicit 1140px centring and 28px padding. */
body #main .tta-gutenberg-home .wp-block-group:not(.tta-section):has(> .wp-block-group.tta-section){
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  margin:0!important;padding:0!important;
}
/* HERO — consistent left edge even with WP's centred inner container. */
body #main .tta-gutenberg-home .wp-block-cover.tta-home-hero{
  box-sizing:border-box!important;
  width:100%!important;max-width:none!important;
  margin-inline:0!important;
  padding:clamp(84px,7vw,120px) var(--tta-v14-gutter) clamp(72px,6vw,98px)!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:stretch!important;
  justify-content:center!important;
}
body #main .tta-gutenberg-home .tta-home-hero>.wp-block-cover__inner-container,
body #main .tta-gutenberg-home .tta-home-hero .wp-block-cover__inner-container{
  flex:0 1 auto!important;
  align-self:stretch!important;
  width:100%!important;
  max-width:var(--tta-v14-limit)!important;
  padding:0!important;
  margin:0 auto!important;
  text-align:left!important;
  box-sizing:border-box!important;
}
body #main .tta-gutenberg-home .tta-home-hero .wp-block-cover__inner-container > :is(h1,p,.wp-block-buttons){
  margin-left:0!important;margin-right:0!important;text-align:left!important;
}
body #main .tta-gutenberg-home .tta-home-hero h1{max-width:790px!important;}
/* STANDARD SECTIONS — background extends, CONTENT gets visible gutters. */
body #main .tta-gutenberg-home .wp-block-group.tta-section{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:clamp(68px,6.5vw,102px) var(--tta-v14-gutter) clamp(70px,7vw,112px)!important;
  margin:0!important;
}
body #main .tta-gutenberg-home .tta-section > :is(h2,p,.wp-block-columns,.wp-block-group),
body #main .tta-gutenberg-home .tta-section > .is-layout-constrained,
body #main .tta-gutenberg-home .tta-section > .is-layout-flow{
  box-sizing:border-box!important;
  width:100%!important;
  max-width:var(--tta-v14-limit)!important;
  margin-left:auto!important;margin-right:auto!important;
}
body #main .tta-gutenberg-home .tta-section >h2{
  padding:0!important;margin-top:0!important;margin-bottom:14px!important;
  text-align:left!important;
}
body #main .tta-gutenberg-home .tta-section >p{
  padding:0!important;margin-top:0!important;margin-bottom:34px!important;
  text-align:left!important;
}
/* Existing v3.x content sometimes places whole sections inside the
   preceding tta-section. Do not compound the horizontal inset. */
body #main .tta-gutenberg-home .tta-section .wp-block-group.tta-section{
  padding-left:0!important;padding-right:0!important;
  margin-inline:0!important;
  max-width:none!important;width:100%!important;
}
/* CARD GRID — targeting the actual 3-column Gutenberg layout, not the outer card. */
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns{
  width:100%!important;min-width:0!important;
  max-width:var(--tta-v14-limit)!important;
  gap:var(--tta-v14-grid-gap)!important;
  box-sizing:border-box!important;
}
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column{
  box-sizing:border-box!important;
  min-width:0!important;
  display:flex!important;flex-direction:column!important;
  padding:0 0 12px!important;
  border:0!important;
  background:transparent!important;
  border-radius:0!important;box-shadow:none!important;
  overflow:visible!important;
  transform:none!important;
}
/* Do not merely round the parent figure: image itself is rounded and clipped. */
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column > figure.wp-block-image,
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column > figure{
  width:100%!important;
  max-width:none!important;
  aspect-ratio:16 / 11!important;
  margin:0 0 20px!important;
  padding:0!important;
  overflow:hidden!important;
  isolation:isolate;
  border-radius:0 var(--tta-v14-corner) 0 0!important;
  clip-path:inset(0 round 0 var(--tta-v14-corner) 0 0);
}
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column > figure > img{
  display:block!important;
  width:100%!important;height:100%!important;
  max-width:none!important;
  object-fit:cover!important;
  aspect-ratio:16 / 11!important;
  border-radius:0 var(--tta-v14-corner) 0 0!important;
  clip-path:inset(0 round 0 var(--tta-v14-corner) 0 0);
}
/* LEFT = sharp top-left / round top-right */
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column:nth-child(3n+1) > figure,
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column:nth-child(3n+1) > figure > img{
  border-radius:0 var(--tta-v14-corner) 0 0!important;
  clip-path:inset(0 round 0 var(--tta-v14-corner) 0 0)!important;
}
/* CENTRE = rounded at BOTH top corners */
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column:nth-child(3n+2) > figure,
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column:nth-child(3n+2) > figure > img{
  border-radius:var(--tta-v14-corner) var(--tta-v14-corner) 0 0!important;
  clip-path:inset(0 round var(--tta-v14-corner) var(--tta-v14-corner) 0 0)!important;
}
/* RIGHT = round top-left / sharp top-right */
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column:nth-child(3n) > figure,
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column:nth-child(3n) > figure > img{
  border-radius:var(--tta-v14-corner) 0 0 0!important;
  clip-path:inset(0 round var(--tta-v14-corner) 0 0 0)!important;
}
/* Text belongs to card's content region, never flush with image's left edge. */
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column > h3{
  box-sizing:border-box!important;
  padding-inline:18px!important;
  margin:0 0 10px!important;
  text-align:left!important;
  line-height:1.27!important;
}
body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column > p{
  box-sizing:border-box!important;
  padding-inline:18px!important;
  margin:0 0 20px!important;
  line-height:1.66!important;
}
/* Wide photo band and cover nested under regular Gutenberg group. */
body #main .tta-gutenberg-home .wp-block-group.tta-photo-band{
  padding-left:var(--tta-v14-gutter)!important;
  padding-right:var(--tta-v14-gutter)!important;
  padding-top:35px!important;padding-bottom:35px!important;
}
body #main .tta-gutenberg-home .wp-block-cover.tta-home-banner{
  box-sizing:border-box!important;width:100%!important;
  max-width:var(--tta-v14-limit)!important;
  margin:0 auto!important;
  overflow:hidden!important;
  border-radius:0 var(--tta-v14-corner) 0 var(--tta-v14-corner)!important;
}
/* STAY and GetYourGuide banners: gutters and real gap regardless of nesting. */
body #main .tta-gutenberg-home .wp-block-cover.tta-visual-stay,
body #main .tta-gutenberg-home .wp-block-cover.tta-visual-gyg{
  box-sizing:border-box!important;
  display:flex!important;
  width:calc(100% - 2 * var(--tta-v14-gutter))!important;
  max-width:var(--tta-v14-limit)!important;
  margin-left:auto!important;margin-right:auto!important;
  min-width:0!important;
  overflow:hidden!important;
  isolation:isolate;
}
body #main .tta-gutenberg-home .wp-block-cover.tta-visual-stay{
  margin-top:clamp(40px,4vw,70px)!important;
  margin-bottom:clamp(38px,4vw,66px)!important;
  border-radius:0 var(--tta-v14-corner) 0 var(--tta-v14-corner)!important;
}
body #main .tta-gutenberg-home .wp-block-cover.tta-visual-gyg{
  margin-top:clamp(38px,4vw,66px)!important;
  margin-bottom:clamp(70px,6vw,110px)!important;
  border-radius:var(--tta-v14-corner) 0 var(--tta-v14-corner) 0!important;
}
body #main .tta-gutenberg-home :is(.tta-visual-stay,.tta-visual-gyg)>.wp-block-cover__inner-container,
body #main .tta-gutenberg-home .tta-home-banner>.wp-block-cover__inner-container{
  box-sizing:border-box!important;
  width:100%!important;max-width:none!important;
  padding:clamp(30px,5vw,75px)!important;
  margin:0!important;
}
/* Additional breathing space in articles and localized landing pages. */
body #main .article-layout{gap:clamp(26px,4vw,70px)!important}
body #main .article-content > figure{max-width:100%!important}
body #main .article-content > h2{margin-top:clamp(38px,4.5vw,68px)!important;margin-bottom:20px!important}
body #main .tta-l10n-page .wp-block-group.tta-language-home,
body #main .tta-l10n-page .tta-localized-intro{
  box-sizing:border-box!important;padding-inline:var(--tta-v14-gutter)!important;
}
@media(max-width:800px){
 :root{--tta-v14-gutter:clamp(22px,5vw,38px)}
 body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns{
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 }
}
@media(max-width:600px){
 :root{--tta-v14-gutter:20px;--tta-v14-corner:20px}
 body #main .tta-gutenberg-home .wp-block-cover.tta-home-hero{
  padding:72px 20px 58px!important;
 }
 body #main .tta-gutenberg-home .wp-block-group.tta-section{
  padding-left:20px!important;padding-right:20px!important;
  padding-top:58px!important;padding-bottom:64px!important;
 }
 body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns{
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:26px!important;
 }
 body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column > h3,
 body #main .tta-gutenberg-home :is(.tta-section,.tta-inline-section) .wp-block-columns > .wp-block-column > p{
  padding-inline:14px!important;
 }
 body #main .tta-gutenberg-home .wp-block-group.tta-photo-band{
  padding-inline:20px!important;
 }
 body #main .tta-gutenberg-home :is(.tta-visual-stay,.tta-visual-gyg)>.wp-block-cover__inner-container{
  padding:28px!important;
 }
}

/* A nested image band inherits its parent section's gutters. */
body #main .tta-gutenberg-home .tta-section .wp-block-group.tta-photo-band{
 padding-left:0!important;padding-right:0!important;
}
