/* Visuell profil: frivilligsentralen.org og brukerens Oslo-logo/slagord. */
:root {
  --ink: #172b4d;
  --green: #0a204e;
  --paper: #ffffff;
  --muted: #4e5b6c;
  --line: #dce4ec;
  --lime: #eaf4e1;
  --pale: #f0f4f8;
  --serif: Arial, Helvetica, sans-serif;
  --accent: #78bf39;
}
body { color: #242b35; background: #fff; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { color: #0a204e; font-family: Arial, Helvetica, sans-serif; letter-spacing: -.025em; }
h1 { font-weight: 700; font-size: clamp(2.4rem, 4.5vw, 4rem); line-height: 1.15; }
h2 { font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.9rem); line-height: 1.2; }
h3 { font-weight: 600; }
.section { max-width: 1328px; }
.preview-bar { background: #0a204e; min-height: 33px; }
.site-header { max-width: 1328px; padding: 18px 5%; min-height: 125px; }
.brand { display: block; flex: 0 0 auto; }
.site-logo { display: block; width: 142px; height: auto; }
nav { gap: 32px; }
nav a { font-weight: 600; font-size: 1rem; }
.nav-cta { border-radius: 7px; border-color: #0a204e; padding: 11px 24px; }
.button { border-radius: 7px; padding: 14px 26px; }
.button-dark:hover { background: #173666; }
.button-outline { border-color: #0a204e; }
.eyebrow { color: #456b2a; font-size: .8rem; letter-spacing: .11em; }
.home-page .site-header {
  position: absolute;
  top: 33px;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 10;
  color: #fff;
  padding-top: 24px;
  padding-bottom: 24px;
}
.home-page:not(:has(.preview-bar)) .site-header { top: 0; }
.home-page .brand { background: rgba(255, 255, 255, .88); border-radius: 22px; padding: 12px 20px; }
.home-page .site-logo { width: 160px; }
.home-page nav a { text-shadow: 0 1px 5px #0008; }
.home-page .nav-cta { border-color: #ffffffb0; background: #0a204e45; }
.welcome-hero {
  min-height: 660px;
  height: 82vh;
  max-height: 850px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 185px 5% 130px;
  text-align: center;
  color: #fff;
  background: linear-gradient(0deg, rgba(10,32,78,.4), rgba(10,32,78,.42)), url('brand/fellesskap.jpg') center 45% / cover no-repeat;
}
.welcome-copy { max-width: 1050px; }
.welcome-copy h1 { color: #fff; font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; margin: 0 auto 24px; text-shadow: 0 2px 12px #0003; }
.welcome-copy p { margin: 0; text-transform: uppercase; letter-spacing: .25em; font-weight: 600; font-size: 1rem; }
.welcome-island {
  width: min(calc(100% - 48px), 1200px);
  margin: -78px auto 0;
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 175px 1fr auto;
  align-items: center;
  gap: 32px;
  border-left: 7px solid var(--accent);
  border-radius: 24px;
  padding: 24px 32px 24px 22px;
  background: #fff;
  box-shadow: 0 12px 34px #0a204e24;
}
.slogan-image { display: block; width: 175px; height: auto; }
.welcome-island .eyebrow { margin-bottom: 8px; }
.welcome-island h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); margin-bottom: 10px; }
.welcome-island p:last-child { margin: 0; color: var(--muted); }
.welcome-island .button { white-space: nowrap; }
.find-section { margin-top: 55px; background: #dbeaf2; max-width: none; padding: 64px max(5%, calc((100vw - 1200px) / 2)); }
.find-section .section-heading { display: block; text-align: center; max-width: 820px; margin: 0 auto 35px; }
.find-section .section-heading h2 { font-size: clamp(2rem, 4vw, 3.5rem); }
.find-section .section-heading > p { margin: 18px auto 0; font-size: 1.1rem; color: #364153; }
.search-form { gap: 18px; }
.map-layout { border: 0; border-radius: 18px; box-shadow: 0 8px 28px #0a204e10; }
.map-result:hover { background: #edf4f8; }
.map-result strong { color: #0a204e; }
.result-pin { background: #edf4f8; color: #0a204e; }
.map-pin span { background: #0a204e; }
.map-cluster span { background: #0a204e; }
.section-tail { color: #364153; }
.participate { background: #fff; padding-top: 80px; padding-bottom: 80px; gap: 90px; }
.participate h2 { font-size: clamp(2rem, 3.3vw, 3rem); }
.ways article { border-color: #dce4ec; }
.ways article > span { background: #eaf4e1; color: #0a204e; }
.event-preview { background: #f0f4f8; max-width: none; padding-left: max(5%, calc((100vw - 1200px) / 2)); padding-right: max(5%, calc((100vw - 1200px) / 2)); }
.empty-event { background: #fff; border-color: #dce4ec; border-radius: 18px; }
.empty-event h2, .empty-event h3 { font-weight: 600; }
.page-intro, .profile-header { background: #dbeaf2; }
.profile-header h1 { font-size: clamp(2.2rem, 4.5vw, 4rem); }
.centre-card { border-radius: 18px; border: 1px solid #dae3eb; box-shadow: 0 5px 18px #0a204e06; }
.centre-card h2 { font-size: 1.45rem; font-weight: 600; }
.card-symbol { color: #6eaa35; }
.area-label { background: #e9f2f8; color: #0a204e; }
.contact-card { background: #f0f4f8; border-color: #dce4ec; border-radius: 18px; }
.notice { background: #eef5e8; border-color: var(--accent); }
.contact-card hr { border-color: #dce4ec; }
.footer-title { color: white; font-weight: 600; font-size: 1.8rem; }
footer { background: #0a204e; }
.footer-main h2 { color: #fff; }
.profile-section h2 { font-size: 2.3rem; }
.activity-tags > span { background: #eaf1f7; }
.event-date { background: #e2edf5; color: #0a204e; }
.event-date strong { font-weight: 700; }
@media (max-width: 1000px) {
  .welcome-island { grid-template-columns: 140px 1fr; gap: 22px; }
  .slogan-image { width: 140px; }
  .welcome-island .button { grid-column: 2; justify-self: start; }
  .welcome-island > img { grid-row: 1 / 3; }
  .welcome-hero { min-height: 630px; }
  .participate { gap: 45px; }
}
@media (max-width: 700px) {
  .site-header { min-height: 0; padding: 16px 6%; gap: 16px; }
  .site-logo { width: 110px; }
  .home-page .site-header { padding: 16px 6%; align-items: center; gap: 16px; }
  .home-page .brand { padding: 7px 12px; border-radius: 14px; }
  .home-page .site-logo { width: 115px; }
  nav { gap: 10px; }
  nav a { font-size: .78rem; }
  .home-page nav { padding: 9px 11px; border-radius: 9px; background: #0a204e88; }
  .nav-cta { padding: 8px 12px; }
  .welcome-hero { min-height: 660px; height: auto; padding: 245px 6% 155px; background-position: 46% center; }
  .welcome-copy h1 { font-size: 2.5rem; }
  .welcome-copy p { font-size: .8rem; letter-spacing: .15em; }
  .welcome-island { width: calc(100% - 32px); grid-template-columns: 90px 1fr; padding: 22px 18px; gap: 20px 16px; border-radius: 18px; margin-top: -85px; }
  .welcome-island > img { grid-row: 1; }
  .slogan-image { width: 90px; }
  .welcome-island .eyebrow { font-size: .65rem; }
  .welcome-island h2 { font-size: 1.25rem; }
  .welcome-island p:last-child { font-size: .85rem; }
  .welcome-island .button { grid-column: 1 / -1; width: 100%; }
  .find-section { margin-top: 36px; padding: 42px 6%; }
  .find-section .section-heading > p { font-size: 1rem; }
  .participate { gap: 30px; padding: 45px 6%; }
  .profile-header h1 { font-size: 2.2rem; }
  .page-intro h1 { font-size: 2.5rem; }
  .footer-main { gap: 28px; }
}

.event-promotions { padding-top: 48px; padding-bottom: 0; }
.event-promotion { background: #eef5e8; border-left: 7px solid var(--accent); border-radius: 20px; padding: clamp(24px, 5vw, 56px); margin-bottom: 24px; }
.event-promotion h2 { max-width: 900px; }
.promotion-copy { max-width: 750px; font-size: 1.15rem; }
.event-promotion .button { margin-top: 12px; }

.organisation-intro > p:not(.eyebrow) { max-width: 850px; }
.organisation-intro .button { margin-top: 16px; }
.organisation-work > h2 { max-width: 900px; }
.organisation-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 32px; }
.organisation-grid article { border-top: 4px solid var(--accent); padding-top: 22px; }
.organisation-grid h3, .organisation-contact h3 { font-size: 1.4rem; }
.organisation-priorities { background: #f0f4f8; }
.organisation-priorities h3 { margin-top: 32px; font-size: 1.35rem; }
.organisation-contact { padding-top: 0; }
.organisation-contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 26px; }
.organisation-contact article { border-radius: 18px; padding: 32px; background: #dbeaf2; }
.organisation-contact article:last-child { background: #eef5e8; }
.organisation-contact a { overflow-wrap: anywhere; }
@media(max-width: 700px) {
  .organisation-grid, .organisation-contact-grid { grid-template-columns: 1fr; }
  .organisation-contact article { padding: 24px; }
  .home-page nav { flex-wrap: wrap; }
}

/* Felles inngang og tydelig skille mellom målgruppene. */
.gateway-page { background: #f0f4f8; }
.gateway-page .site-header { background: transparent; }
.gateway-label { color: #425838; font-size: .95rem; }
.gateway { padding-top: 35px; padding-bottom: 90px; }
.gateway h1 { font-size: clamp(2.5rem, 5vw, 4.2rem); }
.gateway-lead { max-width: 760px; font-size: 1.2rem; color: var(--muted); }
.gateway-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 42px; }
.gateway-choice { display: flex; flex-direction: column; padding: clamp(28px, 4vw, 52px); border-radius: 22px; text-decoration: none; box-shadow: 0 12px 35px #0a204e10; transition: transform .15s; }
.gateway-choice:hover { transform: translateY(-4px); }
.gateway-choice:focus-visible { outline: 4px solid #488b1b; outline-offset: 6px; }
.choice-public { background: #e6f0dc; border-top: 7px solid #78bf39; color: #172b4d; }
.choice-organisation { background: #0a204e; border-top: 7px solid #7d9cbd; color: white; }
.choice-kicker { font-size: .75rem; font-weight: 700; letter-spacing: .12em; margin-bottom: 22px; }
.gateway-choice h2 { font-size: clamp(1.6rem, 2.6vw, 2.15rem); line-height: 1.25; color: inherit; }
.gateway-choice p { font-size: 1.05rem; margin-bottom: 36px; }
.choice-action { margin-top: auto; padding-top: 20px; border-top: 1px solid currentColor; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.audience-switch { border: 1px solid currentColor; border-radius: 7px; padding: 10px 14px; }
@media(max-width: 700px) {
  .gateway-choices { grid-template-columns: 1fr; margin-top: 28px; }
  .gateway { padding-top: 25px; padding-bottom: 50px; }
  .gateway-label { font-size: .85rem; }
  .site-header nav { flex-wrap: wrap; row-gap: 14px; }
  .audience-switch { padding: 8px 10px; }
}
@media(prefers-reduced-motion: reduce) { .gateway-choice { transition: none; } .gateway-choice:hover { transform: none; } }

/* Uttalelser: dokumentenes ordlyd, med en rolig og lesbar nettpresentasjon. */
.board-teaser { border-top: 1px solid #d5dfe8; padding-top: 48px; padding-bottom: 64px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.board-teaser h2 { max-width: 760px; margin: 0; }
.board-teaser .button { flex-shrink: 0; }
.board-intro .eyebrow { margin-top: 36px; }
.board-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; max-width: 1000px; margin: 0 auto; }
.board-card { min-width: 0; display: grid; grid-template-columns: 200px minmax(0, 1fr); align-items: start; gap: 48px; padding: 40px 0; border-bottom: 1px solid #d5dfe8; }
.board-card:first-child { padding-top: 0; }
.board-card:last-child { border-bottom: 0; }
.board-portrait { width: 200px; height: 200px; aspect-ratio: 1; object-fit: cover; border-radius: 50%; display: block; }
.board-photo { overflow: hidden; }
.board-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.board-photo img[src$="espen-watne-andresen.jpg"] { transform: scale(1.8); transform-origin: 50% 43%; }
.board-placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #e5eef4; color: #637b90; position: relative; overflow: hidden; }
.board-card:nth-child(even) .board-placeholder { background: #eaf1e4; color: #617551; }
.board-initials { font-size: 2.75rem; letter-spacing: .04em; font-weight: 500; }
.board-photo-label { position: absolute; bottom: 24px; font-size: .9rem; }
.board-card-copy { padding-top: 4px; min-width: 0; }
.board-card h2 { font-size: 1.5rem; line-height: 1.3; margin: 0 0 14px; }
.board-affiliation { color: #0a204e; font-size: 1rem; line-height: 1.6; margin: 0; }
.board-affiliation span { color: #40516a; }
.board-contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin-top: 18px; font-size: 1rem; }
.board-contact-links a { max-width: 100%; overflow-wrap: anywhere; text-underline-offset: 3px; }
.board-presentation { margin-top: 22px; padding-top: 20px; border-top: 1px solid #d5dfe8; font-size: 1rem; line-height: 1.75; }
.board-copy-placeholder { color: #657080; }
.board-contact { border-top: 1px solid #d5dfe8; padding-top: 40px; padding-bottom: 64px; }
.board-contact a { overflow-wrap: anywhere; }
@media(max-width: 600px) {
  .board-card { grid-template-columns: 88px minmax(0, 1fr); gap: 20px; padding: 32px 0; }
  .board-portrait { width: 88px; height: 88px; }
  .board-initials { font-size: 1.6rem; }
  .board-photo-label { display: none; }
  .board-card h2 { font-size: 1.35rem; }
  .board-teaser { flex-direction: column; align-items: start; }
}

.statements-section { padding-top: 70px; padding-bottom: 80px; }
.statements-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 36px; }
.statements-heading h2 { max-width: 730px; }
.statements-heading > a { flex-shrink: 0; margin-bottom: 20px; }
.statement-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.statement-card { border: 1px solid #d5dfe8; border-top: 4px solid #78bf39; border-radius: 3px 3px 16px 16px; padding: 30px; background: #fff; display: flex; flex-direction: column; }
.statement-card:first-child { background: #edf4f8; }
.statement-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; color: #40516a; font-size: .9rem; }
.statement-meta > span { font-weight: 700; }
.statement-card h3 { font-size: 1.55rem; line-height: 1.3; margin: 24px 0; }
.statement-card h3 a { color: #0a204e; text-decoration: none; }
.statement-card h3 a:hover { text-decoration: underline; }
.statement-read { margin-top: auto; padding-top: 12px; font-weight: 600; text-underline-offset: 5px; }
.statements-intro .eyebrow { margin-top: 36px; }
.statement-top { padding-top: 34px; padding-bottom: 0; }
.statement-top .statement-meta { margin-top: 36px; }
.statement-layout { display: grid; grid-template-columns: minmax(0, 250px) minmax(0, 760px); gap: clamp(32px, 5vw, 90px); align-items: start; padding-top: 28px; padding-bottom: 36px; }
.statement-aside { grid-column: 1; grid-row: 1; padding-top: 8px; }
.statement-aside .button { width: 100%; font-size: .95rem; padding: 14px; }
.statement-toc { border-top: 1px solid #d5dfe8; margin-top: 28px; padding-top: 22px; }
.statement-toc summary { cursor: pointer; font-weight: 700; }
.statement-toc nav { display: flex; flex-direction: column; align-items: stretch; gap: 15px; margin-top: 20px; }
.statement-toc nav a { font-size: .9rem; line-height: 1.45; font-weight: 400; text-decoration: none; color: #40516a; white-space: normal; }
.statement-toc nav a:hover { text-decoration: underline; }
.statement-body { grid-column: 2; min-width: 0; font-size: 1.125rem; line-height: 1.8; color: #243246; }
.statement-body h1 { font-size: clamp(2rem, 3.3vw, 3.1rem); line-height: 1.16; margin: 0 0 40px; overflow-wrap: break-word; }
.statement-body h2 { font-size: 1.6rem; line-height: 1.35; margin: 48px 0 20px; scroll-margin-top: 30px; }
.statement-body > p { margin: 0 0 24px; }
.statement-body a { overflow-wrap: anywhere; text-underline-offset: 3px; }
.statement-body blockquote { margin: 36px 0; padding: 28px 32px; border-left: 5px solid #78bf39; border-radius: 0 14px 14px 0; background: #edf4f8; color: #0a204e; font-size: 1.3rem; line-height: 1.65; font-weight: 500; }
.statement-body blockquote p { margin: 0; }
.statement-body .statement-list { margin: 0 0 12px; padding-left: 28px; }
.statement-body .statement-list li::marker { color: #477a25; }
.statement-body .source-numbered { padding-left: 25px; text-indent: -20px; }
.statement-body .source-footer { font-size: .9rem; line-height: 1.65; color: #526076; border-top: 1px solid #d5dfe8; padding-top: 16px; margin: 36px 0; }
.statement-end { border-top: 1px solid #d5dfe8; padding-top: 32px; padding-bottom: 60px; }
@media(max-width: 800px) {
  .statement-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .statement-aside, .statement-body { grid-column: 1; grid-row: auto; }
  .statement-aside .eyebrow { display: none; }
  .statement-aside .button { width: auto; }
  .statement-toc nav { max-height: 200px; overflow-y: auto; padding: 4px; }
  .statement-toc { margin-top: 20px; }
}
@media(max-width: 600px) {
  .statement-cards { grid-template-columns: 1fr; }
  .statements-heading { display: block; }
  .statement-card { padding: 24px; }
  .statement-body { font-size: 1.0625rem; }
  .statement-body blockquote { padding: 22px; font-size: 1.16rem; }
  .statement-body h2 { font-size: 1.4rem; }
  .statements-section { padding-top: 45px; padding-bottom: 50px; }
}
@media print {
  .statement-page .site-header, .statement-page footer, .statement-page .preview-bar,
  .statement-top, .statement-aside, .statement-end { display: none; }
  .statement-layout { display: block; padding: 0; }
  .statement-body { font-size: 11pt; }
  .statement-body h1 { font-size: 24pt; }
  .statement-body h2 { break-after: avoid; }
  .statement-body blockquote { break-inside: avoid; }
}
