:root {
  --ec-refresh-font: "Manrope", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, Helvetica, sans-serif;
  --ec-refresh-ink: #07162f;
  --ec-refresh-muted: #617086;
  --ec-refresh-orange: #ff5b00;
  --ec-refresh-orange-dark: #df4600;
  --ec-refresh-navy: #071426;
  --ec-refresh-line: #e4e8ee;
  --ec-refresh-surface: #ffffff;
  --ec-refresh-soft: #f6f8fb;
  --ec-refresh-radius: 24px;
  --ec-refresh-shadow: 0 18px 50px rgba(7, 22, 47, .10);
}

html {
  font-family: var(--ec-refresh-font) !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body,
button,
input,
select,
textarea,
optgroup,
option {
  font-family: var(--ec-refresh-font) !important;
}

body {
  color: var(--ec-refresh-ink);
  overflow-x: clip;
}

body :where(h1, h2, h3, h4, h5, h6, p, a, span, small, strong, label, li, dt, dd) {
  font-family: inherit !important;
}

.material-icons,
.material-icons-outlined,
.material-symbols-outlined,
.material-symbols-rounded {
  font-family: "Material Icons", "Material Symbols Outlined" !important;
}

body :where(h1) {
  max-width: 22ch;
  margin-top: 0;
  font-size: clamp(2.15rem, 4.25vw, 4.25rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -.045em !important;
  font-weight: 800 !important;
  text-wrap: balance;
}

body :where(h2) {
  font-size: clamp(1.65rem, 2.7vw, 2.75rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.035em !important;
  font-weight: 780 !important;
  text-wrap: balance;
}

body :where(h3) {
  line-height: 1.22 !important;
  letter-spacing: -.02em !important;
  font-weight: 750 !important;
}

img,
picture,
video,
iframe {
  max-width: 100%;
}

:where(.ecx-event-image, .ecx-trip-image-wrap, .ecx-lux-media, .ec-seo-card, .ec-premium-tour-media, .ecd-gallery-main, .ecd-related-card) img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  image-rendering: auto;
}

img[data-ec-image-error="true"] {
  object-fit: contain !important;
  padding: 10% !important;
  background: var(--ec-refresh-navy) !important;
}

.ecx-system-header,
.ec-seo-header,
.site-header {
  position: relative;
  z-index: 1000;
  border-bottom: 1px solid rgba(7, 22, 47, .08) !important;
  background: rgba(255, 255, 255, .95) !important;
  box-shadow: 0 8px 28px rgba(7, 22, 47, .06) !important;
  backdrop-filter: blur(18px);
}

.ecx-system-header-inner,
.ec-seo-nav,
.header-inner {
  width: min(100% - 32px, 1480px) !important;
  min-height: 84px !important;
  margin-inline: auto !important;
  padding: 12px 0 !important;
}

.ecx-system-brand-logo,
.ec-seo-logo img {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
}

.ecx-system-brand-text {
  font-size: 1rem !important;
  font-weight: 800 !important;
}

.ecx-system-nav,
.ecx-system-actions {
  gap: 14px !important;
}

.ecx-system-nav > a,
.ecx-system-dropbtn {
  font-size: .84rem !important;
  font-weight: 720 !important;
  white-space: nowrap;
}

.ecx-system-dropdown-menu {
  border: 1px solid var(--ec-refresh-line) !important;
  border-radius: 16px !important;
  box-shadow: var(--ec-refresh-shadow) !important;
}

.ecx-account-action {
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
}

input,
select,
textarea {
  border-radius: 13px !important;
}

input[type="date"] {
  min-height: 50px;
  padding: 0 44px 0 15px !important;
  border: 1px solid #cfd6df !important;
  background: #fff;
  color: var(--ec-refresh-ink);
  font-weight: 650;
  color-scheme: light;
}

#ecxDateInput[type="date"] {
  min-height: 24px;
  padding: 0 30px 0 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}
input[type="date"]::-webkit-calendar-picker-indicator {
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: .75;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--ec-refresh-orange) !important;
  outline: 3px solid rgba(255, 91, 0, .14) !important;
  outline-offset: 1px;
}

.ecd-page {
  background: #fff !important;
}

.ecd-content {
  width: min(100% - 36px, 1380px) !important;
  margin: 0 auto !important;
  padding: 30px 0 76px !important;
}

.ecd-hero {
  display: grid !important;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, .72fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

.ecd-gallery {
  min-width: 0;
}

.ecd-gallery-main {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10 !important;
  min-height: 0 !important;
  border-radius: var(--ec-refresh-radius) !important;
  background: #e9edf2;
  box-shadow: 0 16px 44px rgba(7, 22, 47, .12);
}

.ecd-gallery-main img,
.ecd-gallery-img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.ecd-gallery-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 10px !important;
  margin-top: 10px !important;
  overflow-x: auto;
  scrollbar-width: thin;
}

.ecd-gallery-thumbs button {
  width: auto !important;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  padding: 0 !important;
  border: 2px solid transparent !important;
  border-radius: 13px !important;
  background: #eef1f5;
}

.ecd-gallery-thumbs button.is-active {
  border-color: var(--ec-refresh-orange) !important;
}

.ecd-booking-card {
  position: sticky !important;
  top: 22px !important;
  padding: 26px !important;
  border: 1px solid var(--ec-refresh-line) !important;
  border-radius: var(--ec-refresh-radius) !important;
  background: rgba(255, 255, 255, .98) !important;
  box-shadow: var(--ec-refresh-shadow) !important;
}

.ecd-booking-card h1,
.ec-seo-hero-copy h1 {
  max-width: none !important;
  margin: 12px 0 12px !important;
  font-size: clamp(2rem, 3.2vw, 3.35rem) !important;
  line-height: 1.04 !important;
}

.ecd-pill,
.ec-seo-kicker,
.ecd-section-kicker {
  color: var(--ec-refresh-orange) !important;
  font-size: .75rem !important;
  font-weight: 800 !important;
  letter-spacing: .1em !important;
  text-transform: uppercase;
}

.ecd-price-row strong {
  color: var(--ec-refresh-ink) !important;
  font-size: clamp(1.8rem, 3vw, 2.45rem) !important;
  font-weight: 820 !important;
}

.ecd-info-list {
  overflow: hidden;
  border: 1px solid var(--ec-refresh-line) !important;
  border-radius: 16px !important;
}

.ecd-info-list > div {
  padding: 12px 14px !important;
  border-bottom: 1px solid var(--ec-refresh-line);
}

.ecd-info-list > div:last-child {
  border-bottom: 0;
}

.ecd-book-btn,
.ec-seo-button.primary {
  min-height: 52px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--ec-refresh-orange), #ff3d00) !important;
  box-shadow: 0 12px 26px rgba(255, 91, 0, .24) !important;
  color: #fff !important;
  font-weight: 800 !important;
}

.ecd-main-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 360px !important;
  gap: 28px !important;
  margin-top: 34px !important;
}

.ecd-description-card,
.ecd-map-card,
.ecd-organizer-card,
.ecd-review-card {
  margin-bottom: 18px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  border: 1px solid var(--ec-refresh-line) !important;
  border-radius: var(--ec-refresh-radius) !important;
  background: #fff !important;
  box-shadow: 0 10px 34px rgba(7, 22, 47, .06) !important;
}

.ecd-description-card p,
.ec-seo-section p {
  color: #3c4a5d !important;
  font-size: 1rem !important;
  line-height: 1.75 !important;
}

.ecd-clean-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
  padding: 0 !important;
  list-style: none;
}

.ecd-clean-list li {
  position: relative;
  padding: 12px 12px 12px 42px !important;
  border-radius: 13px;
  background: var(--ec-refresh-soft);
}

.ecd-clean-list li::before {
  content: "✓";
  position: absolute;
  left: 14px;
  color: var(--ec-refresh-orange);
  font-weight: 900;
}

.ecd-itinerary-list {
  display: grid;
  gap: 0;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.ecd-itinerary-list li {
  position: relative;
  display: grid;
  grid-template-columns: 44px 92px minmax(0, 1fr);
  gap: 14px;
  min-height: 80px;
  padding-bottom: 18px;
}

.ecd-itinerary-list li:not(:last-child)::before {
  content: "";
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 20px;
  width: 2px;
  background: #ffd8c3;
}

.ecd-itinerary-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ec-refresh-orange);
  color: #fff;
  font-weight: 800;
}

.ecd-itinerary-time {
  padding-top: 9px;
  color: var(--ec-refresh-muted);
  font-size: .82rem;
  font-weight: 700;
}

.ecd-itinerary-copy strong {
  font-size: 1rem;
}

.ecd-itinerary-copy p {
  margin: 5px 0 0 !important;
  font-size: .9rem !important;
  line-height: 1.5 !important;
}

.ecd-featured-detail-intro {
  margin: 10px 0 18px !important;
}

.ecd-featured-detail-list,
.ecd-featured-faqs {
  display: grid;
  gap: 10px;
}

.ecd-featured-faqs {
  margin-top: 22px;
}

.ecd-featured-faqs h3 {
  margin: 0 0 4px;
  color: var(--ec-refresh-ink);
  font-size: 1.05rem;
}

.ecd-featured-detail-item {
  border: 1px solid var(--ec-refresh-line);
  border-radius: 14px;
  background: var(--ec-refresh-soft);
}

.ecd-featured-detail-item summary {
  cursor: pointer;
  padding: 15px 46px 15px 17px;
  color: var(--ec-refresh-ink);
  font-weight: 800;
  list-style: none;
  position: relative;
}

.ecd-featured-detail-item summary::-webkit-details-marker {
  display: none;
}

.ecd-featured-detail-item summary::after {
  content: "+";
  position: absolute;
  right: 17px;
  color: var(--ec-refresh-orange);
  font-size: 1.25rem;
  line-height: 1;
}

.ecd-featured-detail-item[open] summary::after {
  content: "−";
}

.ecd-featured-detail-item p {
  margin: 0 !important;
  padding: 0 17px 17px;
}

.ecd-map-frame {
  overflow: hidden;
  aspect-ratio: 16 / 8;
  margin: 14px 0;
  border-radius: 16px;
  background: #e9edf2;
}

.ecd-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ecd-organizer-card img {
  width: 68px !important;
  height: 68px !important;
  flex: 0 0 68px;
  border-radius: 50% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.ec-calendar-holder {
  width: min(100%, 760px);
  margin: 26px auto 0;
}

.ec-date-experience {
  margin: 20px 0 16px;
  padding: 18px;
  border: 1px solid var(--ec-refresh-line);
  border-radius: 18px;
  background: #fff;
}

.ec-date-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.ec-date-heading h2 {
  margin: 0 0 4px !important;
  font-size: 1.18rem !important;
  letter-spacing: -.02em !important;
}

.ec-date-heading p {
  margin: 0 !important;
  color: var(--ec-refresh-muted) !important;
  font-size: .75rem !important;
  line-height: 1.4 !important;
}

.ec-calendar-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.ec-calendar-nav strong {
  min-width: 130px;
  color: var(--ec-refresh-ink);
  font-size: .86rem;
  text-align: center;
}

.ec-calendar-nav button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid var(--ec-refresh-line);
  border-radius: 10px;
  background: #fff;
  color: var(--ec-refresh-ink);
  cursor: pointer;
}

.ec-calendar-nav button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.ec-calendar-weekdays,
.ec-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}

.ec-calendar-weekdays span {
  padding: 5px 0;
  color: #8a96a6;
  font-size: .64rem;
  font-weight: 750;
  text-align: center;
  text-transform: uppercase;
}

.ec-calendar-day {
  min-height: 42px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ec-refresh-ink);
  font-size: .76rem;
  font-weight: 680;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .18s ease;
}

.ec-calendar-day:hover:not(:disabled) {
  background: #fff0e8;
  color: var(--ec-refresh-orange-dark);
  transform: translateY(-1px);
}

.ec-calendar-day.is-today {
  box-shadow: inset 0 0 0 1px var(--ec-refresh-orange);
}

.ec-calendar-day.is-selected {
  background: var(--ec-refresh-orange) !important;
  color: #fff !important;
  box-shadow: 0 6px 14px rgba(255, 91, 0, .24);
}

.ec-calendar-day:disabled,
.ec-calendar-day.is-empty {
  color: #bcc4cf;
  cursor: not-allowed;
  opacity: .5;
}

.ec-calendar-selection {
  min-height: 38px;
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 11px;
  background: #fff4ee;
  color: #a73500;
  font-size: .76rem;
  font-weight: 730;
}

.ec-date-experience.ec-calendar-attention {
  animation: ec-calendar-pulse .7s ease;
}

@keyframes ec-calendar-pulse {
  0%, 100% { box-shadow: none; }
  45% { box-shadow: 0 0 0 5px rgba(255, 91, 0, .2); }
}

.ec-seo-main {
  background: #fff !important;
}

.ec-seo-shell {
  width: min(100% - 36px, 1320px) !important;
}

.ec-seo-hero {
  padding-top: 26px !important;
}

.ec-seo-hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .72fr) !important;
  gap: 28px !important;
  align-items: start !important;
}

.ec-seo-hero-media {
  overflow: hidden;
  aspect-ratio: 16 / 10 !important;
  border-radius: var(--ec-refresh-radius) !important;
  box-shadow: var(--ec-refresh-shadow);
}

.ec-seo-hero-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

.ec-seo-hero-copy {
  position: sticky;
  top: 18px;
  padding: 24px !important;
  border: 1px solid var(--ec-refresh-line);
  border-radius: var(--ec-refresh-radius);
  background: #fff;
  box-shadow: var(--ec-refresh-shadow);
}

.ec-seo-facts {
  border-radius: 16px !important;
  background: var(--ec-refresh-soft) !important;
}

.ec-seo-section {
  margin-top: 24px !important;
  padding: clamp(22px, 3vw, 34px) !important;
  border: 1px solid var(--ec-refresh-line) !important;
  border-radius: var(--ec-refresh-radius) !important;
  background: #fff !important;
}

.ecx-footer,
.ec-seo-footer,
.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 0 !important;
  background: radial-gradient(circle at 10% 0%, rgba(255, 91, 0, .25), transparent 32%), radial-gradient(circle at 100% 100%, rgba(51, 91, 138, .2), transparent 34%), var(--ec-refresh-navy) !important;
  color: #fff !important;
}

.ecx-footer-grid,
.ecx-footer-bottom {
  width: min(100% - 36px, 1380px) !important;
  margin-inline: auto !important;
}

.ecx-footer-grid {
  gap: 32px 24px !important;
  padding: 58px 0 38px !important;
}

.ecx-footer :where(h3, h4),
.ec-seo-footer :where(h3, h4),
.site-footer :where(h3, h4) {
  color: #fff !important;
}

.ecx-footer :where(p, a),
.ec-seo-footer :where(p, a),
.site-footer :where(p, a) {
  color: rgba(255, 255, 255, .74) !important;
}

.ecx-footer a:hover,
.ec-seo-footer a:hover,
.site-footer a:hover {
  color: #fff !important;
}

.ec-global-footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.ec-global-footer-socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
}

.ec-global-footer-socials img {
  width: 19px !important;
  height: 19px !important;
  object-fit: contain !important;
}

.ec-reveal-ready {
  opacity: 0;
  transform: translateY(18px);
}

.ec-reveal-ready.ec-revealed {
  opacity: 1;
  transform: none;
  transition: opacity .55s ease, transform .55s cubic-bezier(.22, 1, .36, 1);
}

@media (max-width: 1100px) {
  .ecd-hero,
  .ec-seo-hero-grid { grid-template-columns: minmax(0, 1fr) 360px !important; }
  .ecd-main-grid { grid-template-columns: minmax(0, 1fr) 310px !important; }
}

@media (max-width: 860px) {
  .ecd-content,
  .ec-seo-shell { width: min(100% - 28px, 760px) !important; }
  .ecd-hero,
  .ecd-main-grid,
  .ec-seo-hero-grid { grid-template-columns: 1fr !important; }
  .ecd-booking-card,
  .ec-seo-hero-copy { position: static !important; }
  .ecx-system-header-inner,
  .ec-seo-nav,
  .header-inner { width: min(100% - 24px, 760px) !important; min-height: 72px !important; }
}

@media (max-width: 620px) {
  body :where(h1) { max-width: none; font-size: clamp(2rem, 10vw, 2.85rem) !important; }
  body :where(h2) { font-size: clamp(1.5rem, 7vw, 2.15rem) !important; }
  .ecd-content { width: min(100% - 20px, 560px) !important; padding-top: 14px !important; }
  .ecd-gallery-main,
  .ec-seo-hero-media { aspect-ratio: 4 / 3 !important; border-radius: 18px !important; }
  .ecd-gallery-thumbs { grid-template-columns: repeat(5, 82px) !important; }
  .ecd-booking-card,
  .ec-seo-hero-copy,
  .ecd-description-card,
  .ecd-map-card,
  .ecd-organizer-card,
  .ec-seo-section { padding: 18px !important; border-radius: 18px !important; }
  .ecd-booking-card h1,
  .ec-seo-hero-copy h1 { font-size: clamp(1.9rem, 9vw, 2.7rem) !important; }
  .ecd-clean-list { grid-template-columns: 1fr; }
  .ecd-itinerary-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 10px; }
  .ecd-itinerary-time { display: none; }
  .ec-calendar-holder {
  width: min(100%, 760px);
  margin: 26px auto 0;
}

.ec-date-experience { padding: 14px; }
  .ec-calendar-day { font-size: .7rem; border-radius: 8px; }
  .ecx-footer-grid { padding-top: 42px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .ec-reveal-ready { opacity: 1; transform: none; }
}

/* Cloud tour media and signed-in navigation */
.ec-seo-card,
.ecx-static-discovery-card,
.ecx-event-card,
.ec-seo-hero-media,
[data-detail-slider],
.ecd-gallery-main {
  position: relative;
}

.ec-seo-card > img,
.ecx-static-discovery-card img,
.ecx-event-card img,
.ec-seo-hero-media > img,
[data-detail-slider] img,
.ecd-gallery-main img {
  object-fit: cover;
  object-position: center;
}

.ec-google-photo-credit {
  position: absolute;
  z-index: 6;
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(5, 12, 25, .76);
  color: #fff !important;
  font: 600 10px/1.2 Arial, Helvetica, sans-serif;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ec-google-photo-credit:hover,
.ec-google-photo-credit:focus-visible {
  background: #071126;
  text-decoration: underline;
}

.ec-cloud-gallery-strip {
  position: absolute;
  z-index: 5;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 7px;
  max-width: 600px;
}

.ec-cloud-gallery-strip + .ec-google-photo-credit,
.ec-seo-hero-media > .ec-google-photo-credit,
[data-detail-slider] > .ec-google-photo-credit,
.ecd-gallery-main > .ec-google-photo-credit {
  top: 12px;
  bottom: auto;
}

.ec-cloud-gallery-strip button {
  appearance: none;
  min-width: 0;
  height: 58px;
  padding: 0;
  overflow: hidden;
  border: 2px solid rgba(255, 255, 255, .88);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(7, 17, 38, .22);
  cursor: pointer;
}

.ec-cloud-gallery-strip button.is-active {
  border-color: #ff5b00;
  box-shadow: 0 0 0 2px rgba(255, 91, 0, .22);
}

.ec-cloud-gallery-strip img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

header [data-ec-account-link].is-signed-in {
  color: #ff5b00;
  font-weight: 800;
}

@media (max-width: 720px) {
  .ec-cloud-gallery-strip {
    grid-template-columns: repeat(5, 58px);
    overflow-x: auto;
    max-width: none;
    scrollbar-width: none;
  }

  .ec-cloud-gallery-strip::-webkit-scrollbar { display: none; }
  .ec-cloud-gallery-strip button { height: 48px; }
  .ec-google-photo-credit { font-size: 9px; }
}


.ec-view-cloud-gallery {
  position: absolute;
  z-index: 7;
  left: 14px;
  bottom: 14px;
  min-height: 40px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, .86);
  border-radius: 999px;
  background: rgba(255, 255, 255, .94);
  color: #071126;
  font: 800 12px/1.1 Arial, Helvetica, sans-serif;
  box-shadow: 0 8px 24px rgba(7, 17, 38, .2);
  cursor: pointer;
}

.ec-cloud-gallery-open { overflow: hidden; }
.ec-cloud-gallery-modal {
  position: fixed;
  z-index: 10050;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 9, 20, .84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.ec-cloud-gallery-panel {
  width: min(1100px, 100%);
  max-height: min(900px, 94vh);
  overflow: auto;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .34);
}
.ec-cloud-gallery-panel > header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, .94);
  border-bottom: 1px solid #e6e9ef;
  backdrop-filter: blur(12px);
}
.ec-cloud-gallery-panel header span { color: #ff5b00; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.ec-cloud-gallery-panel header h2 { margin: 3px 0 0; color: #071126; font-size: clamp(20px, 3vw, 30px); }
.ec-cloud-gallery-panel header button {
  width: 42px;
  height: 42px;
  border: 1px solid #d8dde7;
  border-radius: 50%;
  background: #fff;
  color: #071126;
  font-size: 27px;
  cursor: pointer;
}
.ec-cloud-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 16px;
}
.ec-cloud-gallery-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: #eef1f5; }
.ec-cloud-gallery-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.ec-cloud-gallery-grid figcaption { position: absolute; right: 8px; bottom: 8px; max-width: calc(100% - 16px); }
.ec-cloud-gallery-grid figcaption a { display: block; overflow: hidden; padding: 5px 8px; border-radius: 999px; background: rgba(5,12,25,.78); color: #fff; font-size: 9px; white-space: nowrap; text-overflow: ellipsis; }

@media (max-width: 640px) {
  .ec-cloud-gallery-modal { padding: 0; }
  .ec-cloud-gallery-panel { height: 100%; max-height: none; border-radius: 0; }
  .ec-cloud-gallery-grid { grid-template-columns: 1fr; padding: 10px; }
}


/* Homepage photographic media: cloud-filled, sharp and never stretched. */
.ecx-app-showcase-cloud {
  position: relative;
  width: 100%;
  min-height: 360px;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--ec-refresh-radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
}

.ecx-app-showcase-cloud > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.ecx-app-showcase-cloud > .ec-google-photo-credit {
  inset: auto 10px 10px auto;
  max-width: calc(100% - 20px);
}

@media (max-width: 680px) {
  .ecx-app-showcase-cloud {
    min-height: 260px;
    aspect-ratio: 4 / 3;
    border-radius: 18px;
  }
}
