/* Gimle_Blogg — 2026-kort for blogginnlegg (html body-prefiks pga.
   byraaets raa-CSS-kaskade; faste bildehoeyder per kaskaderegelen) */
html body .gbl { margin: 8px 0 30px; }
html body .gbl-topp { display: flex; align-items: baseline; justify-content: space-between;
  margin: 0 0 16px; }
html body .gbl-tittel { font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
  font-size: 24px; color: #22303e; margin: 0; }
html body .gbl-alle { font: 600 11px 'Montserrat', sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: #22303e; text-decoration: underline;
  text-underline-offset: 3px; }
html body .gbl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px; }
html body .gbl-kort { display: flex; flex-direction: column; background: #fff;
  border: 1px solid #efe9dd; border-radius: 12px; overflow: hidden; text-decoration: none;
  color: #22303e; transition: box-shadow .15s; }
html body .gbl-kort:hover { box-shadow: 0 14px 34px rgba(30, 38, 50, .12);
  text-decoration: none; color: #22303e; }
html body .gbl-bilde { position: relative; display: block; height: 190px;
  background: #f4efe8; }
html body .gbl-bilde img { width: 100%; height: 100%; object-fit: cover; display: block; }
html body .gbl-kategori { position: absolute; top: 12px; left: 12px;
  font: 700 10px 'Montserrat', sans-serif; letter-spacing: .12em; text-transform: uppercase;
  background: #bcc9d4; color: #22303e; padding: 5px 10px; border-radius: 4px; }
html body .gbl-dato { font: 600 10px 'Montserrat', sans-serif; letter-spacing: .16em;
  text-transform: uppercase; color: #8a93a0; padding: 14px 18px 0; }
html body .gbl-navn { font-family: 'Playfair Display', Georgia, serif; font-weight: 500;
  font-size: 19px; line-height: 1.3; padding: 6px 18px 0; }
html body .gbl-utdrag { color: #5a6572; font-size: 13px; line-height: 1.6;
  padding: 8px 18px 0; }
html body .gbl-les { font: 600 11px 'Montserrat', sans-serif; letter-spacing: .14em;
  text-transform: uppercase; color: #22303e; padding: 12px 18px 18px; margin-top: auto; }
html body .gbl-kort:hover .gbl-les { color: #8a6b3f; }
@media (max-width: 767px) {
  html body .gbl-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  html body .gbl-bilde { height: 130px; }
  html body .gbl-navn { font-size: 15px; }
  html body .gbl-utdrag { display: none; }
}

/* --- leser-popup --- */
html body .gbl-overlay { position: fixed; inset: 0; z-index: 1200;
  background: rgba(15, 22, 30, .55); display: flex; align-items: flex-start;
  justify-content: center; padding: 40px 16px; overflow-y: auto; }
html body .gbl-leser { position: relative; background: #fff; border-radius: 14px;
  max-width: 760px; width: 100%; padding: 40px 46px 34px; margin-bottom: 40px; }
html body .gbl-lukk { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px;
  border: 1px solid #efe9dd; border-radius: 50%; background: #fff; color: #22303e;
  font-size: 20px; line-height: 1; cursor: pointer; }
html body .gbl-lukk:hover { background: #f4efe8; }
html body .gbl-leser-topp { display: flex; gap: 12px; align-items: center; margin: 0 0 10px; }
html body .gbl-leser-topp .gbl-kategori { position: static; }
html body .gbl-leser-topp .gbl-dato { padding: 0; }
html body .gbl-leser-tittel { font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500; font-size: 30px; line-height: 1.2; color: #22303e; margin: 0 0 18px; }
html body .gbl-leser-innhold { color: #3d4a58; font-size: 15px; line-height: 1.75; }
html body .gbl-leser-innhold p { margin: 0 0 14px; }
html body .gbl-leser-innhold h2, html body .gbl-leser-innhold h3 {
  font-family: 'Playfair Display', Georgia, serif; font-weight: 500; color: #22303e;
  margin: 22px 0 10px; }
html body .gbl-leser-innhold img { display: block; max-width: 100%; width: auto;
  height: auto; max-height: 320px; object-fit: contain; border-radius: 10px;
  margin: 20px auto; }
html body .gbl-leser-innhold a { color: #22303e; text-decoration: underline; }
html body .gbl-leser-innhold ul, html body .gbl-leser-innhold ol { margin: 0 0 14px 22px; }
html body .gbl-original { display: inline-block; margin-top: 18px;
  font: 600 11px 'Montserrat', sans-serif; letter-spacing: .14em; text-transform: uppercase;
  color: #22303e; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 767px) {
  html body .gbl-overlay { padding: 14px 8px; }
  html body .gbl-leser { padding: 26px 18px 22px; }
  html body .gbl-leser-tittel { font-size: 22px; }
}

/* WordPress-blokkene i leseren: 2026-drakt */
html body .gbl-leser-innhold figure { margin: 20px auto; text-align: center; }
html body .gbl-leser-innhold figure img { margin: 0 auto; }
html body .gbl-leser-innhold figcaption { color: #8a93a0; font-size: 11.5px;
  margin-top: 6px; }
html body .gbl-leser-innhold .wp-block-buttons { display: flex; gap: 10px;
  justify-content: center; margin: 6px 0 22px; }
html body .gbl-leser-innhold .wp-block-button__link,
html body .gbl-leser-innhold a.wp-block-button__link {
  display: inline-block; background: #a2d8e7; color: #22303e; border: none;
  border-radius: 999px; padding: 11px 26px; font: 600 11px 'Montserrat', sans-serif;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
html body .gbl-leser-innhold .wp-block-button__link:hover { background: #86c4da;
  color: #22303e; text-decoration: none; }
html body .gbl-leser-innhold .wp-block-columns { display: flex; gap: 22px;
  align-items: flex-start; margin: 0 0 14px; }
html body .gbl-leser-innhold .wp-block-column { flex: 1; min-width: 0; }
html body .gbl-leser-innhold h2, html body .gbl-leser-innhold h3,
html body .gbl-leser-innhold h4 { margin: 26px 0 10px; }
@media (max-width: 767px) {
  html body .gbl-leser-innhold .wp-block-columns { flex-direction: column; gap: 10px; }
  html body .gbl-leser-innhold img { max-height: 240px; }
}

/* bloggens egne kjøpsknapper (klasse eller knappe-aktig inline-stil)
   får butikkens kjøpeknapp-utseende */
html body .gbl-leser-innhold a.knapp,
html body .gbl-leser-innhold a.button,
html body .gbl-leser-innhold a[style*="background"] { display: inline-block;
  background: #a2d8e7 !important; color: #22303e !important; border: none;
  border-radius: 999px; padding: 11px 26px; font: 600 11px 'Montserrat', sans-serif;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none; }
html body .gbl-leser-innhold a.knapp:hover,
html body .gbl-leser-innhold a.button:hover,
html body .gbl-leser-innhold a[style*="background"]:hover { background: #86c4da !important; }

/* --- magasin-leseren --- */
html body .gbl-leser-hero { width: 100%; max-height: 340px; object-fit: cover;
  border-radius: 12px; margin: 0 0 22px; display: block; }
html body .gbl-produkt { display: flex; gap: 22px; align-items: center;
  background: linear-gradient(150deg, #faf8f4 0%, #f4efe8 100%);
  border: 1px solid #efe9dd; border-radius: 12px; padding: 20px 24px;
  margin: 18px 0; }
html body .gbl-produkt-bilde { flex: 0 0 132px; height: 150px; display: flex;
  align-items: center; justify-content: center; background: #fff;
  border-radius: 10px; padding: 10px; }
html body .gbl-produkt-bilde img { max-width: 100%; max-height: 130px; width: auto;
  height: auto; margin: 0; border-radius: 0; }
html body .gbl-produkt-info { display: flex; flex-direction: column; gap: 7px;
  min-width: 0; }
html body .gbl-produkt-navn { font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500; font-size: 18px; line-height: 1.3; color: #22303e;
  text-decoration: none; }
html body .gbl-produkt-navn:hover { color: #8a6b3f; text-decoration: none; }
html body .gbl-produkt-tekst { color: #5a6572; font-size: 13px; line-height: 1.65; }
html body .gbl-kjop { align-self: flex-start; display: inline-block;
  background: #a2d8e7; color: #22303e; border-radius: 999px; padding: 10px 22px;
  font: 600 10.5px 'Montserrat', sans-serif; letter-spacing: .16em;
  text-transform: uppercase; text-decoration: none; margin-top: 3px; }
html body .gbl-kjop:hover { background: #86c4da; color: #22303e;
  text-decoration: none; }
@media (max-width: 767px) {
  html body .gbl-leser-hero { max-height: 210px; }
  html body .gbl-produkt { flex-direction: column; align-items: stretch;
    text-align: center; padding: 16px; }
  html body .gbl-produkt-bilde { flex-basis: auto; }
  html body .gbl-kjop { align-self: center; }
}

html body .gbl-leser-innhold figure[class*="wp-block-gallery"] { display: flex;
  gap: 12px; justify-content: center; flex-wrap: wrap; }
html body .gbl-leser-innhold figure[class*="wp-block-gallery"] figure { margin: 0;
  flex: 1; min-width: 0; }
html body .gbl-leser-innhold figure[class*="wp-block-gallery"] img { margin: 0 auto; }

/* --- magasinoppslag: tekst og bilde side om side, alternerende --- */
html body .gbl-oppslag { display: flex; gap: 30px; align-items: center;
  margin: 28px 0; }
html body .gbl-oppslag.speilet { flex-direction: row-reverse; }
html body .gbl-oppslag-tekst { flex: 1.15; min-width: 0; }
html body .gbl-oppslag-tekst h2, html body .gbl-oppslag-tekst h3 {
  margin: 0 0 10px; font-size: 22px; }
html body .gbl-oppslag-tekst h2 a, html body .gbl-oppslag-tekst h3 a {
  color: #22303e; text-decoration: none; }
html body .gbl-oppslag-tekst h2 a:hover, html body .gbl-oppslag-tekst h3 a:hover {
  color: #8a6b3f; }
html body .gbl-oppslag-tekst p { margin: 0 0 12px; }
html body .gbl-oppslag-tekst .gbl-kjop { margin-top: 2px; }
html body .gbl-oppslag-bilde { flex: 0.85; background: #fff;
  border: 1px solid #efe9dd; border-radius: 12px; padding: 22px;
  display: flex; align-items: center; justify-content: center; }
html body .gbl-oppslag-bilde img { max-width: 100%; max-height: 300px;
  width: auto; height: auto; margin: 0; }
@media (max-width: 767px) {
  html body .gbl-oppslag, html body .gbl-oppslag.speilet {
    flex-direction: column; gap: 14px; }
  html body .gbl-oppslag-bilde { width: 100%; padding: 14px; }
  html body .gbl-oppslag-bilde img { max-height: 220px; }
}

html body .gbl-leser-innhold div:not([class]) { margin: 0 0 13px; }

html body .gbl-oppslag-tekst .gbl-produkt-navn { display: block; margin: 0 0 8px; }
html body .gbl-oppslag-tekst .gbl-produkt-tekst { display: block; margin: 0 0 12px;
  font-size: 13.5px; line-height: 1.65; color: #5a6572; }


/* robust paa alle temaer: gridden skal alltid vaere grid, og den tomme
   beskrivelses-rammen paa /blogg (etter iframe-skjulingen) bort */
html body .gbl-grid { display: grid !important; }
html body .gbl-grid .gbl-kort { width: auto !important; max-width: none !important;
  float: none !important; margin: 0 !important; }

/* sosiale innbygginger vises som lenkekort */
html body .gbl-some { text-align: center; margin: 22px 0; }
html body .gbl-some a { display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid #efe9dd; border-radius: 12px; background: #fff;
  padding: 16px 28px; color: #22303e; font: 600 11.5px 'Montserrat', sans-serif;
  letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
html body .gbl-some a:hover { border-color: #bcc9d4; text-decoration: none;
  color: #22303e; }
html body .gbl-some-ikon { font-size: 17px; }

/* --- «Omtalt i bloggen»-banner paa produktsiden --- */
html body .gbl-pbanner { margin: 18px 0 6px; }
html body .gbl-pbanner-kort { display: flex; gap: 14px; align-items: center;
  background: linear-gradient(150deg, #faf8f4 0%, #f4efe8 100%);
  border: 1px solid #efe9dd; border-radius: 12px; padding: 12px 16px 12px 12px;
  text-decoration: none; color: #22303e; transition: box-shadow .15s; }
html body .gbl-pbanner-kort:hover { box-shadow: 0 10px 24px rgba(30, 38, 50, .12);
  text-decoration: none; color: #22303e; }
html body .gbl-pbanner-bilde { flex: 0 0 74px; height: 74px; border-radius: 9px;
  overflow: hidden; }
html body .gbl-pbanner-bilde img { width: 100%; height: 100%; object-fit: cover;
  display: block; }
html body .gbl-pbanner-info { display: flex; flex-direction: column; gap: 4px;
  min-width: 0; }
html body .gbl-pbanner-etikett { font: 700 9.5px 'Montserrat', sans-serif;
  letter-spacing: .18em; text-transform: uppercase; color: #8a6b3f; }
html body .gbl-pbanner-tittel { font-family: 'Playfair Display', Georgia, serif;
  font-weight: 500; font-size: 15px; line-height: 1.3; }
html body .gbl-pbanner-les { font: 600 10px 'Montserrat', sans-serif;
  letter-spacing: .14em; text-transform: uppercase; color: #22303e;
  text-decoration: underline; text-underline-offset: 3px; }

/* --- bloggkort-flis i produktgriddene --- */
html body .ghs-grid .gbl-gridflis { height: 100%; margin: 0; }
html body .gbl-gridflis .gbl-bilde { height: 150px; }
html body .gbl-gridflis .gbl-navn { font-size: 16.5px; }
html body .gbl-gridflis .gbl-kategori { background: #b08c5a; color: #fff; }
html body li.gbfl-li { list-style: none; }
html body .products-grid li.gbfl-li .gbl-gridflis { height: 100%; }
