/* ==========================================================================
   «Følger» på forsiden (FourThreeThree_Follow_Module)
   Prefiks: f433f-. 4px-basert spacing. Fonter fra temaet (Inter/Geist).
   ========================================================================== */

.f433f {
  --f433f-ink: #111111;
  --f433f-ink-2: #3c4350;
  --f433f-muted: #66717f;
  --f433f-sep: #e7e8eb;
  --f433f-chip: #f0f1f3;
  --f433f-field: #f4f5f7;
  --f433f-surface: #ffffff;
  --f433f-hover: #f6f7f9;
  --f433f-active: #f1f4ff;
  --f433f-blue: #1038f5;
  --f433f-dark: #121212;
  --f433f-dark-card: #222222;
  --f433f-dark-card-hover: #2b2b2b;
  --f433f-dark-muted: #a8a8a8;
  --f433f-dark-sep: #2c2c2c;
  --f433f-focus: #1038f5;

  max-width: 1050px;
  margin: 32px auto 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  color: var(--f433f-ink);
}

[data-theme="dark"] .f433f {
  --f433f-ink: #e9e9e9;
  --f433f-ink-2: #c4c7cc;
  --f433f-muted: #9aa1ab;
  --f433f-sep: #2e2f33;
  --f433f-chip: #24262a;
  --f433f-field: #1f2125;
  --f433f-surface: #16171a;
  --f433f-hover: #1d1f23;
  --f433f-active: #1a2140;
  --f433f-focus: #7d93ff;
}

.f433f *,
.f433f *::before,
.f433f *::after {
  box-sizing: border-box;
}

.f433f-sr {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.f433f [hidden] {
  display: none !important;
}

.f433f button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

.f433f :focus-visible {
  outline: 2px solid var(--f433f-focus);
  outline-offset: 2px;
}

.f433f-i {
  flex: none;
  display: block;
}

/* --- Logo / portrett ---------------------------------------------------- */

.f433f-logo {
  position: relative;
  flex: none;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
}

.f433f-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.f433f-logo[data-tax="433_person"] {
  border-radius: 50%;
  overflow: hidden;
  background: #2f2f2f;
}

.f433f-logo[data-tax="433_person"] img {
  object-fit: cover;
  object-position: center top;
}

.f433f-logo__mono {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #333333;
  color: #dddddd;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* --- Knapper ------------------------------------------------------------ */

.f433f-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: 7px;
  background: #ffffff;
  color: #111111 !important;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease;
}

.f433f-cta:hover {
  background: #e6e6e6;
}

.f433f-cta .f433f-i--arrow {
  transition: transform 0.15s ease;
}

.f433f-cta:hover .f433f-i--arrow {
  transform: translateX(2px);
}

.f433f-intro .f433f-cta:focus-visible,
.f433f-intro .f433f-textbtn:focus-visible,
.f433f-intro .f433f-card:focus-visible {
  outline-color: #ffffff;
}

.f433f-cta--dark {
  height: 44px;
  background: #111111;
  color: #ffffff !important;
}

.f433f-cta--dark:hover {
  background: #2d2d2d;
}

[data-theme="dark"] .f433f-cta--dark {
  background: #ffffff;
  color: #111111 !important;
}

.f433f-textbtn {
  padding: 0;
  border: 0;
  background: none;
  font-size: 13px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.f433f-iconbtn {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--f433f-muted);
}

.f433f-iconbtn:hover {
  background: var(--f433f-hover);
  color: var(--f433f-ink);
}

/* ==========================================================================
   Introduksjon (uinnlogget / følger ingenting) — mørk modul
   ========================================================================== */

.f433f-intro {
  background: var(--f433f-dark);
  color: #ffffff;
  border-radius: 6px;
  padding: 28px 32px;
}

[data-theme="dark"] .f433f-intro {
  border: 1px solid #262626;
}

.f433f-intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 40px;
  align-items: center;
}

.f433f-eyebrow {
  margin: 0 0 8px;
  color: var(--f433f-dark-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.f433f-intro__title {
  margin: 0;
  color: #ffffff;
  font-family: "Playfair Display",sans-serif;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
}

.f433f-intro__desc {
  margin: 8px 0 0;
  max-width: 400px;
  color: var(--f433f-dark-muted);
  font-size: 15px;
  line-height: 1.45;
}

.f433f-intro__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin-top: 20px;
}

.f433f-intro__note {
  margin: 0;
  color: var(--f433f-dark-muted);
  font-size: 13px;
}

.f433f-intro__note .f433f-textbtn {
  color: #ffffff;
}

/* Minikort */

.f433f-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.f433f-cards > li {
  margin: 0;
  min-width: 0;
}

.f433f-card {
  /* Holder .f433f-sr inne i kortet. Uten dette plasseres den mot siden,
     slipper ut av den rullbare raden på mobil og gjør siden bredere. */
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  height: 50px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--f433f-dark-card);
  color: #ffffff;
  text-align: left;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

.f433f-card:hover {
  background: var(--f433f-dark-card-hover);
}

.f433f-card .f433f-logo {
  width: 30px;
  height: 30px;
}

.f433f-card__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.f433f-card__icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--f433f-dark-muted);
  transition: color 0.12s ease, background-color 0.12s ease;
}

.f433f-card__icon .f433f-i {
  width: 17px;
  height: 17px;
}

.f433f-card:hover .f433f-card__icon {
  color: #ffffff;
}

.f433f-card .f433f-i--check,
.f433f-card[aria-pressed="true"] .f433f-i--plus {
  display: none;
}

.f433f-card[aria-pressed="true"] .f433f-i--check {
  display: block;
}

.f433f-card[aria-pressed="true"] {
  border-color: #3a3a3a;
  background: #1b1b1b;
}

.f433f-card[aria-pressed="true"] .f433f-card__icon {
  background: #ffffff;
  color: #111111;
}

.f433f-card[aria-pressed="true"] .f433f-card__icon .f433f-i {
  width: 14px;
  height: 14px;
  stroke-width: 2.6;
}

/* Forhåndsvisning (uinnlogget, etter «Se mine nyheter») */

.f433f-preview {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--f433f-dark-sep);
}

.f433f-preview__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}

.f433f-preview__title {
  margin: 0;
  color: #ffffff;
  font-family: "Geist", sans-serif;
  font-size: 17px;
  font-weight: 700;
}

.f433f-preview__head .f433f-textbtn {
  color: var(--f433f-dark-muted);
}

.f433f-save {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 7px;
  background: var(--f433f-dark-card);
}

.f433f-save p {
  margin: 0;
  color: var(--f433f-dark-muted);
  font-size: 14px;
  line-height: 1.4;
}

.f433f-save strong {
  display: block;
  color: #ffffff;
  font-weight: 600;
}

.f433f-save .f433f-cta {
  height: 40px;
  font-size: 14px;
}

/* ==========================================================================
   Personlig strøm (innlogget)
   ========================================================================== */

.f433f-feed {
  padding-top: 24px;
  border-top: 1px solid var(--f433f-sep);
}

.f433f-feed__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.f433f-badge {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--f433f-blue);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.f433f-feed__title {
  margin: 0;
  color: var(--f433f-ink);
  font-family: "Playfair display", sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.f433f-edit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 32px;
  padding: 0 10px;
  border: 0;
  border-radius: 6px;
  background: none;
  color: var(--f433f-ink-2) !important;
  font-size: 13px;
  font-weight: 600;
}

.f433f-edit:hover {
  background: var(--f433f-chip);
  color: var(--f433f-ink) !important;
}

.f433f-edit .f433f-i {
  width: 14px;
  height: 14px;
}

/* Filtre */

.f433f-filters {
  display: flex;
  gap: 8px;
  margin: 16px -1.2rem 0;
  padding: 0 1.2rem 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-padding-inline: 1.2rem;
}

.f433f-filters::-webkit-scrollbar {
  display: none;
}

.f433f-chip {
  flex: none;
  height: 32px;
  padding: 0 14px;
  border: 0;
  border-radius: 16px;
  background: var(--f433f-chip);
  color: var(--f433f-ink) !important;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: background-color 0.12s ease;
}

.f433f-chip:hover {
  background: #e3e5e9;
}

[data-theme="dark"] .f433f-chip:hover {
  background: #2e3035;
}

.f433f-chip[aria-pressed="true"] {
  background: #111111;
  color: #ffffff !important;
}

[data-theme="dark"] .f433f-chip[aria-pressed="true"] {
  background: #ffffff;
  color: #111111 !important;
}

.f433f-feed__list {
  margin-top: 4px;
  transition: opacity 0.15s ease;
}

.f433f-feed__list[aria-busy="true"] {
  opacity: 0.5;
}

/* --- Artikler ----------------------------------------------------------- */

.f433f-articles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.f433f-article {
  margin: 0;
  border-bottom: 1px solid var(--f433f-sep);
}

.f433f-article__link {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
  padding: 16px 0;
  color: inherit !important;
  text-decoration: none !important;
}

.f433f-article__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 3px;
  background: var(--f433f-chip);
}

.f433f-article__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.f433f-article__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.f433f-article__title {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: var(--f433f-ink);
  font-family: "Geist", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.28;
}

.f433f-article__link:hover .f433f-article__title {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.f433f-article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 6px;
  color: var(--f433f-muted);
  font-size: 12px;
  line-height: 1.3;
}

.f433f-article__kicker {
  color: var(--f433f-ink-2);
  font-weight: 600;
}

.f433f-article__reason {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--f433f-muted);
  font-size: 12px;
  line-height: 1.3;
}

.f433f-article__reason .f433f-i {
  width: 13px;
  height: 13px;
  color: var(--f433f-blue);
  stroke-width: 2.6;
}

[data-theme="dark"] .f433f-article__reason .f433f-i {
  color: #7d93ff;
}

.f433f-empty {
  margin: 16px 0 0;
  color: var(--f433f-muted);
  font-size: 14px;
}

/* Mørk variant inne i introduksjonsmodulen */

.f433f-articles--preview {
  --f433f-ink: #ffffff;
  --f433f-ink-2: #d6d6d6;
  --f433f-muted: var(--f433f-dark-muted);
  --f433f-sep: var(--f433f-dark-sep);
  --f433f-chip: var(--f433f-dark-card);
}

.f433f-articles--preview .f433f-article__link {
  grid-template-columns: 128px minmax(0, 1fr);
  padding: 14px 0;
}

.f433f-articles--preview .f433f-article__title {
  font-size: 16px;
}

.f433f-articles--preview .f433f-article__reason .f433f-i {
  color: #ffffff;
}

.f433f-preview .f433f-empty {
  color: var(--f433f-dark-muted);
}

/* ==========================================================================
   Velger (dialog)
   ========================================================================== */

.f433f-panel {
  width: min(560px, calc(100vw - 32px));
  max-width: none;
  height: min(720px, calc(100vh - 64px));
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: var(--f433f-surface);
  color: var(--f433f-ink);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.f433f-panel::backdrop {
  background: rgba(10, 10, 10, 0.55);
}

.f433f-panel__box {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.f433f-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 20px 16px;
}

.f433f-panel__title {
  margin: 0;
  color: var(--f433f-ink);
  font-family: "Geist", sans-serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.f433f-panel__desc {
  margin: 4px 0 0;
  color: var(--f433f-muted);
  font-size: 14px;
  line-height: 1.4;
}

.f433f-panel__head .f433f-iconbtn {
  margin: -6px -8px 0 0;
}

.f433f-panel__head .f433f-i {
  width: 20px;
  height: 20px;
}

/* Søk */

.f433f-search {
  position: relative;
  margin: 0 20px;
}

.f433f-search > .f433f-i--search {
  position: absolute;
  top: 50%;
  left: 12px;
  width: 18px;
  height: 18px;
  color: var(--f433f-muted);
  transform: translateY(-50%);
  pointer-events: none;
}

.f433f-search__input {
  width: 100%;
  height: 44px;
  margin: 0;
  padding: 0 44px 0 40px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--f433f-field);
  color: var(--f433f-ink);
  font: inherit;
  font-size: 15px;
  -webkit-appearance: none;
  appearance: none;
}

.f433f-search__input::placeholder {
  color: var(--f433f-muted);
  opacity: 1;
}

.f433f-search__input::-webkit-search-cancel-button {
  -webkit-appearance: none;
  display: none;
}

.f433f-search__input:focus {
  outline: none;
  border-color: var(--f433f-focus);
  background: var(--f433f-surface);
}

.f433f-search__clear {
  position: absolute;
  top: 4px;
  right: 4px;
}

/* Faner */

.f433f-tabs {
  display: flex;
  gap: 20px;
  margin-top: 12px;
  padding: 0 20px;
  border-bottom: 1px solid var(--f433f-sep);
}

.f433f-tab {
  position: relative;
  height: 40px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--f433f-muted) !important;
  font-size: 14px;
  font-weight: 600;
}

.f433f-tab:hover {
  color: var(--f433f-ink) !important;
}

.f433f-tab[aria-selected="true"] {
  color: var(--f433f-ink) !important;
}

.f433f-tab[aria-selected="true"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 2px;
  background: var(--f433f-ink);
}

.f433f-tab__count {
  margin-left: 4px;
  color: var(--f433f-muted);
  font-weight: 500;
}

/* Liste */

.f433f-panel__body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 4px 0 16px;
}

.f433f-panel__body:focus {
  outline: none;
}

.f433f-group__title {
  margin: 16px 20px 4px;
  color: var(--f433f-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.f433f-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.f433f-row {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 56px;
  margin: 0;
  padding: 0 20px;
  border-bottom: 1px solid var(--f433f-sep);
  transition: background-color 0.12s ease;
}

.f433f-row:last-child {
  border-bottom: 0;
}

.f433f-row.is-active {
  background: var(--f433f-active);
}

.f433f-row .f433f-logo {
  width: 34px;
  height: 34px;
}

.f433f-panel .f433f-logo[data-tax="433_person"] {
  background: #e9ebef;
}

.f433f-panel .f433f-logo__mono {
  background: #e9ebef;
  color: #4a5160;
}

[data-theme="dark"] .f433f-panel .f433f-logo[data-tax="433_person"],
[data-theme="dark"] .f433f-panel .f433f-logo__mono {
  background: #2a2c31;
  color: #c4c7cc;
}

.f433f-row__name {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--f433f-ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.f433f-row__name mark {
  background: none;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-decoration-color: #c7d0fd;
  text-underline-offset: 3px;
}

.f433f-follow {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 84px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #d5d8de;
  border-radius: 6px;
  background: var(--f433f-surface);
  color: var(--f433f-ink) !important;
  font-size: 13px;
  font-weight: 600;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

[data-theme="dark"] .f433f-follow {
  border-color: #3a3d43;
}

.f433f-follow:hover {
  border-color: #111111;
}

.f433f-follow .f433f-i {
  width: 15px;
  height: 15px;
}

.f433f-follow[aria-pressed="true"] {
  border-color: #111111;
  background: #111111;
  color: #ffffff !important;
}

[data-theme="dark"] .f433f-follow[aria-pressed="true"] {
  border-color: #ffffff;
  background: #ffffff;
  color: #111111 !important;
}

.f433f-follow[aria-pressed="true"] .f433f-i {
  stroke-width: 2.6;
}

.f433f-note-row {
  margin: 20px 20px 0;
  color: var(--f433f-muted);
  font-size: 14px;
  line-height: 1.45;
}

.f433f-note-row .f433f-textbtn {
  color: var(--f433f-ink);
  font-size: 14px;
}

.f433f-skeleton {
  height: 56px;
  margin: 0 20px;
  border-bottom: 1px solid var(--f433f-sep);
  background: linear-gradient(90deg, var(--f433f-field) 0 34px, transparent 34px 46px, var(--f433f-field) 46px 46%, transparent 46%) left center / 100% 34px no-repeat;
  opacity: 0.8;
}

/* Bunnlinje */

.f433f-panel__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  padding-bottom: max(12px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--f433f-sep);
  background: var(--f433f-surface);
}

.f433f-panel__count {
  color: var(--f433f-ink-2);
  font-size: 14px;
  font-weight: 500;
}

/* --- Kvittering (toast) -------------------------------------------------- */

.f433f-toast {
  position: fixed;
  z-index: 9999;
  left: 50%;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: calc(100vw - 32px);
  padding: 10px 12px 10px 16px;
  border-radius: 7px;
  background: #111111;
  color: #ffffff;
  font-size: 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transform: translateX(-50%);
}

[data-theme="dark"] .f433f-toast {
  background: #f2f2f2;
  color: #111111;
}

.f433f-toast--panel {
  position: absolute;
  bottom: 76px;
}

.f433f-toast .f433f-textbtn {
  color: inherit;
  font-size: 14px;
  font-weight: 600;
}

/* Rullelås mens velgeren er åpen */
html.f433f-lock {
  overflow: hidden;
}

/* ==========================================================================
   Responsivt
   ========================================================================== */

@media (max-width: 900px) {
  .f433f-intro__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .f433f-intro__desc {
    max-width: none;
  }

  .f433f-articles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .f433f {
    margin-top: 24px;
    padding: 0 16px;
  }

  .f433f-intro {
    margin: 0 0px;
    padding: 24px 16px;
    border-radius: 0;
  }

  .f433f-intro__title {
    font-size: 26px;
  }

  .f433f-intro__desc {
    font-size: 14px;
  }

  /* Kortene i én horisontal rekke; handlingen ligger over, så den nås uten rulling. */
  .f433f-intro__grid {
    gap: 16px;
  }

  .f433f-intro__text {
    display: contents;
  }

  .f433f-eyebrow,
  .f433f-intro__title,
  .f433f-intro__desc {
    grid-column: 1;
  }

  .f433f-eyebrow {
    margin-bottom: -8px;
  }

  .f433f-intro__title {
    margin-bottom: -8px;
  }

  .f433f-cards {
    display: flex;
    gap: 8px;
    margin: 0 -16px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 16px;
  }

  .f433f-cards::-webkit-scrollbar {
    display: none;
  }

  .f433f-cards > li {
    flex: 0 0 auto;
    width: 172px;
    scroll-snap-align: start;
  }

  .f433f-intro__actions {
    order: 5;
    margin-top: 0;
  }

  .f433f-intro__actions .f433f-cta {
    flex: 1 1 100%;
  }

  .f433f-intro__note {
    flex: 1 1 100%;
    text-align: center;
  }

  .f433f-preview {
    margin-top: 20px;
  }

  .f433f-save .f433f-cta {
    width: 100%;
  }

  .f433f-feed {
    padding-top: 20px;
  }

  .f433f-feed__title {
    font-size: 21px;
  }

  .f433f-filters {
    margin-right: -16px;
    margin-left: -16px;
    padding-right: 16px;
    padding-left: 16px;
    scroll-padding-inline: 16px;
  }

  .f433f-article__link,
  .f433f-articles--preview .f433f-article__link {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 0;
  }

  .f433f-article__title,
  .f433f-articles--preview .f433f-article__title {
    font-size: 16px;
  }

  /* Velgeren som fullskjermspanel */
  .f433f-panel {
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    border-radius: 0;
  }

  .f433f-panel__head {
    padding: 16px 16px 12px;
  }

  .f433f-search {
    margin: 0 16px;
  }

  .f433f-tabs {
    padding: 0 16px;
  }

  .f433f-group__title {
    margin-right: 16px;
    margin-left: 16px;
  }

  .f433f-row {
    padding: 0 16px;
  }

  .f433f-panel__foot {
    padding-right: 16px;
    padding-left: 16px;
  }

  .f433f-panel__foot .f433f-cta {
    padding: 0 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .f433f *,
  .f433f *::before,
  .f433f *::after {
    transition: none !important;
  }
}
