html.elp-section-layout {
  scroll-padding-block: 14px 82px;
}
html.elp-section-layout body {
  padding-bottom: calc(82px + env(safe-area-inset-bottom));
}
html.elp-section-layout body :is(.header_bottom.container,.content_section aside.sidebar,#tocFab,#toursFab,#themeToggle,#mapFab,.price-fab-wrap,#elp-mobile-theme,.sea-dock,#elp-tour-actions) {
  display: none !important;
}
html.elp-section-layout body .content_section.container {
  box-sizing: border-box !important;
  width: min(930px, calc(100% - 40px)) !important;
  max-width: 930px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}
html.elp-section-layout body .content_section > .row,
html.elp-section-layout body .content_section > .row > .content,
html.elp-section-layout body .content_section :is(.full_text, main.wrap, div.wrap, .page-wrap) {
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin-inline: 0 !important;
  padding-inline: 0 !important;
  float: none !important;
}
html.elp-section-layout body .content_section .content > :is(.article,.itemView),
html.elp-section-layout body .content_section .full_text > :is(main, article) {
  max-width: 100%;
  min-width: 0;
}
html.elp-section-layout body .content_section .full_text :is(.wrap,.page-wrap) {
  margin-inline: auto !important;
}
html.elp-section-layout body .content_section :is(img, iframe, video) { max-width: 100%; }
html.elp-section-layout body #elp-section-dock {
  position: fixed;
  inset: auto 0 max(18px, env(safe-area-inset-bottom));
  z-index: 10020;
  display: flex;
  align-items: center;
  gap: 4px;
  box-sizing: border-box;
  width: min(1080px, calc(100% - 40px));
  min-height: 54px;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid #ffffff36;
  border-radius: 24px;
  background: #203f55;
  color: #fffdf8;
  box-shadow: 0 8px 26px #13293b36;
}
@supports (backdrop-filter: blur(1px)) {
  html.elp-section-layout body #elp-section-dock {
    background: #163044e8;
    backdrop-filter: blur(16px) saturate(125%);
  }
}
html.elp-section-layout body #elp-section-dock button {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  position: static;
  min-width: 0;
  width: auto;
  min-height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 16px;
  background: transparent;
  color: inherit;
  box-shadow: none;
  font: 700 14px/1.16 Manrope, system-ui, sans-serif;
  text-align: center;
  cursor: pointer;
}
#elp-section-dock button[hidden] { display: none !important; }
#elp-section-dock svg {
  width: 16px; height: 16px;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75;
  stroke-linecap: round; stroke-linejoin: round;
}
html.elp-section-layout body #elp-section-dock [data-kind=theme] {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #91a4b3;
  border-radius: 50%;
  background: #223e55;
  color: #fff4d1;
}
#elp-section-dock [data-kind=theme] svg { width: 22px; height: 22px; }
html.elp-section-layout body #elp-section-dock [data-kind=price] {
  background: #f0dba1;
  color: #20394b;
}
#elp-section-dock button:focus-visible, #elp-section-panel :is(a,button):focus-visible {
  outline: 2px solid #e5bc62;
  outline-offset: -2px;
}
html.elp-section-layout body:has(dialog[open],#priceFabOverlay.is-on,#googleMapContainer.delphi-expanded,#videoOverlayGV.active) #elp-section-dock {
  visibility: hidden;
}
html.elp-section-layout body #elp-section-panel {
  position: fixed;
  inset: auto 0 max(78px, calc(64px + env(safe-area-inset-bottom)));
  box-sizing: border-box;
  width: min(560px, calc(100vw - 28px));
  max-height: min(68vh, 610px);
  max-height: min(68dvh, 610px);
  margin: 0 auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #b9a78088;
  border-radius: 20px;
  background: #faf7ef;
  color: #20394b;
  box-shadow: 0 10px 35px #13293b60;
}
#elp-section-panel::backdrop { background: #0c1d2d99; }
html:is(.dark-mode,[data-theme=dark]) #elp-section-panel,
body.dark-mode #elp-section-panel { background: #223746 !important; color: #fffdf8 !important; }
#elp-section-panel header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  background: inherit;
  color: inherit;
}
#elp-section-panel header h2 { margin: 0; padding: 0; font: 750 18px/1.25 system-ui; color: inherit; }
#elp-section-panel header button {
  width: 44px; height: 44px; padding: 0;
  border: 1px solid #a5936880; border-radius: 50%;
  background: transparent; color: inherit; font: 26px/1 system-ui;
  cursor: pointer;
}
#elp-section-panel .elp-section-links { display: grid; gap: 4px; padding: 0 14px 14px; }
#elp-section-panel .elp-section-links a {
  display: block; padding: 10px 12px; border-radius: 10px;
  color: inherit; text-decoration: none; font: 600 15px/1.4 system-ui;
  overflow-wrap: anywhere;
}
#elp-section-panel .elp-section-links a:is(:hover,[aria-current]) { background: #c0aa7340; }
@media(max-width: 768px) {
  html.elp-section-layout body .content_section.container { width: calc(100% - 28px) !important; }
  html.elp-section-layout body #elp-section-dock {
    bottom: max(9px, env(safe-area-inset-bottom));
    width: min(580px, calc(100% - 22px));
    gap: 2px;
    padding: 5px;
    border-radius: 18px;
    background: #1d3b50;
  }
  html.elp-section-layout body #elp-section-dock button { padding-inline: 3px; font-size: clamp(11px, 3.3vw, 15px); }
  #elp-section-dock button:not([data-kind=theme]) svg { display: none; }
  #elp-section-dock:has(button:nth-child(6)) [data-kind=map] span { line-height: 1.1; }
}
/* Long tables and legacy cards must not widen the page on narrow screens. */
@media(max-width: 768px) {
  html.elp-section-layout, html.elp-section-layout body { overflow-x: clip; }
  html.elp-section-layout body .content_section :is(.elpiadis-card,.greece-views-module,.table-wrap,.card,.itemView,.article) { min-width: 0; max-width: 100%; }
  html.elp-section-layout body .content_section { overflow-wrap: anywhere; }
  html.elp-section-layout body #elp-section-dock button span { overflow-wrap: anywhere; }
}

html.elp-section-layout { scroll-padding-top: calc(74px + env(safe-area-inset-top)); }
html.elp-section-layout body { padding-top: calc(62px + env(safe-area-inset-top)); }
html.elp-section-layout body #elp-section-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10020;
  padding: calc(8px + env(safe-area-inset-top)) 14px 8px;
  background: #faf7ef;
  border-bottom: 1px solid #a2947538;
}
html.elp-section-layout:is(.dark-mode,[data-theme=dark]) #elp-section-header,
html.elp-section-layout body.dark-mode #elp-section-header {
  background: #182b3b;
  border-bottom-color: #8799a133;
}
#elp-section-header nav {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 930px;
  margin-inline: auto;
}
#elp-section-header button {
  position: static;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 100%;
  margin: 0;
  padding: 0 12px;
  border: 1px solid #7890a3;
  border-radius: 22px;
  background: #1d3b50;
  color: #fffdf8;
  font: 700 clamp(13px, 3.7vw, 15px)/1.15 Manrope, system-ui, sans-serif;
  text-align: start;
  cursor: pointer;
}
#elp-section-header button[data-kind=menu] {
  flex: 0 0 44px;
  width: 44px;
  padding: 0;
  border-radius: 12px;
}
#elp-section-header button[data-kind=sections] { flex-direction: row-reverse; }
#elp-section-header svg {
  width: 20px; height: 20px;
  flex: none;
  fill: none; stroke: currentColor; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
#elp-section-header [data-kind=sections] svg {
  width: 22px; height: 22px;
  padding: 3px;
  border: 1px solid #a3b4c1;
  border-radius: 50%;
}
#elp-section-header [aria-expanded=true] svg { transform: rotate(180deg); }
#elp-section-header button:focus-visible { outline: 2px solid #e5bc62; outline-offset: -3px; }
html.elp-section-layout body #elp-section-dock { width: min(520px, calc(100% - 22px)); }
html.elp-section-layout body #elp-section-dock :is([data-kind=contact],[data-kind=booking]) {
  background: #f0dba1;
  color: #20394b;
}
html.elp-section-layout body #elp-section-panel[data-position=top] {
  inset: calc(68px + env(safe-area-inset-top)) auto auto max(11px, calc((100% - 930px) / 2));
}
html.elp-section-layout[dir=rtl] body #elp-section-panel[data-position=top] {
  inset-inline: max(11px, calc((100% - 930px) / 2)) auto;
}
html.elp-section-layout body:has(#priceFabOverlay.is-on,#googleMapContainer.delphi-expanded,#videoOverlayGV.active) #elp-section-header {
  visibility: hidden;
}

html.elp-section-layout[data-elp-section=transfers] body .content_section .content > :is(.article,.itemView) {
  box-sizing: border-box;
  width: 100%;
  padding-inline: clamp(16px, 3vw, 28px) !important;
}
html.elp-section-layout[data-elp-section=transfers] body .content_section .page-wrap :is(.cards-grid,.intro-card,.cta-block,.intro-card p,.cta-block p) {
  max-width: none !important;
}
html.elp-section-layout[data-elp-section=transfers] body .content_section .page-wrap .cards-grid > .card {
  min-width: 0;
}
@media (max-width: 900px) {
  html.elp-section-layout[data-elp-section=transfers] body .content_section .content > :is(.article,.itemView) {
    padding-inline: clamp(8px, 2vw, 16px) !important;
  }
  html.elp-section-layout[data-elp-section=transfers] body .content_section .page-wrap :is(.intro-card,.card-body,.cta-block) {
    padding-inline: clamp(12px, 4vw, 22px) !important;
  }
}

#elp-section-header .elp-desktop-navigation { display: none; }
@media (min-width: 992px) {
  html.elp-section-layout body #elp-section-header {
    --nav-paper: #faf7ef;
    --nav-ink: #20394b;
    --nav-hover: #ede2c9;
    width: min(1080px, calc(100% - 40px));
    margin-inline: auto;
    padding: 8px 0 0;
    border: 0;
    background: transparent;
    pointer-events: none;
  }
  html.elp-section-layout:is(.dark-mode,[data-theme=dark]) #elp-section-header,
  html.elp-section-layout body.dark-mode #elp-section-header {
    --nav-paper: #23323e;
    --nav-ink: #f8f4ea;
    --nav-hover: #394854;
    background: transparent;
  }
  #elp-section-header nav:not(.elp-desktop-navigation) { display: none; }
  #elp-section-header .elp-desktop-navigation {
    display: flex;
    max-width: none;
    justify-content: space-evenly;
    gap: 2px;
    padding: 4px 10px;
    border: 1px solid #b9a78066;
    border-radius: 24px;
    background: var(--nav-paper);
    box-shadow: 0 4px 18px #15283824;
    pointer-events: auto;
  }
  #elp-section-header .elp-desktop-navigation a {
    position: relative;
    padding: 10px clamp(5px,1vw,16px);
    border-radius: 16px;
    background: transparent;
    color: var(--nav-ink) !important;
    text-align: center;
    text-decoration: none;
    font: 700 14px/18px Manrope, system-ui, sans-serif;
  }
  #elp-section-header .elp-desktop-navigation a:is(:hover,:focus-visible) { background: var(--nav-hover); }
  #elp-section-header .elp-desktop-navigation a[aria-current]::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 26px;
    height: 3px;
    transform: translateX(-50%);
    border-radius: 4px;
    background: #bb9348;
  }
  #elp-section-header.tour-nav-hidden:not(:focus-within) { transform: translateY(calc(-100% - 20px)); }
  @media (prefers-reduced-motion:no-preference) {
    #elp-section-header { transition: transform .18s ease-out; }
  }
}
