/* Sunde IBK – enkeltnyhet. Lastes etter global.css og hero.css. */
/* Coveret kan vokse ved lange overskrifter, slik at teksten aldri klippes. */
.nyhet-page .nyhet-hero, .nyhet-page .nyhet-hero .hero-slide { height: auto; min-height: 650px; }
.nyhet-page .nyhet-hero .hero-content { min-height: max(650px, 100vh); height: auto; padding-top: 180px; padding-bottom: clamp(80px, 10vh, 120px); }
.nyhet-page .nyhet-hero .hero-copy { width: 100%; max-width: 1020px; min-width: 0; }
.nyhet-page .nyhet-hero .hero-copy h1 { font-size: clamp(36px, 4.8vw, 72px) !important; line-height: 1.04 !important; letter-spacing: -.04em; overflow-wrap: anywhere; hyphens: auto; margin-bottom: 0 !important; }
.nyhet-page .nyhet-hero .eyebrow { margin-bottom: 20px; }
.nyhet-page .nyhet-content { position: relative; overflow: hidden; padding: 72px 0 88px; background: var(--sunde-bg, #131313); color: var(--sunde-text, #fafafa); }
.nyhet-page .nyhet-content::before { content: ''; position: absolute; top: 90px; right: -170px; width: clamp(520px, 65vw, 1050px); height: 1000px; background: url('../../assets/images/sundebukk.webp') center top / contain no-repeat; opacity: .035; filter: grayscale(1); pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 65%, transparent); mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 65%, transparent); }
.nyhet-page .nyhet-content > .container { position: relative; }
.nyhet-page .nyhet-reading { width: 100%; max-width: 780px; margin: 0 auto; }
.nyhet-page .nyhet-meta { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px 28px; margin-bottom: 32px; padding-bottom: 25px; border-bottom: 1px solid var(--sunde-border, rgba(255,255,255,.09)); color: var(--sunde-muted, #b5b5b5); font-size: 13px; line-height: 1.6; }
.nyhet-page .nyhet-meta > span { display: inline-flex; align-items: baseline; gap: 10px; overflow-wrap: anywhere; min-width: 0; }
.nyhet-page .nyhet-meta i { flex-shrink: 0; color: var(--sunde-accent, #e6bf3f); font-size: 12px; }
.nyhet-page .nyhet-body { color: #d3d3d3; font: 400 18px/1.85 'Outfit', sans-serif; overflow-wrap: anywhere; }
.nyhet-page .nyhet-body p, .nyhet-page .nyhet-body li { color: inherit; font-size: inherit; line-height: inherit; }
.nyhet-page .nyhet-body p { margin: 0 0 24px; }
.nyhet-page .nyhet-body h2, .nyhet-page .nyhet-body h3, .nyhet-page .nyhet-body h4 { color: var(--sunde-text); font-family: 'Outfit', sans-serif; font-weight: 700; line-height: 1.25; letter-spacing: -.025em; text-transform: none; margin: 36px 0 16px; }
.nyhet-page .nyhet-body h2 { font-size: 30px; }
.nyhet-page .nyhet-body h3 { font-size: 25px; }
.nyhet-page .nyhet-body h4 { font-size: 21px; }
.nyhet-page .nyhet-body > :first-child { margin-top: 0; }
.nyhet-page .nyhet-body > :last-child { margin-bottom: 0; }
.nyhet-page .nyhet-body a { color: var(--sunde-accent); text-decoration: underline; text-underline-offset: 4px; }
.nyhet-page .nyhet-body a:hover { color: #f0cf64; }
.nyhet-page .nyhet-body ul, .nyhet-page .nyhet-body ol { padding-left: 1.4em; margin: 0 0 24px; }
.nyhet-page .nyhet-body li + li { margin-top: 8px; }
.nyhet-page .nyhet-body img { max-width: 100%; height: auto; }
.nyhet-page .nyhet-body iframe, .nyhet-page .nyhet-body video { max-width: 100%; }
.nyhet-page .nyhet-body blockquote { margin: 30px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--sunde-accent); color: var(--sunde-text); font-style: italic; }
.nyhet-page .nyhet-body table { display: block; max-width: 100%; overflow-x: auto; color: inherit; }
.nyhet-page .nyhet-link { margin-top: 32px; }
/* Nyhetsbildet vises helt, i originalt sideforhold, under teksten. */
.nyhet-page .nyhet-full-image { width: 100%; max-width: 1040px; margin: 52px auto 0; }
.nyhet-page .nyhet-full-image img { display: block; width: auto; max-width: 100%; height: auto; max-height: none; margin: 0 auto; object-fit: contain; border-radius: 7px; }
.nyhet-page .nyhet-navigation { max-width: 780px; margin: 48px auto 0; padding-top: 26px; border-top: 1px solid var(--sunde-border); }
.nyhet-page .nyhet-back { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 0; color: var(--sunde-accent); font-size: 14px; font-weight: 600; text-decoration: none; }
.nyhet-page .nyhet-back:hover { color: #f0cf64; text-decoration: underline; text-underline-offset: 4px; }
.nyhet-page .nyhet-content a:focus-visible { outline: 2px solid var(--sunde-accent); outline-offset: 4px; }
.nyhet-page .nyhet-message { color: var(--sunde-muted); font-size: 18px; line-height: 1.8; margin: 0; }
@media (max-width: 767.98px) {
    .nyhet-page .nyhet-hero, .nyhet-page .nyhet-hero .hero-slide { min-height: 560px; }
    .nyhet-page .nyhet-hero .hero-content { min-height: max(560px, 100svh); padding-top: 150px; padding-bottom: 72px; }
    .nyhet-page .nyhet-hero .hero-copy h1 { font-size: clamp(30px, 7.5vw, 48px) !important; line-height: 1.08 !important; }
    .nyhet-page .nyhet-hero .hero-copy .eyebrow { font-size: 11px; margin-bottom: 18px; }
    .nyhet-page .nyhet-content { padding: 44px 0 60px; }
    .nyhet-page .nyhet-content::before { top: 140px; right: -170px; width: 500px; height: 800px; opacity: .025; }
    .nyhet-page .nyhet-meta { gap: 10px 20px; margin-bottom: 26px; padding-bottom: 22px; font-size: 12px; }
    .nyhet-page .nyhet-body { font-size: 16px; line-height: 1.8; }
    .nyhet-page .nyhet-body h2 { font-size: 26px; }
    .nyhet-page .nyhet-body h3 { font-size: 22px; }
    .nyhet-page .nyhet-full-image { margin-top: 36px; }
    .nyhet-page .nyhet-navigation { margin-top: 32px; padding-top: 20px; }
}
