
/* =========================================================
   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%;
    }
}

/* Hörby Bilcentrum – gemensamma undersidor */
.hbc-sub{--sub-pad:24px;--sub-section:48px;--sub-gap:32px;background:var(--hbc-black);color:var(--hbc-white);font-family:"LINE Seed JP",system-ui,sans-serif;line-height:1.625}
.hbc-sub__section{padding-block:var(--sub-section)}
.hbc-sub__section--surface{background:var(--hbc-surface)}
.hbc-sub__inner{width:min(calc(100% - 2 * var(--sub-pad)),1280px);margin-inline:auto}
.hbc-sub h1,.hbc-sub h2,.hbc-sub h3,.hbc-sub p,.hbc-sub address,.hbc-sub dl,.hbc-sub dd{margin:0}
.hbc-sub h1,.hbc-sub h2,.hbc-sub h3{color:var(--hbc-white);font-weight:700;overflow-wrap:anywhere}
.hbc-sub h1{font-size:36px;line-height:1.22}
.hbc-sub h2{font-size:30px;line-height:1.25}
.hbc-sub h3{font-size:22px;line-height:1.35}
.hbc-sub p,.hbc-sub address,.hbc-sub dl{color:var(--hbc-muted)}
.hbc-sub .hbc-sub__kicker{font-size:12px;line-height:18px;font-weight:700;color:var(--hbc-focus)}
.hbc-sub__heading,.hbc-sub__stack,.hbc-sub__split,.hbc-sub__form,.hbc-sub__fields,.hbc-sub__field{display:grid;min-width:0}
.hbc-sub__heading{gap:16px;justify-items:start}
.hbc-sub__heading>p:not(.hbc-sub__kicker){max-width:42rem}
.hbc-sub__stack,.hbc-sub__split{gap:var(--sub-gap)}
.hbc-sub__split{align-items:start}
.hbc-sub__split>.hbc-sub__stack,.hbc-sub__details{gap:24px}
.hbc-sub__details h2{font-size:20px;margin-bottom:12px}
.hbc-sub__actions{display:flex;flex-wrap:wrap;align-items:start;gap:12px}
.hbc-sub__actions .bo-btn{max-width:100%;overflow-wrap:anywhere;white-space:normal}
.hbc-sub__hours>div{display:grid;grid-template-columns:minmax(5.75rem,auto) 1fr;gap:12px;max-width:17rem}
.hbc-sub__hours dt{font-weight:700;color:var(--hbc-white)}
.hbc-sub__photo{display:block;width:100%;height:auto;min-height:0;aspect-ratio:1.3;object-fit:cover}
.hbc-sub__form,.hbc-sub__fields{gap:24px}
.hbc-sub__field{gap:8px}
.hbc-sub__field label{font-weight:700}
.hbc-sub__field .bo-field-control{width:100%;min-height:60px;border-radius:0}
.hbc-sub__field textarea{resize:vertical;min-height:128px;padding:18px 24px}
.hbc-sub__form-end{display:grid;justify-items:start;gap:16px}
.hbc-sub__form-end a{color:inherit;text-decoration:underline;text-underline-offset:.2em}
.hbc-sub__rule{display:block;width:48px;height:2px;background:var(--hbc-red)}
.hbc-sub__banner,.hbc-sub__hero{position:relative;isolation:isolate;display:grid;overflow:hidden}
.hbc-sub__banner>img,.hbc-sub__banner::after,.hbc-sub__hero>img,.hbc-sub__hero::after{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.hbc-sub__banner::after,.hbc-sub__hero::after{content:"";z-index:-1;background:linear-gradient(90deg,rgba(9,10,11,.92),rgba(9,10,11,.35))}
.hbc-sub__banner{padding:24px;align-items:center;min-height:312px}
.hbc-sub__banner .hbc-sub__heading{max-width:56rem}
.hbc-sub__banner p{color:var(--hbc-white)}
.hbc-sub__banner--sell{align-items:end;min-height:220px}
.hbc-sub__banner--sell h2{font-size:24px}
.hbc-sub__banner--sell::after{background:linear-gradient(0deg,rgba(9,10,11,.92),rgba(9,10,11,.15))}
.hbc-sub__process{padding-block:24px 32px}
.hbc-sub__steps,.hbc-sub__cards{display:grid;gap:24px;list-style:none;padding:0;margin:0}
.hbc-sub__steps li,.hbc-sub__card{display:grid;align-content:start;justify-items:start;gap:16px;min-width:0}
.hbc-sub__steps .hbc-sub__rule,.hbc-sub__card .hbc-sub__rule{width:32px;height:1px}
.hbc-sub__hero{min-height:560px;align-items:center;padding-block:64px}
.hbc-sub__hero .hbc-sub__heading{max-width:680px;gap:24px}
.hbc-sub__hero .hbc-sub__kicker{color:var(--hbc-white)}
.hbc-sub__hero .hbc-sub__actions{margin-top:24px}
.hbc-sub .hbc-sub__hero-address{margin-top:28px;font-size:12px;font-weight:700}
.hbc-sub__card{background:var(--hbc-surface);border:1px solid var(--hbc-border);padding:24px}
.hbc-sub__card .bo-btn{align-self:end}
.hbc-sub__contact-form{max-width:1000px;padding-block:40px 48px}
.hbc-sub__contact-form>h2{font-size:24px}
.hbc-sub__contact-block{padding-top:24px}
.hbc-sub__stock-empty{padding-block:24px}
@media (min-width:48rem){
  .hbc-sub{--sub-pad:48px;--sub-section:64px;--sub-gap:48px}
  .hbc-sub h1{font-size:clamp(48px,5.3vw,76px)}
  .hbc-sub h2{font-size:40px}
  .hbc-sub h3{font-size:24px}
  .hbc-sub__details h2,.hbc-sub__contact-form>h2,.hbc-sub__form>h2{font-size:24px}
  .hbc-sub__split{grid-template-columns:minmax(0,520px) minmax(0,1fr)}
  .hbc-sub__split--sell{grid-template-columns:minmax(0,520px) minmax(0,580px)}
  .hbc-sub__split--service{grid-template-columns:1fr 1fr;align-items:center}
  .hbc-sub__photo--contact{height:558px;aspect-ratio:auto}
  .hbc-sub__photo--interior{height:420px;aspect-ratio:auto}
  .hbc-sub__steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px}
  .hbc-sub__cards,.hbc-sub__contact-form .hbc-sub__fields{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hbc-sub__contact-form .hbc-sub__fields{gap:32px}
  .hbc-sub__field--full{grid-column:1/-1}
  .hbc-sub__card{min-height:271px;padding:32px;grid-template-rows:auto auto 1fr auto}
  .hbc-sub__banner{min-height:330px;padding:24px 48px}
  .hbc-sub__banner--sell{min-height:310px;padding-bottom:40px}
  .hbc-sub__banner--sell h2{font-size:40px}
  .hbc-sub__process{padding-block:48px}
  .hbc-sub__hero{min-height:700px}
  .hbc-sub__hero>img{width:71%;left:auto}
  .hbc-sub__hero::after{background:linear-gradient(90deg,#090a0b,rgba(9,10,11,.82) 52%,rgba(9,10,11,.12))}
  .hbc-sub__contact-form{padding-block:64px 80px}
  .hbc-sub__contact-block{padding-top:48px}
}
@media (min-width:72rem){.hbc-sub{--sub-pad:80px;--sub-section:80px;--sub-gap:96px}.hbc-sub__process .hbc-sub__inner,.hbc-sub__catalog{gap:32px}}

.hbc-sub__contact-form{margin-inline:auto}
.hbc-sub address+.bo-btn{margin-top:12px}

.hbc-sub h1{font-size:32px;line-height:1.25}
.hbc-sub__hero h1{font-size:36px;line-height:1.22}
.hbc-sub__form>h2{font-size:20px}
.bo-breadcrumb-shell{display:none}
@media (min-width:48rem){
  .hbc-sub h1{font-size:40px}
  .hbc-sub__hero h1{font-size:clamp(48px,5.28vw,76px);line-height:1.16;font-weight:800}
  .hbc-sub__form>h2{font-size:24px}
}

/* Hörby Bilcentrum – finjustering mot Figma */
.hbc-sub__split--sell { gap: 48px; }
.hbc-sub__details .hbc-sub__actions { flex-direction: column; gap: 12px; }
.hbc-sub__details h2 { font-size: 16px; line-height: 24px; }
.hbc-sub__field label, .hbc-sub__form-end p { color: var(--hbc-muted); font-size: 13px; font-weight: 400; line-height: 21px; }
.hbc-sub__field :is(input, select).bo-field-control { padding-inline: 16px; }
.hbc-sub__field textarea.bo-field-control { min-height: 150px; padding: 24px; }
.hbc-sub__hero { min-height: 670px; }
.hbc-sub__hero .hbc-sub__heading > p:not(.hbc-sub__kicker) { max-width: 525px; }
.hbc-sub__hero .hbc-sub__actions { flex-direction: column; gap: 16px; }
.hbc-sub__hero::after { background: linear-gradient(to bottom, rgba(9,10,11,.65), rgba(9,10,11,.9) 45%, rgba(9,10,11,.12)); }
.hbc-sub__hero-address { text-transform: uppercase; }
.hbc-sub__card { min-height: 271px; padding: 32px; border-radius: 4px; }
.hbc-sub__split--service { gap: 32px; }
.hbc-sub__split--service > .hbc-sub__heading { gap: 32px; }
.hbc-sub__photo--interior { height: 320px; }
.hbc-sub__photo--contact { height: 250px; }
.hbc-sub__contact-details > div:last-child .bo-btn { margin-top: 0; }
@media (min-width: 48rem) {
  .hbc-sub__hero { min-height: 700px; padding-block: 96px 64px; }
  .hbc-sub__hero .hbc-sub__actions { flex-direction: row; }
  .hbc-sub__hero::after { background: linear-gradient(to right, #090a0b, rgba(9,10,11,.9) 48%, rgba(9,10,11,.12)); }
  .hbc-sub__photo--interior { height: 420px; }
  .hbc-sub__photo--contact { height: 558px; max-width: 640px; }
  .hbc-sub__contact-details > address { order: 1; }
  .hbc-sub__contact-details > div:last-child { order: 2; }
}
@media (min-width: 72rem) {
  .hbc-sub__split--sell { gap: 96px; }
  .hbc-sub__split--service { grid-template-columns: repeat(2, minmax(0, 580px)); gap: 32px; }
}


/* Hörby Bilcentrum – FAQ på Sälj din bil */
.hbc-sell-faq { padding-block: clamp(48px, 7vw, 96px); }
.hbc-sell-faq > .hbc-sell-faq__grid {
  display: grid;
  grid-template-columns: minmax(180px, .72fr) minmax(0, 1.35fr);
  gap: clamp(40px, 7vw, 96px);
  align-items: start;
}
.hbc-sell-faq__intro { display: grid; justify-items: start; gap: 16px; }
#hbc-sell-faq-title { font-size: clamp(30px, 4vw, 48px); line-height: 1.16; margin-block-end: 6px; }
.hbc-sell-faq details { background: var(--hbc-surface); border: 1px solid var(--hbc-border); }
.hbc-sell-faq details + details { margin-block-start: 12px; }
.hbc-sell-faq summary {
  min-height: 64px;
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}
.hbc-sell-faq summary::-webkit-details-marker { display: none; }
.hbc-sell-faq summary:focus-visible { outline: 2px solid var(--hbc-focus); outline-offset: 3px; }
.hbc-sell-faq summary:hover { background: var(--hbc-raised); }
.hbc-sell-faq details[open] summary { box-shadow: inset 2px 0 var(--hbc-red); }
.hbc-sell-faq__icon { position: relative; width: 20px; height: 20px; flex: none; color: var(--hbc-focus); }
.hbc-sell-faq__icon::before,
.hbc-sell-faq__icon::after { content: ""; position: absolute; inset: 9px 3px; background: currentColor; }
.hbc-sell-faq__icon::after { transform: rotate(90deg); transition: transform 220ms ease; }
.hbc-sell-faq details[open] .hbc-sell-faq__icon::after { transform: rotate(0); }
.hbc-sell-faq details p { max-width: 55ch; padding: 2px 22px 24px; line-height: 1.625; }
@media (max-width: 48rem) {
  .hbc-sell-faq > .hbc-sell-faq__grid { grid-template-columns: 1fr; gap: 32px; }
  .hbc-sell-faq summary { font-size: 16px; padding-inline: 16px; }
  .hbc-sell-faq details p { padding-inline: 16px; }
}
@media (prefers-reduced-motion: reduce) { .hbc-sell-faq__icon::after { transition: none; } }


