/* CSS Document */

/* === Google Fonts === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Oswald:wght@300;400;600;700&display=swap');

/* === Reset & basinställningar === */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Inter', sans-serif;
  background-color: #fff;
  color: #111;
  line-height: 1.6;
}
h1 {
  font-family: 'Inter', sans-serif;
  font-size: 2rem;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 1rem 0;
  color: #111;
}
h2 {font-size: 1.6rem; line-height: 1.3; margin:1rem 0;}
p {margin-bottom:1rem;}
h1, h2, h3, h4, h5, h6, ol, ul {
  flex: 0 0 100%; /* förhindrar att viktiga element ligger bredvid andra i samma flex*/
}
/* === Wrapper === */
#wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* === Innehållsbegränsning för header/footer === */
.inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem;
}

/* === Header === */
#headcontainer {
  background-color: #0071bc;
  border-bottom: 1px solid #005a94;
  text-align: center;
  width: 100%;
}
header {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-wrap: wrap;
}
#logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
  text-decoration: none;
}
#logo img {
  width: 70px;
  height: auto;
  display: block;
}

#logo span {
  font-family: 'Oswald', sans-serif;
  font-size: 4rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}
header a,
header a:visited {
  text-decoration: none;
  color: inherit;
}

/* === Main content layout === */
#maincontentcontainer {
  padding: 0 0 2rem 0;
}
.section.group {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin:1rem 0;
}
.section.group.main, .section.group.cat{
  gap: 0; margin-top:0;
}
.section.group .column {
  flex: 1 1 200px;
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.section.group .column h3 {
  margin-top: 0;
  font-size: 1.1rem;
  color: #333;
}

.section.group .column > a {
  color: #0055aa;
  text-decoration: underline;
  display: block;
  margin-bottom: 0.5rem;
}

.section.group .column > a:hover {
  text-decoration: none;
}

.section.group .column p a {
    display: inline;
    margin: 0;
	color:#0077cc;
}

#maincol {
  flex: 2.5;
  margin-bottom:2rem;
}

.main ol, #maincol ul {
  padding-left: 1.5rem;  
  margin-bottom: 1.5rem;  
  font-size: 1rem;       
  line-height: 1.6;      
  list-style-position: inside;
  font-family: inherit;
}
.main ol {list-style-type: decimal;}

.main ol li, #maincol ul li {
  margin-bottom: 0.5rem;  
}

/* === Brödsmulor === */
.cat_breadcrumb {
  font-size: 0.875rem; 
  color: #666;
  margin: 0 0 1rem 0;
  padding: 0;
  line-height: 1.4;
}

.cat_breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cat_breadcrumb li {
  display: flex;
  align-items: center;
}

.cat_breadcrumb li:not(:last-child)::after {
  content: "›";
  margin: 0 0.5em;
  color: #999;
  font-size: 0.9em;
}

.cat_breadcrumb a {
  color: #0077cc;
  text-decoration: none;
}

.cat_breadcrumb a:hover {
  text-decoration: underline;
}

/* === Erbjudandebox för Enskilt erbjudande === */
#erbjudandeBox {
  margin-bottom: 2rem;
}
#erbjudandeBox img.shadow {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin-bottom: 1rem;
}
.clickbutton {
  display: inline-block;
  margin: 20px auto;
  padding: 14px 24px;
  background: linear-gradient(135deg, #28a745, #8cd790);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  text-align: center;
  text-decoration: none;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.clickbutton:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}
.savepricetag {
  display: inline-block;
  background-color: #ffcc00;
  color: #333;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
  font-size: 0.9rem;
  margin-left: 0.5rem;
}
#erbjudandeBox_text {
  font-size: 1rem;
  line-height: 1.6;
}
#erbjudandeBox_text a {
  display: inline-block;
  background-color: #0071bc;
  color: #fff;
  font-weight: 600;
  padding: 4px 10px;
  margin: 4px 6px 4px 0;
  text-decoration: none;
  border-radius: 20px;
  font-size: 0.9rem;
  line-height: 1.4;
  transition: background 0.2s ease;
}

#erbjudandeBox_text a:hover {
  background-color: #2196f3;
}
.offer-image-center {
  text-align: center;
  margin-bottom: 1.5rem;
}
.image-badge-wrap {
  position: relative;
  display: inline-block;
}
.image-badge-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.savepricetag-badge {
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: #ffc107;
  color: #000;
  font-weight: bold;
  padding: 6px 10px;
  font-size: 0.9rem;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 2;
}

.center-btn {
  text-align: center;
  margin: 1.5rem 0;
}

.offer-ended {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.label-ended {
  background-color: #eee;
  color: #999;
  padding: 0.8rem 1.5rem;
  font-weight: 600;
  font-size: 1rem;
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}


/* === Kontaktformulär === */
.kontaktformular {
  max-width: 600px;
  margin: 0 auto;
  padding: 1.5rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.kontaktformular h1 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.kontaktformular .form-row {
  margin-bottom: 1.2rem;
}

.kontaktformular label {
  display: block;
  font-weight: bold;
  margin-bottom: 0.4rem;
}

.kontaktformular input[type="text"],
.kontaktformular input[type="email"],
.kontaktformular textarea {
  width: 100%;
  padding: 0.6rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.kontaktformular textarea {
  resize: vertical;
}

.kontaktformular .info-text {
  background: #f9f9f9;
  padding: 0.8rem;
  border-left: 4px solid #0071bc;
  font-size: 0.95rem;
  color: #333;
  margin: 1rem 0;
}

.kontaktformular .clickbutton {
  display: inline-block;
  background: linear-gradient(135deg, #28a745, #5cd65c);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  padding: 0.6rem 1.2rem;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s ease;
}

.kontaktformular .clickbutton:hover {
  background: linear-gradient(135deg, #23963c, #4fb84f);
}

/* === WatchOffer Bevaka tagg === */

#watchOffer {
  background-color: #e8f3fc;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  padding: 20px;
  margin-top: 10px;
  max-width:450px;
}
#watchOffer label {
  display: inline-block;
  margin-right: 15px;
  font-weight: 500;
}

#watchOffer input[type="checkbox"] {
  transform: scale(1.2);
  margin-right: 5px;
}
#watchOffer .email-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

#watchOffer input[type="email"] {
  flex: 1;
  padding: 8px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

#watchOffer input[type="submit"] {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 5px;
  cursor: pointer;
}

#watchOffer input[type="submit"]:hover {
  background-color: #0056b3;
}
#watchOffer .watch-offer-footer {margin-top: 1rem;
    font-size: 0.7rem;}
#watchOffer .watch-tag {
    display: inline-block;
    background-color: #0071bc;
    color: #fff;
    font-weight: 600;
    padding: 4px 10px;
    margin: 4px 6px 4px 0;
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    line-height: 1.4;
    transition: background 0.2s ease;
}

/* === Tabeller === */
table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

thead {
  background-color: #0071bc;
  color: white;
  text-align: left;
}

thead th {
  padding: 12px 16px;
  font-weight: bold;
}

tbody td {
  padding: 12px 16px;
  border-top: 1px solid #eee;
  background-color: #fff;
}
tbody td:first-child {
  font-weight: bold;
}

tbody tr:hover {
  background-color: #f5faff;
  transition: background-color 0.2s ease;
}

tbody tr:last-child td {
  border-bottom: none;
}


/* === Right content layout === */
.rightcolumn {
  flex: 1;
  max-width:350px;
}
.rightcolumn h3 {font-size:1.1rem;margin-bottom:10px;}
.infobox {
  background: #fff;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}
.infobox p {
  margin-top: 1rem;
}
.infobox p a{color:#0077cc;}
.infobox ul {padding-left: 1.5rem;   
  margin-bottom: 1.5rem;  
  font-size: 1rem;       
  line-height: 1.6;      
  list-style-position: inside; 
  font-family: inherit;
}

.main ol li {
  margin-bottom: 0.5rem;  
}
/* === Produktkort === */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

@media (min-width: 1200px) {
  .card-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) and (max-width: 1199px) {
  .card-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 600px) and (max-width: 899px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 599px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.offer-card {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.offer-card:hover {
  transform: translateY(-4px);
}

.offer-link {
  text-decoration: none;
  color: inherit;
  display: block;
}
.offer-image-wrap {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 60%;
  overflow: hidden;
}
.offer-image-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #0071bc;
  color: #fff;
  font-size: 0.75rem;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
}

.offer-card-content {
  padding: 1rem;
}

.offer-title {
  font-size: 1rem;
  font-weight: 600;
  font-family: 'Oswald', sans-serif;
}


/* === Handplockade erbjudanden (redpicked och handpicked) === */
#redpicked {
  background: #f1f1f1;
  padding: 1rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

#redpicked h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 1rem;
  color: #222;
}

.picked {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  border-bottom: 1px solid #ddd;
  padding-bottom: 1rem;
}

.picked:last-child {
  border-bottom: none;
}

.picked img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

.pickedhead a {
  font-weight: 600;
  color: #003b66;
  font-size: 1.1rem;
  text-decoration: none;
}

.pickedhead a:hover {
  text-decoration: underline;
}

.pickedhead {
  margin-bottom: 0.5rem;
}

.picked > div {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.4;
}

.handpicked {
  margin: 20px 0;
}

.handpicked-offer {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  background: #fdfdfd;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  flex-direction: row;
}

.handpicked-img {
  width: 250px;
  height: 250px;
  object-fit: cover;
  border-radius: 4px;
}

.handpicked-content {
  flex: 1;
}

.handpicked-title a {
  font-weight: bold;
  font-size: 1.1rem;
  text-decoration: none;
  color: #222;
}

.handpicked-title a:hover {
  text-decoration: underline;
}

.handpicked p {
  margin: 8px 0;
}

.handpicked .clickbutton {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 8px;
}

@media (max-width: 600px) {
  .picked {
    flex-direction: column;
    align-items: stretch;
  }

  .picked img {
    width: 100%;
    height: auto;
  }
  .handpicked-offer {
    flex-direction: column;
    align-items: center;
  }

  .handpicked-img {
    width: 100%;
    min-height: auto;
    max-width: 100%;
  }

  .handpicked-content {
    width: 100%;
  }

  .handpicked .clickbutton {
    margin-left: auto;
    margin-right: auto;
    display: inline-block;
  }
}



/* === Listor === */
.image-offer-list {
  list-style: none;
  padding-left: 0 !important;
  margin: 0;
}
.image-offer-list li img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
  border-radius: 4px;
  border: 1px solid #ddd;
}
.image-offer-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
  padding: 0;
  border-radius: 6px;
  transition: background-color 0.2s ease;
}
.image-offer-list li a {
  font-size: 0.9rem;
  color: #111;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  line-height: 1.3;
  display: inline-block;
}

.image-offer-list li a:hover {
  text-decoration: underline;
}
.image-offer-list li:hover {
  background-color: #f7f7f7;
  cursor: pointer;
}
/* === Newsletter bar === */
.newsletterbar {
  background-color: #111;
  color: #fff;
  padding: 2rem 1rem;
  width: 100%;
}

.newsletterbar .inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.newsletterbar h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-family: 'Oswald', sans-serif;
}

.newsletterbar input[type="text"],
.newsletterbar input[type="email"] {
  padding: 0.5rem;
  margin: 0.5rem;
  border: none;
  border-radius: 4px;
  max-width: 300px;
}

.newsletterbar input[type="submit"] {
  background-color: #0071bc;
  color: #fff;
  padding: 0.5rem 1rem;
  border: none;
  margin-top: 0.5rem;
  border-radius: 4px;
  cursor: pointer;
}

.newsletterbar a {
  color: #ffd700;
  text-decoration: underline;
  font-size: 0.9rem;
}


/* === Footer === */
#footercontainer {
  background-color: #0071bc;
  border-top: 1px solid #005a94;
  padding: 2rem 0;
  width: 100%;
  font-size: 0.95rem;
}
#footercontainer,
#footercontainer h4,
#footercontainer a,
#footercontainer p {
  color: #fff;
}

#footercontainer a:hover {
  color: #ffd700;
}
footer.group {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2rem;
}
footer .col {
  flex: 1 1 30%;
}
.footerlogo img {
  display: block;
  margin: 0 auto 1rem auto;
}

.footernav ul,
.footerintl ul {
  list-style: none;
  padding-left: 0;
}

.footernav ul li,
.footerintl ul li {
  margin-bottom: 0.5rem;
}

.footernav h4,
.footerintl h4 {
  font-size: 1.1rem;
  2.5rem 0 1rem 0;
}

.footerintl img {
  border: 1px solid #fff;
  border-radius: 2px;
  padding: 1px;
  background-color: #fff;
  vertical-align: middle;
  width: 16px;
  height: 16px;
}


/* === Tillgänglig skip-länk === */
#skiptomain {
  position: absolute;
  top: -40px;
  left: 0;
  background: #000;
  color: #fff;
  z-index: 1000;
  transition: top 0.3s ease-in-out;
}
#skiptomain a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
#skiptomain:focus-within {
  top: 0;
}

/* === Desktopmeny === */

#mainmenu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: center;
  padding: 0;
  margin: 0;
}
#mainmenu li a {
  text-decoration: none;
  color: #fff;
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: color 0.2s ease;
}
#mainmenu li a:hover {
  color: #ffd700;
}

/* === Mobilmeny (off-canvas) === */
#mainmenu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  background-color: #0071bc;
  transition: right 0.3s ease-in-out;
  z-index: 1000;
  padding: 3rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
}
#mainmenu ul {
  flex-direction: column;
  gap: 1.5rem;
}
#mainmenu.open {
  right: 0;
}

#menuToggle {
  display:none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  z-index: 1101;
  position: absolute;
  right:1rem;
  transition: all 0.3s ease;
}
#menuToggle.open::before {
  content: '×';
  font-size: 2.5rem;
  color: #fff;
  display: block;
}

#menuToggle.open {
  font-size: 0; 
  position: fixed;
  top: 1rem;
  z-index: 1102;
}

/* === Bakgrund när meny är öppen === */
#overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}
#overlay.show {
  display: block;
}

/* === Google annonser === */

.adwrapper {
  text-align: center;
  margin: 1rem auto;
  width: 100%;
}

/* Om annonsen ligger i main column */
#maincol .adwrapper {
  max-width: 800px; /* Anpassa efter ditt innehåll */
}

/* Om annonsen ligger i högerspalten */
.rightcolumn .adwrapper {
  max-width: 336px; /* Vanlig sidebar-bredd */
}

/* Själva Adsense-blocket */
.adwrapper ins.adsbygoogle {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  min-height: 250px;
}


/* === Visa rätt saker beroende på skärmstorlek === */
@media (min-width: 769px) {

  
  #mainmenu {
    position: static;
    height: auto;
    width: auto;
    background: none;
    padding: 0;
  }
  #mainmenu ul {
    flex-direction: row;
  }
  #overlay {
    display: none !important;
  }
}
@media (max-width: 768px) {
  header {
    justify-content: space-between;
  }

  #menuToggle {
    display: block;
  }

  #logo img {
    width: 48px;
  }

  #logo span {
    font-size: 2rem;
  }

  #maincol,
  .rightcolumn {
    flex: 1 1 100%;
  }
  .rightcolumn {max-width:100%;}
  .section.group {display:block;}

  h1 {
    font-size: 1.4rem;
    line-height: 1.2;
    margin: 1rem 0;
  }

  h2 {
    font-size: 1.2rem;
    line-height: 1.2;
    margin: 1rem 0;
  }

  .footernav,
  .footerintl {
    flex: 1 1 48%;
  }
  .footernav{padding-left:2rem;}

  .footerlogo {
    flex: 1 1 100%;
    text-align: center;
  }

  .footerlogo img {
    margin-bottom: 1rem;
  }

  .footerintl ul,
  .footernav ul {
    text-align: left;
    display: inline-block;
  }

}

/* === Header-sök (ikon + utfällbar sökruta) === */
#header-search {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  display: flex;
  align-items: center;
  z-index: 1103;
}
#header-search-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
#header-search-input {
  width: 0;
  opacity: 0;
  padding: 0;
  border: none;
  border-radius: 4px;
  height: 2.4rem;
  font-size: 1rem;
  box-sizing: border-box;
  transition: width 0.35s ease, opacity 0.2s ease, padding 0.35s ease;
}
#header-search.open #header-search-input {
  width: 260px;
  opacity: 1;
  padding: 0 0.6rem;
  margin-right: 0.4rem;
  border: 1px solid #fff;
}
#header-search-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  padding: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
#header-search-btn svg {
  width: 26px;
  height: 26px;
  display: block;
  fill: currentColor;
}
/* Mobil: flytta ut hamburgaren + sökikonen mot högerkanten som ett par,
   så sökikonen inte hamnar för nära sajtnamnet. */
@media (max-width: 768px) {
  #menuToggle {
    right: 0.5rem;
  }
  #header-search {
    top: 0.6rem;
    right: 2.6rem;
  }
  #header-search.open #header-search-input {
    width: min(58vw, 220px);
  }
}

/* === Taggsidor: historik, texter och varumärkesblock (260909) === */
.tagg-subtext {
  margin-top: 2rem;
}
.tagg-noactive {
  background: #fff8e5;
  border-left: 4px solid #f0b400;
  padding: 0.9rem 1rem;
  border-radius: 4px;
  margin: 1rem 0 1.5rem;
}
.tagg-historik {
  margin: 2.5rem 0 1.5rem;
  padding: 1.25rem 1.5rem;
  background: #f7f7f7;
  border-radius: 8px;
}
.tagg-historik h2 {
  margin-top: 0;
  font-size: 1.4rem;
}
.tagg-historik-intro {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.historik-lista {
  list-style: none;
  margin: 0;
  padding: 0;
}
.historik-rad {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid #e2e2e2;
}
.historik-rad:last-child {
  border-bottom: 0;
}
.historik-rubrik {
  flex: 1 1 60%;
  color: #333;
}
.historik-meta {
  color: #777;
  font-size: 0.85rem;
  white-space: nowrap;
}
.historik-spara {
  color: #0071bc;
  font-weight: 600;
}
.tagg-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.5rem 0 1.5rem;
}
.tagg-links a {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  background: #eef4f9;
  border: 1px solid #d3e2ee;
  border-radius: 999px;
  font-size: 0.9rem;
  color: #00558f;
  text-decoration: none;
}
.tagg-links a:hover {
  background: #dceaf5;
}

/* === Startsidan: varumärkes-/taggblock === */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 2rem;
}
.brand-card {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding: 0.85rem 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-decoration: none;
  color: #003b66;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.brand-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}
.brand-name {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
}
.brand-meta {
  color: #777;
  font-size: 0.82rem;
}
@media (max-width: 599px) {
  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .historik-meta {
    white-space: normal;
  }
}

/* === Taggindex (/taggar/) === */
.tagg-alfabet {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1rem 0 1.5rem;
}
.tagg-alfabet a {
  display: inline-block;
  min-width: 2rem;
  text-align: center;
  padding: 0.3rem 0.5rem;
  background: #eef4f9;
  border: 1px solid #d3e2ee;
  border-radius: 4px;
  color: #00558f;
  text-decoration: none;
  font-weight: 600;
}
.tagg-alfabet a:hover {
  background: #dceaf5;
}
.tagg-bokstav {
  font-family: 'Oswald', sans-serif;
  border-bottom: 2px solid #0071bc;
  padding-bottom: 0.2rem;
  margin: 1.75rem 0 0.75rem;
  scroll-margin-top: 1rem;
}
.tagg-index-lista {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 2rem;
}
.tagg-index-lista li {
  break-inside: avoid;
  padding: 0.25rem 0;
}
.tagg-antal {
  font-size: 0.8rem;
  color: #0071bc;
  white-space: nowrap;
}
.tagg-antal-hist {
  color: #999;
}
.brand-more {
  margin: -1rem 0 2rem;
}
.brand-more a {
  color: #00558f;
  font-weight: 600;
  text-decoration: none;
}
@media (max-width: 599px) {
  .tagg-index-lista {
    columns: 1;
  }
}

/* === Funktionell sidopanel: bevakning + gratisprover === */
.infobox-feature {
  border-left: 4px solid #0071bc;
}
.infobox-feature h3 {
  margin-top: 0;
}
.feature-btn {
  display: inline-block;
  margin: 0.5rem 0 0.25rem;
  padding: 0.6rem 1.1rem;
  background: #0071bc;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
}
.feature-btn:hover {
  background: #005a96;
  color: #fff;
}
.feature-btn-alt {
  background: #2e9e5b;
}
.feature-btn-alt:hover {
  background: #24804a;
}
.feature-fot {
  margin: 0.5rem 0 0;
  font-size: 0.82rem;
  color: #777;
}

/* === Varuprover-sidan === */
.prover-ingress {
  font-size: 1.05rem;
}
.offer-badge-free {
  background: #2e9e5b;
}
.prover-tomt {
  background: #f7f7f7;
  border-radius: 8px;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
}
.prover-signup {
  background: #eef7f1;
  border: 1px solid #cfe7d9;
  border-radius: 10px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.prover-signup h2 {
  margin-top: 0;
}
.prover-signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0.5rem;
}
.prover-signup-row input[type="email"] {
  flex: 1 1 220px;
  padding: 0.65rem 0.8rem;
  border: 1px solid #bcd6c6;
  border-radius: 6px;
  font-size: 1rem;
}
.prover-signup-row button {
  padding: 0.65rem 1.3rem;
  background: #2e9e5b;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.prover-signup-row button:hover {
  background: #24804a;
}
.prover-gdpr {
  display: block;
  font-size: 0.88rem;
  color: #555;
}
.prover-resp {
  margin: 0.6rem 0 0;
  font-weight: 600;
  color: #1a5276;
}
.prover-signup-fot {
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
  color: #777;
}

/* === Avanmälningssida === */
.unsub-form {
  max-width: 640px;
  margin: 1.25rem 0;
}
.unsub-val {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  margin-bottom: 0.6rem;
  background: #f9f9f9;
  border: 1px solid #e2e2e2;
  border-radius: 8px;
  cursor: pointer;
}
.unsub-val:hover {
  background: #f2f6f9;
}
.unsub-val input {
  margin-top: 0.25rem;
  flex: 0 0 auto;
}
.unsub-val em {
  color: #666;
  font-size: 0.9rem;
  font-style: normal;
}
.unsub-val-allt {
  background: #fdf3f3;
  border-color: #f0d5d5;
}
.unsub-btn {
  margin-top: 0.5rem;
  padding: 0.7rem 1.4rem;
  background: #0071bc;
  color: #fff;
  border: 0;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
}
.unsub-btn:hover {
  background: #005a96;
}
.unsub-klart {
  background: #eef7f1;
  border-left: 4px solid #2e9e5b;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  margin-bottom: 1.25rem;
}

/* ============================================================
   C-DESIGN (260909_02): fullbreddsband i stället för tvåspalt
   Banden bryter ut ur #wrapper med negativa marginaler så att
   bakgrunden går kant till kant medan innehållet håller 1200px.
   ============================================================ */

/* Band: full bredd, centrerat innehåll */
.gs-band {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}
.gs-band-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 32px;
}
.gs-band-vit { background: #fff; }
.gs-band-gra { background: #f5f7f9; border-top: 1px solid #e6ebef; }
.gs-band-morkbla { background: #003b66; color: #fff; }
.gs-band-gron { background: #2e9e5b; color: #fff; }

.gs-band h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 26px;
  font-weight: 600;
  margin: 0 0 4px;
  letter-spacing: -.01em;
}
.gs-band-morkbla h2,
.gs-band-gron h2 { color: #fff; }
.gs-sub {
  font-size: 14px;
  color: #5d6a74;
  margin: 0 0 22px;
}
.gs-band-morkbla .gs-sub,
.gs-band-gron .gs-sub { color: #b9d5e8; }

/* Hero med sök */
.gs-hero {
  padding: 40px 32px 46px;
  text-align: center;
}
.gs-hero h1 {
  font-family: 'Oswald', sans-serif;
  font-size: 36px;
  font-weight: 600;
  margin: 0 0 8px;
  letter-spacing: -.02em;
  color: #fff;
}
.gs-hero p {
  font-size: 15px;
  color: #b9d5e8;
  margin: 0 auto 24px;
  max-width: 56ch;
}
.gs-sok {
  max-width: 620px;
  margin: 0 auto;
  display: flex;
  gap: 8px;
}
.gs-sok input[type="search"],
.gs-sok input[type="text"] {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 14.5px;
  font-family: inherit;
}
.gs-sok button {
  background: #2e9e5b;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 14px 26px;
  font-weight: 600;
  font-size: 14.5px;
  font-family: inherit;
  cursor: pointer;
}
.gs-sok button:hover { background: #24804a; }

/* Chips */
.gs-chips {
  margin-top: 16px;
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.gs-chips a {
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12.5px;
  color: #d6ebf8;
  text-decoration: none;
}
.gs-chips a:hover {
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
/* Chips på ljus botten (kategorisidan) */
.gs-chips-ljus a {
  border-color: #dde4ea;
  color: #003b66;
  background: #fff;
}

/* Tre ingångar under heron */
.gs-entries {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.gs-entry {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid #e2e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
}
.gs-entry:hover { border-color: #b8ccdb; }
.gs-entry-ikon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  flex: 0 0 auto;
  background: #dce9f3;
}
.gs-entry-titel {
  font-family: 'Oswald', sans-serif;
  font-size: 15.5px;
  font-weight: 500;
}
.gs-entry-desc {
  font-size: 12.5px;
  color: #6d7982;
  margin-top: 2px;
}

/* Varumärkesrutor */
.gs-brand-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}
.gs-brand {
  background: #fff;
  border: 1px solid #e2e7eb;
  border-radius: 8px;
  padding: 13px 15px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  text-decoration: none;
}
.gs-brand:hover { border-color: #b8ccdb; }
.gs-brand-namn {
  font-size: 14px;
  font-weight: 500;
  color: #003b66;
}
.gs-brand-antal {
  font-size: 11.5px;
  color: #96a1a9;
  white-space: nowrap;
}

/* Redaktionellt avsnitt + FAQ */
.gs-redaktion {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 44px;
}
.gs-redaktion p {
  font-size: 15px;
  line-height: 1.65;
  color: #3b464f;
}
.gs-faq-item {
  border-bottom: 1px solid #e8ecef;
  padding: 14px 0;
}
.gs-faq-q {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 5px;
  color: #14181c;
}
.gs-faq-a {
  font-size: 13.5px;
  line-height: 1.55;
  color: #56626b;
  margin: 0;
}

/* Grönt gratisproverband */
.gs-prover-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.gs-prover-text { flex: 1 1 380px; }
.gs-prover-form {
  display: flex;
  gap: 8px;
  flex: 0 1 400px;
}
.gs-prover-form input {
  flex: 1;
  border: 0;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 13.5px;
  font-family: inherit;
}
.gs-prover-form button {
  background: #14181c;
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
}
.gs-prover-form button:hover { background: #000; }

/* Brödsmulor i mörkt band */
.gs-crumb {
  font-size: 12.5px;
  color: #b9d5e8;
  margin-bottom: 12px;
}
.gs-crumb a { color: #b9d5e8; }
.gs-crumb a:hover { color: #fff; }

/* ---- Mobil ---- */
@media (max-width: 899px) {
  .gs-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gs-brand-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gs-redaktion { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 599px) {
  .gs-band-inner { padding: 24px 16px; }
  .gs-hero { padding: 24px 16px 28px; }
  .gs-hero h1 { font-size: 25px; line-height: 1.2; }
  .gs-hero p { font-size: 13.5px; }
  .gs-band h2 { font-size: 20px; }

  /* Sökknappen under fältet — ryms inte bredvid på mobil */
  .gs-sok { flex-direction: column; }
  .gs-sok button { padding: 13px; }

  /* Chips scrollar i sidled i stället för att brytas till flera rader */
  .gs-chips {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .gs-chips a { white-space: nowrap; flex: 0 0 auto; }

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

  .gs-prover-band { flex-direction: column; align-items: stretch; gap: 14px; }
  .gs-prover-form { flex-direction: column; }
}

/* Bandlayout: wrappern ska inte begränsa banden */
.wrapper-band {
  max-width: none;
  padding: 0;
}

/* === Varumärkesträffar i sökresultatet === */
.sok-taggar {
  margin: 0 0 24px;
  padding: 16px 18px;
  background: #f2f8fc;
  border: 1px solid #d8e8f3;
  border-radius: 10px;
}
.sok-taggar-rubrik {
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 10px;
  color: #003b66;
}
.sok-tagg {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 12px;
  margin-bottom: 6px;
  background: #fff;
  border: 1px solid #dbe7f1;
  border-radius: 8px;
  text-decoration: none;
}
.sok-tagg:hover { border-color: #a8c9e0; }
.sok-tagg-namn {
  font-size: 14.5px;
  font-weight: 600;
  color: #003b66;
}
.sok-tagg-meta {
  font-size: 12.5px;
  color: #7b8894;
  white-space: nowrap;
}
@media (max-width: 599px) {
  .sok-tagg { flex-direction: column; gap: 3px; }
  .sok-tagg-meta { white-space: normal; }
}

/* === Taggsida (varumärke) === */
.gs-tagg-hero {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 36px;
  align-items: end;
}
.gs-tagg-ingress p {
  font-size: 14.5px;
  color: #b9d5e8;
  margin: 0 0 14px;
  max-width: 62ch;
}
.gs-tagg-fakta {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: #8fbcdb;
  flex-wrap: wrap;
}
.gs-tagg-fakta strong { color: #fff; }

.gs-bevaka {
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  padding: 18px;
}
.gs-bevaka-titel {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  color: #fff;
}
.gs-bevaka-text {
  font-size: 12.5px;
  color: #b9d5e8;
  margin: 0 0 12px;
}
.gs-bevaka #watchOffer { margin: 0; }
.gs-bevaka #formWatch {
  display: flex;
  gap: 7px;
}
.gs-bevaka #formWatch input[type="text"] {
  flex: 1;
  min-width: 0;
  border: 0;
  border-radius: 6px;
  padding: 10px 12px;
  font-size: 13px;
  font-family: inherit;
}
.gs-bevaka #formWatch input[type="submit"] {
  background: #2e9e5b;
  color: #fff;
  border: 0;
  border-radius: 6px;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
}
.gs-bevaka #formWatch input[type="submit"]:hover { background: #24804a; }
.gs-bevaka-fot {
  font-size: 11px;
  color: #8fbcdb;
  margin: 10px 0 0;
  line-height: 1.45;
}

/* Tomtläge */
.gs-tomt {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #6b5416;
}
.gs-tomt svg { flex: 0 0 auto; }

/* Historiklista */
.gs-historik {
  border: 1px solid #e4e9ed;
  border-radius: 10px;
  overflow: hidden;
}
.gs-historik-rad {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 18px;
  border-bottom: 1px solid #eef1f4;
}
.gs-historik-rad:last-child { border-bottom: 0; }
.gs-historik-rubrik {
  font-size: 14px;
  color: #22303a;
}
.gs-historik-meta {
  font-size: 12.5px;
  color: #96a1a9;
  white-space: nowrap;
}
.gs-historik-spara {
  color: #0071bc;
  font-weight: 600;
}

.gs-tagg-text2 p {
  font-size: 15px;
  line-height: 1.65;
  color: #3b464f;
  max-width: 78ch;
}
.gs-tagg-text2 h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
}

@media (max-width: 899px) {
  .gs-tagg-hero { grid-template-columns: 1fr; gap: 22px; align-items: stretch; }
}
@media (max-width: 599px) {
  .gs-bevaka #formWatch { flex-direction: column; }
  .gs-historik-rad { flex-direction: column; gap: 3px; }
  .gs-historik-meta { white-space: normal; }
  .gs-tomt { align-items: flex-start; }
}

/* === Taggsida v2: statusrad, mobilflytt av bevakning === */
.gs-tagg-topp {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.gs-tagg-topp .gs-crumb { margin-bottom: 12px; }
.gs-tagg-status {
  font-size: 12.5px;
  color: #8fbcdb;
  white-space: nowrap;
}

/* Landningsplats för bevakningsrutan på mobil — tom och osynlig på desktop */
.gs-bevaka-mobil { display: none; }
.gs-bevaka-mobil:not(:empty) { display: block; }
.gs-bevaka-mobil .gs-band-inner,
.gs-bevaka-mobil > .gs-bevaka {
  max-width: 1200px;
  margin: 0 auto;
}
.gs-bevaka-mobil > .gs-bevaka {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: 22px 16px;
}

@media (max-width: 899px) {
  .gs-tagg-status { white-space: normal; }
}

/* === Fix: e-postfältet blev flera hundra px högt på mobil ===
   .gs-prover-form är flex-row på desktop där `flex:1` betyder bredd. På mobil
   vänds den till column — då styr `flex:1` HÖJDEN i stället, och fältet
   sträcktes ut över hela bandet. Lås höjden med flex:none. */
@media (max-width: 599px) {
  .gs-prover-form { align-items: stretch; }
  .gs-prover-form input,
  .gs-prover-form button {
    flex: none;
    width: 100%;
  }
  .gs-prover-band { align-items: stretch; }
}

/* === Kategorisida === */
.gs-kat-ingress {
  font-size: 14.5px;
  color: #b9d5e8;
  margin: 0 0 18px;
  max-width: 68ch;
}
.gs-brand-arkiv .gs-brand-namn { color: #4c5a64; }
.gs-brand-arkiv .gs-brand-antal { color: #a8b2b9; }

.gs-fler-knapp {
  margin-top: 14px;
  padding: 10px 20px;
  background: #fff;
  border: 1px solid #cfd8de;
  border-radius: 8px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  color: #00558f;
  cursor: pointer;
}
.gs-fler-knapp:hover {
  background: #f2f8fc;
  border-color: #a8c9e0;
}
.gs-kat-text h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 24px;
  margin-top: 1.6rem;
}
.gs-kat-text p {
  font-size: 15px;
  line-height: 1.65;
  color: #3b464f;
  max-width: 78ch;
}

/* === Fix: varumärkeskorten blev för breda på mobil ===
   .gs-brand är en flex-RAD (namn till vänster, antal till höger). Långa
   taggnamn kan inte krympa eftersom flexbarn har min-width:auto som default,
   och .gs-brand-antal har white-space:nowrap — tillsammans sprängde de
   sidbredden och gav sidoscroll. På mobil staplas de i stället.
   Se [[reference_mobil_sidoscroll]]. */
.gs-brand-namn { min-width: 0; overflow-wrap: anywhere; }

@media (max-width: 599px) {
  .gs-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }
  .gs-brand-antal { white-space: normal; }
}

/* Samma skydd för övriga rad-i-flex-block: långa varumärkes-/rubriknamn
   ska kunna brytas i stället för att spränga sidbredden. */
.sok-tagg-namn,
.gs-historik-rubrik,
.gs-entry-titel,
.gs-entry-desc {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* === Erbjudandesida === */
.gs-erb {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}
.gs-erb-rubrik {
  font-family: 'Oswald', sans-serif;
  font-size: 31px;
  font-weight: 600;
  margin: 0 0 12px;
  letter-spacing: -.02em;
  line-height: 1.2;
  color: #101418;
}
.gs-erb-rubrik-gammal { color: #5c666f; }

.gs-erb-fakta {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.gs-erb-spara,
.gs-erb-giltig {
  font-size: 12.5px;
  padding: 5px 12px;
  border-radius: 999px;
}
.gs-erb-spara {
  background: #eef7f1;
  color: #22713f;
  border: 1px solid #cfe3d7;
  font-weight: 600;
}
.gs-erb-giltig {
  background: #f2f5f8;
  color: #45525c;
  border: 1px solid #dde4ea;
}

.gs-erb-utgangen {
  background: #f4f6f8;
  border-left: 4px solid #96a1a9;
  border-radius: 6px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.gs-erb-utgangen-rubrik {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 3px;
}
.gs-erb-utgangen-text {
  font-size: 13.5px;
  color: #5d6a74;
}

.gs-erb-brodtext {
  font-size: 15px;
  line-height: 1.65;
  color: #2c3740;
}
.gs-erb-brodtext p { margin-bottom: 1rem; }
.gs-erb-brodtext h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 21px;
  margin: 1.4rem 0 .6rem;
}

.gs-erb-knapp {
  display: inline-block;
  background: #2e9e5b;
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.gs-erb-knapp:hover { background: #24804a; color: #fff; }
.gs-erb-knapp-block {
  display: block;
  text-align: center;
  padding: 13px;
}
.gs-erb-knapp-rad { margin-top: 18px; }

.gs-erb-kort {
  border: 1px solid #e2e7eb;
  border-radius: 12px;
  overflow: hidden;
}
.gs-erb-bild {
  position: relative;
  background: #f5f7f9;
  text-align: center;
}
.gs-erb-bild img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.gs-erb-bild-gammal img { opacity: .72; }
.gs-erb-kort-inner { padding: 18px; }

.gs-erb-vidare-rubrik {
  font-family: 'Oswald', sans-serif;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 10px;
}
.gs-erb-vidare-rad {
  display: block;
  background: #f2f8fc;
  border: 1px solid #dbe7f1;
  border-radius: 8px;
  padding: 11px 13px;
  margin-bottom: 8px;
  font-size: 13.5px;
  line-height: 1.35;
  color: #003b66;
  text-decoration: none;
}
.gs-erb-vidare-rad:hover { border-color: #a8c9e0; }
.gs-erb-vidare-fot {
  border-top: 1px solid #e2e7eb;
  margin-top: 12px;
  padding-top: 12px;
  font-size: 12.5px;
  color: #5d6a74;
}

.gs-erb-relaterat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.gs-erb-rel-rad {
  display: flex;
  gap: 12px;
  align-items: center;
  background: #fff;
  border: 1px solid #e2e7eb;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #22303a;
}
.gs-erb-rel-rad:hover { border-color: #b8ccdb; }
.gs-erb-rel-bild {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 6px;
  background-size: cover;
  background-position: center;
  background-color: #eef2f5;
}
.gs-erb-rel-titel {
  font-size: 13.5px;
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 899px) {
  .gs-erb { grid-template-columns: 1fr; gap: 24px; }
  /* Bild och knapp först på mobil — det är dem besökaren kom för */
  .gs-erb-kort { order: -1; }
  .gs-erb-relaterat { grid-template-columns: 1fr; gap: 26px; }
}
@media (max-width: 599px) {
  .gs-erb-rubrik { font-size: 24px; }
  .gs-erb-knapp { display: block; text-align: center; }
}
