body {
  background-color: #ffcc66;
  margin: 0;
  padding: 0;
}

#opel-container {
  width: 100%;
  margin: 0 auto;
  background-color: #ffcc66;
}

#opel-header {
  background-color: #e63500;
  width: 100%;
  padding: 8px 20px;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
}

#opel-header a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#opel-main {
  margin: 64px 32px;
  padding: 20px;
  min-height: 500px;
}

#opel-title {
  text-align: center;
  margin-bottom: 20px;
}

#opel-title h1 {
  color: #000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 32px;
  font-weight: bold;
  margin: 10px 0;
}

#opel-title h2 {
  color: #e63500;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0;
}

#opel-content {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 30px;
}

#opel-image {
  flex: 0 0 auto;
  text-align: center;
}

#opel-image img {
  max-width: 100%;
  height: auto;
  border: 1px solid #000;
  display: block;
}

#opel-image .credit {
  font-size: 11px;
  color: #000;
  margin-top: 5px;
  font-style: italic;
}

#opel-caption {
  flex: 1 1 300px;
  min-width: 0; /* Change from 300px to 0 */
  max-width: 750px;
  color: #000;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.25;
}

#opel-caption h3 {
  font-weight: bold;
  font-size: 12px;
  line-height: 1.25;
  margin: 0 0 12px 0;
}

#opel-caption p {
  margin: 0 0 15px 0;
}

/* Position the link over the background logo */
.logo-overlay-link {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 160px; /* The width of your logo/margin area */
  height: 100%; /* Fills the full height of the thumbnail bar */
  z-index: 100; /* Keeps it above the thumbnails */
  cursor: pointer;
}

#opel-thumbnails {
  border-top: 10px solid #fdb021 !important;
  background: url("images/nav/title.png") no-repeat top left;
  background-color: #fff;
  display: flex;
  flex-direction: row;
  overflow-x: hidden;
  max-height: 110px;
  white-space: nowrap;
  position: sticky;
  bottom: 0;
}

#opel-thumbnails-scroll {
  flex-grow: 1;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  margin-left: 160px;
  display: inline-flex;
  background-color: #fff;
  padding: 0 15px 10px;
  gap: 10px;
  scrollbar-color: #fab027 #fff; /* thumb track */
}

.opel-thumb {
  padding-top: 20px;
  cursor: pointer;
  flex-shrink: 0;
}

.opel-thumb:hover {
  background: url("images/nav/active.png") no-repeat top center;
}

.opel-thumb.active {
  background: url("images/nav/active.png") no-repeat top center;
}

#opel-footer {
  text-align: center;
  padding: 20px;
  font-size: 11px;
  color: #000;
  border-top: 1px solid #000;
}

/* Responsive */
@media (max-width: 768px) {
  #opel-main {
    margin: 32px 16px;
  }
  #opel-content {
    flex-direction: column;
  }
  #opel-caption {
    max-width: 100%;
  }

  #opel-title h1 {
    font-size: 24px;
  }
}

@media (max-width: 400px) {
  #opel-main {
    margin: 16px 0px;
  }
