/* Text/image: colour on the text box alone (TKT-4066). The text box fills the height of the image,
   with no gap between them; light colours get dark text, dark colours white text. */
.pb-textimage.has-textbg .image-text-grid { column-gap: 0 !important; row-gap: 0 !important; align-items: stretch; }
.pb-textimage.has-textbg .image-text-grid .text { background: var(--textbg); align-items: center; }
.pb-textimage.has-textbg .image-text-grid .text .text-holder { height: auto; padding: clamp(28px, 4.5vw, 70px) !important; }
.pb-textimage.has-textbg .image-text-grid .text .text-holder,
.pb-textimage.has-textbg .image-text-grid .text .text-holder h2,
.pb-textimage.has-textbg .image-text-grid .text .text-holder .the-content p,
.pb-textimage.has-textbg .image-text-grid .text .text-holder .the-content li,
.pb-textimage.has-textbg .image-text-grid .text .text-holder .bold { color: var(--textfg); }

.pb-textimage.textbg-muskel    { --textbg: #4b1400; --textfg: #ffffff; }
.pb-textimage.textbg-driv      { --textbg: #f11436; --textfg: #ffffff; }
.pb-textimage.textbg-flyt      { --textbg: #252a64; --textfg: #ffffff; }
.pb-textimage.textbg-rosekinn  { --textbg: #ffe8f1; --textfg: #4b1400; }
.pb-textimage.textbg-hvile     { --textbg: #e5f3ff; --textfg: #4b1400; }
.pb-textimage.textbg-hvit      { --textbg: #ffffff; --textfg: #4b1400; }
.pb-textimage.textbg-tradisjon { --textbg: #faf0e1; --textfg: #4b1400; }

/* On the light colours the heading keeps NTG's red */
.pb-textimage.textbg-rosekinn .image-text-grid .text .text-holder h2,
.pb-textimage.textbg-hvile .image-text-grid .text .text-holder h2,
.pb-textimage.textbg-hvit .image-text-grid .text .text-holder h2,
.pb-textimage.textbg-tradisjon .image-text-grid .text .text-holder h2 { color: #f11436; }

/* A red button on the red box: white with red text */
.pb-textimage.textbg-driv .btn { background-color: #ffffff; color: #f11436; }
