
/* =========================================================
   SIDANS CSS
   Kundspecifik styling för den här CMS-sidan.
   ========================================================= */

/* Sidans skal
   --------------------------------------------------------- */
.main {
}

/* Bildslider
   --------------------------------------------------------- */
.top-background-img {
    background-repeat: no-repeat;
    background-size: cover;
}

.top-background-boxed {
    display: table;
}

/* HTML-sektioner
   --------------------------------------------------------- */
.main-container1 {
}

.main-container2 {
}

.main-container3 {
}

.main-container4 {
}

.main-container5 {
}

.main-container6 {
}

/* Bilonline-sektioner
   --------------------------------------------------------- */
/* Senast inkomna */
.main-container7 {
}

/* Lagerlista */
.main-container8 {
}

/* Personal */
.main-container9 {
}

/* Kontakt */
.main-container10 {
}

/* Karta */
.main-container11 {
}

/* Mobil
   --------------------------------------------------------- */
@media (max-width: 767px) {
    .top-background-boxed {
        width: 100%;
    }
}


/* Lagerhero och beställd framhävning av månadskostnad. */
.ebc-inventory-hero{position:relative;isolation:isolate;overflow:hidden;display:grid;place-items:center;min-height:clamp(12rem,20vw,16rem);padding:clamp(3rem,5.2vw,6.25rem) 1rem;text-align:center;background:#010c25}
.ebc-inventory-hero__image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.ebc-inventory-hero::before{content:"";position:absolute;inset:0;background:rgba(1,12,37,.4);z-index:-1}
.ebc-inventory-hero h1{margin:0;color:#f5f5f5;font-size:var(--ebc-section-title-size,2.5rem);line-height:1.4;font-weight:700}


/* Hela fordonsbilden: samma 4:3-yta i grid och rad. */
#container8 .bo-listing-card .bo-listing-card__media{aspect-ratio:4/3;min-height:0;height:auto}
#container8 .bo-listing-card .bo-listing-card__media-link{position:relative;inset:auto}
#container8 .bo-listing-card .bo-listing-card__img{padding:0;object-fit:cover}


/* Figma image-only content inserts; keep the full exported card visible. */
body .bo-vehicle-listing .bo-listing-promo:not(:has(.bo-listing-promo__content > *)) { display: block; min-height: 0; align-self: flex-start; aspect-ratio: 3 / 4; border: 0; border-radius: 1.5rem; background: transparent; }
body .bo-vehicle-listing .bo-listing-promo:not(:has(.bo-listing-promo__content > *)) > .bo-listing-promo__image { position: static; display: block; width: 100%; height: auto; }
body .bo-vehicle-listing .bo-listing-promo:not(:has(.bo-listing-promo__content > *)) > .bo-listing-promo__overlay,
body .bo-vehicle-listing .bo-listing-promo:not(:has(.bo-listing-promo__content > *)) > .bo-listing-promo__content { display: none; }
body .bo-vehicle-listing .bo-listing-promo--row:not(:has(.bo-listing-promo__content > *)) { max-width: 24rem; margin-inline: auto; }

