/* InWeb Model Page — Bootstrap 3 grid from theme */

.mtl-model-page.auto-page-content {
  padding: 0 0 80px !important;
  overflow-x: hidden;
}

.mtl-model-page ul,
.mtl-model-page ul li {
  list-style: none !important;
  margin: 0 !important;
}

/* Hero slider — desktop 16:9 promo stills (RevSlider-like), mobile portrait asset */
.mtl-hero {
  position: relative;
  width: 100%;
  margin: 0 0 24px;
  overflow: hidden;
  background: #111;
}

/* Full-bleed without 100vw scrollbar jump */
.mtl-model-page .mtl-hero,
.mtl-home-page .mtl-hero {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.mtl-hero__slide {
  display: none;
  position: relative;
  aspect-ratio: 16 / 9;
  background-image: var(--mtl-hero-img);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.mtl-hero__slide.is-active {
  display: block;
}

.mtl-hero__video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  background: #111;
}

.mtl-hero__slide.has-video {
  background-image: none;
}

/* Promo graphics already have type baked in — keep CTA only */
.mtl-hero__slide.is-graphic .mtl-hero__overlay::before {
  opacity: 0;
  background: none;
}

.mtl-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: stretch;
  padding: 40px 0 64px;
  color: #fff;
}

.mtl-hero__overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: var(--mtl-overlay, 1);
  /* Lighter scrim — closer to old RevSlider banners */
  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.55) 0%,
      rgba(0, 0, 0, 0.28) 42%,
      rgba(0, 0, 0, 0.1) 70%,
      rgba(0, 0, 0, 0.06) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.18) 0%,
      transparent 32%,
      transparent 58%,
      rgba(0, 0, 0, 0.38) 100%
    );
}

.mtl-hero__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 0;
  padding: 24px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mtl-hero__copy {
  max-width: 900px;
}

/* Hero enter — text from the side (RevSlider / Sportage style) */
.mtl-hero__kicker,
.mtl-hero__title,
.mtl-hero__price,
.mtl-hero__actions {
  opacity: 0;
  will-change: transform, opacity;
}

.mtl-hero__kicker {
  position: absolute;
  top: 28px;
  left: 0;
  right: 0;
  z-index: 2;
  margin: 0;
  padding: 0 20px;
  text-align: center;
  color: #fff !important;
  font-size: 32px !important;
  font-weight: 500;
  line-height: 1.25;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.mtl-hero__actions {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 0;
  padding: 0 24px;
  z-index: 2;
}

/* Staggered side-enter like Sportage captions */
.mtl-hero__slide.is-active .mtl-hero__kicker {
  animation: mtlHeroInLeft 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.06s forwards;
}

.mtl-hero__slide.is-active .mtl-hero__title {
  animation: mtlHeroInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.18s forwards;
}

.mtl-hero__slide.is-active .mtl-hero__price {
  animation: mtlHeroInLeft 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.3s forwards;
}

.mtl-hero__slide.is-active .mtl-hero__actions {
  animation: mtlHeroInLeft 1.05s cubic-bezier(0.22, 1, 0.36, 1) 0.42s forwards;
}

/* Graphic promos (baked text in image) — wipe in from the left so copy “enters” */
.mtl-hero__slide.is-graphic {
  clip-path: inset(0 100% 0 0);
}

.mtl-hero__slide.is-graphic.is-active {
  animation: mtlHeroWipeIn 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.mtl-hero__slide.is-graphic.is-active .mtl-hero__actions {
  animation: mtlHeroInLeft 0.95s cubic-bezier(0.22, 1, 0.36, 1) 0.55s forwards;
}

@keyframes mtlHeroWipeIn {
  from {
    clip-path: inset(0 100% 0 0);
  }
  to {
    clip-path: inset(0 0 0 0);
  }
}

@keyframes mtlHeroInLeft {
  from {
    opacity: 0;
    transform: translateX(-72px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes mtlHeroInRight {
  from {
    opacity: 0;
    transform: translateX(72px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Scroll reveal — fade up */
[data-mtl-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

[data-mtl-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .mtl-hero__kicker,
  .mtl-hero__title,
  .mtl-hero__price,
  .mtl-hero__actions,
  .mtl-hero__slide.is-active .mtl-hero__kicker,
  .mtl-hero__slide.is-active .mtl-hero__title,
  .mtl-hero__slide.is-active .mtl-hero__price,
  .mtl-hero__slide.is-active .mtl-hero__actions,
  .mtl-hero__slide.is-graphic,
  .mtl-hero__slide.is-graphic.is-active,
  [data-mtl-reveal] {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    animation: none !important;
    transition: none !important;
  }

  .mtl-card__inner {
    transition: none;
    transform: none !important;
  }

  .mtl-card__front,
  .mtl-card__back {
    transform: none !important;
    visibility: visible !important;
  }

  .mtl-card__back {
    opacity: 0;
    pointer-events: none;
  }

  .mtl-card:hover .mtl-card__front,
  .mtl-card:focus-within .mtl-card__front,
  .mtl-card.is-flipped .mtl-card__front {
    opacity: 0;
    visibility: hidden;
  }

  .mtl-card:hover .mtl-card__back,
  .mtl-card:focus-within .mtl-card__back,
  .mtl-card.is-flipped .mtl-card__back {
    opacity: 1;
    z-index: 3;
    pointer-events: auto;
  }
}

.mtl-model-page .mtl-hero .mtl-hero__kicker,
.mtl-model-page .mtl-hero .mtl-hero__title,
.mtl-model-page .mtl-hero .mtl-hero__price {
  font-size: 32px !important;
  line-height: 1.2 !important;
}

.mtl-hero__price {
  margin: 0 0 12px;
  color: #fff !important;
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.85);
}

.mtl-hero__title {
  margin: 0 0 18px;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.9);
}

.mtl-btn {
  display: inline-block;
  padding: 12px 40px;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 500;
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.mtl-btn--primary {
  color: #fff !important;
  background: linear-gradient(181deg, #c50a2c 0%, #c50b2d 100%);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.35);
}

.mtl-btn--primary:hover,
.mtl-btn--primary:focus {
  background: #000;
  color: #fff !important;
}

.mtl-btn--ghost {
  color: #fff !important;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0.25);
}

.mtl-btn--ghost:hover {
  background: #fff;
  color: #c50a2c !important;
}

.mtl-hero__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  border: 0;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.mtl-hero__nav--prev { left: 16px; }
.mtl-hero__nav--next { right: 16px; }

.mtl-hero__dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  z-index: 3;
  text-align: center;
  pointer-events: none;
}

.mtl-hero__dots button {
  width: 10px;
  height: 10px;
  margin: 0 4px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  pointer-events: auto;
}

.mtl-hero__dots button.is-active {
  background: #c50a2c;
}

/* Jump nav — reuse child theme .link_to styles */
.mtl-jump {
  margin: 10px 0 40px;
  display: flex;
  flex-wrap: wrap;
}

.mtl-jump > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.mtl-jump .link_to {
  cursor: pointer;
  flex: 1;
  display: flex;
  width: 100%;
}

.mtl-jump .link_to p {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 52px;
  margin: 0 !important;
  padding: 14px 16px 14px 48px !important;
  line-height: 1.25;
  text-align: center;
  box-sizing: border-box;
}

.mtl-jump .gallery_link p:before,
.mtl-jump .specification_link p:before,
.mtl-jump .test_link p:before,
.mtl-jump .warranty_link p:before {
  display: block !important;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  margin-top: 0;
}

.mtl-intro {
  margin-bottom: 40px;
}

.mtl-section {
  margin: 40px 0;
  clear: both;
  overflow: hidden;
}

.mtl-section::after,
.mtl-gallery::after,
.mtl-cards::after {
  content: "";
  display: table;
  clear: both;
}

.mtl-highlight-block {
  margin: 28px 0 36px;
}

.mtl-info-cards {
  margin-left: -15px;
  margin-right: -15px;
}

.mtl-info-card {
  margin-bottom: 28px;
  text-align: left;
  overflow: hidden;
}

.mtl-info-card__media {
  margin-bottom: 14px;
  overflow: hidden;
}

.mtl-info-card__media img {
  display: block;
  width: 100%;
  height: auto;
}

.mtl-model-page .mtl-info-card__title,
.mtl-info-cards .mtl-info-card__title,
.autoshowroom-blog-body h3.mtl-info-card__title,
h3.mtl-info-card__title {
  margin: 0 0 10px;
  font-size: 14px !important;
  font-weight: 700;
  color: #333;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

@media (max-width: 767px) {
  .mtl-model-page .mtl-info-card__title,
  .mtl-info-cards .mtl-info-card__title,
  .autoshowroom-blog-body h3.mtl-info-card__title,
  h3.mtl-info-card__title {
    white-space: normal;
    font-size: 14px !important;
    overflow: visible;
    text-overflow: clip;
  }
}

.mtl-info-card__text {
  color: #666;
  font-size: 14px;
  line-height: 1.55;
}

.mtl-info-card__text p:last-child {
  margin-bottom: 0;
}

.mtl-spec-block {
  margin-bottom: 40px;
}

.mtl-spec-block:last-child {
  margin-bottom: 0;
}

.mtl-gallery-block {
  margin-bottom: 48px;
}

.mtl-gallery-block:last-child {
  margin-bottom: 0;
}

/* Gallery — grid thumbs + lightbox */
.mtl-model-page .single-car-gallery .light-gallery-item {
  max-height: none !important;
  overflow: hidden !important;
  padding: 15px;
  cursor: pointer;
  margin-bottom: 10px;
}

.mtl-model-page .single-car-gallery .light-thumb {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

/* Hover cards — slow 3D flip */
.mtl-cards {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.mtl-cards > [class*="col-"] {
  display: flex;
  flex-direction: column;
}

.mtl-card {
  margin-bottom: 20px;
  perspective: 1400px;
  width: 100%;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mtl-card__inner {
  position: relative;
  flex: 1 1 auto;
  min-height: 400px;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.mtl-card__front,
.mtl-card__back {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
}

.mtl-card__front {
  background-color: #222;
  background-size: cover;
  background-position: center;
  transform: rotateY(0deg);
  z-index: 2;
  transition: visibility 0s linear 0s;
}

.mtl-card__front h3 {
  color: #fff;
  text-shadow: 1px 1px 2px black;
  margin: 0;
}

.mtl-card__back {
  background: #ebebeb;
  transform: rotateY(180deg);
  overflow: auto;
  z-index: 1;
  -webkit-font-smoothing: antialiased;
}

.mtl-card__back h3 {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0 0 10px;
  color: #333;
  text-align: center;
}

.mtl-card__text {
  width: 100%;
  flex: 0 1 auto;
  text-align: center;
  overflow: auto;
  color: #444;
}

.mtl-card__text p,
.mtl-card__text ul,
.mtl-card__text ol {
  margin: 0 0 10px;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.mtl-card__text ul,
.mtl-card__text ol {
  padding-left: 0;
  list-style-position: inside;
}

.mtl-card__text p:last-child,
.mtl-card__text ul:last-child,
.mtl-card__text ol:last-child {
  margin-bottom: 0;
}

.mtl-card:hover .mtl-card__inner,
.mtl-card:focus-within .mtl-card__inner,
.mtl-card.is-flipped .mtl-card__inner {
  transform: rotateY(180deg);
}

.mtl-card:hover .mtl-card__front,
.mtl-card:focus-within .mtl-card__front,
.mtl-card.is-flipped .mtl-card__front {
  pointer-events: none;
  visibility: hidden;
  transition-delay: 0.45s;
}

.mtl-spec-image {
  margin: 20px 0 40px;
}

.mtl-form span.wpcf7-list-item {
  display: block;
}

.mtl-form .termin {
  margin-bottom: 5px !important;
}

.mtl-form .checkbox {
  margin-top: 0 !important;
}

.mtl-warranty-image {
  margin-bottom: 20px;
}

/* Lightbox with prev/next */
.mtl-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.92);
  padding: 24px 72px;
}

.mtl-lightbox[hidden] {
  display: none !important;
}

.mtl-lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  margin: 0 auto;
}

.mtl-lightbox__close {
  position: absolute;
  top: 16px;
  right: 20px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}

.mtl-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  margin-top: -24px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.mtl-lightbox__nav:hover {
  background: rgba(197, 10, 44, 0.85);
}

.mtl-lightbox__nav--prev { left: 16px; }
.mtl-lightbox__nav--next { right: 16px; }

.mtl-lightbox__counter {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  z-index: 2;
}

@media (max-width: 1199px) {
  .mtl-model-page .mtl-hero .mtl-hero__title,
  .mtl-model-page .mtl-hero .mtl-hero__kicker,
  .mtl-model-page .mtl-hero .mtl-hero__price {
    font-size: 32px !important;
  }
}

@media (max-width: 991px) {
  .mtl-model-page .mtl-hero .mtl-hero__title,
  .mtl-model-page .mtl-hero .mtl-hero__kicker,
  .mtl-model-page .mtl-hero .mtl-hero__price {
    font-size: 28px !important;
  }
}

@media (max-width: 767px) {
  /* Mobile promo stills: mostly 4:3 (Seltos) / near-square (EV3); cover crops portrait assets cleanly */
  .mtl-hero__slide {
    aspect-ratio: 4 / 3;
    min-height: 260px;
    max-height: none;
    background-image: var(--mtl-hero-img-m, var(--mtl-hero-img));
    background-position: center center;
  }

  .mtl-hero__slide.has-video {
    background-image: var(--mtl-hero-img-m, var(--mtl-hero-img));
  }

  /* Never play hero video over mobile stills */
  .mtl-hero__video {
    display: none !important;
  }

  /* Match old theme: no side arrows on mobile */
  .mtl-hero__nav {
    display: none !important;
  }

  .mtl-hero__overlay {
    padding: 12px 0 0;
  }

  .mtl-hero__content {
    padding: 0;
    justify-content: flex-end;
  }

  .mtl-hero__kicker {
    top: 12px;
    padding: 0 14px;
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  .mtl-model-page .mtl-hero .mtl-hero__title,
  .mtl-model-page .mtl-hero .mtl-hero__kicker,
  .mtl-model-page .mtl-hero .mtl-hero__price {
    font-size: 18px !important;
  }

  .mtl-hero__copy {
    max-width: none;
    padding: 0 14px 72px;
    text-align: center;
  }

  .mtl-hero__title,
  .mtl-hero__price {
    text-align: center;
  }

  .mtl-hero__actions {
    bottom: 14px;
    gap: 8px;
    padding: 0 14px;
  }

  .mtl-hero__dots {
    bottom: 6px;
  }

  .mtl-hero__actions .mtl-btn {
    flex: 0 1 auto;
    max-width: calc(100% - 28px);
    min-width: 0;
    padding: 11px 22px;
    font-size: 14px;
    white-space: nowrap;
    text-align: center;
    line-height: 1.2;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  }

  .mtl-btn {
    padding: 11px 22px;
    font-size: 14px;
  }

  /* Graphic slides: CTA sits in the dark bottom band of promo art */
  .mtl-hero__slide.is-graphic .mtl-hero__actions {
    bottom: 12px;
  }

  .mtl-hero__slide.is-graphic .mtl-hero__overlay::before {
    opacity: 1;
    background: linear-gradient(
      180deg,
      transparent 55%,
      rgba(0, 0, 0, 0.35) 78%,
      rgba(0, 0, 0, 0.55) 100%
    );
  }

  /* Jump buttons like live — stacked, equal height, icons */
  .mtl-jump {
    margin: 8px 0 28px;
  }

  .mtl-jump > [class*="col-"] {
    width: 100%;
    float: none;
    margin-bottom: 10px;
  }

  .mtl-jump .link_to {
    margin-bottom: 0;
  }

  .mtl-jump .link_to p {
    min-height: 56px;
    padding: 16px 18px 16px 56px !important;
    font-size: 13px !important;
  }

  .mtl-jump .gallery_link p:before,
  .mtl-jump .specification_link p:before,
  .mtl-jump .test_link p:before,
  .mtl-jump .warranty_link p:before {
    left: 22px !important;
    font-size: 140% !important;
  }

  /* Spec cards: no 3D (fixes mirrored title), full text, equal min-height */
  .mtl-card {
    perspective: none;
  }

  .mtl-card__inner {
    min-height: 320px;
    height: auto !important;
    transform: none !important;
    transform-style: flat;
  }

  .mtl-card__front,
  .mtl-card__back {
    position: relative;
    inset: auto;
    transform: none !important;
    backface-visibility: visible;
    -webkit-backface-visibility: visible;
    visibility: visible !important;
    min-height: 320px;
  }

  .mtl-card__back {
    display: none;
    overflow: visible;
  }

  .mtl-card__text {
    overflow: visible;
  }

  .mtl-card:hover .mtl-card__front,
  .mtl-card:focus-within .mtl-card__front,
  .mtl-card.is-flipped .mtl-card__front {
    display: none;
    visibility: hidden !important;
  }

  .mtl-card:hover .mtl-card__back,
  .mtl-card:focus-within .mtl-card__back,
  .mtl-card.is-flipped .mtl-card__back {
    display: flex;
  }

  .mtl-model-page .single-car-gallery .light-thumb {
    height: 220px;
  }

  .mtl-lightbox {
    padding: 24px 48px;
  }
}

/* ——— Nova vozila listing ——— */
.mtl-nova-hero {
  background-image: var(--mtl-nova-hero);
  background-size: cover;
  background-position: center;
  min-height: 900px;
  padding: 0 !important;
  margin: 0;
}

.mtl-nova-page.padding-top {
  padding-top: 40px !important;
}

.mtl-nova-card {
  margin-bottom: 36px;
  text-align: center;
}

.mtl-nova-card__title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
}

.mtl-nova-card__link {
  display: block;
}

.mtl-nova-card__img {
  display: block;
  width: 100%;
  max-width: 720px;
  height: auto;
  margin: 0 auto;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.mtl-nova-card__link:hover .mtl-nova-card__img {
  opacity: 0.9;
  transform: scale(1.02);
}

@media (max-width: 991px) {
  .mtl-nova-hero {
    min-height: 480px;
    background-image: var(--mtl-nova-hero-m, var(--mtl-nova-hero));
  }

  .mtl-nova-card__title {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .mtl-nova-hero {
    min-height: 280px;
  }
}

/* ——— Shared page hero (Staro / Servis; only rendered when set) ——— */
.mtl-page-hero {
  background-image: var(--mtl-page-hero);
  background-size: cover;
  background-position: center;
  min-height: 600px;
  padding: 0 !important;
  margin: 0;
}

@media (max-width: 991px) {
  .mtl-page-hero {
    min-height: 420px;
    background-image: var(--mtl-page-hero-m, var(--mtl-page-hero));
  }
}

@media (max-width: 767px) {
  .mtl-page-hero {
    min-height: 280px;
  }
}

/* ——— Staro za novo ——— */
.mtl-staro-page.padding-top-10 {
  padding-top: 10px !important;
}

.mtl-staro-intro,
.mtl-staro-benefits,
.mtl-staro-process {
  margin-top: 20px;
  margin-bottom: 20px;
}

.mtl-staro-intro__media {
  padding-top: 20px;
}

.mtl-staro-cta {
  margin: 28px 0 36px;
}

.mtl-staro-cta .btn-primary,
.mtl-staro-cta .modal-procena {
  background: #c50a2c;
  border-color: #c50a2c;
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
}

.mtl-staro-cta .btn-primary:hover,
.mtl-staro-cta .modal-procena:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.mtl-staro-benefit {
  margin-bottom: 28px;
  text-align: center;
}

.mtl-staro-benefit__icon {
  margin-bottom: 12px;
  font-size: 36px;
  line-height: 1;
  color: #c50a2c;
}

.mtl-staro-benefit__title {
  margin: 0 0 10px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
}

.mtl-staro-benefit__text {
  text-align: left;
}

.mtl-staro-benefit__text p {
  margin: 0;
}

.mtl-staro-process.lista-o-nama ul {
  list-style: none !important;
  padding-left: 0;
  margin: 12px 0;
}

.mtl-staro-process.lista-o-nama li {
  list-style: none !important;
  margin: 0 0 8px !important;
}

.mtl-staro-process.lista-o-nama li .fas {
  color: #c50a2c;
  margin-right: 8px;
}

.mtl-staro-process__media {
  padding-top: 20px;
}

@media (max-width: 767px) {
  .mtl-staro-intro__media,
  .mtl-staro-process__media {
    padding-top: 16px;
  }
}

/* ——— Kia servis ——— */
.mtl-servis-page ul,
.mtl-servis-page ul li {
  list-style: none !important;
  list-style-type: none !important;
}

.mtl-servis-page.padding-top-10 {
  padding-top: 10px !important;
}

.mtl-servis-intro,
.mtl-servis-expertise,
.mtl-servis-extra,
.mtl-servis-contact,
.mtl-servis-gallery {
  margin-top: 20px;
  margin-bottom: 20px;
}

.mtl-servis-intro__media,
.mtl-servis-expertise__media,
.mtl-servis-extra__media {
  padding-top: 20px;
}

.mtl-servis-cta {
  margin: 28px 0 36px;
}

.mtl-servis-cta .btn-primary,
.mtl-servis-cta .modal-servis {
  background: #c50a2c;
  border-color: #c50a2c;
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
}

.mtl-servis-cta .btn-primary:hover,
.mtl-servis-cta .modal-servis:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.mtl-servis-page.lista-o-nama ul,
.mtl-servis-expertise.lista-o-nama ul,
.mtl-servis-extra.lista-o-nama ul {
  list-style: none !important;
  padding-left: 0;
  margin: 12px 0;
}

.mtl-servis-page.lista-o-nama li,
.mtl-servis-expertise.lista-o-nama li,
.mtl-servis-extra.lista-o-nama li {
  list-style: none !important;
  margin: 0 0 8px !important;
}

.mtl-servis-page .fas.fa-angle-double-right,
.mtl-servis-expertise .fas.fa-angle-double-right,
.mtl-servis-extra .fas.fa-angle-double-right {
  color: #c50a2c;
  margin-right: 8px;
}

.mtl-servis-contact__text {
  text-align: left;
  margin-bottom: 20px;
}

.mtl-servis-contact__text a {
  color: #c50a2c;
}

.mtl-servis-gallery .tz_lightgallery,
.mtl-servis-gallery .mtl-gallery {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

.mtl-servis-gallery .light-gallery-item {
  list-style: none !important;
  list-style-type: none !important;
  max-height: none !important;
  overflow: hidden !important;
  padding: 15px;
  margin: 0 0 10px !important;
  cursor: pointer;
}

.mtl-servis-gallery .light-gallery-item::before,
.mtl-servis-gallery .light-gallery-item::marker {
  content: none !important;
  display: none !important;
}

.mtl-servis-gallery .light-thumb {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

@media (max-width: 767px) {
  .mtl-servis-intro__media,
  .mtl-servis-expertise__media,
  .mtl-servis-extra__media {
    padding-top: 16px;
  }
}

.mtl-page-hero--tall {
  min-height: 800px;
}

@media (max-width: 991px) {
  .mtl-page-hero--tall {
    min-height: 480px;
  }
}

@media (max-width: 767px) {
  .mtl-page-hero--tall {
    min-height: 280px;
  }
}

/* ——— Kia rezervni delovi ——— */
.mtl-rezervni-page.padding-top-10 {
  padding-top: 10px !important;
}

.mtl-rezervni-intro {
  margin-bottom: 24px;
}

.mtl-rezervni-contact {
  margin: 24px 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.mtl-rezervni-contact a {
  color: #c50a2c;
}

.mtl-rezervni-cta,
.mtl-dodatna-cta {
  margin: 20px 0 36px;
}

.mtl-rezervni-cta .btn-primary,
.mtl-rezervni-cta .modal-rezervni-delovi,
.mtl-dodatna-cta .btn-primary,
.mtl-dodatna-cta .modal-dodatna-oprema {
  background: #c50a2c;
  border-color: #c50a2c;
  color: #fff;
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
}

.mtl-rezervni-cta .btn-primary:hover,
.mtl-rezervni-cta .modal-rezervni-delovi:hover,
.mtl-dodatna-cta .btn-primary:hover,
.mtl-dodatna-cta .modal-dodatna-oprema:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

.mtl-rezervni-part {
  margin: 24px 0;
  align-items: center;
}

.mtl-rezervni-part__media {
  margin-bottom: 12px;
}

.mtl-rezervni-part__text p {
  margin: 0;
  line-height: 1.6;
}

.mtl-rezervni-other {
  margin-top: 36px;
  margin-bottom: 24px;
}

.mtl-rezervni-bottom {
  margin: 28px 0 40px;
}

.mtl-rezervni-bottom img {
  max-width: 100%;
  height: auto;
}

/* ——— Kia dodatna oprema ——— */
.mtl-dodatna-page.padding-top-10 {
  padding-top: 10px !important;
}

.mtl-dodatna-intro {
  margin-bottom: 28px;
}

.mtl-dodatna-intro__media {
  padding-top: 12px;
}

.mtl-dodatna-grid {
  margin-top: 20px;
  margin-bottom: 20px;
}

.mtl-dodatna-item {
  margin-bottom: 36px;
  text-align: center;
}

.mtl-dodatna-item__title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
}

.mtl-dodatna-item__img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

.mtl-dodatna-contact {
  margin: 24px 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.mtl-dodatna-contact a {
  color: #c50a2c;
}

@media (max-width: 767px) {
  .mtl-dodatna-intro__media {
    padding-top: 16px;
  }
}

/* ——— O nama ——— */
.mtl-onama-page.padding-top-10 {
  padding-top: 10px !important;
}

.mtl-onama-page ul,
.mtl-onama-page ul li {
  list-style: none !important;
  list-style-type: none !important;
}

.mtl-onama-intro {
  margin-bottom: 28px;
}

.mtl-onama-feature {
  text-align: center;
  margin-bottom: 24px;
}

.mtl-onama-feature__link {
  display: block;
  color: inherit;
  text-decoration: none !important;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

a.mtl-onama-feature__link:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

a.mtl-onama-feature__link:hover .mtl-onama-feature__title {
  color: #c50a2c;
}

.mtl-onama-feature__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #c50a2c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.mtl-onama-feature__title {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
}

.mtl-onama-feature__text {
  margin: 0;
  color: #555;
}

.mtl-onama-gallery .tz_lightgallery,
.mtl-onama-gallery .mtl-gallery {
  list-style: none !important;
  margin: 0 !important;
  padding-left: 0 !important;
}

.mtl-onama-gallery .light-gallery-item {
  list-style: none !important;
  padding: 15px;
  margin: 0 0 10px !important;
  cursor: pointer;
}

.mtl-onama-gallery .light-gallery-item::before,
.mtl-onama-gallery .light-gallery-item::marker {
  content: none !important;
  display: none !important;
}

.mtl-onama-gallery .light-thumb {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 2px;
  display: block;
}

.mtl-onama-section {
  margin: 36px 0;
}

.mtl-onama-section__media {
  margin-bottom: 16px;
}

.mtl-onama-cta {
  margin: 36px 0;
}

.mtl-onama-cta__btn,
.mtl-onama-cta .tz_buttonrp {
  display: inline-block;
  background: #c50a2c;
  color: #fff !important;
  padding: 12px 28px;
  font-weight: 600;
  text-transform: uppercase;
  text-decoration: none !important;
  border: none;
}

.mtl-onama-cta__btn:hover,
.mtl-onama-cta .tz_buttonrp:hover {
  background: #000;
  color: #fff !important;
}

.mtl-onama-kia-card {
  margin-bottom: 28px;
}

.mtl-onama-kia-card__title {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  color: #222;
}

.mtl-onama-kia-card p {
  margin: 0;
  line-height: 1.6;
}

/* ——— Kontakt ——— */
.mtl-kontakt-page.padding-top-10 {
  padding-top: 10px !important;
}

.mtl-kontakt-blocks {
  margin-bottom: 20px;
}

.mtl-kontakt-block {
  text-align: center;
  margin-bottom: 32px;
}

.mtl-kontakt-block__icon {
  margin-bottom: 14px;
  font-size: 36px;
  line-height: 1;
  color: #c50a2c;
}

.mtl-kontakt-block__title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.mtl-kontakt-block__text {
  line-height: 1.7;
}

.mtl-kontakt-block__text a {
  color: #c50a2c;
}

.mtl-kontakt-sep {
  width: 80%;
  max-width: 720px;
  height: 0;
  margin: 10px auto 36px;
  border-top: 2px solid #c50a2c;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.mtl-kontakt-form {
  margin-bottom: 40px;
}

/* ——— Blog (archive + single) ——— */
.mtl-blog {
  --mtl-blog-ink: #171717;
  --mtl-blog-muted: #5c5c5c;
  --mtl-blog-line: #e6e6e6;
  --mtl-blog-surface: #f3f1ef;
  --mtl-blog-accent: #c50a2c;
  color: var(--mtl-blog-ink);
  padding-bottom: 72px;
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(197, 10, 44, 0.08), transparent 60%),
    linear-gradient(180deg, #f7f5f3 0%, #fff 42%, #fff 100%);
}

.mtl-blog-hero {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--mtl-blog-line);
  margin-bottom: 40px;
}

.mtl-blog-hero__brand {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mtl-blog-accent);
}

.mtl-blog-hero__title {
  margin: 0 0 12px;
  font-size: clamp(40px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--mtl-blog-ink);
}

.mtl-blog-hero__intro {
  margin: 0;
  max-width: 42rem;
  font-size: 18px;
  line-height: 1.55;
  color: var(--mtl-blog-muted);
}

.mtl-blog-hero__back {
  margin: 18px 0 0;
}

.mtl-blog-hero__back a {
  color: var(--mtl-blog-accent);
  font-weight: 600;
  text-decoration: none;
}

.mtl-blog-hero__back a:hover {
  text-decoration: underline;
}

.mtl-blog-main {
  max-width: 1120px;
}

.mtl-blog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mtl-blog-muted);
}

.mtl-blog-meta__sep {
  opacity: 0.5;
}

.mtl-blog-read {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mtl-blog-accent);
  text-decoration: none;
  border-bottom: 2px solid var(--mtl-blog-accent);
}

.mtl-blog-read:hover {
  color: #000;
  border-color: #000;
}

.mtl-blog-read--small {
  margin-top: 10px;
  font-size: 12px;
}

/* Featured */
.mtl-blog-featured {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
}

.mtl-blog-featured__media {
  display: block;
  overflow: hidden;
  background: #d9d4cf;
  aspect-ratio: 16 / 10;
}

.mtl-blog-featured__media img,
.mtl-blog-card__media img,
.mtl-blog-single-hero img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.mtl-blog-featured__media:hover img,
.mtl-blog-card__media:hover img {
  transform: scale(1.04);
}

.mtl-blog-featured__placeholder,
.mtl-blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 220px;
  background: linear-gradient(135deg, #2a2a2a, #c50a2c);
}

.mtl-blog-featured__title {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.2vw, 36px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.mtl-blog-featured__title a,
.mtl-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.mtl-blog-featured__title a:hover,
.mtl-blog-card__title a:hover {
  color: var(--mtl-blog-accent);
}

.mtl-blog-featured__excerpt,
.mtl-blog-card__excerpt {
  margin: 0;
  color: var(--mtl-blog-muted);
  line-height: 1.6;
}

.mtl-blog-grid-label {
  margin: 0 0 20px;
  padding-top: 8px;
  border-top: 1px solid var(--mtl-blog-line);
}

.mtl-blog-grid-label h2 {
  margin: 16px 0 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mtl-blog-muted);
}

.mtl-blog-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 28px;
  margin-bottom: 48px;
}

.mtl-blog-card__media {
  display: block;
  overflow: hidden;
  background: #d9d4cf;
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
}

.mtl-blog-card__title {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.mtl-blog-pagination {
  margin-top: 12px;
  padding-top: 28px;
  border-top: 1px solid var(--mtl-blog-line);
}

.mtl-blog-pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.mtl-blog-pagination .page-numbers {
  display: inline-block;
  min-width: 40px;
  padding: 8px 12px;
  text-align: center;
  color: var(--mtl-blog-ink);
  text-decoration: none;
  font-weight: 600;
  border: 1px solid var(--mtl-blog-line);
}

.mtl-blog-pagination .page-numbers.current,
.mtl-blog-pagination a.page-numbers:hover {
  background: var(--mtl-blog-ink);
  border-color: var(--mtl-blog-ink);
  color: #fff;
}

.mtl-blog-empty {
  padding: 48px 0;
  text-align: center;
  color: var(--mtl-blog-muted);
}

/* Single */
.mtl-blog--single {
  background: #fff;
}

.mtl-blog-single-hero {
  width: 100%;
  max-height: 560px;
  overflow: hidden;
  background: #111;
}

.mtl-blog-single-hero img {
  width: 100%;
  height: min(56vw, 560px);
  object-fit: cover;
}

.mtl-blog-article {
  max-width: 760px;
  margin: 0 auto;
  padding-top: 40px;
  padding-bottom: 24px;
}

.mtl-blog-article__title {
  margin: 0 0 28px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.015em;
}

.mtl-blog-article__content {
  font-size: 18px;
  line-height: 1.75;
  color: #242424;
}

.mtl-blog-article__content > *:first-child {
  margin-top: 0;
}

.mtl-blog-article__content img {
  max-width: 100%;
  height: auto;
  margin: 24px 0;
}

.mtl-blog-article__content a {
  color: var(--mtl-blog-accent);
}

.mtl-blog-article__content h2,
.mtl-blog-article__content h3,
.mtl-blog-article__content h4 {
  margin: 1.6em 0 0.5em;
  line-height: 1.25;
  font-weight: 700;
}

.mtl-blog-related {
  max-width: 1120px;
  margin: 48px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--mtl-blog-line);
}

.mtl-blog-related__title {
  margin: 0 0 24px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mtl-blog-muted);
}

.mtl-blog-grid--related {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 991px) {
  .mtl-blog-featured {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mtl-blog-grid,
  .mtl-blog-grid--related {
    grid-template-columns: 1fr;
  }

  .mtl-blog-hero {
    padding: 36px 0 28px;
  }
}

@media (max-width: 767px) {
  .mtl-blog-article {
    padding-top: 28px;
  }

  .mtl-blog-article__content {
    font-size: 16px;
  }
}

/* ——— Home ——— */
.mtl-home-page.auto-page-content {
  padding: 0 0 64px !important;
  overflow-x: hidden;
}

.mtl-home-page .mtl-home-hero {
  margin-bottom: 40px;
}

.mtl-home-welcome-title {
  margin-bottom: 8px;
}

.mtl-home-welcome {
  margin-bottom: 28px;
}

.mtl-home-welcome__text p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: #444;
}

.mtl-home-welcome__media img {
  width: 100%;
  height: auto;
  display: block;
}

.mtl-home-list-title {
  margin: 18px 0 10px;
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.mtl-home-page .autoshowroom-list ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
}

.mtl-home-page .autoshowroom-list li {
  list-style: none !important;
  margin: 0 0 8px !important;
  padding: 0;
  line-height: 1.5;
  color: #444;
}

.mtl-home-page .autoshowroom-list li i {
  margin-right: 8px;
  color: #c40023;
}

.mtl-home-corporate {
  margin: 28px 0 36px;
  padding: 18px 12px;
  background: rgba(0, 0, 0, 0.55);
  text-align: center;
}

.mtl-home-corporate h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fff;
}

.mtl-home-corporate a,
.mtl-home-corporate a:visited,
.mtl-home-corporate a:hover,
.mtl-home-corporate a:focus {
  color: #fff !important;
  text-decoration: none;
}

.mtl-home-corporate a:hover {
  text-decoration: underline;
  opacity: 0.9;
}

.mtl-home-vehicles-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px 12px;
  margin: 0 0 28px;
  padding: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  clear: both;
}

.mtl-home-vehicles-row.row,
.mtl-home-page .new-vehicles.mtl-home-vehicles-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
  float: none !important;
}

.mtl-home-car {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  text-align: center;
  position: relative;
  float: none !important;
  box-sizing: border-box;
}

.mtl-home-car__media {
  display: block;
  margin: 0 0 8px;
}

.mtl-home-car img {
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
}

.mtl-home-car p {
  margin: 0 !important;
  padding: 0;
}

.mtl-home-car h3 {
  margin: 0 0 6px;
  padding: 0;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  word-break: break-word;
}

.mtl-home-car h3 a {
  color: #222 !important;
  text-decoration: none;
}

.mtl-home-car h3 a:hover {
  color: #c40023 !important;
}

.mtl-home-car .popust {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 10px;
  background: #c40023;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mtl-home-ads {
  margin: 36px 0;
  display: flex;
  flex-wrap: wrap;
}

.mtl-home-ads > [class*="col-"] {
  display: flex;
  float: none;
}

.mtl-home-ad {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  min-height: 340px;
  height: auto;
  overflow: hidden;
  color: #fff;
  text-decoration: none !important;
  margin-bottom: 16px;
  background-color: #1a1a1a;
  isolation: isolate;
}

.mtl-home-ad::before {
  content: "";
  position: absolute;
  inset: -2px;
  z-index: 0;
  background-image: var(--mtl-ad-img);
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transform: scale(1.04);
  transform-origin: center center;
}

.mtl-home-ad--left {
  background-color: #c40023;
}

.mtl-home-ad__bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.mtl-home-ad--left .mtl-home-ad__bg {
  background: rgba(196, 0, 35, 0.82);
}

.mtl-home-ad--right .mtl-home-ad__bg {
  background: rgba(20, 20, 20, 0.78);
}

.mtl-home-ad__text {
  position: relative;
  z-index: 2;
  display: block;
  flex: 1 1 auto;
  padding: 28px 24px 32px;
  box-sizing: border-box;
}

.mtl-home-ad__text h4 {
  margin: 0 0 12px;
  color: #fff !important;
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
}

.mtl-home-ad__desc,
.mtl-home-ad__desc p {
  margin: 0 0 8px;
  color: #fff !important;
  font-size: 14px;
  line-height: 1.55;
}

.mtl-home-ad__desc p:last-child {
  margin-bottom: 0;
}

.mtl-home-page .polovni-auto-box {
  margin: 8px 0 28px;
}

.mtl-home-page .polovni-auti {
  display: inline-block;
  padding: 12px 28px;
  background: #c40023;
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none !important;
  text-transform: uppercase;
}

.mtl-home-page .polovni-auti:hover {
  background: #a0001c;
}

.mtl-home-used-images {
  margin-bottom: 40px;
}

.mtl-home-used-img {
  margin-bottom: 16px;
  overflow: hidden;
  height: 300px;
  background: #eee;
}

.mtl-home-used-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtl-home-testimonials-section {
  margin: 20px 0 48px;
  padding: 36px 16px 28px;
  background: #f3f1ef;
}

.mtl-home-quotes {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.mtl-home-quote {
  display: none;
}

.mtl-home-quote.is-active {
  display: block;
}

.mtl-home-quote__image {
  width: 120px;
  height: 120px;
  margin: 0 auto 16px;
  border-radius: 50%;
  overflow: hidden;
}

.mtl-home-quote__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mtl-home-quote__content {
  margin: 0 0 12px;
  font-size: 16px;
  line-height: 1.65;
  color: #444;
  font-style: italic;
}

.mtl-home-quote__content small {
  font-size: 28px;
  line-height: 0;
  color: #c40023;
  margin-right: 4px;
}

.mtl-home-quote__name {
  display: block;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #222;
}

.mtl-home-quotes__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.mtl-home-quotes__dots button {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
}

.mtl-home-quotes__dots button.is-active {
  background: #c40023;
}

.mtl-home-blog {
  margin: 24px 0 16px;
}

.mtl-home-blog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 16px;
}

.mtl-home-blog__all {
  margin: 0 0 32px;
}

.mtl-home-blog__all a {
  color: #c40023;
  font-weight: 600;
  text-decoration: none;
}

.mtl-home-blog__all a:hover {
  text-decoration: underline;
}

.mtl-home-cta {
  margin: 8px 0 24px;
}

.mtl-home-cta__btn,
.mtl-home-cta .tz_buttonrp {
  display: inline-block;
  padding: 14px 36px;
  background: #c40023;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mtl-home-cta__btn:hover,
.mtl-home-cta .tz_buttonrp:hover {
  background: #a0001c;
}

@media (max-width: 991px) {
  .mtl-home-vehicles-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px 10px;
  }

  .mtl-home-blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .mtl-home-vehicles-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 12px;
  }

  .mtl-home-car h3 {
    font-size: 12px;
    line-height: 1.3;
  }

  .mtl-home-ads > [class*="col-"] {
    width: 100%;
  }

  .mtl-home-ad {
    min-height: 0;
    margin-bottom: 12px;
  }

  .mtl-home-ad__text {
    padding: 22px 18px 26px;
  }

  .mtl-home-ad__text h4 {
    font-size: 20px;
  }

  .mtl-home-ad__desc,
  .mtl-home-ad__desc p {
    font-size: 13px;
    line-height: 1.5;
  }

  .mtl-home-used-img {
    height: 220px;
  }
}

/* ——— Footer (full-width) ——— */
.mtl-footer {
  --mtl-footer-top: #444349;
  --mtl-footer-bottom: #151515;
  --mtl-footer-accent: #c50a2c;
  --mtl-footer-text: #f2f2f2;
  color: #fff;
  width: 100%;
  margin: 0;
  padding: 0;
}

.mtl-footer,
.mtl-footer p,
.mtl-footer span,
.mtl-footer a,
.mtl-footer li,
.mtl-footer__text,
.mtl-footer__contact,
.mtl-footer__contact a,
.mtl-footer__hours,
.mtl-footer__hours p,
.mtl-footer__copy,
.mtl-footer__credit,
.mtl-footer-nav__list a {
  color: #fff !important;
}

.mtl-footer a {
  text-decoration: none;
}

.mtl-footer a:hover,
.mtl-footer__contact a:hover,
.mtl-footer__copy a:hover,
.mtl-footer__credit a:hover,
.mtl-footer-nav__list a:hover {
  color: var(--mtl-footer-accent) !important;
}

.mtl-footer__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 48px;
  box-sizing: border-box;
}

.mtl-footer__top {
  background: var(--mtl-footer-top);
  padding: 56px 0 48px;
}

.mtl-footer__cols {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1.15fr 1fr;
  gap: 28px 36px;
  align-items: start;
}

.mtl-footer__title {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.4;
}

.mtl-footer__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
}

.mtl-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
}

.mtl-footer__contact span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.mtl-footer__contact i {
  margin-top: 3px;
  color: #fff;
  width: 14px;
  text-align: center;
  flex: 0 0 auto;
  opacity: 0.85;
}

.mtl-footer__contact a {
  text-decoration: none;
}

.mtl-footer__hours {
  font-size: 14px;
  line-height: 1.55;
}

.mtl-footer__hours h5 {
  margin: 14px 0 6px;
  color: #fff;
  font-size: 14px;
  text-transform: uppercase;
}

.mtl-footer__hours h5:first-child {
  margin-top: 0;
}

.mtl-footer__hours p {
  margin: 0 0 8px;
}

.mtl-footer__bottom {
  position: relative;
  background: var(--mtl-footer-bottom);
  padding: 48px 0 36px;
}

.mtl-footer__social-wrap {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.mtl-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: var(--mtl-footer-accent);
  border-radius: 6px;
  overflow: hidden;
}

.mtl-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 40px;
  color: #fff !important;
  font-size: 16px;
}

.mtl-footer__social a:hover {
  background: rgba(0, 0, 0, 0.15);
}

.mtl-footer__bottom-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 32px 48px;
}

.mtl-footer__brand img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  margin: 0;
}

.mtl-footer__legal {
  text-align: right;
  justify-self: end;
  max-width: 440px;
}

.mtl-footer__copy,
.mtl-footer__credit {
  margin: 0 0 6px;
  font-size: 14px;
  line-height: 1.55;
}

.mtl-footer__copy a,
.mtl-footer__credit a {
  font-weight: 600;
  text-decoration: none;
}

.mtl-footer-nav__list {
  list-style: none !important;
  margin: 0 !important;
  padding: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 8px;
  justify-content: flex-start;
}

.mtl-footer-nav__list li {
  list-style: none !important;
  margin: 0 !important;
}

.mtl-footer-nav__list a {
  font-size: 14px;
  font-weight: 500;
  text-transform: none;
  line-height: 1.4;
  text-decoration: none;
}

@media (max-width: 991px) {
  .mtl-footer__inner {
    padding: 0 24px;
  }

  .mtl-footer__cols {
    grid-template-columns: 1fr 1fr;
    gap: 28px 24px;
  }

  .mtl-footer__bottom-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .mtl-footer__legal {
    text-align: left;
    justify-self: start;
    max-width: none;
  }

  .mtl-footer__brand img {
    width: 160px;
  }
}

@media (max-width: 767px) {
  .mtl-footer__top {
    padding: 48px 0 40px;
  }

  .mtl-footer__inner {
    padding: 0 18px;
  }

  .mtl-footer__cols {
    grid-template-columns: 1fr;
  }

  .mtl-footer__bottom {
    padding: 40px 0 28px;
  }
}
