/* =========================================================
   TALJER / VINSJER / LØPEKATTER – OVERSIKT
   Crane Partner AS
   ========================================================= */

html {
  scroll-behavior: smooth;
}

.taljer-shell {
  width: 100%;
  padding: 28px 18px 42px;
  background: #eef1f2;
  box-sizing: border-box;
  overflow-x: clip;
}

.taljer-shell *,
.taljer-shell *::before,
.taljer-shell *::after {
  box-sizing: border-box;
}

.taljer-page {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px 30px 36px;
  border: 1px solid #d9dddf;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,.05);
  color: #292929;
}

.taljer-page a {
  color: #252525;
}

.taljer-page a:hover {
  color: #0e1a41;
}

/* Brødsmuler */
.taljer-page .breadcrumb {
  margin: 0 0 22px;
  font-size: .9rem;
}

.taljer-page .breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.taljer-page .breadcrumb li {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.taljer-page .breadcrumb li:not(:last-child)::after {
  content: "›";
  margin-left: 9px;
  color: #8a8a8a;
}

.taljer-page .breadcrumb a {
  color: #352f2f;
  text-decoration: underline;
}

.taljer-page .breadcrumb a:visited {
  color: #352f2f;
}

.taljer-page .breadcrumb a:hover {
  color: #0e1a41;
  text-decoration: none;
}

.taljer-page .breadcrumb [aria-current="page"] {
  color: #666;
}

/* Hero */
.taljer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(330px, .88fr);
  gap: 30px;
  align-items: stretch;
  margin-bottom: 26px;
}

.taljer-hero-tekst {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 22px 0;
}

.taljer-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: #656b6e;
  font-size: .82rem;
  font-weight: 750;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.taljer-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.08;
}

.taljer-ingress {
  margin: 0 0 12px;
  font-size: 1.08rem;
  line-height: 1.62;
  color: #424242;
}

.taljer-hero-tekst > p:not(.taljer-ingress) {
  margin: 0;
  line-height: 1.58;
  color: #555;
}

.taljer-hero-bilde {
  position: relative;
  display: block;
  min-height: 310px;
  overflow: hidden;
  border: 1px solid #d8dcde;
  border-radius: 9px;
  background: #f6f7f7;
  text-decoration: none;
}

.taljer-hero-bilde img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 310px;
  object-fit: cover;
}

.taljer-hero-bilde span {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 9px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 5px rgba(0,0,0,.12);
  font-weight: 700;
}

.taljer-knapper {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.taljer-knapp,
.taljer-page .btn-kontakt {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 15px;
  border: 1px solid #252b2e;
  border-radius: 6px;
  background: #252b2e;
  color: #fff !important;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.taljer-knapp:hover,
.taljer-page .btn-kontakt:hover {
  background: #0e1a41;
  border-color: #0e1a41;
}

/* Hurtigvalg */
.taljer-hurtigvalg {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 32px;
}

.taljer-hurtigvalg a {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid #d8dcde;
  border-radius: 6px;
  background: #f8f9f9;
  text-align: center;
  text-decoration: none;
  font-size: .9rem;
  font-weight: 650;
  line-height: 1.25;
}

.taljer-hurtigvalg a:hover {
  background: #eef1f2;
  border-color: #c7cccf;
}

/* Produktgrupper */
.taljer-produktseksjon {
  scroll-margin-top: 18px;
}

.taljer-seksjonshode {
  margin: 0 0 17px;
  padding: 15px 18px;
  border-left: 4px solid #676d71;
  border-radius: 5px;
  background: #f2f4f5;
}

.taljer-seksjonshode h2 {
  margin: 0 0 5px;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
}

.taljer-seksjonshode p {
  margin: 0;
  color: #555;
  line-height: 1.48;
}

.taljer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.taljer-kort {
  display: flex;
  min-width: 0;
  min-height: 100%;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #dde0e2;
  border-radius: 8px;
  background: #fff;
  scroll-margin-top: 18px;
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}

.taljer-kort:hover {
  transform: translateY(-2px);
  border-color: #c8cdd0;
  box-shadow: 0 5px 16px rgba(0,0,0,.07);
}

.taljer-kort-bilde {
  display: flex;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #fff;
}

.taljer-kort-bilde img {
  display: block;
  max-width: 100%;
  max-height: 195px;
  width: auto;
  height: auto;
}

.taljer-kort-tekst {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 16px 17px 18px;
  border-top: 1px solid #eceeef;
}

.taljer-kort-kategori {
  margin-bottom: 7px;
  color: #73787a;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.taljer-kort h2 {
  margin: 0 0 9px;
  font-size: 1.14rem;
  line-height: 1.28;
}

.taljer-kort h2 a {
  text-decoration: none;
}

.taljer-kort p {
  margin: 0 0 12px;
  color: #505050;
  font-size: .94rem;
  line-height: 1.48;
}

.taljer-standard {
  display: inline-block;
  align-self: flex-start;
  margin: auto 0 13px;
  padding: 6px 8px;
  border-radius: 4px;
  background: #f0f2f3;
  color: #4e5457;
  font-size: .8rem;
  font-weight: 700;
}

.taljer-les-mer {
  font-weight: 700;
  text-decoration: none;
}

/* Valghjelp */
.taljer-valghjelp {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  margin-top: 32px;
  padding: 24px 26px;
  border: 1px solid #d8dcde;
  border-radius: 8px;
  background: #f5f7f7;
}

.taljer-valghjelp h2 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.taljer-valghjelp p {
  max-width: 800px;
  margin: 0;
  color: #4f4f4f;
  line-height: 1.55;
}

.es-forms-floating-button {
  display: none !important;
}

@media screen and (max-width: 980px) {
  .a2a_floating_style.a2a_floating_style {
    display: none;
  }

  .taljer-hero {
    grid-template-columns: 1fr;
  }

  .taljer-hero-bilde,
  .taljer-hero-bilde img {
    min-height: 0;
  }

  .taljer-hurtigvalg {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .taljer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 680px) {
  .taljer-shell {
    padding: 12px 8px 26px;
  }

  .taljer-page {
    padding: 18px 14px 24px;
    border-radius: 7px;
  }

  .taljer-page .breadcrumb {
    margin-bottom: 18px;
    font-size: .82rem;
  }

  .taljer-hero {
    gap: 16px;
    margin-bottom: 20px;
  }

  .taljer-hero-tekst {
    padding: 4px 0 0;
  }

  .taljer-hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .taljer-ingress {
    font-size: 1rem;
  }

  .taljer-knapper {
    display: grid;
    grid-template-columns: 1fr;
  }

  .taljer-knapp,
  .taljer-page .btn-kontakt {
    width: 100%;
  }

  .taljer-hurtigvalg {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .taljer-grid {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .taljer-kort {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    min-height: 136px;
  }

  .taljer-kort-bilde {
    min-height: 136px;
    padding: 10px;
  }

  .taljer-kort-bilde img {
    max-width: 94px;
    max-height: 112px;
  }

  .taljer-kort-tekst {
    justify-content: center;
    padding: 12px 13px;
    border-top: 0;
    border-left: 1px solid #eceeef;
  }

  .taljer-kort-kategori {
    margin-bottom: 5px;
    font-size: .68rem;
  }

  .taljer-kort h2 {
    margin-bottom: 6px;
    font-size: 1rem;
  }

  .taljer-kort p {
    margin-bottom: 8px;
    font-size: .85rem;
    line-height: 1.38;
  }

  .taljer-standard {
    margin: 0 0 7px;
    padding: 4px 6px;
    font-size: .72rem;
  }

  .taljer-les-mer {
    font-size: .85rem;
  }

  .taljer-valghjelp {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 19px 17px;
  }
}

@media screen and (max-width: 400px) {
  .taljer-hurtigvalg {
    grid-template-columns: 1fr;
  }

  .taljer-kort {
    grid-template-columns: 92px minmax(0, 1fr);
  }

  .taljer-kort-bilde img {
    max-width: 76px;
    max-height: 96px;
  }

  .taljer-kort p {
    display: none;
  }
}
