/* Flip Flop Trucker — Homepage foundation */

:root {
  --bg: #f4f1eb;
  --surface: #ffffff;
  --surface-2: #e8e4dc;
  --text: #17191b;
  --muted: #62676a;
  --border: rgba(23, 25, 27, .13);
  --accent: #c85b31;
  --accent-contrast: #ffffff;
  --sky-1: #dbe8ef;
  --sky-2: #f1c98f;
  --horizon: #e5a267;
  --road: #45494b;
  --road-line: rgba(255,255,255,.48);
  --atmosphere: rgba(255,220,157,.70);
  --shadow: 0 22px 60px rgba(0,0,0,.12);
  --transition: 600ms ease;
}

html[data-theme="dusk"] {
  --bg: #241f2b;
  --surface: #332b38;
  --surface-2: #403344;
  --text: #fff5e9;
  --muted: #d1bfc0;
  --border: rgba(255,245,233,.15);
  --accent: #e79a65;
  --accent-contrast: #251b1d;
  --sky-1: #4a3650;
  --sky-2: #d87868;
  --horizon: #f2a263;
  --road: #302c31;
  --road-line: rgba(255,244,214,.36);
  --atmosphere: rgba(255,194,123,.78);
  --shadow: 0 22px 60px rgba(0,0,0,.30);
}

html[data-theme="night"] {
  --bg: #0d1013;
  --surface: #15191d;
  --surface-2: #1d2328;
  --text: #eef2f3;
  --muted: #aeb8bc;
  --border: rgba(238,242,243,.13);
  --accent: #a8c7d3;
  --accent-contrast: #101417;
  --sky-1: #101922;
  --sky-2: #1d2c38;
  --horizon: #314451;
  --road: #080a0c;
  --road-line: rgba(214,236,244,.32);
  --atmosphere: rgba(166,210,227,.22);
  --shadow: 0 22px 60px rgba(0,0,0,.44);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  transition: background var(--transition), color var(--transition);
}

a { color: inherit; }

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 10px 14px;
  color: var(--accent-contrast);
  background: var(--accent);
  border-radius: 0 0 8px 8px;
}

.skip-link:focus { top: 0; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 17px clamp(18px, 4vw, 58px);
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: max-content;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid var(--border);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
}

.brand strong,
.brand small { display: block; }

.brand strong {
  font-size: 12px;
  letter-spacing: .12em;
}

.brand small {
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .16em;
}

.main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
  gap: 17px;
}

.main-nav a,
.text-link {
  text-decoration: none;
}

.main-nav a {
  color: var(--muted);
  font-size: 12px;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.text-link:hover,
.text-link:focus-visible { color: var(--text); }

.theme-control {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
}

.theme-control button {
  min-height: 36px;
  padding: 7px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font: inherit;
  font-size: 10px;
  letter-spacing: .07em;
  cursor: pointer;
}

.theme-control button[aria-pressed="true"] {
  color: var(--accent-contrast);
  background: var(--accent);
  border-color: var(--accent);
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: end;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 72% 28%, var(--atmosphere), transparent 22%),
    linear-gradient(180deg, var(--sky-1) 0%, var(--sky-2) 61%, var(--horizon) 62%, var(--road) 70%, var(--road) 100%);
  transition: background var(--transition);
}

.hero::before {
  content: "";
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 27%;
  height: 100px;
  background:
    linear-gradient(174deg, transparent 0 49%, rgba(255,255,255,.10) 50% 53%, transparent 54%),
    linear-gradient(164deg, transparent 0 68%, rgba(0,0,0,.08) 69% 71%, transparent 72%);
  transform: skewY(-2deg);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 31%;
  background:
    linear-gradient(173deg, transparent 0 49%, var(--road-line) 50% 51%, transparent 52%),
    linear-gradient(187deg, transparent 0 64%, var(--road-line) 65% 66%, transparent 67%);
  opacity: .65;
  z-index: -1;
}

html[data-theme="dusk"] .hero::after {
  opacity: .5;
  background:
    repeating-linear-gradient(178deg, transparent 0 18px, rgba(255,255,255,.045) 19px 20px);
}

html[data-theme="night"] .hero::after {
  opacity: .55;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,.8) 0 1px, transparent 2px),
    radial-gradient(circle at 61% 12%, rgba(255,255,255,.65) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 24%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    linear-gradient(173deg, transparent 0 49%, var(--road-line) 50% 51%, transparent 52%);
}

.hero-atmosphere {
  position: absolute;
  width: 28vw;
  height: 28vw;
  min-width: 220px;
  min-height: 220px;
  max-width: 420px;
  max-height: 420px;
  right: 10%;
  top: 10%;
  border-radius: 50%;
  background: var(--atmosphere);
  filter: blur(18px);
  opacity: .55;
  transition: background var(--transition), opacity var(--transition);
}

html[data-theme="night"] .hero-atmosphere {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  min-width: 0;
  min-height: 0;
  top: 0;
  right: 0;
  border-radius: 0;
  filter: none;
  opacity: .45;
  background:
    radial-gradient(circle at 18% 20%, rgba(255,255,255,.7) 0 1px, transparent 2px),
    radial-gradient(circle at 70% 14%, rgba(255,255,255,.55) 0 1px, transparent 2px),
    radial-gradient(circle at 86% 30%, rgba(255,255,255,.6) 0 1px, transparent 2px);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 760px;
  padding: clamp(50px, 8vw, 100px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(64px, 11vw, 148px);
  line-height: .81;
  letter-spacing: -.065em;
  text-shadow: 0 6px 30px rgba(0,0,0,.28);
}

.hero-copy {
  max-width: 590px;
  margin: 32px 0 0;
  color: rgba(255,255,255,.91);
  font-size: clamp(16px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 29px;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .09em;
}

.button-primary {
  color: var(--accent-contrast);
  background: var(--accent);
}

.button-secondary {
  color: #fff;
  border: 1px solid rgba(255,255,255,.46);
  background: rgba(0,0,0,.13);
}

.shift-card {
  position: absolute;
  right: clamp(18px, 4vw, 58px);
  bottom: 37px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 230px;
  padding: 13px 16px;
  color: #fff;
  background: rgba(0,0,0,.23);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 13px;
  backdrop-filter: blur(13px);
}

.shift-icon { font-size: 23px; }

.shift-card strong,
.shift-card small { display: block; }

.shift-card strong {
  font-size: 11px;
  letter-spacing: .13em;
}

.shift-card small {
  color: rgba(255,255,255,.72);
  font-size: 11px;
}

.scroll-cue {
  position: absolute;
  left: clamp(22px, 4vw, 58px);
  bottom: 27px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255,255,255,.65);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .17em;
}

.scroll-cue span {
  display: block;
  width: 25px;
  height: 1px;
  background: rgba(255,255,255,.6);
}

.ticker {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  padding: 13px 20px;
  color: var(--muted);
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  transition: background var(--transition);
}

.ticker-dot { color: var(--accent); }

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(75px, 10vw, 135px) clamp(20px, 5vw, 62px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 45px;
}

.section h2,
.passenger-seat h2 {
  margin: 0;
  font-size: clamp(40px, 6.5vw, 78px);
  line-height: .95;
  letter-spacing: -.055em;
}

.text-link {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.video-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, .75fr);
  min-height: 420px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background var(--transition);
}

.video-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 380px;
  overflow: hidden;
  color: rgba(255,255,255,.72);
  background:
    linear-gradient(180deg, rgba(255,255,255,.10), transparent 44%),
    linear-gradient(170deg, #68777b 0 47%, #35393b 48% 100%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.road-lines {
  position: absolute;
  inset: 45% -10% auto;
  height: 1px;
  background: rgba(255,255,255,.4);
  transform: rotate(-7deg);
  box-shadow: 0 55px 0 rgba(255,255,255,.18);
}

.play-button {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(0,0,0,.18);
  font-size: 21px;
  padding-left: 4px;
}

.video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
}

.video-kicker {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.video-copy h3,
.mini-card h3 {
  margin: 0;
  font-size: clamp(23px, 3vw, 35px);
  line-height: 1.05;
  letter-spacing: -.035em;
}

.video-copy > p:not(.video-kicker) {
  margin: 18px 0 24px;
  color: var(--muted);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.mini-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background var(--transition);
}

.mini-image {
  position: relative;
  min-height: 190px;
  display: grid;
  place-items: end start;
  padding: 18px;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.day-placeholder {
  background: linear-gradient(165deg, #adc4cd, #d9a66f 62%, #555b5c 63%);
}

.dusk-placeholder {
  background: linear-gradient(165deg, #493850, #e18a68 62%, #393237 63%);
}

.night-placeholder {
  background: linear-gradient(165deg, #101a24, #334b5a 62%, #090b0d 63%);
}

.mini-body { padding: 23px; }

.mini-body h3 {
  margin-bottom: 22px;
  font-size: 21px;
}

.road {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: 70px;
  align-items: center;
  max-width: none;
  border-top: 1px solid var(--border);
}

.road-copy { max-width: 610px; }

.road-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.road-art {
  min-height: 400px; 
}
.store-art {
  min-height: 500px;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.70);
  background:
    linear-gradient(150deg, rgba(255,255,255,.12), transparent 35%),
    linear-gradient(170deg, var(--sky-1) 0 52%, var(--road) 53%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.live {
  max-width: none;
  padding-top: 0;
}

.live-panel {
  padding: clamp(45px, 7vw, 75px) clamp(25px, 6vw, 70px);
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.live-heading {
  max-width: 1180px;
  margin: 0 auto 38px;
}

.live-heading h2 {
  margin: 0;
}

.live-heading > p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  max-width: 1180px;
  margin: 0 auto;
}

.live-card {
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: background var(--transition);
}

.live-card-header {
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.live-platform {
  margin: 0 0 4px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .16em;
}

.live-card-header h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.1;
}

.live-frame-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #080a0c;
}

.live-frame-wrap iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.live-card-footer {
  min-height: 56px;
  padding: 14px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  border-top: 1px solid var(--border);
  font-size: 10px;
}

.live-card-footer span {
  color: var(--muted);
}

.live-card-footer a {
  color: var(--muted);
  text-decoration: none;
}

.live-card-footer a:hover,
.live-card-footer a:focus-visible {
  color: var(--text);
}

.store {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 70px;
  align-items: center;
}

.store-copy p:not(.eyebrow) {
  max-width: 540px;
  color: var(--muted);
  font-size: 18px;
  margin: 24px 0 30px;
}

.passenger-seat {
  padding: clamp(80px, 10vw, 145px) clamp(20px, 5vw, 62px);
  background:
    linear-gradient(135deg, var(--surface-2), var(--surface));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}

.passenger-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.passenger-seat h2 {
  max-width: 850px;
}

.passenger-seat p:not(.eyebrow) {
  max-width: 650px;
  margin: 25px 0 30px;
  color: var(--muted);
  font-size: 18px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px clamp(20px, 5vw, 62px);
  color: var(--muted);
  background: var(--surface);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
  transition: background var(--transition);
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .main-nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
  }

  .theme-control { margin-left: auto; }

  .video-feature,
  .road,
  .store {
    grid-template-columns: 1fr;
  }

  .road-art,
  .store-art { min-height: 380px; }

  .live-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .hero { min-height: 730px; }

  .hero-content {
    padding: 48px 22px 145px;
  }

  .hero h1 { font-size: clamp(58px, 18vw, 100px); }

  .shift-card {
    left: 22px;
    right: 22px;
    bottom: 35px;
  }

  .scroll-cue { display: none; }

  .theme-control {
    width: 100%;
    justify-content: flex-start;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .video-feature { min-height: 0; }

  .video-placeholder { min-height: 270px; }

  .video-copy { padding: 28px; }

  .mini-grid { grid-template-columns: 1fr; }

  .road-art,
  .store-art { min-height: 300px; }

  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  body,
  .hero,
  .ticker,
  .video-feature,
  .mini-card,
  .live-panel,
  .live-card,
  .passenger-seat,
  .site-footer {
    transition: none;
  }
}


/* YouTube integration */
.youtube-hero-thumb {
  position: relative;
  display: block;
  min-height: 380px;
  overflow: hidden;
  background: #202428;
}

.youtube-hero-thumb img,
.youtube-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.youtube-hero-thumb img {
  min-height: 380px;
}

.youtube-play {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  background: rgba(0,0,0,.40);
  font-size: 16px;
  padding-left: 3px;
  backdrop-filter: blur(8px);
}

.youtube-play-large {
  width: 74px;
  height: 74px;
  left: 50%;
  top: 50%;
  bottom: auto;
  transform: translate(-50%, -50%);
  font-size: 21px;
}

.youtube-card {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: background var(--transition);
}

.youtube-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-2);
}

.youtube-thumb .youtube-play {
  width: 43px;
  height: 43px;
  font-size: 13px;
}

.youtube-card-body {
  padding: 20px;
}

.youtube-card h3 {
  margin: 0;
  font-size: 19px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.youtube-card h3 a {
  text-decoration: none;
}

.youtube-card h3 a:hover,
.youtube-card h3 a:focus-visible {
  color: var(--accent);
}

.youtube-grid {
  grid-template-columns: repeat(3, 1fr);
}

.feed-updated {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: .06em;
  text-align: right;
}

/* =========================================================
   Flip Flop Trucker — Live Chat Banner
   Added without changing the existing theme system/layout.
   ========================================================= */

.live-chat-banner {
  position: relative;
  z-index: 9;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
  color: var(--text);
  transition: background var(--transition), color var(--transition);
}

.live-chat-banner[hidden] {
  display: none;
}

.live-chat-banner-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 42px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 7px 20px;
  text-decoration: none;
  font-size: 11px;
}

.live-chat-banner-link:hover .live-chat-arrow,
.live-chat-banner-link:focus-visible .live-chat-arrow {
  transform: translateX(4px);
}

.live-chat-pulse {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
  animation: fft-live-pulse 1.8s infinite;
}

.live-chat-label {
  color: var(--accent);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .14em;
  white-space: nowrap;
}

.live-chat-separator {
  color: var(--muted);
}

.live-chat-author {
  flex: 0 0 auto;
  font-size: 11px;
  white-space: nowrap;
}

.live-chat-message {
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.live-chat-arrow {
  margin-left: auto;
  color: var(--accent);
  font-size: 15px;
  transition: transform 180ms ease;
}

.live-chat-banner.fft-message-change .live-chat-message {
  animation: fft-chat-message-in 320ms ease;
}

@keyframes fft-live-pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent);
  }
  50% {
    box-shadow: 0 0 0 6px color-mix(in srgb, var(--accent) 0%, transparent);
  }
}

@keyframes fft-chat-message-in {
  from {
    opacity: .2;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 680px) {
  .live-chat-banner-link {
    gap: 8px;
    min-height: 40px;
    padding: 7px 14px;
  }

  .live-chat-message {
    flex: 1;
  }

  .live-chat-arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .live-chat-pulse {
    animation: none;
  }

  .live-chat-banner.fft-message-change .live-chat-message {
    animation: none;
  }

  .live-chat-arrow {
    transition: none;
  }
}
/* =========================================================
   Flip Flop Trucker — Road Photography Carousel
   Fixed frame: image dimensions never affect page layout.
   ========================================================= */

.road-art[data-road-photography] {
  position: relative;
  width: 100%;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  align-self: center;
  overflow: hidden;
}

.road-photo-frame {
  position: relative;
  width: 100%;
  height: 400px;
  min-height: 400px;
  max-height: 400px;
  overflow: hidden;
  background: var(--surface-2);
}

.road-photo-frame img[data-road-photo-image] {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

.road-photo-frame img[data-road-photo-image][hidden] {
  display: none;
}

.road-photo-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,.70);
  background:
    linear-gradient(150deg, rgba(255,255,255,.12), transparent 35%),
    linear-gradient(170deg, var(--sky-1) 0 52%, var(--road) 53%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .15em;
}

.road-photo-placeholder[hidden] {
  display: none;
}

.road-photo-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  padding: 55px 24px 20px;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.78));
}

.road-photo-overlay[hidden] {
  display: none;
}

.road-photo-info {
  min-width: 0;
}

.road-photo-info p {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.25;
}

.road-photo-info span {
  display: block;
  color: rgba(255,255,255,.75);
  font-size: 11px;
}

.road-photo-count {
  flex: 0 0 auto;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}

.road-photo-pause {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 5;
  min-width: 42px;
  min-height: 36px;
  padding: 7px 11px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  background: rgba(0,0,0,.35);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
  backdrop-filter: blur(8px);
}

.road-photo-pause:hover {
  background: rgba(0,0,0,.55);
}

.road-photo-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 6;
  height: 3px;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}

.road-photo-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--accent);
}

@media (max-width: 980px) {
  .road-art[data-road-photography] {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
  }

  .road-photo-frame {
    height: 380px;
    min-height: 380px;
    max-height: 380px;
  }
}

@media (max-width: 680px) {
  .road-art[data-road-photography] {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

  .road-photo-frame {
    height: 300px;
    min-height: 300px;
    max-height: 300px;
  }

  .road-photo-overlay {
    padding: 45px 16px 16px;
  }

  .road-photo-info p {
    font-size: 14px;
  }
}
