:root {
  --bg: #f5f7fb;
  --text: #1b1f2a;
  --card: #ffffff;
  --border: #d9e0ee;
  --accent: #0a66c2;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  position: relative;
  z-index: 3;
  
  margin: 0 auto;
}

.background {
  position: fixed;
  top: 0px;
  left: 0px;
  width: 100vw;
  height: 100vh;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
  z-index: -1;
}

body.page-location .content,
.location-map-panel,
#dealer-map {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center bottom;
}


h1 {
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1.25rem;
}

button {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
}

button:hover {
  filter: brightness(1.05);
}


.triangle {
  pointer-events: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  
}

.rectangle {
  pointer-events: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0px;
  left: 0px;
  background: rgba(53, 73, 83, 0.8);

  clip-path: polygon(35% 0, 45% 0, 45% 100%, 0 100%);
  z-index: 2;
}

.tl {
  top: 0px;
  left: 0px;
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(0 0, 30% 0, 0 100%);
z-index: 3;
}

.tls {
  top: 0px;
  left: 0px;
  background: rgba(44, 61, 70, 0.8);
  clip-path: polygon(30% 0, 35% 0, 0 100%);
  z-index: 2;
}

.bl {
  top: 0px;
  left: 0px;
  background: rgba(30, 41, 48, 0.9);

  clip-path: polygon(100% 40%, 100% 100%, 70% 100%);
  z-index: 9;

}

.bls {
  top: 0px;
  right: 0px;
  background: rgba(44, 61, 70, 0.5);
  clip-path: polygon(100% 40%, 75% 100%, 70% 100%);
  z-index: 8;
}

#logo {
  width: 80%;
  top: 20px;
  left: 20px;
}

.site-header {
  padding: 24px 0 0 24px ;
  width: min(320px, 28vw);
  z-index: 4;
  position: relative;
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.site-header__brand {
  display: block;
}

.site-nav {
  margin-top: 24px;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0 0 0 20px;
}

.site-nav__list li + li {
  margin-top: 8px;
}

.site-nav__list li a {
  color: #d21f39;
  text-decoration: none;
  text-transform: uppercase;
  padding: 10px 0px;
  display: block;
  letter-spacing: 0.06em;
}

.site-nav__list li a:hover {
  font-weight: bold;
}

.site-nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(16, 24, 30, 0.72);
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 16px 30px rgba(0, 0, 0, 0.2);
}

.site-nav-toggle span {
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header--menu-open .site-nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header--menu-open .site-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header--menu-open .site-nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

body.nav-open {
  overflow: hidden;
}

.site-header--menu-open .site-nav__list li a {
  color: #ffffff;
}

#footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px 10px 40px;
  z-index: 9;
  pointer-events: none;
}

#footer-left {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* pushes content to bottom */
  pointer-events: auto;
}

#footer-left p {
  color: #fff;
  margin: 0;
  font-size: 14px;
}

#footer-left a {
  color: #fff;
}

#footer-right {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  /* bottom */
  align-items: flex-end;
  /* right */
  text-align: right;
  pointer-events: auto;
}

#footer-right img {
  display: block;
  width: 90%;
  float: right;
  margin: 0px;
}

#footer-right p {
  color: #fff;
  margin: 0 0 20px 0;
  font-size: 24px;
  font-weight: bold;
}

#footer-right span {
  color: #d21f39;
}

.cookie-banner {
  display: none;
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 19;
}

.cookie-banner.is-open {
  display: block;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(16, 24, 30, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
}

.cookie-banner__inner p {
  margin: 0;
  text-shadow: none;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 20;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(8, 12, 16, 0.58);
}

.cookie-consent.is-open {
  display: flex;
}

.cookie-consent__panel {
  position: relative;
  width: min(460px, 100%);
  max-height: 90vh;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: rgba(16, 24, 30, 0.96);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
  padding: 20px 20px 18px;
  overflow-y: auto;
}

.cookie-consent__panel h2 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
  text-align: left;
  color: #ffffff;
}

.cookie-consent__panel p {
  margin: 0 0 16px;
  text-align: left;
  text-shadow: none;
  color: #ffffff;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.cookie-consent__section + .cookie-consent__section {
  margin-top: 18px;
}

.cookie-consent__section h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.2;
  text-align: left;
  color: #ffffff;
}

.cookie-consent__toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-weight: 600;
  color: #ffffff;
}

.cookie-consent__toggle input {
  width: 18px;
  height: 18px;
}

.cookie-consent__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  line-height: 1;
}

.cookie-consent__button {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.7rem 1rem;
}

.cookie-consent__button--primary {
  background: #d21f39;
  border-color: #d21f39;
}

body.cookie-consent-open #cookie-settings-trigger {
  text-decoration: underline;
}



.clear-fix {
  clear: both;
}

.panel {
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(5px);
  width: 100vw;
  height: 100vh;
  position: fixed;
  top: 0px;
  left: 0px;
  z-index: 1;
}

.herum.panel {
  backdrop-filter: unset;
}


body.page-location .content {
  width: 240px;
  margin: 0;
  position: relative;
}
body.page-home .content,
body.page-horum .content {
  width: min(620px, 100%);
  margin: 80px 0 160px;
  position: relative;
}

h1,
h2,
p,
li {
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}
#header li,
.site-nav__list li {text-shadow: none;}

h2{text-align: center; line-height: 26px; font-size: 24px; margin-bottom: 30px;}

body.page-home .content h1,
body.page-home .content p,
body.page-home .content li,
body.page-horum .content p,
body.page-horum .content li {
  max-width: 65ch;
}

body.page-home .content a {
  color: #ffffff;
}

.content ul{padding-left:20px;}

.leftpanel {
  width: 50%;
  float: left;
  position: relative;
}

.rightpanel {
  width: 50%;
  max-width: 250px;
  float: left;
  position: relative;
}

body.page-horum .content .leftpanel {
  width: 60%;
  
}

body.page-horum .content .leftpanel p {
 
  font-size: 15px;
  text-align: center;
}
body.page-horum .content .rightpanel {
  width: 40%;
  text-align: right;

}
body.page-horum .content .rightpanel img{
  width: 80%;
  float: right;
}


.clear {
  clear: both;
}

#circle-white {
  width: 100%;
  height: auto;
  margin-bottom: -100%;
  background: rgba(255, 255, 255, 1);
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  vertical-align: middle;
  background-image: url('../images/home_van.jpg');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.yellow {
  color: #D6932A !important;
}

.button {
  text-align: center;
  margin-top: 20px;
}

.button a {
  background: #D6932A;
  color: #ffffff !important;
  border: 0;
  border-radius: 0.5rem;
  padding: 0.65rem 1rem;
  cursor: pointer;
  font-size: 16px !important;
  font-weight: bold;
  display: inline-block;
  line-height: 16px;
  text-align: center;
  margin: 10px auto;
  text-decoration: none;

}

.button a span {
  display: block;
  font-size: 14px !important;
  font-weight: normal;
}


.button:hover {
  filter: brightness(1.05);
}

#checkspanel {
  max-width: 600px;
  margin: 20px auto;
}

.checks {
  width: 25%;
  float: left;
  color: #D6932A;
  background: url("../images/tickbox.png") no-repeat top center;
  background-size: 40px;
  padding: 50px 20px 0 20px;
  margin-bottom: 10px;
 font-size: 12px;; 
  text-align: center;
}

.horum-logo {
  width: 300px;
  margin: 0px auto 20px auto;

}


.location-controls {
  display: flex;
  margin-top: 200px;
}
.location-controls,
.location-list-panel{max-width:200px; text-shadow: none;font-size:14px;}

.location-control {
  display: block;
  min-width: 0;
  flex: 1 1 0;
}

.location-control span {
  display: block;
  margin-bottom: 8px;
  color: #fff;
  font-weight: 600;
  
}

.location-control input{

  width: 100%;
  border: 0px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255,1);
  color: #fff;
  padding: 8px 2px;
  outline: none;
  font-size: 16px;
  
}

#dealer-search {
  padding-right: 48px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 2px center;
  background-size: 18px 18px;
}

#dealer-search:focus {
  background-color: rgba(16, 24, 30, 0.72);
}

.location-control input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.location-control input:focus{
  background:rgba(0, 0, 0, 0.45)
  
}




.location-list-panel {
  flex: 0 0 360px;
  max-height: 50vh;
  overflow-y: auto;

  /* Firefox */
  scrollbar-width: thin;
  scrollbar-color: #ffffff #2a2a2a; /* thumb track */
}

/* Chrome, Edge, Safari */
.location-list-panel::-webkit-scrollbar {
  width: 8px;
}

.location-list-panel::-webkit-scrollbar-track {
  background: #2a2a2a; /* dark track (adjust if needed) */
}

.location-list-panel::-webkit-scrollbar-thumb {
  background-color: #ffffff; /* white scrollbar */
  border-radius: 6px;
}

.location-list-panel::-webkit-scrollbar-thumb:hover {
  background-color: #cccccc; /* slight hover effect */
}

#dealer-map {
  width: 50%;
  min-height: 68vh;
  
  overflow: hidden;
  
}

.dealer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}


.dealer-card {
  padding: 2px;
  margin-bottom: 20px;

  cursor: pointer;
  
}

.dealer-card:hover {
  
  background: rgba(255, 255, 255, 0.11);
  
}



.dealer-card h3,
.dealer-card p {
  margin: 0;
  text-align: left;
  text-shadow: none;
}

.dealer-card h3 {
  font-size: 14px;
  line-height: 1.2;
  
}

.dealer-address,
.dealer-phone,
.dealer-note {
  font-size: 14px;
  line-height: 1.5;
}

.dealer-phone {
  
}

.dealer-note {
  margin-top: 8px !important;
  color: #ffd6d6;
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  background: #1d2a31;
  color: #fff;
}

.leaflet-popup-content {
  margin: 12px 14px;
  line-height: 1.45;
}

.leaflet-popup-content strong {
  color: #d21f39;
}

.leaflet-popup-content a {
  color: #ffffff;
  text-decoration: underline;
}

@media (min-width: 1300px) {
  .container {
    --header-col: 24%;
    display: grid;
    grid-template-columns: var(--header-col) minmax(0, 1fr);
    column-gap: 48px;
    align-items: start;
    
    margin: 0 auto;
    min-height: 100vh;
    padding: 24px 0 160px;
    pointer-events: none;
  }

  .site-header {
    position: sticky;
    top: 24px;
    left: auto;
    width: auto;
    padding-top: 0;
  }

  .site-header,
  body.page-home .content,
  body.page-horum .content,
  body.page-location .content {
    pointer-events: auto;
  }

  body.page-home .container,
  body.page-horum .container {
    align-items: center;
    min-height: 100vh;
    padding: 0;
  }

  body.page-location .container {
    padding: 0;
  }

  body.page-home .site-header,
  body.page-horum .site-header {
    align-self: start;
  }

  body.page-home .content,
  body.page-horum .content {
    position: relative;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    margin: 0;
    overflow: visible;
    padding-right: 0;
    z-index: 4;
    justify-self: stretch;
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  body.page-home .content-inner,
  body.page-horum .content-inner,
  body.page-location .content-inner {
    width: min(900px, 100%);
    margin: 0 auto;
    position: relative;
  }

  body.page-horum .content-inner {
    left: -10%;
  }

  body.page-location .content {
    position: relative;
    width: min(18%, 100%);
    min-height: 100vh;
    max-height: 800px;
    margin: 0;
    padding: 0;
    z-index: 4;
    display: flex;
    align-items: center;
  }

  body.page-location .bl{
    z-index: 9;
  }
  body.page-location .bls {
    z-index: 8;
  }

  .location-layout,
  .location-map-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 55vw;
    height: 100vh;
    z-index: 1;
    pointer-events: auto;
  }

  #dealer-map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
    pointer-events: auto;
  }

  .location-controls {
    margin-top: 0;
  }

  .location-controls,
  .location-list-panel {
    max-width: none;
  }

  .location-list-panel {
    max-height: calc(100vh - 330px);
  }

  body.legal-page .tl {
    clip-path: polygon(0 0, 100% 0, 100% 60px, 0 80px);
    position: absolute;
  }

  body.legal-page .tls {
    clip-path: polygon(0 80px, 100% 60px, 0 100px);
    position: absolute;
  }

  body.legal-page .bl,
  body.legal-page .bls {
    display: none;
  }

  body.legal-page .container {
    width: calc(100% - 32px);
    display: block;
    min-height: 0;
    padding: 0;
    pointer-events: auto;
  }

  body.legal-page .site-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding-top: 4px;
  }

  body.legal-page .site-header__bar {
    position: relative;
    z-index: 5;
  }

  body.legal-page .site-nav-toggle {
    display: inline-flex;
  }

  body.legal-page .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 6;
    margin-top: 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(16, 24, 30, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  body.legal-page .site-nav[hidden] {
    display: none;
  }

  body.legal-page .site-header--menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  body.legal-page .site-nav__list {
    padding: 0;
  }

  body.legal-page .site-nav__list li a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  body.legal-page .site-nav__list li:last-child a {
    border-bottom: 0;
  }

  body.legal-page #logo {
    width: 220px;
    max-width: 100%;
  }

  body.legal-page .content {
    position: relative;
    max-width: 900px;
    margin: 120px auto;
    width: 100%;
  }

  body.legal-page .content,
  body.legal-page .content p,
  body.legal-page .content li,
  body.legal-page .content td,
  body.legal-page .content th,
  body.legal-page .content a {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  body.legal-page .content h1,
  body.legal-page .content h2,
  body.legal-page .content h3,
  body.legal-page .content h4,
  body.legal-page .content h5,
  body.legal-page .content h6 {
    color: #ffffff !important;
  }

  body.legal-page .content h1,
  body.legal-page .content h2,
  body.legal-page .content h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
  }

  body.legal-page .content h1:first-child,
  body.legal-page .content h2:first-child,
  body.legal-page .content h3:first-child {
    margin-top: 0;
  }

  body.legal-page .content p,
  body.legal-page .content ul,
  body.legal-page .content ol,
  body.legal-page .content table {
    margin-bottom: 1.25rem;
  }

  body.legal-page .content li + li {
    margin-top: 0.45rem;
  }

  body.legal-page .content table {
    width: 100%;
    border-collapse: collapse;
  }

  body.legal-page .content td,
  body.legal-page .content th {
    padding: 0.65rem 0.75rem;
    vertical-align: top;
  }

  body.legal-page #footer {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 16px 20px;
    background-color: #1d2a31;
  }

  body.legal-page #footer-right {
    align-items: flex-start;
    text-align: left;
  }

  body.legal-page #footer-right img {
    width: 260px;
    max-width: 100%;
  }
}

@media (max-width: 1299px) and (orientation: landscape) {
  .bl {
    clip-path: polygon(100% 32%, 100% 100%, 58% 100%);
  }

  .bls {
    clip-path: polygon(100% 32%, 66% 100%, 58% 100%);
  }

  body.page-location .bl {
    clip-path: polygon(100% 40%, 100% 100%, 70% 100%);
  }

  body.page-location .bls {
    clip-path: polygon(100% 40%, 75% 100%, 70% 100%);
  }
}

@media (max-width: 1299px) {
  .rectangle {
    display: none;
  }

  body.page-location {
    background: #354953;
  }

  .tl {
    clip-path: polygon(0 0, 100% 0, 100% 60px, 0 80px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
  }

  .tls {
    clip-path: polygon(0 80px, 100% 60px, 0 100px);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
  }

  .bl,
  .bls {
    display: none;
  }

  body.page-location .content,
  .location-map-panel,
  #dealer-map {
    position: relative;
    top: auto;
    right: auto;
    height: auto;
  }

  .location-layout,
  .location-map-panel,
  #dealer-map {
    z-index: 1;
  }

  .container {
    width: calc(100% - 32px);
    display: block;
    min-height: 0;
    padding: 0;
    pointer-events: auto;
  }

  

  body.page-home .content,
  body.page-horum .content,
  body.page-location .content,
  body.legal-page .content {
    position: relative;
    left: auto;
    top: auto;
    margin: 36px auto 120px;
    max-height: none;
    overflow: visible;
    padding-right: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
  }

  body.page-home .content-inner,
  body.page-horum .content-inner,
  body.page-location .content-inner {
    margin-left: auto;
    margin-right: auto;
  }

  body.page-horum .content {
    margin-top: 60px;
  }

  .site-header {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    padding-top: 4px;
    z-index: 10;
  }

  .site-header__bar {
    position: relative;
    z-index: 11;
  }

  .site-nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    right: 0;
    z-index: 12;
    margin-top: 0;
    padding: 14px 18px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 20px;
    background: rgba(16, 24, 30, 0.94);
    backdrop-filter: blur(10px);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav[hidden] {
    display: none;
  }

  .site-header--menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav__list {
    padding: 0;
  }

  .site-nav__list li a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .site-nav__list li:last-child a {
    border-bottom: 0;
  }

  #logo {
    width: 220px;
    max-width: 100%;
  }

  .leftpanel,
  .rightpanel,
  body.page-horum .content .leftpanel,
  body.page-horum .content .rightpanel {
    width: 100%;
    float: none;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }

  body.page-horum .content .rightpanel img {
    width: min(360px, 100%);
    float: none;
    margin: 0 auto;
    display: block;
  }

  body.page-horum .content p {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  body.page-home .content p,
  body.page-home .content .leftpanel,
  body.page-home .content .rightpanel {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  body.page-home .content ul {
    display: inline-block;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
  }

  #circle-white {
    max-width: 360px;
    margin: 32px auto 0;
  }

  .location-controls,
  .location-list-panel {
    max-width: none;
  }

  .location-controls {
    margin-top: 48px;
  }

  .location-layout {
    position: static;
    width: auto;
    height: auto;
  }

  .location-map-panel,
  .location-list-panel {
    width: auto;
    padding: 12px 0;
    border-radius: 14px;
  }

  #dealer-map {
    width: 100%;
    min-height: 340px;
    margin-top:40px;
  }

  #footer {
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 24px 16px 20px;
    background-color: #1d2a31;
  }

  #footer-right img {
    width: 260px;
    max-width: 100%;
  }

  #footer-right {
    align-items: flex-start;
    text-align: center;
  }
  #footer p{
    color: #ffffff !important;
    text-shadow: none !important;
  }

  #footer-left a {
    color: #ffffff !important;
  }

  .cookie-consent {
    padding: 12px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }

  .cookie-banner__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .cookie-banner__actions {
    width: 100%;
    justify-content: flex-start;
  }

  #checkspanel {
    margin: 36px auto 0;
  }
}

@media (max-width: 640px) {
  .container {
    width: calc(100% - 24px);
  }

  body.page-home .content,
  body.page-horum .content,
  body.page-location .content,
  body.legal-page .content {
    margin-top:60px;
    margin-bottom: 20px;
  }

  body.page-location #dealer-map {
    min-height: 33vh;
  }

  h2 {
    font-size: 22px;
    line-height: 1.25;
  }

  .location-control input {
    font-size: 16px;
  }

  .dealer-card {
    margin-bottom: 16px;
  }

  .checks {
    width: 100%;
    min-height: 0;
    padding-left: 12px;
    padding-right: 12px;
  }

  #footer-right p {
    font-size: 18px;
  }
}
