/* ============================================================
   Frontpage layout
   ============================================================ */

/* Mobile: bilder kant til kant, tekst har liten yttermarg (--sp-2) */
@media (max-width: 767px) {
  .main-content.frontpage-page {
    padding-left:  var(--sp-2);
    padding-right: var(--sp-2);
  }

  /* Sak 1: bilde kant til kant.
     Høyere spesifisitet enn basisregelen for å vinne cascaden. */
  .main-content.frontpage-page .fp-news-card__img-wrap {
    width: calc(100% + 2 * var(--sp-2));
    margin-left:  calc(-1 * var(--sp-2));
    margin-right: calc(-1 * var(--sp-2));
    border-radius: 0;
  }

  /* To-spalte-rader bryter ut → ytterbildene kant til kant */
  .fp-news-row {
    margin-left:  calc(-1 * var(--sp-2));
    margin-right: calc(-1 * var(--sp-2));
    gap: var(--sp-2);
  }

  /* Tekst i grid-kort: samme yttermarg som sak 1 */
  .fp-news-row .fp-news-sm__body {
    padding-left:  var(--sp-2);
    padding-right: var(--sp-2);
  }

  /* Featured hero: mer kvadratisk og kompakt på mobil */
  .fp-news-card--featured .fp-news-card__img-wrap {
    aspect-ratio: 4 / 3;
  }

  .fp-news-card--featured .fp-news-card__title {
    font-size: var(--fs-xl);
  }

  .fp-news-card--featured .fp-news-card__body {
    padding: var(--sp-6) var(--sp-2) var(--sp-3);
  }

  .fp-news-card--featured .fp-news-card__excerpt {
    display: none;
  }
}

/* ── Full-bredde layout (ingen sidebar) ───────────────────── */
.fp-layout {
  display: block;
}

/* ── Pulse (sidebar) ──────────────────────────────────────── */
.fp-sidebar-pulse {
  display: flex;
  gap: 0;
}

.fp-pulse-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: var(--sp-3) var(--sp-2);
}

.fp-pulse-stat + .fp-pulse-stat {
  border-left: 0.5px solid var(--divider);
}

.fp-pulse-stat__val {
  font-size: var(--fs-xl);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1;
}

.fp-pulse-stat__label {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-align: center;
  line-height: 1.2;
}

.fp-pulse-stat__live {
  display: flex;
  align-items: center;
  gap: 4px;
}

.fp-pulse__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
}

/* ── Hero (ikke-innlogget) ────────────────────────────────── */
.fp-hero {
  background: linear-gradient(135deg, var(--accent) 0%, color-mix(in srgb, var(--accent) 70%, #000) 100%);
  padding: var(--sp-8) var(--sp-8) var(--sp-7);
  margin-bottom: var(--sp-6);
  position: relative;
  overflow: hidden;
}

.fp-hero::after {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 55%;
  aspect-ratio: 1;
  background: radial-gradient(circle, rgba(255,255,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

.fp-hero__content {
  position: relative;
  max-width: 500px;
}

.fp-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .03em;
  margin-bottom: var(--sp-4);
}

.fp-hero__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
  animation: fp-pulse-dot 2s ease-in-out infinite;
}

.fp-hero__title {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.08;
  color: #fff;
  margin: 0 0 var(--sp-3);
  letter-spacing: -.02em;
}

.fp-hero__sub {
  font-size: var(--fs-md);
  line-height: 1.65;
  color: rgba(255,255,255,.8);
  margin: 0 0 var(--sp-6);
  max-width: 420px;
}

.fp-hero__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.fp-hero__cta {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-weight: 700;
  font-size: var(--fs-sm);
  padding: var(--sp-3) var(--sp-5);
  text-decoration: none;
  transition: background 0.15s, transform 0.15s;
  white-space: nowrap;
}

.fp-hero__cta:hover {
  background: rgba(255,255,255,.9);
  transform: translateY(-1px);
}

.fp-hero__login {
  display: inline-block;
  color: rgba(255,255,255,.82);
  font-size: var(--fs-sm);
  font-weight: 600;
  text-decoration: none;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid rgba(255,255,255,.32);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}

.fp-hero__login:hover {
  color: #fff;
  border-color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.1);
}

@media (max-width: 767px) {
  .fp-hero {
    margin-left:  calc(-1 * var(--sp-2));
    margin-right: calc(-1 * var(--sp-2));
    padding: var(--sp-6) var(--sp-4) var(--sp-5);
  }

  .fp-hero__title {
    font-size: var(--fs-2xl);
  }

  .fp-hero__cta {
    width: 100%;
    text-align: center;
  }
}

/* ── Pulsbar ──────────────────────────────────────────────── */
.fp-pulse-bar {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  padding: var(--sp-2) 0 var(--sp-3);
  margin-bottom: var(--sp-4);
  border-bottom: 0.5px solid var(--divider);
  overflow: hidden;
  white-space: nowrap;
}

.fp-pulse-bar__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  flex-shrink: 0;
  animation: fp-pulse-dot 2s ease-in-out infinite;
}

@keyframes fp-pulse-dot {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.3; }
}

.fp-pulse-bar__count {
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.fp-pulse-bar__sep,
.fp-pulse-bar__label,
.fp-pulse-bar__time { flex-shrink: 0; }

.fp-pulse-bar__link {
  color: var(--accent);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.fp-pulse-bar__link:hover { text-decoration: underline; }

/* ── Sticky kategorifilter ─────────────────────────────────── */
.fp-cat-filter {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--bg);
  padding: var(--sp-2) 0;
  margin-bottom: var(--sp-4);
}

/* ── Seksjonsoverskrift med "Se alle"-lenke ───────────────── */
.fp-section-hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
  margin-top: var(--sp-6);
}

.fp-section-hd__link {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.fp-section-hd__link:hover { text-decoration: underline; }

/* ── Kompakt nyhets-listevisning ─────────────────────────── */
.fp-news-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-6);
}

.fp-news-list__item {
  border-bottom: 0.5px solid var(--divider);
}

.fp-news-list__item:last-child { border-bottom: none; }

.fp-news-list__link {
  display: flex;
  gap: var(--sp-4);
  padding: var(--sp-4) 0;
  text-decoration: none;
  color: inherit;
  align-items: flex-start;
}

.fp-news-list__link:hover .fp-news-list__title {
  color: var(--accent);
}

.fp-news-list__img-wrap {
  flex-shrink: 0;
  width: 150px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--surface-alt);
}

.fp-news-list__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-news-list__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface-alt);
}

.fp-news-list__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.fp-news-list__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
}

.fp-news-list__title {
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color 0.1s;
}

.fp-news-list__excerpt {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fp-news-list__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: auto;
  padding-top: var(--sp-1);
}

@media (max-width: 479px) {
  .fp-news-list__img-wrap { width: 100px; }
  .fp-news-list__excerpt  { display: none; }
}

/* ── 2-kolonne nyhetsgrid ─────────────────────────────────── */
.fp-news-grid3 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-6);
}

@media (max-width: 479px) {
  .fp-news-grid3 {
    grid-template-columns: 1fr;
  }
}

/* ── Arrangement-kort (horisontal scroll) ─────────────────── */
.fp-ev-scroll-wrap {
  position: relative;
  margin-bottom: var(--sp-6);
}

.fp-ev-scroll {
  display: flex;
  gap: var(--sp-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--sp-2);
}

.fp-ev-scroll::-webkit-scrollbar { display: none; }

.fp-ev-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  color: var(--text-primary);
  padding: 0;
  transition: background var(--dur-fast) var(--ease),
              box-shadow var(--dur-fast) var(--ease);
}

.fp-ev-nav:hover {
  background: var(--bg);
  box-shadow: 0 3px 14px rgba(0,0,0,0.2);
}

.fp-ev-nav--muted {
  color: var(--text-muted);
  box-shadow: none;
  cursor: default;
}

.fp-ev-nav--prev { left:  -14px; }
.fp-ev-nav--next { right: -14px; }

@media (max-width: 600px) {
  .fp-ev-nav--prev { left:  4px; }
  .fp-ev-nav--next { right: 4px; }
}

/* ── Stedsfilter-dropdown ───────────────────────────────────── */
.fp-ev-loc-selects {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
  flex-wrap: wrap;
}

.fp-ev-loc-select {
  flex: 1;
  min-width: 100px;
  padding: 6px 10px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--dur-fast) var(--ease);
}

.fp-ev-loc-select:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}

.fp-ev-loc-select:disabled {
  color: var(--text-muted);
  cursor: default;
  opacity: 0.5;
}

.fp-ev-loc-opt--empty {
  color: var(--text-muted);
  font-style: italic;
}

.fp-ev-loc-reset {
  padding: 6px 12px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: var(--fs-sm);
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background var(--dur-fast) var(--ease),
              color var(--dur-fast) var(--ease);
}

.fp-ev-loc-reset:hover:not(:disabled) {
  background: var(--bg);
  color: var(--text-primary);
}

.fp-ev-loc-reset:disabled {
  opacity: 0.35;
  cursor: default;
}

/* ── Karussell-prikker ──────────────────────────────────────── */
.fp-ev-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: var(--sp-2);
}

.fp-ev-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease),
              transform var(--dur-fast) var(--ease);
}

.fp-ev-dot:hover { background: var(--text-muted); }

.fp-ev-dot--active {
  background: var(--accent);
  transform: scale(1.4);
}

.fp-ev-card {
  flex-shrink: 0;
  width: 190px;
  scroll-snap-align: start;
  background: var(--surface);
  border: 0.5px solid var(--divider);
  border-radius: var(--r-md);
  padding: var(--sp-3) var(--sp-4);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.fp-ev-card:hover {
  border-color: var(--accent);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.fp-ev-card--today {
  border-color: var(--accent);
}

.fp-ev-card--see-all {
  align-items: center;
  justify-content: center;
  min-height: 140px;
  background: transparent;
  border-style: dashed;
  border-color: var(--border);
  color: var(--accent);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-align: center;
}

.fp-ev-card--see-all:hover {
  background: var(--accent-subtle);
  border-color: var(--accent);
}

.fp-ev-card__see-all-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  pointer-events: none;
}

.fp-ev-card__img-wrap {
  position: relative;
  margin: calc(-1 * var(--sp-3)) calc(-1 * var(--sp-4)) var(--sp-3);
  border-radius: calc(var(--r-md) - 1px) calc(var(--r-md) - 1px) 0 0;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface-alt);
}

.fp-ev-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-ev-card__date-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-1) var(--sp-2);
  background: rgba(0,0,0,0.55);
  font-size: var(--fs-xs);
  font-weight: 700;
  color: #fff;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.fp-ev-card__date {
  font-size: var(--fs-xs);
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .05em;
}

.fp-ev-card__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
}

.fp-ev-card__loc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: auto;
  padding-top: var(--sp-1);
}

.fp-events__see-all-link {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.fp-events__see-all-link:hover { text-decoration: underline; }

/* ── Section title ────────────────────────────────────────── */
.fp-section-title {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin: 0 0 var(--sp-4);
  color: var(--text-primary);
}

.fp-empty {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  padding: var(--sp-4) 0;
}

/* ── News section ─────────────────────────────────────────── */
.fp-news-section {
  margin-bottom: var(--sp-6);
}

/* ── Large news card (full-width image on top) ────────────── */
.fp-news-card {
  display: block;
  padding-bottom: var(--sp-6);
  margin-bottom: var(--sp-6);
  border-bottom: 0.5px solid var(--divider);
}

.fp-news-card:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.fp-news-card__img-wrap {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--surface-alt);
  text-decoration: none;
  margin-bottom: var(--sp-4);
}

.fp-news-card--featured {
  padding-bottom: 0;
  border-bottom: none;
}

.fp-news-card--featured .fp-news-card__img-wrap {
  aspect-ratio: 16 / 9;
  margin-bottom: 0;
}

.fp-news-card--featured .fp-news-card__img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 25%, rgba(0,0,0,0.80) 100%);
  z-index: 1;
  pointer-events: none;
}


.fp-news-card--featured .fp-news-card__cat {
  z-index: 3;
}

.fp-news-card--featured .fp-news-card__body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--sp-8) var(--sp-5) var(--sp-5);
  z-index: 2;
  color: #fff;
  background: none;
}

.fp-news-card--featured .fp-news-card__title {
  font-size: var(--fs-2xl);
  color: #fff;
}

.fp-news-card--featured .fp-news-card__excerpt {
  color: rgba(255, 255, 255, 0.85);
}

.fp-news-card--featured .fp-news-card__meta {
  color: rgba(255, 255, 255, 0.7);
}

.fp-news-card--featured .fp-news-card__read-more {
  color: #fff;
}


.fp-news-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fp-news-card__img-placeholder {
  width: 100%;
  height: 100%;
  background: var(--surface-alt);
}

.fp-news-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.fp-news-card__cat {
  position: absolute;
  top: var(--sp-2);
  left: 0;
  background: color-mix(in srgb, var(--accent) 75%, transparent);
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  pointer-events: none;
}

.fp-news-card__title {
  font-size: var(--fs-xl);
  font-weight: 700;
  line-height: 1.25;
  margin: 0;
}

.fp-news-card__title a {
  color: var(--text-primary);
  text-decoration: none;
}

.fp-news-card__title a:hover {
  color: var(--accent);
}

.fp-news-card__excerpt {
  font-size: var(--fs-base);
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.fp-news-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  flex-wrap: wrap;
  margin-top: var(--sp-1);
  justify-content: space-between;
}

.fp-news-card__read-more {
  font-weight: 600;
  font-size: var(--fs-xs);
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}

.fp-news-card__read-more:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .fp-news-card__img-wrap {
    aspect-ratio: 16 / 9;
  }

  .fp-news-card__title {
    font-size: var(--fs-lg);
  }


}

/* ── Events section ───────────────────────────────────────── */
.fp-events {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.fp-events__header-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.fp-events__header-row .fp-section-title {
  margin-bottom: 0;
}

.fp-ev-loc-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.fp-events__header {
  margin-bottom: var(--sp-4);
}

.fp-events__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

@media (max-width: 540px) {
  .fp-events__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }
}

.fp-events__col-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-secondary);
  margin: 0 0 var(--sp-3);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.fp-events__dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: var(--r-full);
  background: #ef4444;
  flex-shrink: 0;
}

.fp-events__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-3);
}

.fp-events__item a {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 0.5px solid var(--divider);
}

.fp-events__item:last-child a {
  border-bottom: none;
  padding-bottom: 0;
}

.fp-events__item a:hover .fp-events__title {
  color: var(--accent);
}

.fp-events__thumb {
  width: 96px;
  height: 64px;
  flex-shrink: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
}

.fp-events__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fp-events__content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  justify-content: center;
}

.fp-events__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--accent);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp-events__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp-events__loc {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp-events__empty {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin: 0 0 var(--sp-3);
}

.fp-events__see-all {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  display: inline-block;
  margin-top: var(--sp-2);
}

.fp-events__see-all:hover {
  text-decoration: underline;
}

/* ── Category filter ──────────────────────────────────────── */
.fp-cat-filter {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
}

.fp-cat-btn {
  font-size: var(--fs-xs);
  font-weight: 600;
  padding: var(--sp-1) var(--sp-3);
  border-radius: 0;
  border: 1.5px solid var(--border);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: background .15s, color .15s, border-color .15s;
  white-space: nowrap;
}

.fp-cat-btn:hover,
.fp-cat-btn--active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ── Login CTA in sidebar ─────────────────────────────────── */
.fp-sidebar-login {
  text-align: center;
}

.fp-sidebar-login p {
  font-size: var(--fs-sm);
  color: var(--text-secondary);
  margin: 0 0 var(--sp-3);
  line-height: 1.45;
}

.fp-sidebar-login .btn {
  display: block;
  width: 100%;
  margin-bottom: var(--sp-2);
}

.fp-sidebar-login__link {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  text-decoration: none;
}

.fp-sidebar-login__link:hover {
  color: var(--accent);
  text-decoration: underline;
}

/* ── Secondary news grid ──────────────────────────────────── */
.fp-news-grid {
  padding-top: 0;
  margin-bottom: var(--sp-6);
}

.fp-news-row {
  display: flex;
  gap: var(--sp-3);
  border-bottom: 0.5px solid var(--divider);
  padding-bottom: var(--sp-6);
  margin-bottom: var(--sp-6);
}



.fp-news-sm {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.fp-news-sm__img-link {
  display: block;
  text-decoration: none;
}

.fp-news-sm__img-wrap {
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
}

.fp-news-sm__img-wrap .fp-news-card__cat {
  font-size: var(--fs-xs);
  padding: 2px var(--sp-2);
  top: var(--sp-2);
  letter-spacing: .05em;
}

.fp-news-sm img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.fp-news-sm__placeholder {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--surface-alt);
}

.fp-news-sm__body {
  padding: var(--sp-2) 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}

.fp-news-sm__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
  color: var(--text-primary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fp-news-sm__excerpt {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  line-height: 1.5;
  margin: 0;
}

.fp-news-sm__title a {
  color: var(--text-primary);
  text-decoration: none;
}

.fp-news-sm__title a:hover {
  color: var(--accent);
}

.fp-news-sm__foot {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-top: auto;
  padding-top: var(--sp-2);
}

.fp-news-sm__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

/* ── Load more ────────────────────────────────────────────── */
.fp-load-more-wrap {
  text-align: center;
  padding: var(--sp-3) 0 var(--sp-5);
}

/* ── Inline community (erstatter sidebar) ─────────────────── */
.fp-community {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 0.5px solid var(--divider);
}

.fp-community-sec {
  margin-bottom: var(--sp-6);
}

.fp-community-sec__hd {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: var(--sp-3);
}

.fp-community-sec__hd a {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.fp-community-sec__hd a:hover { text-decoration: underline; }

/* Forum-liste */
.fp-forum-inline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-forum-inline__item a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--sp-4);
  padding: var(--sp-3) 0;
  border-bottom: 0.5px solid var(--divider);
  text-decoration: none;
  color: var(--text-primary);
}

.fp-forum-inline__item a:hover .fp-forum-inline__title { color: var(--accent); }

.fp-forum-inline__title {
  font-size: var(--fs-sm);
  font-weight: 500;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fp-forum-inline__meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  flex-shrink: 0;
  white-space: nowrap;
}

.fp-forum-inline__item--pinned .fp-forum-inline__title::before {
  content: '📌 ';
}

/* Grupper + Nye medl. – 2-kolonne */
.fp-community-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
}

@media (max-width: 599px) { .fp-community-row { grid-template-columns: 1fr; } }

/* Gruppeiste */
.fp-groups-inline {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-groups-inline li a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  border-bottom: 0.5px solid var(--divider);
  text-decoration: none;
}

.fp-groups-inline li:last-child a { border-bottom: none; }

.fp-groups-inline img,
.fp-groups-inline .fp-group-item__placeholder {
  width: 36px;
  height: 36px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-alt);
}

.fp-group-inline__info { display: flex; flex-direction: column; gap: 1px; }
.fp-group-inline__name { font-size: var(--fs-sm); font-weight: 600; color: var(--text-primary); }
.fp-group-inline__meta { font-size: var(--fs-xs); color: var(--text-muted); }

/* Nye medlemmer – avatargrid */
.fp-members-inline {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.fp-members-inline__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  text-decoration: none;
  width: 56px;
}

.fp-members-inline__item img {
  width: 48px;
  height: 48px;
  border-radius: var(--r-full);
  object-fit: cover;
}

.fp-members-inline__item span {
  font-size: var(--fs-xs);
  color: var(--text-secondary);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* ── Sidebar (beholdt for andre sider) ───────────────────── */
.fp-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.fp-sidebar-box {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-4) var(--sp-5);
}

.fp-sidebar-box__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-secondary);
  margin: 0 0 var(--sp-4);
  display: flex;
  align-items: center;
  gap: var(--sp-2);
}

.fp-sidebar-box__title svg {
  color: var(--text-muted);
  flex-shrink: 0;
}

.fp-sidebar-box__link {
  display: inline-block;
  margin-top: var(--sp-3);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

.fp-sidebar-box__link:hover {
  text-decoration: underline;
}

/* ── Forum list ───────────────────────────────────────────── */
.fp-forum-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-forum-item {
  border-bottom: 0.5px solid var(--divider);
}

.fp-forum-item:last-child {
  border-bottom: none;
}

.fp-forum-item a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--sp-3) 0;
  text-decoration: none;
  color: var(--text-primary);
}

.fp-forum-item a:hover .fp-forum-item__title {
  color: var(--accent);
}

.fp-forum-item--pinned .fp-forum-item__title::before {
  content: '📌 ';
}

.fp-forum-item__title {
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fp-forum-item__meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.fp-forum-item__poster {
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── Groups list ──────────────────────────────────────────── */
.fp-groups-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.fp-group-item a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  text-decoration: none;
  color: var(--text-primary);
  border-bottom: 0.5px solid var(--divider);
}

.fp-group-item:last-child a { border-bottom: none; }

.fp-group-item img,
.fp-group-item__placeholder {
  width: 36px;
  height: 36px;
  border-radius: var(--r-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-alt);
}

.fp-group-item__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.fp-group-item__name {
  font-size: var(--fs-sm);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-group-item__meta {
  font-size: var(--fs-xs);
  color: var(--text-muted);
}

.fp-group-item a:hover .fp-group-item__name { color: var(--accent); }

/* ── Members list ─────────────────────────────────────────── */
.fp-members-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.fp-member-item a {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-2) 0;
  text-decoration: none;
  color: var(--text-primary);
  font-size: var(--fs-sm);
  font-weight: 500;
}

.fp-member-item a:hover {
  color: var(--accent);
}

.fp-member-item img {
  width: 36px;
  height: 36px;
  border-radius: var(--r-full);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   ALTERNATIV-SKILLE OG SAMMENLIGNING
   ══════════════════════════════════════════════════════════ */

.fp-alt-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin: var(--sp-10) calc(-1 * var(--sp-4)) var(--sp-6);
  padding: var(--sp-4) var(--sp-6);
  background: var(--accent);
  color: #fff;
}

.fp-alt-divider__label {
  font-size: var(--fs-3xl);
  font-weight: 900;
  line-height: 1;
  min-width: 1.2ch;
  flex-shrink: 0;
}

.fp-alt-divider__desc {
  font-size: var(--fs-sm);
  font-weight: 600;
  opacity: .88;
}

.fp-alt-end {
  margin-top: var(--sp-10);
  padding-bottom: var(--sp-10);
  border-top: 3px solid var(--divider);
}

/* ── Delt sidebar (Alt A og C) ───────────────────────────── */
.fp-alt-sb {
  display: flex;
  flex-direction: column;
}

.fp-alt-sb__pulse {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--text-muted);
  padding: var(--sp-3) 0;
  border-bottom: 0.5px solid var(--divider);
  margin-bottom: var(--sp-1);
  flex-wrap: wrap;
}

.fp-alt-sb__pulse strong { color: var(--text-primary); }

.fp-alt-sb__sec {
  padding: var(--sp-3) 0;
  border-bottom: 0.5px solid var(--divider);
}

.fp-alt-sb__sec:last-child { border-bottom: none; }

.fp-alt-sb__hd {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: var(--sp-2);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-secondary);
}

.fp-alt-sb__hd a {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  text-transform: none;
  letter-spacing: 0;
}

.fp-alt-sb__hd a:hover { text-decoration: underline; }

.fp-alt-sb__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fp-alt-sb__list li a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: var(--sp-2) 0;
  border-bottom: 0.5px solid var(--divider);
  text-decoration: none;
}

.fp-alt-sb__list li:last-child a { border-bottom: none; }
.fp-alt-sb__list li a:hover .fp-alt-sb__title { color: var(--accent); }

.fp-alt-sb__list--groups li a {
  flex-direction: row;
  align-items: center;
  gap: var(--sp-2);
}

.fp-alt-sb__list--groups img,
.fp-alt-sb__list--groups .fp-alt-sb__gph {
  width: 30px;
  height: 30px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--surface-alt);
}

.fp-alt-sb__list--groups li a > span {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.fp-alt-sb__title {
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.1s;
}

.fp-alt-sb__meta {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fp-alt-sb__avatars {
  display: flex;
  gap: var(--sp-2);
}

.fp-alt-sb__avatars a { display: block; }

.fp-alt-sb__avatars img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.fp-alt-sb__avatars--wrap {
  flex-wrap: wrap;
  gap: var(--sp-3) var(--sp-4);
}

.fp-alt-sb__avatars--wrap a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  width: 52px;
}

.fp-alt-sb__avatars--wrap img {
  width: 42px;
  height: 42px;
}

.fp-alt-sb__avatars--wrap span {
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

/* ── Alternativ A — toppsak + mini-kolonne ───────────────── */
.fp-alt-a-top {
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: var(--sp-6);
  align-items: start;
  margin-bottom: var(--sp-2);
}

@media (max-width: 699px) {
  .fp-alt-a-top { grid-template-columns: 1fr; }
  .fp-alt-a-top > .fp-alt-sb { display: none; }
}

/* ── Alternativ B — community-rad ────────────────────────── */
.fp-alt-b-bar {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  padding: var(--sp-4) 0 var(--sp-5);
  margin-top: var(--sp-3);
  margin-bottom: var(--sp-3);
  border-top: 0.5px solid var(--divider);
  border-bottom: 0.5px solid var(--divider);
}

.fp-alt-b-col { min-width: 0; }

@media (max-width: 599px) {
  .fp-alt-b-bar { grid-template-columns: 1fr; }
}

/* ── Alternativ C — 2-kolonne avisLayout ─────────────────── */
.fp-alt-c-wrap {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--sp-6);
  align-items: start;
}

.fp-alt-c-sb {
  position: sticky;
  top: var(--sp-4);
}

@media (max-width: 699px) {
  .fp-alt-c-wrap { grid-template-columns: 1fr; }
  .fp-alt-c-sb   { position: static; }
}

/* ══════════════════════════════════════════════════════════
   BILDEKORT — fp-card (base)
   ══════════════════════════════════════════════════════════ */
.fp-card {
  background: var(--surface);
  border: 0.5px solid var(--divider);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.fp-card a {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
  color: inherit;
}
.fp-card__img-wrap {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-alt);
  flex-shrink: 0;
  position: relative;
}
.fp-card__img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-card__img-ph { width: 100%; height: 100%; background: var(--surface-alt); }
.fp-card__body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}
.fp-card__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
}
.fp-card__title {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.35;
  color: var(--text-primary);
  transition: color 0.1s;
}
.fp-card a:hover .fp-card__title { color: var(--accent); }
.fp-card__date {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin-top: auto;
  padding-top: var(--sp-2);
}

/* ── Overlay-variant (forslag 3) ────────────────────────── */
.fp-card--overlay a { display: block; }
.fp-card--overlay .fp-card__overlay-body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--sp-8) var(--sp-3) var(--sp-3);
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, rgba(0,0,0,0) 100%);
}
.fp-card--overlay .fp-card__cat   { color: rgba(255,255,255,0.75); }
.fp-card--overlay .fp-card__title { color: #fff; }

/* ── Grid-layouts ───────────────────────────────────────── */
.fp-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.fp-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-5);
  margin-bottom: var(--sp-4);
}
@media (max-width: 599px) {
  .fp-grid-3 { grid-template-columns: 1fr; }
  .fp-grid-2 { grid-template-columns: 1fr; }
}

/* ── Forslag 2 — redaksjonell topp ─────────────────────── */
.fp-ed2-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-4);
  align-items: start;
  margin-bottom: var(--sp-4);
}
.fp-ed2-stack { display: flex; flex-direction: column; gap: var(--sp-4); }
@media (max-width: 599px) {
  .fp-ed2-top { grid-template-columns: 1fr; }
  .fp-ed2-stack { display: none; }
}

/* ── Forslag 2 — tekstliste ─────────────────────────────── */
.fp-textlist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 0.5px solid var(--divider);
  margin-bottom: var(--sp-4);
}
.fp-textlist__item {
  padding: var(--sp-3);
  border-bottom: 0.5px solid var(--divider);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.fp-textlist__item:nth-child(odd) { border-right: 0.5px solid var(--divider); }
.fp-textlist__item a {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  color: inherit;
}
.fp-textlist__item a:hover .fp-textlist__title { color: var(--accent); }
.fp-textlist__cat {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--accent);
}
.fp-textlist__title {
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color 0.1s;
}
.fp-textlist__date { font-size: var(--fs-xs); color: var(--text-muted); }
@media (max-width: 599px) {
  .fp-textlist { grid-template-columns: 1fr; }
  .fp-textlist__item:nth-child(odd) { border-right: none; }
}

/* ── Forslag 3 — overlay toppseksjon ───────────────────── */
.fp-ovl-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
@media (max-width: 599px) { .fp-ovl-top { grid-template-columns: 1fr; } }

/* ── Sak 1: full bredde, panorama-ratio ─────────────────── */
/* ── Unified overlay magazine grid ──────────────────────── */
.fp-news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-4);
  margin-bottom: var(--sp-4);
}
.fp-news-grid__top {
  grid-column: 1 / -1;
}
.fp-news-grid__top .fp-card__img-wrap { aspect-ratio: 16/9; }
.fp-news-grid__top .fp-card__title {
  font-size: var(--fs-2xl);
  font-weight: 900;
  line-height: 1.2;
}
@media (max-width: 599px) {
  .fp-news-grid { grid-template-columns: 1fr; }
  .fp-news-grid__top { grid-column: auto; }
}

/* ── Forslag 4 — kategoriseksjoner ─────────────────────── */
.fp-cat-section { margin-bottom: var(--sp-6); }
.fp-cat-section__hd {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  margin-bottom: var(--sp-3);
}
.fp-cat-section__name {
  font-size: var(--fs-xs);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-muted);
  white-space: nowrap;
}
.fp-cat-section__line { flex: 1; height: 0.5px; background: var(--divider); }
.fp-cat-section__link {
  font-size: var(--fs-xs);
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.fp-cat-section__link:hover { text-decoration: underline; }

/* ══════════════════════════════════════════════════════════
   FORSLAG 1 — Klassisk aviskolonne
   ══════════════════════════════════════════════════════════ */
.fp-p1-wrap {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--sp-6);
  align-items: start;
}
.fp-p1-sb {
  position: sticky;
  top: var(--sp-4);
}
@media (max-width: 699px) {
  .fp-p1-wrap { grid-template-columns: 1fr; }
  .fp-p1-sb   { position: static; }
}

/* ══════════════════════════════════════════════════════════
   FORSLAG 2 — Toppsak 2/3 + stablede saker 1/3
   ══════════════════════════════════════════════════════════ */
.fp-p2-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-6);
  align-items: start;
  margin-bottom: var(--sp-2);
}
.fp-p2-top__stack { display: flex; flex-direction: column; }
.fp-p2-stack-item a {
  display: flex;
  gap: var(--sp-3);
  padding: var(--sp-3) 0;
  border-bottom: 0.5px solid var(--divider);
  text-decoration: none;
  align-items: flex-start;
  color: inherit;
}
.fp-p2-stack-item:last-child a { border-bottom: none; }
.fp-p2-stack-item a:hover .fp-p2-stack-title { color: var(--accent); }
.fp-p2-stack-img {
  flex-shrink: 0;
  width: 90px;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-alt);
}
.fp-p2-stack-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-p2-stack-img__ph { width: 100%; height: 100%; }
.fp-p2-stack-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.fp-p2-stack-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color 0.1s;
}
@media (max-width: 699px) {
  .fp-p2-top { grid-template-columns: 1fr; }
  .fp-p2-top__stack { display: none; }
}

/* ══════════════════════════════════════════════════════════
   FORSLAG 3 — Puls-banner
   ══════════════════════════════════════════════════════════ */
.fp-p3-pulse {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-4);
  margin: var(--sp-4) 0;
  background: var(--surface);
  border: 0.5px solid var(--divider);
  border-left: 3px solid var(--accent);
  font-size: var(--fs-xs);
  color: var(--text-muted);
}
.fp-p3-pulse strong { color: var(--text-primary); }
.fp-p3-pulse a { color: var(--accent); text-decoration: none; }
.fp-p3-pulse a:hover { text-decoration: underline; }
.fp-p3-community {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-top: var(--sp-6);
  padding-top: var(--sp-5);
  border-top: 0.5px solid var(--divider);
}
.fp-p3-comm-col { min-width: 0; }
@media (max-width: 599px) {
  .fp-p3-community { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   FORSLAG 4 — Mosaikk + community split
   ══════════════════════════════════════════════════════════ */
.fp-p4-top {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--sp-5);
  align-items: start;
  margin-bottom: var(--sp-2);
}
.fp-p4-top__stack { display: flex; flex-direction: column; }
.fp-p4-stack-item a {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-3) 0;
  border-bottom: 0.5px solid var(--divider);
  text-decoration: none;
  color: inherit;
}
.fp-p4-stack-item:last-child a { border-bottom: none; }
.fp-p4-stack-item a:hover .fp-p4-stack-title { color: var(--accent); }
.fp-p4-stack-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-alt);
}
.fp-p4-stack-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fp-p4-stack-img__ph { width: 100%; height: 100%; }
.fp-p4-stack-body { display: flex; flex-direction: column; gap: 3px; }
.fp-p4-stack-title {
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-primary);
  transition: color 0.1s;
}
.fp-p4-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: var(--sp-6);
  align-items: start;
}
.fp-p4-body__comm {
  position: sticky;
  top: var(--sp-4);
}
@media (max-width: 699px) {
  .fp-p4-top { grid-template-columns: 1fr; }
  .fp-p4-top__stack { display: none; }
  .fp-p4-body { grid-template-columns: 1fr; }
  .fp-p4-body__comm { position: static; }
}

/* ── Nye medlemmer (full bredde, under forum) ─────────────── */
.fp-new-members {
  background: var(--surface);
  border: 0.5px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}
.fp-new-members__hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--sp-4);
}
.fp-new-members__grid {
  margin-top: 0;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
@media (max-width: 599px) {
  .fp-new-members__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── Seksjonstitel ───────────────────────────────────────── */
.fp-section-hd {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin: var(--sp-7) 0 var(--sp-4);
}
.fp-section-hd::before,
.fp-section-hd::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--divider);
}
.fp-section-hd__title {
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  white-space: nowrap;
  margin: 0;
}

/* ── Dark mode overrides ──────────────────────────────────── */
