/* 6.2 Header and category navigation own their geometry, independently of block flow. */
.site-header .header-inner{display:flex;align-items:center;justify-content:flex-start;flex-wrap:nowrap;gap:12px!important;min-height:100px;padding-block:20px;box-sizing:border-box;overflow:visible}
.site-header .header-inner>*{min-width:0;margin-block:0}
.site-header .header-inner>.egt-part-brand{display:block;flex:0 0 var(--egt-logo-width,172px);max-width:var(--egt-logo-width,172px);margin-inline:0 18px}
.site-header .header-inner .brand{width:var(--egt-logo-width,172px);max-width:100%;margin:0;flex-basis:auto}
.header-inner .eg-header-live-search{flex:1 1 240px;min-width:150px;max-width:380px;position:relative;margin:0;display:flex;height:48px;align-items:center;background:var(--pale);border:1px solid var(--line);border-radius:9px}
.eg-header-live-search input{width:100%;height:46px;min-width:0;border:0;background:transparent;padding:10px 12px 10px 43px;font-size:12px;outline-offset:3px;color:var(--ink)}
.eg-header-live-search>.header-search{position:absolute;inset-inline-start:0;top:0;display:grid!important;place-items:center;min-width:40px;width:40px;height:46px;min-height:0;padding:0;margin:0;border:0;background:transparent;flex:none}
.eg-header-live-search .header-search svg{width:19px;height:19px;flex:none}
.header-inner .eg-header-popover{position:relative;flex:none}
.header-inner .header-journal{display:flex;align-items:center;gap:8px;max-width:none;font-size:11px;white-space:nowrap;padding:10px 4px;min-height:46px}
.header-inner .header-journal span{display:inline}
.header-inner .header-route{margin-inline-start:auto;flex:none;min-height:46px;padding:12px 17px;white-space:nowrap;font-size:12px}
.header-inner .eg-saved-button{display:inline-flex;position:relative;flex:none;min-height:46px;padding:12px 13px;background:var(--wp--preset--color--cream,#f6efe4);border:1px solid #d9c8a8;color:var(--navy);font-size:11px;white-space:nowrap;gap:7px}
.eg-saved-button>svg{width:18px;height:18px;flex:none}
.eg-saved-button .saved-count{position:static;display:inline-grid;place-items:center;background:var(--navy);color:#fff;border-radius:50%;min-width:18px;height:18px;font-size:10px;padding-inline:4px}
.eg-saved-button .saved-count[hidden]{display:none}
.header-inner .eg-account-nav{order:100;margin-inline-start:6px;width:44px;min-width:44px;min-height:44px;flex:0 0 44px;display:flex!important}
.eg-language{display:flex;align-items:center;justify-content:center;gap:0;flex:none;margin:0;order:80;font-size:10px;white-space:nowrap}
.eg-language a{display:grid;place-items:center;min-height:38px;min-width:27px;padding:4px;border-radius:5px;color:var(--muted)}
.eg-language a[aria-current=true]{color:var(--blue);background:var(--pale);font-weight:800}
.eg-language a+a:before{content:none}
.wp-block-template-part:has(.site-header){overflow:visible}
.egt-part-category-menu{padding:0!important;margin-block:0!important;max-height:none!important}
nav.egt-explore-nav{height:auto!important;min-height:64px;max-height:none!important;position:relative;isolation:isolate;overflow:visible!important;transform:none;margin:0;padding:0;background:var(--navy);z-index:60}
.egt-explore-nav>.wrap{margin-block:0;padding-block:0;overflow:visible}
.egt-explore-nav ul.egt-explore-menu{display:flex;align-items:stretch;min-height:64px;height:auto!important;max-height:none;list-style:none;margin:0!important;padding:0!important;transform:none;position:relative;gap:0}
.egt-explore-menu>li.menu-item{display:block;position:relative;flex:1 1 0;min-width:0;min-height:64px;margin:0!important;padding:0!important;transform:none;line-height:normal}
.egt-explore-menu>li>.egt-category-trigger,.egt-explore-menu>li>a{appearance:none;border:0;border-radius:0;background:transparent;color:#fff;display:flex;align-items:center;justify-content:flex-start;width:100%;min-height:64px;height:auto!important;box-sizing:border-box;padding:18px clamp(12px,1.6vw,24px);margin:0;gap:12px;line-height:1.3;font-family:inherit;font-size:13px;font-weight:700;cursor:pointer;white-space:normal;text-align:left;transform:none;position:relative;top:auto;inset-block:auto}
.egt-category-trigger svg{width:23px;height:23px;flex:0 0 23px;display:block}
.egt-category-trigger .egt-menu-label{flex:1 1 auto;line-height:1.3;min-width:0;display:block;margin:0;padding:0;transform:none}
.egt-category-trigger .egt-category-arrow{font-size:18px;line-height:1;flex:none;margin-left:auto}
.egt-category-trigger:hover,.egt-category-trigger:focus-visible,.egt-category-trigger[aria-expanded=true]{background:#ffffff12;outline-offset:-4px}
.egt-explore-menu .sub-menu{list-style:none;position:absolute;inset-inline-start:0;top:100%;min-width:260px;max-width:min(340px,90vw);max-height:min(65vh,550px);overflow:auto;background:#fff;border:1px solid var(--line);padding:10px!important;margin:0!important;border-radius:0 0 10px 10px;box-shadow:0 18px 36px #102c4930;z-index:100}
.egt-explore-menu>li:last-child>.sub-menu{left:auto;right:0}
.egt-explore-menu .sub-menu a{display:flex;align-items:center;min-height:44px;color:var(--ink);padding:11px 14px;border-radius:5px;font-size:13px;line-height:1.4}
.egt-explore-menu .sub-menu a:hover,.egt-explore-menu .sub-menu a:focus-visible{background:var(--pale);color:var(--blue)}
.egt-explore-menu>li>.sub-menu{display:none}
.egt-explore-menu>li:hover>.sub-menu,.egt-explore-menu>li:focus-within>.sub-menu,.egt-explore-menu>li.is-open>.sub-menu{display:block}
.eg-hover-panel{display:none;position:absolute;inset-inline-end:0;top:100%;padding:24px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 18px 48px #102c4926;z-index:110}
.eg-header-popover:hover>.eg-hover-panel,.eg-header-popover:focus-within>.eg-hover-panel{display:grid}
.eg-agenda-preview{width:560px;max-width:calc(100vw - 32px);grid-template-columns:1fr 1fr;gap:24px}
.eg-agenda-preview h3{font-size:16px;line-height:1.4;margin:0 0 12px;color:var(--navy)}
.eg-agenda-preview section{min-width:0}
.eg-agenda-preview section>a{display:block;border-top:1px solid var(--line);padding:12px 0;color:var(--ink);font-size:12px;line-height:1.5}
.eg-agenda-preview time{display:block;font-size:10px;color:var(--blue);margin-bottom:4px}
.eg-agenda-preview strong{font-weight:650}
.eg-weather-popover{top:100%;right:0;width:420px;max-width:calc(100vw - 32px);padding:23px;max-height:min(75vh,680px);overflow:auto}
@media(hover:hover){.eg-weather:hover>.eg-weather-popover{display:block}.eg-weather:not([open])>.eg-weather-popover{display:none}.eg-weather:not([open]):hover>.eg-weather-popover{display:block}.eg-weather:not([open]):hover>.eg-weather-popover *{content-visibility:visible}}
.eg-weather:focus-within>.eg-weather-popover{display:block}
.eg-weather-days{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:14px 0}
.eg-weather-day{padding:12px 8px;border-radius:8px;background:var(--pale);font-size:11px;text-align:center;line-height:1.5;min-width:0}
.eg-weather-day strong,.eg-weather-day span{display:block}
.eg-weather-day b{font-size:17px;display:block;color:var(--navy);padding-block:5px}
.eg-weather-routes{display:grid;gap:7px;margin-top:16px}
.eg-weather-routes>a{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 12px;border:1px solid var(--line);border-radius:7px;font-size:11px;line-height:1.45;color:var(--navy)}
.eg-weather-routes small{display:block;margin:0;font-size:10px;color:var(--blue)}
.eg-instant-results{position:absolute;top:calc(100% + 8px);left:0;width:max(100%,350px);max-width:calc(100vw - 32px);max-height:min(62vh,500px);overflow:auto;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 15px 40px #102c4926;padding:10px;z-index:130}
.eg-instant-results[hidden]{display:none}
.eg-instant-results .eg-search-result{padding:12px;font-size:12px;line-height:1.5;min-height:44px}
.eg-instant-results p{font-size:12px;padding:12px;margin:0}
.eg-search-result:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}
.eg-quick-filters{margin:0 0 28px;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--pale)}
.eg-quick-filters fieldset{border:0;padding:0;margin:0;min-width:0}
.eg-quick-filters legend{font-size:12px;color:var(--navy);font-weight:700;margin-bottom:12px}
.eg-quick-filters fieldset>div{display:flex;gap:8px;flex-wrap:wrap}
.eg-filter-pill{position:relative;cursor:pointer;font-size:11px}
.eg-filter-pill input{position:absolute;opacity:0;inset:0;width:100%;height:100%;cursor:pointer}
.eg-filter-pill span{display:flex;align-items:center;min-height:40px;padding:9px 13px;border-radius:24px;background:white;border:1px solid var(--line);line-height:1.5}
.eg-filter-pill input:checked+span{background:var(--navy);border-color:var(--navy);color:#fff}
.eg-filter-pill input:focus-visible+span{outline:2px solid var(--blue);outline-offset:3px}
.eg-filter-actions{display:flex;align-items:center;gap:16px;margin-top:14px;flex-wrap:wrap}
.eg-filter-actions .btn{padding:8px 17px;min-height:40px;font-size:11px}
.eg-filter-actions a{font-size:11px;text-decoration:underline}
.eg-filter-note{font-size:10px;color:var(--muted)}
.eg-editor-rating{display:inline-flex;align-items:center;gap:5px;color:var(--navy);font-size:11px;font-weight:700;margin-bottom:10px}
.eg-editor-rating svg{width:14px;height:14px}
.eg-card-sponsored{border:2px solid #c9a75e;box-shadow:0 8px 26px #b68d3f12}
.eg-card-featured{border:2px solid #9bbbd7;box-shadow:0 6px 20px #1e70b80c}
.eg-card-sponsored .eg-card-body,.eg-card-featured .eg-card-body{background:linear-gradient(180deg,#fffdf8,#fff 65%)}
.eg-card-featured .eg-card-body{background:linear-gradient(180deg,#f4f9fd,#fff 65%)}
.eg-regions{width:calc(100% - 28px);max-width:none;margin-inline:14px;overflow:visible}
.eg-regions .eg-region-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,230px),1fr));gap:18px;overflow:visible;scroll-snap-type:none;padding:0}
.eg-regions .eg-region-card{width:auto;min-width:0;height:280px;flex:none;display:block}
.eg-regions .eg-rail-controls{display:none}
.eg-region-card.is-minimal{background:var(--navy)}
.eg-region-card.is-minimal .eg-region-art{opacity:.7}
.eg-region-card.is-minimal>div:last-child{top:auto;bottom:28px}
:root{--eg-section-space:clamp(36px,5vw,72px)}
.eg-portal-main .section{padding-block:var(--eg-section-space)}
.eg-portal-main>.egt-design-block{margin-block:0}
.eg-transport-hint{margin-top:22px;border-top:1px solid var(--line);padding-top:20px}
.eg-transport-hint h3{font-size:18px;margin:0 0 12px}
.eg-transport-hint dl{margin:0;display:grid;gap:10px}
.eg-transport-hint dl>div{display:grid;grid-template-columns:minmax(100px,1fr) 2fr;gap:14px;font-size:13px}
.eg-transport-hint dt{font-weight:700}.eg-transport-hint dd{margin:0;color:var(--muted)}
.eg-transport-hint small{display:block;margin-top:14px;color:var(--muted);font-size:11px}
.eg-transport-table{width:100%;border-collapse:collapse;font-size:13px;margin-block:22px}
.eg-transport-table th,.eg-transport-table td{padding:14px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top}
.eg-transport-table th{background:var(--pale)}
.eg-gallery.eg-gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));height:auto;gap:10px;position:relative}
.eg-gallery.eg-gallery-grid .eg-gallery-item{aspect-ratio:4/3;height:auto;grid-column:auto;grid-row:auto}
.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)){height:480px;grid-template-columns:2fr 1fr 1fr;grid-template-rows:1fr 1fr}
.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)) .eg-gallery-item:first-child{grid-row:1/3;grid-column:1}
.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)) .eg-gallery-item:nth-child(n+2){grid-row:auto;grid-column:auto}
.eg-gallery-item img{height:100%;width:100%;object-fit:cover}
.site-footer .footer-col:has(a[href*="instagram.com"]){display:flex;flex-direction:column;align-items:stretch;gap:12px}
.site-footer .footer-col a[href*="instagram.com"]{display:flex;align-items:center;gap:11px;width:100%;padding:15px 13px;border:1px solid #ffffff26;border-radius:9px;background:#ffffff08;margin:0;font-size:12px;line-height:1.4;min-height:50px;box-sizing:border-box}
.site-footer .footer-col a[href*="instagram.com"] svg{width:20px;height:20px;flex:0 0 20px;display:block}
.footer-bottom{display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap}
.eg-footer-mark{display:block;width:140px;max-width:45%;margin-left:auto}
.eg-footer-mark img{display:block;width:100%;height:auto}
.eg-district-intro{max-width:860px;color:var(--muted);font-size:14px;line-height:1.9}
.eg-district-top{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px;padding:0;list-style:none;counter-reset:district}
.eg-district-top li{counter-increment:district}
.eg-district-top a{display:flex;align-items:center;gap:8px;border:1px solid var(--line);padding:9px 12px;border-radius:7px;font-size:12px;min-height:44px}
.eg-district-top a:before{content:counter(district);color:var(--blue);font-weight:700}
@media(min-width:961px) and (max-width:1250px){.header-inner .header-journal span{display:none}.header-inner .header-journal{width:36px;justify-content:center}.site-header .header-inner>.egt-part-brand{flex-basis:150px;max-width:150px;margin-right:14px}.site-header .header-inner .brand{width:150px}.header-inner .eg-header-live-search{min-width:130px;flex-basis:170px}.header-inner .eg-header-live-search input{font-size:10px}.site-header .header-inner{gap:9px!important}.header-inner .header-route{padding-inline:13px}.header-inner .eg-saved-button{padding-inline:10px;font-size:10px}.header-inner .eg-weather summary{padding-inline:3px}.egt-category-trigger .egt-menu-label{font-size:12px}}
@media(max-width:960px){nav.egt-explore-nav{display:none!important}.site-header .header-inner{min-height:80px;padding-block:14px;gap:10px!important}.site-header .header-inner>.egt-part-brand{flex:0 0 150px;max-width:150px;margin-right:auto}.site-header .header-inner .brand{width:150px}.header-inner .eg-header-live-search{flex:0 0 44px;min-width:44px;max-width:44px;border-color:transparent;background:transparent;margin:0}.eg-header-live-search>input{display:none}.eg-header-live-search>.header-search{border:1px solid var(--line);border-radius:8px;width:44px;height:44px;background:#fff}.header-inner .eg-header-popover,.header-inner>.egt-part-weather,.header-inner .eg-weather,.header-inner .header-route,.header-inner .eg-saved-button{display:none!important}.header-inner .eg-account-nav{margin-left:0;display:flex!important}.eg-language{order:60}.mobile-menu-btn{order:90}.mobile-menu-account+.eg-language,.mobile-menu .eg-language{display:flex}.eg-weather-mobile .eg-weather{display:block!important}.eg-weather-mobile .eg-weather-popover{position:static;width:100%;max-width:100%;max-height:none;margin-top:12px}.eg-weather-mobile .eg-weather:not([open]) .eg-weather-popover{display:none}.eg-weather-mobile summary{justify-content:flex-start;color:#fff}.eg-weather-mobile .eg-weather[open] .eg-weather-popover{color:var(--ink)}.eg-regions .eg-region-rail{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))}.eg-quick-filters{padding:16px}.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)){height:350px}}
@media(max-width:600px){.site-header .header-inner{width:100%;padding-inline:12px;gap:6px!important}.site-header .header-inner>.egt-part-brand{flex-basis:clamp(94px,27vw,145px);max-width:clamp(94px,27vw,145px);margin-right:auto}.site-header .header-inner .brand{width:clamp(94px,27vw,145px)}.header-inner .eg-account-nav{width:42px;min-width:42px;flex-basis:42px}.header-inner .eg-header-live-search{flex-basis:42px;min-width:42px;max-width:42px}.eg-header-live-search>.header-search{width:42px}.eg-language a{min-width:25px;font-size:10px}.eg-regions .eg-region-rail{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px}.eg-regions .eg-region-card{height:220px}.eg-region-card h3{font-size:22px}.eg-region-card>div:last-child{left:17px;right:17px;top:20px}.eg-region-card span{font-size:11px}.eg-region-card.is-minimal>div:last-child{top:auto;bottom:20px}.eg-filter-pill{font-size:10px}.eg-filter-pill span{min-height:44px;padding:10px 12px}.eg-quick-filters fieldset>div{gap:7px}.eg-filter-note{line-height:1.6}.eg-gallery.eg-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)){height:auto;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)) .eg-gallery-item:first-child{grid-column:1/-1;grid-row:auto;aspect-ratio:16/9}.eg-gallery.eg-gallery-mosaic .eg-gallery-item:nth-child(n+2){aspect-ratio:4/3}.eg-transport-table{display:block;overflow-x:auto;max-width:100%}.eg-transport-table th,.eg-transport-table td{min-width:130px;padding:12px}.eg-transport-hint dl>div{grid-template-columns:1fr;gap:3px}.footer-bottom{align-items:flex-start}.eg-footer-mark{width:125px;margin-left:0;max-width:100%}.eg-district-top{display:grid;grid-template-columns:1fr}}
@media(max-width:420px){.site-header .header-inner>.eg-language{display:none}.site-header .header-inner>.egt-part-brand{max-width:120px;flex-basis:120px}.site-header .header-inner .brand{width:120px}.eg-region-rail .eg-region-card{min-width:0}.eg-regions .eg-region-rail{grid-template-columns:repeat(2,minmax(0,1fr))}.eg-regions .eg-region-card:last-child:nth-child(odd){grid-column:1/-1;height:190px}.eg-regions .eg-region-card:last-child:nth-child(odd)>img{object-position:center 40%}}
@media(prefers-reduced-motion:reduce){.eg-region-card img{transition:none}.eg-hover-panel{animation:none}}
.eg-gallery.eg-gallery-grid,.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)){aspect-ratio:auto;max-height:none}.eg-gallery.eg-gallery-grid .eg-gallery-item,.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)) .eg-gallery-item{display:block}
.eg-arrival-card{background:var(--pale);border:1px solid var(--line);border-radius:12px;padding:22px;margin-block:24px}.eg-arrival-card h2,.eg-arrival-card h3{font-size:21px;line-height:1.35;margin:0 0 12px}.eg-arrival-card p{margin:0 0 10px}.eg-arrival-card small{font-size:11px;color:var(--muted)}
.egt-explore-menu>li.is-closed>.sub-menu{display:none!important}
.site-header .header-inner a.btn.eg-saved-button{background:var(--wp--preset--color--cream,#f6efe4);color:var(--navy)}.site-header .header-inner a.btn.eg-saved-button:hover{background:#eee2ce;color:var(--navy)}
@media(max-width:480px){.site-header .header-inner>.eg-language{display:none}}
@media(min-width:961px) and (max-width:1100px){.header-inner .eg-weather{display:none}.header-inner .eg-header-live-search{min-width:100px}.site-header .header-inner{gap:7px!important}}

.header-inner>.egt-part-language-switcher{display:contents}.header-inner>.egt-part-language-switcher>.eg-language{order:80}.eg-footer-mark .brand-art{width:100%;height:auto}
@media(max-width:480px){.header-inner>.egt-part-language-switcher>.eg-language{display:none}}
@media(max-width:960px){.eg-header-live-search .eg-instant-results{display:none!important}}
/* Nine district cards form balanced rows instead of leaving a lone narrow card. */
.eg-regions .eg-region-rail{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(230px,calc((100% - 36px)/3))),1fr))}
@media(max-width:960px){.eg-regions .eg-region-rail{grid-template-columns:repeat(auto-fit,minmax(min(100%,max(190px,calc((100% - 36px)/3))),1fr))}}
@media(max-width:700px){.eg-regions .eg-region-rail{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.eg-regions .eg-region-card:last-child:nth-child(odd){grid-column:1/-1;height:190px}}
.footer-bottom>.egt-part-footer-mark{margin-inline-start:auto;flex:0 0 140px;max-width:45%}.footer-bottom .egt-part-footer-mark .eg-footer-mark{width:140px;max-width:100%;margin:0}
@media(max-width:600px){.footer-bottom>.egt-part-footer-mark{margin-inline-start:0;max-width:100%}}
.mobile-menu .eg-language a{color:#cce1f2}.mobile-menu .eg-language a[aria-current=true]{background:#fff;color:#12345a}
@media(min-width:961px) and (max-width:1100px){.eg-agenda-preview{position:fixed;left:16px;right:16px;top:90px;width:auto;max-width:none}}
/* Fill gallery grids for every supported visible-photo count. */
.eg-gallery.has-more:has(.eg-gallery-item:nth-child(2)):not(:has(.eg-gallery-item:nth-child(3))){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr;height:auto;aspect-ratio:16/7}
.eg-gallery.has-more:has(.eg-gallery-item:nth-child(2)):not(:has(.eg-gallery-item:nth-child(3))) .eg-gallery-item{display:block;height:100%;grid-column:auto;grid-row:auto}
.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)):not(:has(.eg-gallery-item:nth-child(5))) .eg-gallery-item:nth-child(4){grid-column:2/4}
.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(6)){grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));height:480px}
.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(6)) .eg-gallery-item:first-child{grid-column:auto;grid-row:auto}
@media(max-width:600px){.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(4)):not(:has(.eg-gallery-item:nth-child(5))) .eg-gallery-item:nth-child(4){grid-column:auto}.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(6)){grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(3,minmax(0,1fr));height:auto}.eg-gallery.eg-gallery-mosaic:has(.eg-gallery-item:nth-child(6)) .eg-gallery-item:first-child{aspect-ratio:4/3}}
.eg-gallery:not(.has-more){display:block;width:100%;height:clamp(240px,45vw,560px);max-height:560px;aspect-ratio:auto}
.eg-gallery:not(.has-more)>.eg-gallery-item{display:block;width:100%;height:100%;aspect-ratio:auto}
.eg-gallery.eg-gallery-mosaic.has-more:has(.eg-gallery-item:nth-child(3)):not(:has(.eg-gallery-item:nth-child(4))){display:grid;width:100%;height:clamp(300px,42vw,560px);max-height:560px;aspect-ratio:auto;grid-template-columns:2fr 1fr;grid-template-rows:repeat(2,minmax(0,1fr))}
.eg-gallery.eg-gallery-mosaic.has-more:has(.eg-gallery-item:nth-child(3)):not(:has(.eg-gallery-item:nth-child(4))) .eg-gallery-item{display:block;height:100%;min-height:0;aspect-ratio:auto}
.eg-gallery.eg-gallery-mosaic.has-more:has(.eg-gallery-item:nth-child(3)):not(:has(.eg-gallery-item:nth-child(4))) .eg-gallery-item:first-child{grid-row:1/3;grid-column:1}
@media(max-width:700px){
 .eg-gallery.eg-gallery-mosaic.has-more:has(.eg-gallery-item:nth-child(3)) {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:none!important;grid-auto-rows:auto;height:auto!important;max-height:none;aspect-ratio:auto}
 .eg-gallery.eg-gallery-mosaic.has-more:has(.eg-gallery-item:nth-child(3)) .eg-gallery-item{display:block;grid-column:auto!important;grid-row:auto!important;width:100%;height:auto!important;aspect-ratio:4/3!important}
 .eg-gallery.eg-gallery-mosaic.has-more:has(.eg-gallery-item:nth-child(3)) .eg-gallery-item:first-child{grid-column:1/-1!important;aspect-ratio:16/9!important}
 .eg-gallery.eg-gallery-mosaic.has-more:has(.eg-gallery-item:nth-child(4)):not(:has(.eg-gallery-item:nth-child(5))) .eg-gallery-item:first-child,.eg-gallery.eg-gallery-mosaic.has-more:has(.eg-gallery-item:nth-child(6)) .eg-gallery-item:first-child{grid-column:auto!important;aspect-ratio:4/3!important}
}
