.eld{max-width:850px;margin:auto;padding:12px;font:16px/1.5 system-ui,sans-serif;color:#17212b}.eld h2,.eld h3{margin:8px 0}.eld-map{height: min(58vh,520px);min-height:300px;border-radius:10px;margin:12px 0;z-index:0}.eld-nav,.eld-gps{display:block;box-sizing:border-box;width:100%;padding:14px;background:#16489a;color:white!important;border:0;border-radius:8px;text-align:center;text-decoration:none!important;font:inherit;cursor:pointer}.eld-steps li{padding:8px;border-bottom:1px solid #ddd}.eld-steps li:last-child{font-weight:bold}.eld-arrow{color:#ffdc00;font-size:26px;line-height:26px;text-shadow:0 0 3px #000}.eld-note,.eld-status{font-size:14px}.eld-pin{background:#16489a;color:white;border:2px solid white;border-radius:50%;text-align:center;font-weight:bold;line-height:24px}.eld-pin.end{background:#16834a}

.eld .eld-header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;flex-wrap:wrap}.eld .eld-header h2{margin:0}.eld .eld-language{position:relative;display:flex;align-items:center;max-width:100%;color:#16489a}.eld .eld-language svg{position:absolute;left:12px;width:21px;height:21px;pointer-events:none}.eld .eld-language:after{content:"";position:absolute;right:15px;width:7px;height:7px;border-right:2px solid #16489a;border-bottom:2px solid #16489a;transform:rotate(45deg);pointer-events:none;margin-top:-4px}.eld .eld-language select.eld-lang{appearance:none;-webkit-appearance:none;box-sizing:border-box;width:190px;max-width:100%;min-height:46px;margin:0;padding:10px 35px 10px 42px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#17212b;font:500 16px/1.4 system-ui,sans-serif;cursor:pointer;box-shadow:0 1px 3px #0000000d}.eld .eld-language select.eld-lang:focus-visible{outline:2px solid #16489a;outline-offset:3px}.eld .eld-language select.eld-lang:hover{border-color:#16489a}

.eld .eld-company-logo{border:2px solid #fff;border-radius:7px;box-shadow:0 2px 6px #0006;box-sizing:border-box;pointer-events:none;}

.eld .eld-title{font-size:clamp(22px,4vw,30px);font-weight:700;color:#16489a;line-height:1.25}.eld .eld-intro{margin:12px 0 18px}.eld .eld-hint{font-size:14px;color:#43556a;margin:12px 0}.eld .eld-directions{font-size:21px;font-weight:700;color:#16489a;margin-top:20px}

/* Compact language header and mobile layout, scoped to the delivery component. */
.eld .eld-header{justify-content:flex-end;margin-bottom:12px}
.eld .eld-nav + .eld-hint{margin-top:16px!important;margin-bottom:16px!important}
@media (max-width:767px){
  .eld{box-sizing:border-box;width:calc(100vw - 40px);max-width:none!important;margin-left:calc(50% - 50vw + 20px)!important;margin-right:0!important;padding:0!important;min-width:0}
  .eld .eld-header{margin-bottom:10px}
  .eld .eld-map{width:100%}
}

@media (max-width:767px){
  .eld-aligned-page-title{position:relative!important;left:var(--eld-title-offset,0px)!important}
}

@media (min-width:768px){
  .eld{box-sizing:border-box;width:100%;max-width:none;padding:0;margin:0 auto}
  .eld.eld-desktop-aligned{position:relative;width:var(--eld-content-width);max-width:none;left:var(--eld-content-left,0px)}
  .eld.eld-header-raised .eld-header{position:absolute;top:var(--eld-header-top);right:var(--eld-header-right);margin:0;z-index:2;width:max-content;max-width:100%}
}

/* Keep theme link and button states consistent with the Elri brand. */
.eld .eld-nav,.eld .eld-gps,.eld .eld-nav:hover,.eld .eld-gps:hover,.eld .eld-nav:focus,.eld .eld-gps:focus{background-color:#16489a;color:#fff!important}
.eld .eld-nav:focus-visible,.eld .eld-gps:focus-visible{outline:2px solid #16489a;outline-offset:3px}

/* Use the existing theme font throughout the delivery component. */
.eld,.eld h2,.eld h3,.eld p,.eld li,.eld .eld-nav,.eld .eld-gps,.eld .eld-language select.eld-lang,.eld .leaflet-container,.eld .leaflet-popup-content,.eld .eld-pin,.eld .leaflet-control-attribution{
  font-family:"CenturyGothic",Arial,sans-serif!important;
}
.eld .eld-nav,.eld .eld-gps{margin:24px 0!important}
.eld .eld-nav + .eld-hint{margin-top:24px!important}
.eld .eld-map + .eld-gps{margin-top:24px!important}
.eld .eld-gps + .eld-status:empty{display:none}

/* Use the theme bold face only for emphasis. */
.eld h2,.eld h3,.eld .eld-nav,.eld .eld-gps,.eld .eld-pin,.eld .eld-steps li:last-child,.eld strong,.eld b{font-family:"CenturyGothic-Bd",Arial,sans-serif!important;font-weight:normal!important}
.eld .eld-language select.eld-lang{font-weight:normal}

/* Mobile: compact native language selector beside the page title when space permits. */
@media (max-width:767px){
  .eld{position:relative}
  .eld .eld-language select.eld-lang{width:148px;min-height:40px;font-size:14px;padding:8px 26px 8px 32px;border-radius:8px}
  .eld .eld-language svg{left:9px;width:17px;height:17px}
  .eld .eld-language:after{right:11px;width:6px;height:6px}
  .eld.eld-header-raised .eld-header{position:absolute;top:var(--eld-header-top);right:var(--eld-header-right);margin:0;z-index:2;width:max-content;max-width:100%}
}
