.us-tv-content-block {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

body.us-tv-content-page,
html.us-tv-content-page {
  overflow-x: hidden;
}

.us-tv-content-side-scroll-wrapper {
  position: relative;
  min-height: 100vh;
  height: auto;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  overflow-x: hidden;
  touch-action: pan-y;
  overscroll-behavior-x: none;
}

.us-tv-content-slides-container {
  display: flex;
  flex-direction: row;
  min-height: 100vh;
  height: auto;
  align-items: stretch;
  width: 100%;
  max-width: none;
  transform: translateX(0);
}

/* Intro section - Mobile first */
.us-tv-content-intro {
  min-width: 100vw;
  width: 100vw;
  height: auto;
  flex-shrink: 0;
  overflow: visible;
  padding: 20px;
  box-sizing: border-box;
  background-color: white;
}

.us-tv-content-intro-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 100%;
}

.us-tv-content-intro-lead-content {
  order: 1;
}

.us-tv-content-intro-lead-content h2 {
  font-family: 'Helvetica Now Condensed', sans-serif !important;
  font-size: 30px;
  line-height: 1;
  margin: 0 !important;
  text-align: center;
  text-transform: uppercase;
}

.us-tv-content-intro-lead-image {
  order: 2;
}

.us-tv-content-intro-lead-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
}

.us-tv-content-intro-lower-content {
  order: 3;
}

.us-tv-content-intro-lower-content p {
  font-size: 15px;
}

.us-tv-content-intro-lower-content-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.us-tv-content-intro-lower-content-buttons button {
  padding: 12px 24px;
  border: none;
  background-color: #FF5000;
  color: white;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: none;
}

.us-tv-content-intro-lower-content-buttons button::after {
  content: "›";
  font-size: 18px;
  font-weight: bold;
}

.us-tv-content-intro-lower-content-buttons button:hover {
  background-color: #E6470A;
}

/* US content section */
.us-tv-content-us {
  position: relative;
  display: flex;
  flex-direction: row;
  height: 100vh;
  flex-shrink: 0;
  width: auto;
  padding-right: 0;
  overflow: hidden;
}

.us-tv-content-us::after {
  content: "";
  flex: 0 0 0;
}

.us-tv-content-us-scene {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.us-tv-content-us-scene-segment {
  flex: 0 0 auto;
  height: 100%;
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center center;
}

.us-tv-content-us-scene-left {
  background-position: right center;
}

.us-tv-content-us-scene-middle {
  background-repeat: repeat-x;
  background-position: center center;
}

.us-tv-content-us-scene-right {
  background-position: left center;
}

.us-tv-content-us-item {
  width: calc(100vw - 40px);
  height: calc(100vh - 100px);
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  color: white;
  position: relative;
  margin: 50px 20px;
  z-index: 1;
  box-sizing: border-box;
}

.us-tv-content-us-item--intro-copy {
  width: 100vw;
  height: 100vh;
  margin: 0;
  align-items: stretch;
  background: #fff;
  overflow: hidden;
}

.us-tv-content-us-item--intro-copy .us-tv-content-intro-lower-content {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 20px;
  background: #fff;
  color: #000;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0;
}

.us-tv-content-us-item--intro-copy .us-tv-content-intro-lower-content-buttons {
  margin-top: auto;
}

.us-tv-content-us-item--intro-copy .us-tv-content-intro-lower-content p {
  font-size: 15px;
  color: #000;
}

.us-tv-content-us > .us-tv-content-us-item:first-of-type {
  width: 100vw;
  margin-left: 0;
  margin-right: 0;
  align-items: center;
}

.us-tv-content-us > .us-tv-content-us-item:first-of-type .us-tv-content-us-item-content {
  width: 100%;
  max-width: 100vw;
  padding-left: 20px;
  padding-right: 20px;
}

.us-tv-content-us-track {
  position: absolute;
  right: 0;
  bottom: 56px;
  left: 0;
  height: 2px;
  display: none;
  pointer-events: none;
  z-index: 0;
}

.us-tv-content-us-track-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  border-top: 2px dashed rgba(255, 255, 255, 0.85);
  width: 0;
}

.us-tv-content-us-track-line::before,
.us-tv-content-us-track-line::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  transform: translate(-50%, -50%);
}

.us-tv-content-us-track-line::before {
  left: 0;
}

.us-tv-content-us-track-line::after {
  right: 0;
  transform: translate(50%, -50%);
}

.us-tv-content-us-track-marker {
  position: absolute;
  bottom: 38px;
  left: 0;
  width: 130px;
  height: 58px;
  background-image: url('images/car.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  transform: translateX(-50%);
  z-index: 3;
  display: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.us-tv-content-us-track-marker.is-visible {
  opacity: 1;
}

.us-tv-content-us-item-index {
  position: absolute;
  bottom: 78px;
  z-index: 5;
}
@media(min-width: 768px){
  .us-tv-content-us-item-index {
    left: 130px;
  }
}
.us-tv-content-us-item-index:before {
  content: "";
  position: absolute;
  width: 1px;
  height: 400px;
  border-left: 2px solid white;
  left: 19px;
  bottom: 40px;
}

.us-tv-content-us-item-index-inner {background: black;border-radius: 10px;width: 40px;height: 40px;display: flex;align-items: center;justify-content: center; color: white}

.us-tv-content-us-item-index-inner:before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
  left: 16px;
  bottom: 35px;
}
.us-tv-content-us-item-content {
  min-height: 100%;
  width: 100%;
  padding: 20px;
  color: white !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.us-tv-content-us-item-content h2 {
  font-size: 40px;
  color: white !important;
}

.us-tv-content-us-item-content p {
  font-size: 15px;
}

@media(min-width: 1024px){
  .us-tv-content-us-item-content h2 {
    font-size: 50px !important;
  }
  
  .us-tv-content-us-item-content p {
    font-size: 16px !important;
  }

}
.us-tv-content-road {
  position: absolute;
  bottom: 50px;
  width: auto; /* Will be set dynamically by JavaScript */
  height: 157px;
  background-size: 250px;
  pointer-events: none; /* Ensure it doesn't interfere with scroll calculations */
  z-index: 1; /* Keep it behind other content */
}

@media(min-width: 768px){
.us-tv-content-road { 
  height: 205px;
  background-size: 300px
}
  
}

/* US Bridge Items - Mobile First */
.us-tv-content-us-item-image-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin: 0 auto;
  z-index: 100;
  box-sizing: border-box;
}

.us-tv-content-us-item-image {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  border-radius: 10px 10px 0 0;
  position: relative;
  z-index: 100;
}

.us-tv-content-us-item-overlay {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  padding: 15px;
  backdrop-filter: blur(5px);
  border-radius: 0 0 10px 10px;
  width: 100%;
  z-index: 110;
  box-sizing: border-box;
}

.us-tv-content-us-item-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 5px 0;
  line-height: 1.2;
}

.us-tv-content-us-item-location {
  font-size: 15px;
  font-weight: bold;
  color: #666;
  margin: 0;
  line-height: 1.2;
}

.us-tv-content-us-item-toggle {
  position: relative;
  width: 85%;
  height: 30px;
  background: white !important;
  border: none;
  border-radius: 0 0 10px 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: none;
  z-index: 10;
  margin: 0 auto;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.us-tv-content-us-item-toggle:hover,
.us-tv-content-us-item-toggle:focus,
.us-tv-content-us-item-toggle:active,
.us-tv-content-us-item-toggle:focus-visible {
  outline: none !important;
  background: white !important;
  box-shadow: none !important;
  border: none !important;
}

.us-tv-content-us-item-arrow {
  color: black !important;
  transition: none;
}

.us-tv-content-us-item.expanded .us-tv-content-us-item-arrow {
  transform: rotate(180deg);
}

.us-tv-content-us-item-description {
  position: relative;
  padding: 0 10px;
  width: 100%;
  box-sizing: border-box;
}

.us-tv-content-us-item-description-content {
  background: white;
  width: 85%;
  backdrop-filter: blur(5px);
  margin: auto;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.us-tv-content-us-item-description-content-inner {
  padding: 15px 15px 0 15px;
}

.us-tv-content-us-item.expanded .us-tv-content-us-item-description-content {
  max-height: 500px;
}

.us-tv-content-us-item-description-content p {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
  margin: 0;
}

/* UK section - Mobile first */
.us-tv-content-europe-hero {
  min-width: 100vw;
  width: 100vw;
  height: 100vh;
  background-image: url('images/SIXT-Europe-tunnel-title-backgorund.jpg');
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 15px;
  box-sizing: border-box;
  position: relative;
}

.us-tv-content-europe-hero-inner {
  max-width: 1400px;
  width: 100%;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.us-tv-content-europe-hero h3 {
  font-family: 'Helvetica Now Condensed', sans-serif !important;
  font-size: 54px;
  line-height: 0.95;
  color: #fff;
  margin: 0;
  text-transform: uppercase;
  max-width: 760px;
}

.us-tv-content-europe-hero-arrow {
  display: block;
  width: 40px;
  height: auto;
  margin-top: 24px;
}

.us-tv-europe-slider-wrapper {
  position: relative;
  width: 100vw;
  margin-left: 50%;
  transform: translateX(-50%);
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  max-width: 1920px;
  margin-top: 0;
  margin-bottom: 0;
  overflow-x: hidden;
}

.us-tv-europe-main-content,
.us-tv-europe-slides,
.us-tv-europe-slide,
.us-tv-europe-slide-background {
  height: 100%;
}

.us-tv-europe-main-content {
  position: relative;
  max-width: 1920px;
  margin: 0 auto;
}

.us-tv-europe-slides {
  position: relative;
  z-index: 2;
}

.us-tv-europe-slide {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  opacity: 0;
  transition: opacity 0.5s ease;
  display: none;
}

.us-tv-europe-slide.active {
  opacity: 1;
  display: block;
}

.us-tv-europe-slide-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 0;
}

.us-tv-europe-slide-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.us-tv-europe-slide-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.5) 36%, rgba(0, 0, 0, 0.72) 100%),
    linear-gradient(30deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.16) 28%);
  z-index: 2;
}

.us-tv-europe-slide-content {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 44px 24px 28px;
  box-sizing: border-box;
  color: white;
  justify-content: flex-start;
  gap: 24px;
}

.us-tv-europe-text {
  width: 100%;
  text-align: left;
  padding-top: 0;
  position: relative;
  z-index: 10;
  order: 2;
  max-width: 320px;
  margin: 0 auto;
}

.us-tv-europe-slide-number {
  font-size: 19px;
  color: white;
  margin: 0 0 2rem;
  font-weight: bold;
}

.us-tv-europe-text h2 {
  font-family: 'Helvetica Now Condensed', sans-serif !important;
  font-size: 30px;
  color: white;
  margin: 0 0 1rem;
  font-weight: bold;
}

.us-tv-europe-location {
  font-size: 16px;
  color: white;
  margin: 0 0 1rem;
}

.us-tv-europe-text .us-tv-europe-state {
  font-size: 15px;
  color: white;
  line-height: 1.4;
}

.us-tv-europe-thumbnail {
  width: min(100%, 320px);
  max-width: 320px;
  margin: 0 auto;
  transform: translateX(0);
  position: relative;
  aspect-ratio: 1 / 1;
  order: 1;
}

.us-tv-europe-thumbnail-nav {
  display: flex;
  align-items: center;
  position: relative;
  justify-content: center;
  height: 100%;
}

.us-tv-europe-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  box-shadow: 0 0 10px 0 rgb(255 255 255 / 50%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  display: block;
}

.us-tv-europe-prev,
.us-tv-europe-next {
  position: absolute;
  top: 50%;
  background: none;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  cursor: pointer;
  pointer-events: auto;
  outline: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateY(-50%);
  z-index: 2;
}

.us-tv-europe-prev:hover,
.us-tv-europe-prev:focus,
.us-tv-europe-prev:active,
.us-tv-europe-next:hover,
.us-tv-europe-next:focus,
.us-tv-europe-next:active {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  outline: none;
  transform: translateY(-50%);
}

.us-tv-europe-prev {
  left: -20px;
}

.us-tv-europe-next {
  right: -20px;
}

.us-tv-europe-prev:hover,
.us-tv-europe-prev:focus,
.us-tv-europe-prev:active {
  transform: translateY(-50%);
}

.us-tv-europe-next:hover,
.us-tv-europe-next:focus,
.us-tv-europe-next:active {
  transform: translateY(-50%);
}

.us-tv-europe-prev svg,
.us-tv-europe-next svg {
  width: 34px;
  height: 34px;
  display: block;
}

.us-tv-europe-thumbnails {
  position: absolute;
  right: -4rem;
  top: 50%;
  transform: translateY(-50%);
  display: none;
  gap: 2rem;
  padding: 0;
  z-index: 11;
}

.us-tv-europe-thumb {
  display: none;
  width: 290px;
  height: 290px;
}

.us-tv-europe-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.us-tv-europe-thumb.next {
  display: block;
  transform: scale(0.85);
  filter: brightness(0.4);
  cursor: pointer;
  box-shadow: 0 0 12px 2px rgba(0, 0, 0, 0.75);
}

/* UK Slider - Mobile first */
/* Tablet and up - 480px */
@media (min-width: 480px) {
  .us-tv-content-us-item {
    width: calc(100vw - 40px);
  }
}

/* Tablet and up - 768px */
@media (min-width: 768px) {
  .us-tv-content-side-scroll-wrapper {
    height: 100vh;
    min-height: 0;
  }

  .us-tv-content-slides-container {
    height: 100vh;
    min-height: 0;
  }

  /* Intro section desktop styles */
  .us-tv-content-intro {
    height: 100vh;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    overflow: hidden;
  }
  
  .us-tv-content-intro-inner {
    display: grid;
    grid-template-columns: 40% 50%;
    grid-template-rows: auto auto;
    gap: 40px;
    max-width: 1550px;
    margin: 0 auto;
    width: 100%;
  }
  
  .us-tv-content-intro-lead-image {
    grid-column: 1;
    grid-row: 1 / 3;
    order: unset;
  }
  
  .us-tv-content-intro-lead-content {
    grid-column: 2;
    grid-row: 1;
    order: unset;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .us-tv-content-intro-lead-content h2 {
    font-size: 50px;
  }
  
  .us-tv-content-intro-lower-content {
    grid-column: 2;
    grid-row: 2;
    order: unset;
  }

  .us-tv-content-intro-lower-content p {
    font-size: 16px;
  }

  .us-tv-content-intro-lower-content-buttons {
    flex-direction: row;
    gap: 15px;
  }

  .us-tv-content-us {
    padding-right: 0;
  }

  /* US section updates */
  .us-tv-content-us-item {
    margin: 200px 50px 103px;
    height: 610px;
    transition: width 0.4s ease;
  }

  .us-tv-content-us-item--intro-copy {
    display: none;
  }

  .us-tv-content-us > .us-tv-content-us-item:first-of-type {
    width: auto;
    margin-left: 50px;
    margin-right: 50px;
  }

  .us-tv-content-us-track {
    display: block;
    bottom: 72px;
  }

  .us-tv-content-us-track-marker {
    display: block;
    bottom: 44px;
  }

  .us-tv-content-us-item:not(:first-of-type) {
    width: 320px;
  }

  /* US Bridge Items - Desktop */
  .us-tv-content-us-item-image-container {
    position: relative;
    width: 320px;
    height: 420px;
    max-width: 320px;
    margin-left: 0;
  }

  .us-tv-content-us-item-image {
    height: 420px;
    border-radius: 10px;
  }

  .us-tv-content-us-item-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0 0 10px 10px;
    background: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .us-tv-content-us-item-title {
    font-size: 20px;
  }

  .us-tv-content-us-item-location {
    font-size: 16px;
  }

  .us-tv-content-us-item-index {
    bottom: 0;
  }

  .us-tv-content-us-item-toggle {
    position: absolute;
    top: 10px;
    right: -20px;
    left: auto;
    width: 30px;
    height: 380px;
    border-radius: 0 10px 10px 0;
    padding: 0;
  }

  .us-tv-content-us-item-toggle:hover,
  .us-tv-content-us-item-toggle:focus,
  .us-tv-content-us-item-toggle:active,
  .us-tv-content-us-item-toggle:focus-visible {
    outline: none !important;
    background: white !important;
    border: none !important;
  }

  .us-tv-content-us-item-arrow {
    transform: rotate(-90deg);
    color: black !important;
    transition: transform 0.3s ease;
  }

  .us-tv-content-us-item.expanded .us-tv-content-us-item-arrow {
    transform: rotate(90deg);
  }

  .us-tv-content-us-item-description {
    position: absolute;
    top: 0;
    right: -10px;
    width: 320px;
    transition: right 0.4s ease;
  }

  .us-tv-content-us-item.expanded .us-tv-content-us-item-description {
    right: -300px;
  }

  .us-tv-content-us-item-description-content {
    display: flex;
    align-items: center;
    width: 300px;
    max-height: none;
    margin-top: 10px;
    height: 400px;
  }

  .us-tv-content-us-item.expanded {
    width: 680px;
  }

  .us-tv-content-us-item-description-content p {
    font-size: 16px;
  }

  /* UK section updates */
  .us-tv-content-europe-hero {
    padding: 40px 20px;
  }

  .us-tv-content-europe-hero h3 {
    font-size: 56px !important;
    max-width: 700px;
  }

  .us-tv-europe-slider-wrapper {
    height: 75vh;
    min-height: 700px;
  }

  .us-tv-europe-slide-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 4rem;
  }

  .us-tv-europe-text {
    flex: 0 1 50%;
    padding-top: 0;
    max-width: 580px;
    margin-left: 40px;
    margin-right: 0;
    order: 1;
  }

  .us-tv-europe-text h2 {
    font-size: 45px !important;
  }

  .us-tv-europe-state {
    font-size: 16px !important;
  }

  .us-tv-europe-thumbnail {
    width: auto;
    max-width: none;
    margin: 0;
    transform: translateX(-140px);
    aspect-ratio: auto;
    order: 2;
  }

  .us-tv-europe-thumbnail img {
    width: 300px;
    height: 300px;
  }

  .us-tv-europe-slide-number {
    font-size: 30px;
  }

  .us-tv-europe-thumbnails {
    display: flex;
  }
}

/* Medium-height desktop screens */
@media (min-width: 768px) and (min-height: 720px) and (max-height: 900px) {
  .us-tv-content-europe-hero h3 {
    max-width: 760px !important;
  }


  .us-tv-content-us-item {
    margin: 90px 50px 100px !important;
    height: calc(100vh - 160px) !important;
  }
}

/* Desktop and up - 1024px */
@media (min-width: 1024px) {
  /* Desktop: 5-item layout */
  .us-tv-europe-thumbnail {
    transform: translateX(-250px);
  }

  .us-tv-europe-thumbnail img {
    width: 440px;
    height: 440px;
  }
}
