/* Felles komponenter for kampanje- og temasidene på gullsmedskaugrud.no (2026-10-06).
   Lastes ETTER sidenes egne <style>, så hero, infobokser, gullbanner og knapper ser like ut overalt.
   Fasit: frieri.html. Bakgrunnsbildet i hero settes per side. */

/* Hero med bilde (nye sider bruker .hero, eldre sider .blog-hero.gs-hero) */
body.gs-underside .hero h1, body.gs-underside .gs-hero h1 { font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 500; line-height: 1.15; margin: 0 0 1rem; color: #fff; }
body.gs-underside .hero p, body.gs-underside .gs-hero p { font-size: 1.15rem; max-width: 640px; margin: 0 auto; opacity: .95; color: #fff; }
body.gs-underside .blog-hero.gs-hero { position: relative; padding: 6rem 5%; text-align: center; color: #fff;
  background-color: #1A1A1A; background-size: cover; background-position: center 30%; }
body.gs-underside .blog-hero.gs-hero .icon { display: none; }
body.gs-underside .blog-hero.gs-hero .date { color: #fff; font-size: 1.15rem; margin: 0 auto; }

/* Infobokser (frieri .tips, andre sider kan bruke .gs-bokser) */
body.gs-underside .tips div, body.gs-underside .gs-bokser > div { background: #fff; border-radius: 16px; padding: 1.8rem; box-shadow: 0 4px 20px rgba(0,0,0,.06); display: flex; flex-direction: column; }
body.gs-underside .tips div h4, body.gs-underside .gs-bokser h4 { font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; font-size: 1.35rem; font-weight: 500; margin: 0 0 .5rem; color: #B8941F; }
body.gs-underside .tips div p, body.gs-underside .gs-bokser p { color: #6B6B6B; font-size: .93rem; line-height: 1.65; margin: 0; }
/* Lenke nederst i en boks: «Avtal time →» */
.gs-lenke { margin-top: auto; padding-top: 1.1rem; display: inline-flex; align-items: center; gap: .4rem; align-self: flex-start;
  color: #B8941F; font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: .88rem; text-decoration: none; letter-spacing: .3px; }
.gs-lenke::after { content: '→'; transition: transform .2s ease; }
.gs-lenke:hover { color: #1A1A1A; } .gs-lenke:hover::after { transform: translateX(4px); }

/* Gullbanner — samme på alle sider (.gold-section på nye sider, .cta-box på eldre) */
body.gs-underside .gold-section, body.gs-underside .cta-box {
  background: linear-gradient(135deg, #D4AF37, #B8941F); color: #fff; text-align: center; box-shadow: none; }
body.gs-underside .gold-section { padding: 3.75rem 5%; margin-top: 4rem; }
body.gs-underside .cta-box { padding: 3rem 2rem; border-radius: 20px; margin: 4rem 0; }
body.gs-underside .gold-section .inner { max-width: 680px; margin: 0 auto; }
body.gs-underside .gold-section h2, body.gs-underside .cta-box h3 { font-family: 'Cormorant Garamond', 'Cormorant', Georgia, serif; font-size: 2.1rem; font-weight: 500; margin: 0 0 .8rem; color: #fff; }
body.gs-underside .gold-section p, body.gs-underside .cta-box p { line-height: 1.7; opacity: .95; margin: 0 0 1.3rem; color: #fff; }

/* Knapper */
body.gs-underside .btn { display: inline-block; background: #D4AF37; color: #fff; text-decoration: none; padding: 1rem 2.2rem; border-radius: 50px; font-weight: 600; border: 0; transition: background .25s, transform .25s; }
body.gs-underside .btn:hover { background: #B8941F; transform: translateY(-2px); }
body.gs-underside .gold-section .btn, body.gs-underside .cta-box .btn { background: #fff; color: #B8941F; }
body.gs-underside .btn-outline, body.gs-underside .cta-button { display: inline-block; background: transparent; border: 2px solid #fff; color: #fff; text-decoration: none;
  padding: .9rem 2rem; border-radius: 50px; font-weight: 600; margin: .3rem; transition: background .25s, color .25s; }
body.gs-underside .btn-outline:hover, body.gs-underside .cta-button:hover { background: #fff; color: #B8941F; transform: none; box-shadow: none; }
body.gs-underside .btn-secondary { display: inline-block; background: transparent; border: 2px solid #D4AF37; color: #B8941F; text-decoration: none; padding: .95rem 2rem; border-radius: 50px; font-weight: 600; }
body.gs-underside .btn-secondary:hover { background: #D4AF37; color: #fff; }

/* Runde fotoikoner (erstatter emoji) — kampanjelenker og idékort */
.gs-fotoikon { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; flex: 0 0 auto; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(212,175,55,.55); }
.campaign-links a { display: inline-flex; align-items: center; gap: .65rem; padding: .35rem 1.2rem .35rem .35rem !important; }
.idea-card .gs-fotoikon { width: 84px; height: 84px; margin-bottom: 1rem; box-shadow: 0 0 0 3px #fff, 0 0 0 5px rgba(212,175,55,.5), 0 8px 20px rgba(0,0,0,.08); }

/* Produktbildet av ringen på frieri */
body.gs-underside .feature img[src*="ring-populaer"] { object-fit: contain; background: #fff; padding: 1.5rem; }

/* Fotoikon i infobokser (tips, slik fungerer det, hvorfor oss) */
.tips .gs-fotoikon, .gs-info .gs-fotoikon, .how .gs-fotoikon, .gs-hvorfor .gs-fotoikon { width: 64px; height: 64px; margin: 0 0 .9rem; box-shadow: 0 0 0 3px #fff, 0 0 0 4px rgba(212,175,55,.5), 0 6px 16px rgba(0,0,0,.08); }
.how .gs-fotoikon, .gs-hvorfor .gs-fotoikon { margin-left: auto; margin-right: auto; display: block; }

/* Lenker i brødtekst: gull i stedet for nettleserblå */
body.gs-underside :is(.wrap, .tips, .gs-hvorfor, .gs-info, .gs-tips, .gs-sisteminutt, section:not(.hero), details, main) :is(p, li) a:not([class]) { text-decoration: underline; text-decoration-color: rgba(212,175,55,.6); text-decoration-thickness: 1px; text-underline-offset: 3px; font: inherit; color: inherit; transition: color .2s, text-decoration-color .2s; }
body.gs-underside :is(.wrap, .tips, .gs-hvorfor, .gs-info, .gs-tips, .gs-sisteminutt, section:not(.hero), details, main) :is(p, li) a:not([class]):hover { color: #B8941F; text-decoration-color: #B8941F; }
