/* The vehicle PNGs already include the white space around each vehicle.
   Render the entire source once, centered in equally sized display frames. */
html {scroll-padding-block-start: 76px}
#vlc-app-banner {display: none; position: relative; width: 100%; isolation: isolate}
#vlc-app-banner::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: white;
  pointer-events: none;
}
html[lang=ro] #vlc-app-banner::before {
  background: linear-gradient(#1c1916, #0b0b0b);
}
#vlc-app-banner picture, #vlc-app-banner img {display: block; width: 100%; height: auto}
#vlc-app-banner picture {
  position: relative;
  isolation: isolate;
  /* Expose the page background around the rounded artwork. */
  clip-path: inset(6.65% 1.36% round 1.45% / 7.3%);
}
#vlc-app-banner picture::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #f66c32;
  mix-blend-mode: hue;
  /* The two holes in the tint follow the logo and the tilted phone screen. */
  clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
    4.1% 27%, 6.8% 27%, 6.8% 37.5%, 4.1% 37.5%, 4.1% 27%, 0 0,
    55% 12.1%, 63.84% 19.1%, 61.36% 95%, 52.16% 95%, 55% 12.1%, 0 0);
}
#vlc-app-banner a {position: absolute}
#vlc-app-banner a:focus-visible {outline: 3px solid white; outline-offset: 2px}
@media (width < 768px), (width < 1200px) and (orientation: landscape) and (max-height: 600px) and (pointer: coarse) {
  #vlc-app-banner {display: block; max-width: 480px; margin-inline: auto}
  #vlc-app-banner picture {clip-path: inset(5.68% 3.21% 5.45% round 4.1% / 7.8%)}
  #vlc-app-banner picture::after {
    /* Protect the logo and both store badges inside their dark frames. */
    clip-path: polygon(evenodd, 0 0, 100% 0, 100% 100%, 0 100%, 0 0,
      8.6% 18.5%, 17.1% 18.5%, 17.1% 27%, 8.6% 27%, 8.6% 18.5%, 0 0,
      8.6% 68%, 37.8% 68%, 37.8% 83.8%, 8.6% 83.8%, 8.6% 68%, 0 0,
      40.9% 67.5%, 73.6% 67.5%, 73.6% 83.8%, 40.9% 83.8%, 40.9% 67.5%, 0 0);
  }
  /* These areas follow the printed badges as the artwork scales. */
  #vlc-app-banner a {top: 75.57%; height: max(17.96%, 44px); transform: translateY(-50%)}
  #vlc-app-banner .vlc-app-iphone {left: 8.20%; width: 30%}
  #vlc-app-banner .vlc-app-android {left: 40.38%; width: 33.72%}
}
@media (min-width: 1200px) {
  #vlc-app-banner {display: block}
  /* Match the two store links to the QR panels in the supplied artwork. */
  #vlc-app-banner a {top: 21%; bottom: 20%; width: 10%}
  #vlc-app-banner .vlc-app-iphone {left: 75%}
  #vlc-app-banner .vlc-app-android {left: 85.5%}
}
body[data-vlc-home] #container > :is(#element_621,#element_623,#element_811,#element_809) {
  aspect-ratio: 1.38;
  height: auto !important;
}
body[data-vlc-home] :is(#element_621,#element_623,#element_811,#element_809) > .content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
body[data-vlc-home] :is(#element_621,#element_623,#element_811,#element_809,#vlc-home-intro #element_458) .ww_image_wrapper,
body[data-vlc-home] :is(#element_621,#element_623,#element_811,#element_809,#vlc-home-intro #element_458) .ww_image_wrapper img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  transform: none !important;
  object-fit: contain !important;
  object-position: center !important;
}

/* Place the complete portrait beside the original copy when space allows. */
#container > #vlc-home-intro {
  left: calc(50% - 50vw);
  width: 100vw;
  background: #1c1916;
}
.vlc-intro-inner {
  box-sizing: border-box;
  width: min(100%,1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: clamp(18px,3vw,44px);
  align-items: center;
  padding: clamp(16px,2vw,28px);
}
.vlc-intro-copy, .vlc-intro-facts {
  display: grid;
  gap: 12px;
  min-width: 0;
}
.vlc-intro-facts {
  width: min(100%,330px);
  gap: 6px;
}
.vlc-intro-fact {position: relative; isolation: isolate}
.vlc-intro-actions {display: flex; flex-wrap: wrap; gap: 10px}
#vlc-home-intro .w-object {
  position: relative !important;
  inset: auto !important;
  width: 100% !important;
  margin: 0 !important;
}
#vlc-home-intro [data-element-type=text], #vlc-home-intro .text_content {
  height: auto !important;
  overflow: visible;
}
#vlc-home-intro .vlc-intro-fact > [data-element-type=rectangle],
#container > [data-vlc-panel] > [data-element-type=rectangle] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: -1 !important;
  pointer-events: none;
}
#vlc-home-intro .vlc-intro-actions > .w-object {
  flex: 1 1 120px;
  max-width: 220px;
  min-height: 46px;
}
#vlc-home-intro #element_458 {
  aspect-ratio: 1;
  height: auto !important;
  align-self: center;
  background: transparent;
}
#vlc-home-intro #element_458 > .content {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
#vlc-home-intro #element_458::after,
#vlc-home-intro #element_458 .ww_image_wrapper::after {content: none}
#container > [data-vlc-panel] {isolation: isolate}
#container > [data-vlc-panel] > .text_content {box-sizing: border-box; padding: 14px !important}
html[lang=ro] body[data-vlc-home] #element_1001 .wwTextContent span {color: #ff9b76 !important}
/* Match the other three questions in the same authored FAQ section. */
#element_999 {--question-size: 22px; --answer-size: 16px; --answer-leading: 28px}
#element_999 .ww_text_wrapper :is(h3,h3 *) {font-size: var(--question-size) !important; line-height: 1.19 !important}
#element_999 .ww_text_wrapper :is(p,p *) {font-size: var(--answer-size) !important; line-height: var(--answer-leading) !important}
@media (768px <= width < 1200px) {
  #element_999 {--question-size: 27px; --answer-size: 20px; --answer-leading: 24px}
}
@media (480px <= width < 768px) {
  #element_999 {--question-size: 23px; --answer-size: 18px; --answer-leading: 22px}
}
@media (width < 480px) {
  #element_999 {--question-size: 18px; --answer-size: 15px; --answer-leading: 18px}
}
html[lang=ro] body[data-vlc-home] :is(#element_442,#element_444) .ww_button_text p {
  font-size: clamp(13px,1.8vw,16px) !important;
  line-height: 1.3 !important;
  white-space: nowrap;
}
@media (width < 1200px) {
  #vlc-home-intro #element_1008 {display:none !important}
}
@media (width >= 1200px) {
  #container > [data-vlc-panel] {align-self: stretch; margin-bottom: 0 !important}
  #vlc-home-intro #element_619 {order: -1}
}
@media (width >= 768px) {
  html[lang=ro] body[data-vlc-home] #container > #element_1011 {
    position: fixed !important;
    top: 2px !important;
    left: max(8px,calc((100vw - 1200px)/2)) !important;
    width: 80px !important;
    height: 52px !important;
  }
  #element_1011 :is(.content,.ww_image_wrapper,img) {
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: contain !important;
  }
}
@media (768px <= width < 1200px) {
  html[lang=ro] body[data-vlc-home] #container > #element_1011 {left: var(--header-inset) !important}
  #vlc-home-intro #element_962 :is(h1,h1 *) {font-size: clamp(28px,3.8vw,40px) !important; line-height: 1.17 !important}
  .vlc-page-tools {
    display: flex; align-items: center; justify-content: center;
    gap: 16px; padding: 10px; background: #151515;
  }
  .vlc-page-tools :is(#vlc-wa,.cookie-opener) {position: static !important; inset: auto !important; margin: 0}
  .vlc-page-tools .cookie-opener {width: 44px; height: 44px}
}
@media (width < 768px) {
  .vlc-intro-inner {
    max-width: 500px;
    grid-template-columns: minmax(0,1fr);
    grid-template-areas: "title" "lead" "actions" "portrait" "facts";
    gap: 12px;
    padding: 18px 16px;
  }
  .vlc-intro-copy {display: contents}
  #vlc-home-intro #element_962 {grid-area: title}
  #vlc-home-intro #element_456 {grid-area: lead}
  #vlc-home-intro #element_458 {grid-area: portrait}
  .vlc-intro-actions {grid-area: actions}
  .vlc-intro-facts {grid-area: facts; justify-self: center}
  html[lang=ro] body[data-vlc-home] :is(#element_442,#element_444) .ww_button_text p {
    font-size: clamp(14px,4vw,17px) !important;
  }
}

@media (width < 768px) {

  html[lang=en] body[data-vlc-home] #container > [data-element-type=text] > .text_content {
    box-sizing: border-box;
    overflow-wrap: break-word;
  }
  /* The exported photos use fixed negative offsets, including inside full-width frames. */
  html[lang=en] body[data-vlc-home] :is(#element_1018,#element_1046,#element_1052) {
    aspect-ratio: 3 / 2;
    height: auto !important;
  }
  html[lang=en] body[data-vlc-home] :is(#element_817,#element_1018,#element_1046,#element_1052,#element_1087)
    :is(.content,.ww_image_wrapper,img) {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    transform: none !important;
    object-fit: cover;
    object-position: center;
  }
  html[lang=en] body[data-vlc-home] :is(#element_817,#element_1087)::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg,#08090acc,#08090a70);
  }
  html[lang=en] body[data-vlc-home] #element_1012 h1,
  html[lang=en] body[data-vlc-home] #element_1012 h1 * {
    font-size: clamp(30px,8vw,40px) !important;
    line-height: 1.12 !important;
  }
  html[lang=en] body[data-vlc-home] #element_1012 h2,
  html[lang=en] body[data-vlc-home] #element_1012 h2 * {
    font-size: clamp(22px,5.8vw,30px) !important;
    line-height: 1.2 !important;
  }
  html[lang=en] body[data-vlc-home] #element_1012 .ww_text_wrapper > p {height: 10px; overflow: hidden}
  html[lang=en] body[data-vlc-home] :is(#element_1047,#element_1053) h2 > br:last-child {display:none}
  html[lang=en] body[data-vlc-home] :is(#element_828,#element_830,#element_1019,#element_1048,#element_1054)
    .ww_text_wrapper :is(p,li,p span,p strong,li span,li strong) {
    font-size: 16px !important;
    line-height: 1.5 !important;
  }
  html[lang=en] body[data-vlc-home] #element_1148 .ww_button_text_wrapper {
    display: grid;
    place-items: center;
    height: 100% !important;
    padding: 0 !important;
  }
  html[lang=en] body[data-vlc-home] #element_1148 .ww_button_text p {
    font-size: 0 !important;
    line-height: 0 !important;
  }
  html[lang=en] body[data-vlc-home] #element_1148 .ww_button_text br {display: none}
  html[lang=en] body[data-vlc-home] #element_1148 .ww_button_text span {
    font-size: 15px !important;
    line-height: 1.25 !important;
  }
  html[lang=en] body[data-vlc-home] :is(#element_1121,#element_1125,#element_1141,#element_1133)
    .ww_text_wrapper :is(p,p *) {
    font-size: 15px !important;
    line-height: 1.45 !important;
  }
}

@media (width < 768px) {
  html[lang=en] body[data-vlc-home] #element_801 .ww_button_text_wrapper {
    display: grid;
    align-items: center;
    height: 100% !important;
    padding: 0 !important;
  }
  html[lang=en] body[data-vlc-home] #element_801 .ww_button_text p:first-child,
  html[lang=en] body[data-vlc-home] #element_801 .ww_button_text p:first-child * {
    font-size: clamp(12px, 3.4vw, 15px) !important;
    line-height: 1.15 !important;
    white-space: normal;
  }
  html[lang=en] body[data-vlc-home] #element_801 .ww_button_text p:empty,
  html[lang=en] body[data-vlc-home] #element_801 .ww_button_text p:first-child ~ p {display: none}
}

html[lang=ro] body[data-vlc-home] [data-popular-routes] a {
  color:#fff;
  display:inline-block;
  max-width:100%;
  vertical-align:baseline;
}

html[lang=en] body[data-vlc-home] .popular-routes-jump {
  display:inline-block; padding:8px 0; color:#fff; text-decoration:underline; text-underline-offset:3px;
}
html[lang=en] #popular-routes {
  margin-top:20px; padding:16px; border:1px solid #dbded9; border-radius:10px;
  scroll-margin-block-start:80px; background:white; color:#202820; text-align:left;
}
html[lang=en] #popular-routes h2 {margin:0 0 8px;font:700 22px/1.2 system-ui,sans-serif}
html[lang=en] #popular-routes ul {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,218px),1fr));gap:0 14px;list-style:none;margin:0;padding:0}
html[lang=en] #popular-routes li {margin:0;padding:0;border-bottom:1px solid #e1e5df}
html[lang=en] #popular-routes a {display:block;padding:7px 0;color:#214837;text-decoration:underline;text-underline-offset:3px;font:600 15px/1.35 system-ui,sans-serif}
html[lang=en] #popular-routes small {font-size:12px;color:#464e47}
