/* Public interior palette only. Native selectors, layout and private/home fallbacks stay intact. */
body.ec-portal-edition.ec-interior-palette{--tc-interior-navy:#073B56;--tc-interior-navy-rgb:7,59,86;--tc-interior-muted:#526573;--tc-interior-muted-rgb:82,101,115;--tc-interior-line:#CDD8DE;--tc-interior-line-rgb:205,216,222;--tc-interior-pale:#EDF4F5;--tc-interior-pale-rgb:237,244,245;--tc-interior-white:#fff;--tc-interior-white-rgb:255,255,255}
body.ec-interior-palette .tc-advent{--advent-ink:#073B56;--advent-night:#073B56;--advent-gold:#C94732;--advent-paper:#fff}
body.ec-interior-palette .tc-advent :is(.tc-advent-hero,.tc-advent-detail-hero){background:#C94732;color:#fff}
body.ec-interior-palette .tc-advent :is(.tc-advent-hero,.tc-advent-detail-hero) :is(h1,h1 em,.tc-advent-kicker,.tc-advent-intro,.tc-advent-dates,.tc-advent-hero__bottom,.tc-advent-orbit,.tc-advent-quick>span){color:#fff}
body.ec-interior-palette .tc-advent .tc-advent-hero__link{color:#fff;border-color:#fff}
body.ec-interior-palette .tc-advent .tc-advent-button,body.ec-interior-palette .tc-advent .tc-advent-search .tc-advent-button{background:#073B56;color:#fff!important}
body.ec-interior-palette .tc-advent .tc-advent-button:hover{background:#164D68;color:#fff!important}
body.ec-interior-palette .tc-advent .tc-advent-photo-tag{background:#fff;color:#073B56}
body.ec-interior-palette .tc-advent .tc-advent-hero__image{border-color:#fff}
body.ec-interior-palette .tc-advent :is(a,button,input):focus-visible{outline-color:#073B56}
body.ec-interior-palette .tc-advent :is(.tc-advent-hero,.tc-advent-detail-hero) :is(a,button):focus-visible{outline-color:#fff}
/* Named interior actions only; prose links and carousel controls stay native. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-discover-card__open,.ec-destination29-card__open,.ec-around-profile__open,.ec-place-profile__button,.ec-bestof-button,.ec33-button,.ec33-text-link,.tc-daily-link,.ec-discover-experience__button,.ec-card__actions>a,.ec-around-profile__actions>a,.ec-destination29-card__actions>a){display:inline-flex;align-items:center;justify-content:center;gap:.5rem;min-height:44px;max-width:100%;padding:.65rem .9rem;border:1px solid #073B56;border-radius:3px;background:#073B56;color:#fff;text-decoration:none!important;font:650 .875rem/1.4 var(--sans,Arial,sans-serif);white-space:normal;text-align:center;box-sizing:border-box}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-discover-card__open,.ec-destination29-card__open,.ec-around-profile__open,.ec-place-profile__button,.ec-bestof-button,.ec33-button,.ec33-text-link,.tc-daily-link,.ec-discover-experience__button,.ec-card__actions>a,.ec-around-profile__actions>a,.ec-destination29-card__actions>a):hover{background:#164D68;color:#fff;border-color:#164D68;text-decoration:none!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-place-profile__text-link,.ec-around-profile__actions>button[data-ec-save]){display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem .9rem;border:1px solid #8ba1b3!important;border-radius:3px;background:#fff!important;color:#073B56!important;font-size:.875rem;text-decoration:none!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-discover-card__open,.ec-destination29-card__open,.ec-around-profile__open,.ec-place-profile__button,.ec-place-profile__text-link,.ec-place-profile__share,.ec-discover-experience__presets a,.ec-discover-experience__button,.ec-events-filter button,.ec-card__actions>a,[data-inquiry-submit])>span[aria-hidden=true],html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec33-text-link,.ec33-button,.ec-bestof-button)>svg{display:none!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-destination29-card__actions,.ec-around-profile__actions) :is(a,button):hover{text-decoration:none!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-discover-card__meta,.ec-discover-card__selected){font-size:.8125rem;line-height:1.5;letter-spacing:.015em}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-discover-card__open{width:fit-content;margin-top:.25rem}
@media(forced-colors:active){body.ec-interior-palette .tc-advent :is(.tc-advent-hero,.tc-advent-detail-hero){background:Canvas;color:CanvasText}body.ec-interior-palette .tc-advent .tc-advent-button{background:ButtonFace;color:ButtonText!important}}

/* Exact native bookmark selector: preserve toggle behavior with a proper secondary button. */
html body.ec-vivid.ec-public.ec-portal-edition.ec-interior-palette #main-content.ec-main .ec-around-profile[data-ec-around-profile] .ec-around-profile__actions button[data-ec-save][data-entity-type][data-entity-id]:not([hidden]){border:1px solid #8ba1b3!important;background:#fff!important;color:#073B56!important;padding:.65rem .9rem;min-height:44px;border-radius:3px;text-decoration:none!important}
html body.ec-vivid.ec-public.ec-portal-edition.ec-interior-palette #main-content.ec-main .ec-around-profile[data-ec-around-profile] .ec-around-profile__actions button[data-ec-save][data-entity-type][data-entity-id]:not([hidden])[aria-pressed=true]{background:#073B56!important;color:#fff!important;border-color:#073B56!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-bestof-button,.tc-daily-link)>span[aria-hidden=true]{display:none!important}

/* The shared bookmark's inline legacy palette must yield only on public interiors. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content button[data-ec-save][data-entity-type][data-entity-id]:not([hidden]){color:#073B56!important;background:#fff!important;border-color:#8ba1b3!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content button[data-ec-save][data-entity-type][data-entity-id]:not([hidden]):hover{color:#073B56!important;background:#EDF4F5!important;border-color:#073B56!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content button[data-ec-save][data-entity-type][data-entity-id]:not([hidden])[aria-pressed=true]{color:#fff!important;background:#073B56!important;border-color:#073B56!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content button[data-ec-save][data-entity-type][data-entity-id]:not([hidden]):focus-visible{outline-color:#073B56!important;box-shadow:0 0 0 3px #fff!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.tc-advent-button,.tc-advent-quick a,.tc-advent-card__action,.tc-martinje-link)>span[aria-hidden=true]{display:none!important}
/* Weekend editorial titles remain readable navigation, rather than oversized action buttons. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tc-daily-status ul{list-style:none;margin:0;padding:0;display:grid;gap:14px}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tc-daily-status li{font-size:.875rem;line-height:1.6}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tc-daily-status a.tc-daily-link{display:inline;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:#073B56;font:650 1rem/1.5 var(--sans,Arial,sans-serif);text-align:left}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tc-daily-status a.tc-daily-link:hover{background:transparent;color:#164D68}

/* Resume cards share the interior palette; the landing page remains untouched. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-home-resume{background:#073B56;color:#fff;border-color:#C94732}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-home-resume :is(p,small){color:#e2edf5}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-home-resume>a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:.65rem .9rem;background:#fff;color:#073B56;border:1px solid #fff;border-radius:3px;font-weight:650;text-decoration:none}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-home-resume>a:hover{background:#e2edf5;color:#073B56}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-home-resume>a,a.ec-button)>span[aria-hidden=true]{display:none!important}

/* Resume action contrast overrides the native white text on its white button. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-home-resume>a{color:#073B56!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tcgt-app :is(h1,h2,.tcgt-item a){color:#073B56}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tcgt-app :is(.tcgt-private,.tcgt-status){color:#526573}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tcgt-app :is(.tcgt-field input,.tcgt-item select,.tcgt-item textarea){color:#073B56;border-color:#8ba1b3}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tcgt-app :is(.tcgt-item-actions button,.tcgt-actions button){min-height:44px;border-radius:3px;background:#073B56;color:#fff;border:1px solid #073B56}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tcgt-app .tcgt-actions button+button{background:#fff;color:#073B56}

/* My Croatia uses the shared navy palette for its native actions. */
html body.ec-public.ec-portal-edition.ec-interior-palette .ec-my-dashboard[data-ec-my-dashboard]{--my-blue:#073B56}
html body.ec-public.ec-portal-edition.ec-interior-palette .ec-my-dashboard[data-ec-my-dashboard] .ec-my-dashboard__button:hover{background:#C94732;border-color:#C94732;color:#fff}
html body.ec-public.ec-portal-edition.ec-interior-palette .ec-my-dashboard[data-ec-my-dashboard] .ec-my-dashboard__button [aria-hidden=true]{display:none}

/* Native component specificity must preserve white labels on filled actions. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-discover-card__open,.ec-destination29-card__open,.ec-around-profile__open,.ec-place-profile__button,.ec-bestof-button,.ec33-button,.ec33-text-link,.tc-daily-link,.ec-discover-experience__button,.ec-card__actions>a,.ec-around-profile__actions>a,.ec-destination29-card__actions>a){color:#fff!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-discover-card__open{padding:.65rem .9rem!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tc-daily-status a.tc-daily-link{color:#073B56!important}

/* Complete filled-action treatment wins over legacy transparent card links. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-discover-card__open,.ec-destination29-card__open,.ec-around-profile__open,.ec-place-profile__button,.ec-bestof-button,.ec33-button,.ec33-text-link,.tc-daily-link,.ec-discover-experience__button,.ec-card__actions>a,.ec-around-profile__actions>a,.ec-destination29-card__actions>a){background:#073B56!important;border:1px solid #073B56!important;padding:.65rem .9rem!important;color:#fff!important;border-radius:3px!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .tc-daily-status a.tc-daily-link{background:transparent!important;border:0!important;padding:0!important;color:#073B56!important}
html body.ec-vivid.ec-public.ec-portal-edition.ec-interior-palette #main-content.ec-main .ec-around-profile[data-ec-around-profile] .ec-around-profile__actions button[data-ec-save][data-entity-type][data-entity-id]:not([hidden]){width:auto!important;height:auto!important;flex:0 0 auto!important;min-width:0!important;min-height:44px!important;padding:.65rem .9rem!important;border-radius:3px!important;font-size:.875rem!important;line-height:1.4!important}
@media(forced-colors:active){html body.ec-interior-palette #main-content :is(.ec-discover-card__open,.ec-destination29-card__open,.ec-around-profile__open,.ec-place-profile__button,.ec-bestof-button,.ec33-button,.ec33-text-link,.tc-daily-link,.ec-discover-experience__button,.ec-card__actions>a,.ec-around-profile__actions>a,.ec-destination29-card__actions>a){background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important}}

/* Finish guide dividers and restore native textual related-place Save actions. */
html body.ec-interior-palette .ec-guide-experience:not(:has(.ec-guide-reading__facts)){--guide-experience-gold:#8ba1b3;--guide-experience-line:#cddbe5}
html body.ec-interior-palette .ec-guide-reading .ec-gallery__open>span[aria-hidden=true]{display:none!important}
html body.ec-vivid.ec-public.ec-portal-edition.ec-interior-palette #main-content.ec-main .ec-around-profile[data-ec-around-profile] .ec-around-profile__actions button[data-ec-save][data-entity-type][data-entity-id]:not([hidden]){max-width:100%!important;max-height:none!important;white-space:nowrap!important;gap:.5rem!important;justify-content:center!important}

/* Separate adjacent partner hero actions without changing their links. */
html body.ec-interior-palette .ec33-offer-hero .ec33-button{margin-right:.5rem!important;margin-bottom:.5rem!important}

/* Secondary profile actions keep a complete white/navy treatment and wrap as whole buttons. */
html body.ec-vivid.ec-public.ec-portal-edition.ec-interior-palette #main-content.ec-main :is(a,button):is(.ec-bestof-button--quiet,.ec-bestof-button--light,.ec-place-profile__button--quiet,.ec-place-profile__button--light)[class]{background:#fff!important;color:#073B56!important;border:1px solid #8ba1b3!important}
html body.ec-vivid.ec-public.ec-portal-edition.ec-interior-palette #main-content.ec-main .ec-bestof-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:.5rem!important}
html body.ec-vivid.ec-public.ec-portal-edition.ec-interior-palette #main-content.ec-main .ec-bestof-actions>.ec-bestof-button{flex:0 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;min-height:44px!important;max-height:none!important;white-space:normal!important;font-size:.875rem!important;line-height:1.4!important}

/* Preserve plain sharing controls and replace remaining literal gold guide dividers. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-guide-reading__sharing>button[data-ec-profile-share]{background:transparent!important;color:#073B56!important;border:0!important;padding:8px 2px!important;font-size:.875rem!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content .ec-guide-experience :is(.ec-guide-reading__visual .ec-gallery__mosaic,.ec-guide-reading__contents,.ec-guide-reading__share-manual input,.ec-guide-reading__next .ec-guide-reading__destination){border-color:#cddbe5!important}

/* A text-only Advent opening uses the full layout instead of leaving an image column. */
html body.ec-interior-palette .tc-advent-hero--text .tc-advent-hero__content{grid-template-columns:minmax(0,1fr)}
html body.ec-interior-palette .tc-advent-hero--text .tc-advent-hero__copy{max-width:58rem}
html body.ec-interior-palette .tc-advent-banner--text{grid-template-columns:minmax(0,1fr)}

/* Advent actions: complete buttons and quiet linked photographs. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent a.tc-advent-text-link{display:inline-flex;align-items:center;justify-content:center;min-height:44px;max-width:100%;padding:.65rem .95rem!important;border:1px solid #073B56!important;border-radius:3px;background:#073B56!important;color:#fff!important;font:650 .875rem/1.4 var(--sans,Arial,sans-serif);white-space:normal;text-align:center;text-decoration:none!important;box-sizing:border-box}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent a.tc-advent-text-link:hover{background:#164D68!important;border-color:#164D68!important;color:#fff!important;text-decoration:none!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent a.tc-advent-text-link::after,html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent a.tc-advent-text-link::before,html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent .tc-advent-card__arrow,html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent .tc-trip-links a>b[aria-hidden=true]{display:none!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent .tc-trip-links a{grid-template-columns:minmax(0,1fr)}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent a.tc-advent-text-link:focus-visible{outline:3px solid #073B56;outline-offset:3px;box-shadow:0 0 0 2px #fff}
@media(forced-colors:active){html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent a.tc-advent-text-link{background:ButtonFace!important;color:ButtonText!important;border-color:ButtonText!important}}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content.tc-advent [data-advent-selections] ul{display:grid;gap:12px;list-style:none;padding-left:0}

/* Match the shared system on dynamically replaced native explorer roots. */
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-place-profile__heading-actions>a.ec-place-profile__button,.ec-bestof-heading__actions>a.ec-destination29-primary){background:#C94732!important;border-color:#C94732!important;color:#fff!important}
html body.ec-public.ec-portal-edition.ec-interior-palette #main-content :is(.ec-bestof-eyebrow,.ec-place-profile__eyebrow,.ec-kicker){color:#073B56}

/* These two open day plans keep their existing approved landscapes at natural ratios. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-zagreb-day,#idea-split-day,#idea-dubrovnik-day,#idea-rovinj-day,#idea-pula-day,#idea-pula-2,#idea-split-2,#idea-zagreb-3,#idea-rijeka-day,#idea-zadar-day,#idea-zadar-2,#idea-sibenik-day,#idea-sibenik-2,#idea-varazdin-1,#idea-osijek-day,#idea-plitvice-1,#idea-krka-1,#idea-hvar-2,#idea-korcula-2,#idea-trogir-1,#idea-cavtat-1):has(details[open]){display:block}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-zagreb-day,#idea-split-day,#idea-dubrovnik-day,#idea-rovinj-day,#idea-pula-day,#idea-pula-2,#idea-split-2,#idea-zagreb-3,#idea-rijeka-day,#idea-zadar-day,#idea-zadar-2,#idea-sibenik-day,#idea-sibenik-2,#idea-varazdin-1,#idea-osijek-day,#idea-plitvice-1,#idea-krka-1,#idea-hvar-2,#idea-korcula-2,#idea-trogir-1,#idea-cavtat-1):has(details[open]) .ec-idea__image{height:auto!important;aspect-ratio:auto;background:transparent}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-zagreb-day,#idea-split-day,#idea-dubrovnik-day,#idea-rovinj-day,#idea-pula-day,#idea-pula-2,#idea-split-2,#idea-zagreb-3,#idea-rijeka-day,#idea-zadar-day,#idea-zadar-2,#idea-sibenik-day,#idea-sibenik-2,#idea-varazdin-1,#idea-osijek-day,#idea-plitvice-1,#idea-krka-1,#idea-hvar-2,#idea-korcula-2,#idea-trogir-1,#idea-cavtat-1):has(details[open]) .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
@media(min-width:64rem){
 body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-zagreb-day,#idea-split-day,#idea-dubrovnik-day,#idea-rovinj-day,#idea-pula-day,#idea-pula-2,#idea-split-2,#idea-zagreb-3,#idea-rijeka-day,#idea-zadar-day,#idea-zadar-2,#idea-sibenik-day,#idea-sibenik-2,#idea-varazdin-1,#idea-osijek-day,#idea-plitvice-1,#idea-krka-1,#idea-hvar-2,#idea-korcula-2,#idea-trogir-1,#idea-cavtat-1):has(details[open]) .ec-idea__image{float:left;width:min(36%,26rem);margin:2rem 1.5rem .75rem 2rem}
 body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-zagreb-day,#idea-split-day,#idea-dubrovnik-day,#idea-rovinj-day,#idea-pula-day,#idea-pula-2,#idea-split-2,#idea-zagreb-3,#idea-rijeka-day,#idea-zadar-day,#idea-zadar-2,#idea-sibenik-day,#idea-sibenik-2,#idea-varazdin-1,#idea-osijek-day,#idea-plitvice-1,#idea-krka-1,#idea-hvar-2,#idea-korcula-2,#idea-trogir-1,#idea-cavtat-1):has(details[open]) .ec-idea__copy{display:block;overflow:visible}
 body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-zagreb-day,#idea-split-day,#idea-dubrovnik-day,#idea-rovinj-day,#idea-pula-day,#idea-pula-2,#idea-split-2,#idea-zagreb-3,#idea-rijeka-day,#idea-zadar-day,#idea-zadar-2,#idea-sibenik-day,#idea-sibenik-2,#idea-varazdin-1,#idea-osijek-day,#idea-plitvice-1,#idea-krka-1,#idea-hvar-2,#idea-korcula-2,#idea-trogir-1,#idea-cavtat-1):has(details[open]) .ec-idea__copy>details{clear:both}
}

/* Keep both Dubrovnik plan photo frames complete in the full catalogue. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-dubrovnik-day,#idea-dubrovnik-2) .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-dubrovnik-day,#idea-dubrovnik-2) .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}

/* Existing Rovinj frames: original image ratios, full catalogue only. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-rovinj-day,#idea-rovinj-2) .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-rovinj-day,#idea-rovinj-2) .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}

/* Existing Pula159 natural frame, full catalogue open and closed only. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-pula-day,#idea-pula-2) .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) :is(#idea-pula-day,#idea-pula-2) .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}

/* Keep the expanded legacy two-day Pula plan across the full catalogue row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-pula-2:has(details[open]){grid-column:1/-1}

/* Existing Split two-day photo: natural frame and expanded full catalogue row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-split-2 .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-split-2 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-split-2:has(details[open]){grid-column:1/-1}

/* Existing Zagreb three-day photo: natural frame and expanded catalogue row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zagreb-3 .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zagreb-3 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zagreb-3:has(details[open]){grid-column:1/-1}

/* Existing Rijeka176 frame: natural ratio, complete catalogue only. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-rijeka-day .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-rijeka-day .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-rijeka-day:has(details[open]){grid-column:1/-1}

/* Existing Zadar184 frame: natural ratio, complete catalogue only. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zadar-day .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zadar-day .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zadar-day:has(details[open]){grid-column:1/-1}

/* Existing Zadar two-day plan: inherited admitted city photograph, natural frame, full open row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zadar-2 .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zadar-2 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-zadar-2:has(details[open]){grid-column:1/-1}

/* Existing Šibenik185 plan photograph: natural frame and complete open catalogue row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-sibenik-day .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-sibenik-day .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-sibenik-day:has(details[open]){grid-column:1/-1}

/* Existing Šibenik two-day plan: inherited admitted city photograph, natural frame, full open row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-sibenik-2 .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-sibenik-2 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-sibenik-2:has(details[open]){grid-column:1/-1}

/* Existing Varaždin167 plan photograph: natural frame and complete open catalogue row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-varazdin-1 .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-varazdin-1 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-varazdin-1:has(details[open]){grid-column:1/-1}

/* Existing CC0 Osijek650 plan photograph: natural frame and complete open catalogue row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-osijek-day .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-osijek-day .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-osijek-day:has(details[open]){grid-column:1/-1}

/* Exact Tvrđa panorama: retain its full natural frame on the existing profile. */
body.ec-portal-edition.ec-interior-palette .ec-osijek-tvrda .ec-gallery--1 .ec-gallery__mosaic{aspect-ratio:1205/600!important;max-height:none!important;min-height:0!important}
body.ec-portal-edition.ec-interior-palette .ec-osijek-tvrda .ec-gallery--1 .ec-gallery__tile{min-height:0!important}
body.ec-portal-edition.ec-interior-palette .ec-osijek-tvrda .ec-gallery--1 img{object-fit:contain!important}

/* Existing Plitvice photograph: natural frame and complete open catalogue row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-plitvice-1 .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-plitvice-1 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-plitvice-1:has(details[open]){grid-column:1/-1}

/* Existing Krka photograph: natural frame and complete open catalogue row. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-krka-1 .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-krka-1 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-krka-1:has(details[open]){grid-column:1/-1}

/* Existing Hvar source stays in its natural frame. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-hvar-2 .ec-idea__image{height:auto!important;aspect-ratio:auto}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-hvar-2 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;object-fit:contain!important}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-hvar-2:has(details[open]){grid-column:1/-1}

/* The sole Hvar destination photo is shown whole, at its existing natural ratio. */
html body.ec-public #main-content .ec-hvar-visit .ec-destination-intro .ec-gallery--1 .ec-gallery__mosaic{height:auto!important;max-height:none!important;aspect-ratio:auto!important;grid-template-rows:auto}
html body.ec-public #main-content .ec-hvar-visit .ec-destination-intro .ec-gallery--1 .ec-gallery__link{height:auto!important;aspect-ratio:auto!important}
html body.ec-public #main-content .ec-hvar-visit .ec-destination-intro .ec-gallery--1 .ec-gallery__link img{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none}

/* Korčula's existing alley stays whole and compact; never a landscape crop. */
html body.ec-public #main-content .ec-card__media:has(img[src*="AdobeStock_169820518"]){width:min(100%,14rem);height:auto!important;aspect-ratio:auto!important;background:transparent}
html body.ec-public #main-content .ec-card__media img[src*="AdobeStock_169820518"]{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none!important}

body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-korcula-2 .ec-idea__image{width:min(100%,18rem)!important;height:auto!important;aspect-ratio:auto;background:transparent}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-korcula-2 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto;object-fit:contain!important;transform:none}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-korcula-2:has(details[open]){grid-column:1/-1}
html body.ec-public #main-content .ec-korcula-old-town .ec-gallery--1{max-width:20rem}
html body.ec-public #main-content .ec-korcula-old-town .ec-gallery--1 .ec-gallery__mosaic{height:auto!important;max-height:none!important;aspect-ratio:auto!important;display:block}
html body.ec-public #main-content .ec-korcula-old-town .ec-gallery--1 .ec-gallery__link{height:auto!important;aspect-ratio:auto!important}
html body.ec-public #main-content .ec-korcula-old-town .ec-gallery--1 .ec-gallery__link img{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none}

/* Existing Trogir photo202 stays full-frame, including its bell tower. UI acceptance pending. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-trogir-1 .ec-idea__image{width:min(100%,22rem)!important;height:auto!important;aspect-ratio:auto;background:transparent}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-trogir-1 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto;object-fit:contain!important;transform:none}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-trogir-1:has(details[open]){grid-column:1/-1}
html body.ec-public #main-content .ec-trogir-destination .ec-gallery--1{max-width:28rem}
html body.ec-public #main-content .ec-trogir-destination .ec-gallery--1 .ec-gallery__mosaic{height:auto!important;max-height:none!important;aspect-ratio:auto!important;display:block}
html body.ec-public #main-content .ec-trogir-destination .ec-gallery--1 .ec-gallery__link{height:auto!important;aspect-ratio:auto!important}
html body.ec-public #main-content .ec-trogir-destination .ec-gallery--1 .ec-gallery__link img{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none}

/* Existing Cavtat photo158 keeps its full natural2560x1707 frame. UI acceptance pending. */
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-cavtat-1 .ec-idea__image{height:auto!important;aspect-ratio:auto;background:transparent}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-cavtat-1 .ec-idea__image img{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto;object-fit:contain!important;transform:none}
body.ec-portal-edition.ec-interior-palette .ec-ideas:not(.ec-ideas--teaser) #idea-cavtat-1:has(details[open]){grid-column:1/-1}
html body.ec-public #main-content .ec-bestof-detail--destination .ec-gallery--1:has(img[src*="AdobeStock_216481145"]) .ec-gallery__mosaic{height:auto!important;max-height:none!important;min-height:0!important;aspect-ratio:2560/1707!important;grid-template-rows:auto}
html body.ec-public #main-content .ec-bestof-detail--destination .ec-gallery--1:has(img[src*="AdobeStock_216481145"]) .ec-gallery__link{height:auto!important;aspect-ratio:auto!important}
html body.ec-public #main-content .ec-bestof-detail--destination .ec-gallery--1 img[src*="AdobeStock_216481145"]{width:100%;height:auto!important;max-height:none!important;aspect-ratio:auto!important;object-fit:contain!important;transform:none}
