/*
Theme Name: WP Portal Base
Theme URI: https://example.invalid/wp-portal-base
Author: Local Project
Description: Shared multisite base theme with lightweight per-site branding.
Version: 0.3.21
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 8.3
Text Domain: wp-portal-base
*/

:root {
  --wp-portal-accent: #1657c0;
  --wp-portal-accent-soft: #dce8ff;
  --wp-portal-surface: #eef2f6;
  --wp-portal-surface-alt: #f8fafc;
  --wp-portal-text: #17212b;
  --wp-portal-muted: #5d6873;
  --wp-portal-border: color-mix(in srgb, var(--wp-portal-accent) 18%, white);
  --wp-portal-shadow: 0 18px 44px rgba(9, 20, 33, 0.12);
  --wp-portal-header-bg: #041e42;
  --wp-portal-header-bg-strong: #041e42;
  --wp-portal-header-border: color-mix(in srgb, var(--wp-portal-accent) 42%, white);
  --wp-portal-nav-active: #2a6ecf;
  --wp-portal-header-sticky-offset: 10.5rem;
  --wp-portal-context-sticky-gap: 1rem;
  --wp-portal-breadcrumb-sticky-offset: calc(var(--wp-portal-header-sticky-offset) + var(--wp-portal-context-sticky-gap));
  --wp-portal-branch-nav-sticky-offset: calc(var(--wp-portal-breadcrumb-sticky-offset) + 4.5rem);
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  color: var(--wp-portal-text);
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--wp-portal-accent-soft) 70%, white), transparent 28%),
    linear-gradient(180deg, var(--wp-portal-surface), var(--wp-portal-surface-alt));
  line-height: 1.6;
}

a {
  color: var(--wp-portal-accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

.site-header {
  width: 100%;
  background: linear-gradient(180deg, var(--wp-portal-header-bg), var(--wp-portal-header-bg-strong));
  color: #fff;
  box-shadow: 0 16px 40px rgba(2, 20, 47, 0.22);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header__top,
.site-header__nav-row,
.site-header__nav-shell {
  width: 100%;
}

.site-header__top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.site-header__nav-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.site-header__inner {
  width: min(100%, 120rem);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header__top .site-header__inner {
  min-height: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-width: 0;
}

.site-header__wordmark {
  flex-shrink: 0;
  color: #fff;
  text-decoration: none;
  font-size: clamp(1.75rem, 3.1vw, 3rem);
  font-weight: 900;
  letter-spacing: 0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.site-header__divider {
  width: 1px;
  height: 2.75rem;
  background: rgba(255, 255, 255, 0.18);
}

.site-header__application {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  min-width: 0;
}

.site-header__app-name {
  color: #fff;
  font-size: clamp(1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  letter-spacing: 0.01em;
}

.site-header__mobile-title {
  display: none;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 0.95rem;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.site-header__menu-toggle-lines,
.site-header__menu-toggle-lines::before,
.site-header__menu-toggle-lines::after {
  display: block;
  width: 1.2rem;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.site-header__menu-toggle-lines {
  position: relative;
}

.site-header__menu-toggle-lines::before,
.site-header__menu-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.site-header__menu-toggle-lines::before {
  top: -0.38rem;
}

.site-header__menu-toggle-lines::after {
  top: 0.38rem;
}

.site-header.is-open .site-header__menu-toggle-lines {
  background: transparent;
}

.site-header.is-open .site-header__menu-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .site-header__menu-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header__login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  transition: background-color 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.site-header__login:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.34);
  transform: translateY(-1px);
}

.site-nav {
  padding: 0;
}

.site-header__mobile-action {
  display: none;
}

.site-nav ul,
.site-nav__list,
.site-nav .menu,
.site-nav .page-menu,
.site-nav .page_item_has_children > ul,
.site-nav .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__list,
.site-nav .menu,
.site-nav .page-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.75rem;
  min-height: 4rem;
}

.site-nav li {
  position: relative;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0.8rem 1rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 4px solid transparent;
  transition: color 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
}

.site-nav a:hover,
.site-nav .current_page_item > a,
.site-nav .current-menu-item > a,
.site-nav .current_page_ancestor > a,
.site-nav .current-menu-ancestor > a {
  color: #fff;
  border-bottom-color: var(--wp-portal-nav-active);
}

.site-shell {
  width: min(100%, 78rem);
  margin: 0 auto 4rem;
  padding: 1.75rem 1rem 0;
}

.site-main {
  display: grid;
  gap: 1.5rem;
}

.context-panel,
.content-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--wp-portal-border);
  border-radius: 1.4rem;
  box-shadow: var(--wp-portal-shadow);
}

.context-panel {
  display: grid;
  gap: 1rem;
}

.context-panel--compact {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background: rgba(255, 255, 255, 0.92);
}

.branch-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 18.5rem) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.branch-sidebar {
  position: relative;
}

.branch-content {
  min-width: 0;
}

.branch-sidebar .section-shortcuts {
  position: sticky;
  top: var(--wp-portal-branch-nav-sticky-offset);
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 248, 252, 0.95));
  border: 1px solid color-mix(in srgb, var(--wp-portal-accent) 14%, white);
  border-radius: 1.4rem;
  box-shadow: 0 12px 28px rgba(9, 20, 33, 0.1);
}

.breadcrumb-trail__list,
.section-shortcuts__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb-trail__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.breadcrumb-trail__item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--wp-portal-muted);
  font-size: 0.82rem;
}

.breadcrumb-trail__item:not(:last-child)::after {
  content: "/";
  color: color-mix(in srgb, var(--wp-portal-muted) 65%, white);
}

.breadcrumb-trail__item a {
  color: inherit;
  text-decoration: none;
}

.breadcrumb-trail__item a:hover {
  color: var(--wp-portal-accent);
}

.section-shortcuts {
  display: grid;
  gap: 0.9rem;
}

.section-shortcuts__header {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.1rem 0.1rem 0.55rem;
  border-bottom: 1px solid color-mix(in srgb, var(--wp-portal-accent) 12%, white);
}

.section-shortcuts__title,
.content-card__title {
  margin: 0;
  font-family: "Iowan Old Style", "Palatino Linotype", serif;
  line-height: 1.1;
}

.section-shortcuts__title {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem);
}

.section-shortcuts__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.branch-sidebar .section-shortcuts__list {
  display: grid;
  gap: 0.4rem;
}

.section-shortcuts__link {
  display: inline-flex;
  align-items: center;
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.95rem;
  background: color-mix(in srgb, var(--wp-portal-accent-soft) 72%, white);
  color: var(--wp-portal-text);
  text-decoration: none;
  transition: border-color 0.16s ease, background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.branch-sidebar .section-shortcuts__link {
  justify-content: flex-start;
  width: 100%;
  padding: 0.8rem 0.95rem 0.8rem 1.05rem;
  border-left: 4px solid transparent;
  background: rgba(237, 242, 249, 0.92);
}

.branch-sidebar .section-shortcuts__link::after {
  content: "›";
  margin-left: auto;
  font-size: 1.1rem;
  line-height: 1;
  color: color-mix(in srgb, var(--wp-portal-muted) 88%, white);
  opacity: 1;
 }

.section-shortcuts__link:hover,
.section-shortcuts__link.is-current {
  background: var(--wp-portal-accent);
  color: #fff;
}

.branch-sidebar .section-shortcuts__link:hover {
  background: rgba(255, 255, 255, 0.98);
  color: var(--wp-portal-text);
  border-color: color-mix(in srgb, var(--wp-portal-accent) 18%, white);
  border-left-color: var(--wp-portal-nav-active);
  box-shadow: 0 8px 16px rgba(9, 20, 33, 0.08);
}

.branch-sidebar .section-shortcuts__link.is-current {
  background: #fff;
  color: var(--wp-portal-text);
  border-color: color-mix(in srgb, var(--wp-portal-nav-active) 28%, white);
  border-left-color: var(--wp-portal-nav-active);
  box-shadow: 0 10px 18px rgba(9, 20, 33, 0.1);
}

.branch-sidebar .section-shortcuts__link.is-current::after,
.branch-sidebar .section-shortcuts__link:hover::after {
  color: var(--wp-portal-nav-active);
}

.content-card__header {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.content-card__title {
  font-size: clamp(1.7rem, 2.2vw, 2.8rem);
}

.content-card__body > *:first-child {
  margin-top: 0;
}

.content-card__body > *:last-child {
  margin-bottom: 0;
}

.content-card__body img,
.content-card__body iframe,
.content-card__body embed,
.content-card__body object,
.content-card__body video {
  max-width: 100%;
  height: auto;
}

.content-card__body table {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  table-layout: auto;
}

.content-card__body th,
.content-card__body td {
  max-width: 100%;
  word-break: break-word;
}

.site-footer {
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--wp-portal-muted);
}

@media (max-width: 1024px) {
  :root {
    --wp-portal-header-sticky-offset: 4.75rem;
  }

  .site-header__inner {
    padding: 0 1rem;
  }

  .site-header__top .site-header__inner {
    min-height: 4.75rem;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    padding-top: 0;
    padding-bottom: 0;
  }

  .site-header__brand {
    flex: 1 1 auto;
    min-width: 0;
  }

  .site-header__wordmark,
  .site-header__divider,
  .site-header__application,
  .site-header__login {
    display: none;
  }

  .site-header__mobile-title {
    display: block;
  }

  .site-header__menu-toggle {
    display: inline-flex;
  }

  .site-header__actions {
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
  }

  .site-header__nav-shell {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header__nav-shell.is-open {
    display: block;
  }

  .site-header__nav-row {
    border-bottom: 0;
  }

  .site-header__mobile-action {
    display: flex;
    padding: 0.75rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 0.25rem;
  }

  .site-header__login--mobile {
    display: inline-flex;
    min-height: 2.15rem;
  }

  .site-nav__list,
  .site-nav .menu,
  .site-nav .page-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    min-height: auto;
    padding: 0.75rem 0 1rem;
  }

  .site-nav a {
    width: 100%;
    min-height: 2.9rem;
    padding: 0.7rem 0.85rem 0.7rem 1rem;
    border-bottom: 0;
    border-left: 4px solid transparent;
    border-radius: 0.9rem;
  }

  .site-nav .current_page_item > a,
  .site-nav .current-menu-item > a,
  .site-nav .current_page_ancestor > a,
  .site-nav .current-menu-ancestor > a {
    border-left-color: var(--wp-portal-nav-active);
    background: rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 720px) {
  .site-shell {
    padding-top: 1.25rem;
  }

  .branch-layout {
    grid-template-columns: 1fr;
  }

  .context-panel--compact,
  .branch-sidebar .section-shortcuts {
    position: static;
    padding: 1rem;
  }

  .branch-sidebar .section-shortcuts__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .branch-sidebar .section-shortcuts__link {
    width: auto;
    border-radius: 999px;
  }

  .branch-sidebar .section-shortcuts__link::after {
    content: none;
  }

  .context-panel,
  .content-card {
    padding: 1.2rem;
    border-radius: 1.15rem;
  }
}

/* BEGIN SFB REDESIGN */
.page-id-107 .content-card__header { display: none; }
.page-id-107 .content-card { padding: 0; border: 0; box-shadow: none; background: transparent; }
.page-id-107 .content-card__body { padding: 0; }

.sfb-shell { max-width: 1220px; margin: 24px auto 40px; padding: 24px; border-radius: 24px; background: #f4f4f2; box-shadow: 0 24px 48px rgba(20,26,38,.12); }
.sfb-shell * { box-sizing: border-box; }

.sfb-hero { border-radius: 18px; background: #fff; border: 1px solid #e5e9f0; overflow: hidden; }
.sfb-hero .wp-block-columns { margin: 0 !important; gap: 24px; padding: 34px 34px 22px; }
.sfb-hero h2 { margin: 0 0 14px; font-size: 56px; line-height: 1.05; color: #12223a; }
.sfb-hero p { margin: 0 0 10px; font-size: 30px; color: #2f3c4d; line-height: 1.42; }
.sfb-main-btn .wp-block-button__link { background: #0f4cac; border-radius: 12px; font-size: 26px; font-weight: 700; padding: 14px 28px; }

.sfb-hero-visual { min-height: 320px; border-radius: 14px; border: 1px solid #d9e3f2; background: linear-gradient(135deg, #f7fbff, #edf3fb); position: relative; }
.sfb-hero-visual:before { content: ""; position: absolute; inset: 16% 10% 12% 10%; border-radius: 12px; border: 3px solid rgba(32,85,165,.25); transform: skewX(-8deg); }
.sfb-hero-visual:after { content: "SCANIA"; position: absolute; left: 22%; bottom: 18%; color: rgba(16,62,140,.30); font-size: 36px; font-weight: 800; letter-spacing: .08em; }

.sfb-card-grid { margin-top: 24px; gap: 18px !important; }
.sfb-card { background: #fff; border-radius: 16px; border: 1px solid #e3e8f1; box-shadow: 0 10px 24px rgba(15,23,42,.08); padding: 18px; height: 100%; }
.sfb-card h3 { margin: 0 0 6px; font-size: 34px; line-height: 1.2; color: #15243a; }
.sfb-card p { margin: 0 0 8px; color: #425065; font-size: 24px; }
.sfb-updates { margin: 10px 0 14px !important; color: #4b5a6e !important; font-size: 22px !important; }
.sfb-card .wp-block-button { width: 100%; }
.sfb-card .wp-block-button__link { display: block; width: 100%; text-align: center; border-radius: 10px; font-size: 23px; font-weight: 700; padding: 11px 14px; }
.sfb-blue .wp-block-button__link { background: #0e4cae; }
.sfb-yellow .wp-block-button__link { background: #d8a719; }
.sfb-teal .wp-block-button__link { background: #0e7a7e; }
.sfb-purple .wp-block-button__link { background: #5950a9; }

.sfb-news-wrap { margin-top: 34px; gap: 20px !important; align-items: start; }
.sfb-news-title { margin: 0 0 8px !important; font-size: 46px !important; }
.sfb-news-card, .sfb-quick-links { background: #fff; border: 1px solid #e3e8f1; border-radius: 14px; box-shadow: 0 10px 24px rgba(15,23,42,.08); padding: 16px; }
.sfb-news-card h4 { margin: 0 0 6px; font-size: 35px; line-height: 1.22; }
.sfb-news-card p { margin: 0 0 8px; font-size: 25px; color: #2d3b4d; }
.sfb-news-date { color: #5f6c7b !important; font-size: 24px !important; }
.sfb-news-img img { border-radius: 10px; border: 1px solid #dce3ef; width: 100%; }

.sfb-quick-links h3 { margin: 0 0 12px; font-size: 44px; }
.sfb-quick-links ul { margin: 0; padding: 0; list-style: none; }
.sfb-quick-links li { border-bottom: 1px solid #edf1f7; }
.sfb-quick-links li:last-child { border-bottom: 0; }
.sfb-quick-links a { display: flex; justify-content: space-between; align-items: center; padding: 12px 4px; text-decoration: none; color: #1a2a3f; font-size: 28px; }

.sfb-footer { text-align: center; color: #616f7f; font-size: 22px; margin: 28px 0 6px; }

@media (max-width: 1024px) {
  .sfb-hero .wp-block-columns { padding: 22px; }
  .sfb-hero h2 { font-size: 40px; }
  .sfb-hero p { font-size: 22px; }
}
@media (max-width: 640px) {
  .sfb-shell { padding: 16px; }
  .sfb-hero h2 { font-size: 34px; }
  .sfb-news-title { font-size: 34px !important; }
  .sfb-card h3, .sfb-news-card h4 { font-size: 28px; }
}
/* END SFB REDESIGN */
/* Global header/content alignment tweak (site-wide) */
.site-header {
  box-shadow: 0 10px 24px rgba(2, 20, 47, 0.18);
}

.site-shell {
  padding-top: 0.5rem;
}

.site-main {
  gap: 1rem;
}

.context-panel {
  margin-top: 0;
}
/* Desktop: keep nav in same row as brand */
.site-nav--inline {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav--inline .site-nav__list,
.site-nav--inline .menu,
.site-nav--inline .page-menu {
  justify-content: center;
  min-height: 3.9rem;
}

.site-nav--inline a {
  min-height: 3.25rem;
}

/* Hide second nav row on desktop since menu is inline */
.site-header__nav-shell {
  display: none;
}

/* Mobile: keep existing hamburger nav shell */
@media (max-width: 900px) {
  .site-nav--inline {
    display: none;
  }

  .site-header__nav-shell {
    display: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .site-header__nav-shell.is-open {
    display: block;
  }
}
/* BEGIN TEGEL FONTS */
@font-face {
  font-family: "Scania Sans";
  src: url("/wp-content/themes/wp-portal-base/assets/fonts/tegel/ScaniaSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Scania Sans";
  src: url("/wp-content/themes/wp-portal-base/assets/fonts/tegel/ScaniaSans-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Scania Sans";
  src: url("/wp-content/themes/wp-portal-base/assets/fonts/tegel/ScaniaSans-Italic.woff") format("woff");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --sf-tegel-font: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

body,
button,
input,
select,
textarea,
.site-header,
.site-nav,
.wp-block-heading,
.wp-block-button__link,
.content-card,
.context-panel {
  font-family: var(--sf-tegel-font);
}
/* END TEGEL FONTS */
/* BEGIN TEGEL HEADLINE FONT */
@font-face {
  font-family: "Scania Sans Headline";
  src: url("/wp-content/themes/wp-portal-base/assets/fonts/tegel/ScaniaSansHeadline-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

.site-header__wordmark,
.site-header__mobile-title {
  font-family: "Scania Sans Headline", var(--sf-tegel-font);
  font-weight: 400;
  letter-spacing: 0.01em;
}
/* END TEGEL HEADLINE FONT */
/* BEGIN WORDMARK TUNING */
.site-header__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.site-header__top .site-header__inner {
  justify-content: flex-start;
}

.site-header__wordmark {
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.008em;
  margin-right: 0.75rem;
}

.site-nav--inline {
  flex: 1 1 auto;
}

.site-nav--inline .site-nav__list,
.site-nav--inline .menu,
.site-nav--inline .page-menu {
  justify-content: flex-start;
  gap: 0.3rem 0.55rem;
}
/* END WORDMARK TUNING */
/* BEGIN NAV HOVER TUNING */
.site-nav--inline .site-nav__list,
.site-nav--inline .menu,
.site-nav--inline .page-menu {
  gap: 0;
}

.site-nav--inline li,
.site-nav--inline li:first-child {
  border-left: 0;
}

.site-nav--inline a {
  min-height: 2.8rem;
  padding: 0.3rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 3px solid transparent;
  transition: background-color 0.16s ease, color 0.16s ease, border-bottom-color 0.16s ease;
}

.site-nav--inline a:hover,
.site-nav--inline .current_page_item > a,
.site-nav--inline .current-menu-item > a,
.site-nav--inline .current_page_ancestor > a,
.site-nav--inline .current-menu-ancestor > a {
  background: rgba(58, 106, 176, 0.55);
  color: #fff;
  border-bottom-color: #3e8bff;
}
/* END NAV HOVER TUNING */
/* BEGIN GLOBAL SHELL WIDTH TUNING */
.site-shell {
  width: min(100%, 96rem);
  margin: 0 auto 3rem;
  padding: 0.75rem 1.25rem 0;
}
/* END GLOBAL SHELL WIDTH TUNING */
/* BEGIN ADMIN BUTTON TUNING */
.site-header .site-header__actions .site-header__login {
  min-height: 1.9rem !important;
  padding: 0.28rem 0.62rem !important;
  font-size: 0.72rem !important;
  font-weight: 600 !important;
  border-radius: 999px;
}
/* END ADMIN BUTTON TUNING */
/* BEGIN HEADER SCANIA LOGO */
.site-header__scania-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 0.45rem;
  text-decoration: none;
  line-height: 0;
}

.site-header__scania-logo {
  width: 2.3rem;
  height: 2.3rem;
  object-fit: contain;
  vertical-align: middle;
  flex: 0 0 auto;
}

@media (max-width: 900px) {
  .site-header__scania-logo-link,
  .site-header__scania-logo {
    display: none;
  }
}
/* END HEADER SCANIA LOGO */
/* BEGIN HEADER SCANIA LOGO HOVER */
.site-header__scania-logo-link {
  min-height: 2.8rem;
  padding: 0.55rem 0.7rem;
  border-bottom: 3px solid transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.site-header__scania-logo-link:hover,
.site-header__scania-logo-link:focus-visible {
  background: #113f7d;
  border-bottom-color: transparent;
  text-decoration: none;
  outline: none;
}
/* END HEADER SCANIA LOGO HOVER */
/* BEGIN FULL WIDTH OVERRIDE */
.site-header__inner {
  width: 100%;
  max-width: none;
  padding-left: 15px;
  padding-right: 15px;
}

.site-shell {
  width: 100%;
  max-width: none;
  margin: 0 0 3rem;
  padding: 0 15px;
}

.site-main {
  width: 100%;
}
/* END FULL WIDTH OVERRIDE */
/* BEGIN GLOBAL WHITE BG */
html,
body,
.site,
.site-shell,
.site-main,
.site-content,
#page {
  background: #ffffff !important;
}
/* END GLOBAL WHITE BG */
/* BEGIN IFMTELGE FONT FAMILY */
/* Scope all typography to IF Metall Södertälje sub-site only */
body.site-brand-ifmtelge,
body.site-brand-ifmtelge #page,
body.site-brand-ifmtelge .site,
body.site-brand-ifmtelge .site-shell,
body.site-brand-ifmtelge .site-main,
body.site-brand-ifmtelge .site-content,
body.site-brand-ifmtelge p,
body.site-brand-ifmtelge li,
body.site-brand-ifmtelge a,
body.site-brand-ifmtelge span,
body.site-brand-ifmtelge label,
body.site-brand-ifmtelge input,
body.site-brand-ifmtelge textarea,
body.site-brand-ifmtelge select,
body.site-brand-ifmtelge button {
  font-family: "Scania Sans", "Avenir Next", "Segoe UI", sans-serif;
}

body.site-brand-ifmtelge h1,
body.site-brand-ifmtelge h2,
body.site-brand-ifmtelge h3,
body.site-brand-ifmtelge h4,
body.site-brand-ifmtelge h5,
body.site-brand-ifmtelge h6,
body.site-brand-ifmtelge .wp-block-heading,
body.site-brand-ifmtelge .site-header__app-name,
body.site-brand-ifmtelge .site-header__mobile-title {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif;
}
/* END IFMTELGE FONT FAMILY */
/* BEGIN IFMTELGE NO BREADCRUMBS */
body.site-brand-ifmtelge .breadcrumb,
body.site-brand-ifmtelge .breadcrumbs,
body.site-brand-ifmtelge .context-panel--breadcrumbs,
body.site-brand-ifmtelge nav[aria-label="Breadcrumb"],
body.site-brand-ifmtelge .rank-math-breadcrumb,
body.site-brand-ifmtelge .yoast-breadcrumb {
  display: none !important;
}
/* END IFMTELGE NO BREADCRUMBS */
/* BEGIN IFMTELGE NO BREADCRUMB BLOCK */
/* Hide the entire breadcrumb white panel wrapper */
body.site-brand-ifmtelge .context-panel.context-panel--breadcrumbs,
body.site-brand-ifmtelge .context-panel--breadcrumbs,
body.site-brand-ifmtelge .breadcrumbs-wrap,
body.site-brand-ifmtelge .breadcrumb-wrap {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
/* END IFMTELGE NO BREADCRUMB BLOCK */
/* BEGIN IFMTELGE HIDE CONTEXT PANEL */
body.site-brand-ifmtelge .site-main > .context-panel {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}
/* END IFMTELGE HIDE CONTEXT PANEL */
/* BEGIN IFMTELGE HIDE PAGE TITLES */
/* Hide generated page/post heading titles across IF Metall Södertälje pages */
body.site-brand-ifmtelge .entry-title,
body.site-brand-ifmtelge .page-title,
body.site-brand-ifmtelge .wp-block-post-title,
body.site-brand-ifmtelge .content-card__header,
body.site-brand-ifmtelge .content-card__title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* END IFMTELGE HIDE PAGE TITLES */
/* BEGIN IFMTELGE TOP GAP */
body.site-brand-ifmtelge .site-shell {
  padding-top: 18px !important;
}
/* END IFMTELGE TOP GAP */
/* BEGIN IFMTELGE WORDMARK MATCH MAIN */
body.site-brand-ifmtelge .site-header__wordmark {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.008em !important;
  line-height: 1 !important;
}
/* END IFMTELGE WORDMARK MATCH MAIN */
/* BEGIN IFMTELGE APPNAME LINK STYLE */
body.site-brand-ifmtelge .site-header__app-name,
body.site-brand-ifmtelge .site-header__app-name:hover,
body.site-brand-ifmtelge .site-header__app-name:focus,
body.site-brand-ifmtelge .site-header__app-name:visited {
  text-decoration: none !important;
}
/* END IFMTELGE APPNAME LINK STYLE */
/* BEGIN IFMTELGE TANDFONDEN LINK BLUE */
body.site-brand-ifmtelge.page-id-35 a[href*="ansokan-tandfonden"] {
  color: #041E42 !important;
}
body.site-brand-ifmtelge.page-id-35 a[href*="ansokan-tandfonden"]:hover,
body.site-brand-ifmtelge.page-id-35 a[href*="ansokan-tandfonden"]:focus {
  color: #041E42 !important;
}
/* END IFMTELGE TANDFONDEN LINK BLUE */

/* IF Metall Sodertalje: Klubbladsarkiv compact table cells */
body.blog-2 .portal-context-layout .content-card__body .wp-block-table th,
body.blog-2 .portal-context-layout .content-card__body .wp-block-table td {
  padding: 2px !important;
}

/* IF Metall Sodertalje: Klubbladsarkiv tighter table width */
body.blog-2 .portal-context-layout .content-card__body .wp-block-table table {
  width: auto !important;
  table-layout: auto !important;
  display: inline-table !important;
}
body.blog-2 .portal-context-layout .content-card__body .wp-block-table {
  overflow-x: visible !important;
}
body.blog-2 .portal-context-layout .content-card__body .wp-block-table th:first-child,
body.blog-2 .portal-context-layout .content-card__body .wp-block-table td:first-child {
  width: 28px !important;
}

/* IFMTelge Klubbladsarkiv: force compact table width and tight cells */
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table table,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table table.has-fixed-layout {
  width: max-content !important;
  min-width: 0 !important;
  table-layout: auto !important;
  display: inline-table !important;
}
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table {
  overflow-x: visible !important;
}
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table th,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table td {
  padding: 2px !important;
  white-space: nowrap;
}
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table th:first-child,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table td:first-child {
  width: 28px !important;
}

body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table td a,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table td a:visited,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table td a:hover,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table td a:focus,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table.has-link-color a,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table.has-link-color a:visited,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table.has-link-color a:hover,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table.has-link-color a:focus,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table table a,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table table a:visited,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table table a:hover,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table table a:focus,
body.site-brand-ifmtelge .portal-context-layout .content-card__body .wp-block-table table a:any-link {
  color: #041E42 !important;
}
/* IF Metall Södertälje news listing polish */
body.site-brand-ifmtelge.home .content-card__meta {
  margin: 0 0 8px;
  color: #5f6c7b;
  font-size: 0.95rem;
  font-weight: 600;
}

body.site-brand-ifmtelge.home .content-card__intro {
  margin: 0 0 10px;
  color: #2d3b4d;
}

body.site-brand-ifmtelge.home .content-card__title a {
  color: #132035;
  text-decoration: none;
}

body.site-brand-ifmtelge.home .content-card__title a:hover {
  text-decoration: underline;
}

body.site-brand-ifmtelge.home .content-card__body iframe {
  width: 100%;
  min-height: 420px;
  border: 1px solid #d6dce8;
  border-radius: 10px;
}

body.site-brand-ifmtelge.home .nyheter-pagination {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #e0e5ee;
}

body.site-brand-ifmtelge.home .nyheter-pagination__summary {
  margin: 0 0 8px;
  font-size: 0.95rem;
  font-weight: 600;
}

body.site-brand-ifmtelge.home .nyheter-pagination .page-numbers {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

body.site-brand-ifmtelge.home .nyheter-pagination .page-numbers a,
body.site-brand-ifmtelge.home .nyheter-pagination .page-numbers span {
  display: inline-block;
  padding: 6px 10px;
  border: 1px solid #cfd7e4;
  border-radius: 8px;
  text-decoration: none;
  color: #132035;
  background: #fff;
}

body.site-brand-ifmtelge.home .nyheter-pagination .page-numbers .current {
  background: #1657c0;
  border-color: #1657c0;
  color: #fff;
}
/* Resultatbonusstiftelse: Scania font family */
body.site-brand-scaniafacken .branch-layout .section-shortcuts,
body.site-brand-scaniafacken .branch-layout .section-shortcuts__link,
body.site-brand-scaniafacken .branch-layout .content-card,
body.site-brand-scaniafacken .branch-layout .content-card__body,
body.site-brand-scaniafacken .branch-layout .content-card__body p,
body.site-brand-scaniafacken .branch-layout .content-card__body li,
body.site-brand-scaniafacken .branch-layout .content-card__body a {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__title,
body.site-brand-scaniafacken .branch-layout .content-card__title,
body.site-brand-scaniafacken .branch-layout .content-card__body h1,
body.site-brand-scaniafacken .branch-layout .content-card__body h2,
body.site-brand-scaniafacken .branch-layout .content-card__body h3,
body.site-brand-scaniafacken .branch-layout .content-card__body h4 {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
}
/* Resultatbonusstiftelse font/layout fix */
body.site-brand-scaniafacken .branch-layout .section-shortcuts__title,
body.site-brand-scaniafacken .branch-layout .content-card__title,
body.site-brand-scaniafacken .branch-layout .content-card__body h1,
body.site-brand-scaniafacken .branch-layout .content-card__body h2,
body.site-brand-scaniafacken .branch-layout .content-card__body h3,
body.site-brand-scaniafacken .branch-layout .content-card__body h4 {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  text-transform: none !important;
  letter-spacing: normal !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__title {
  font-size: 2rem !important;
  line-height: 1.15 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__title {
  font-size: clamp(2rem, 4vw, 3.25rem) !important;
  line-height: 1.1 !important;
}

/* Resultatbonusstiftelse: align with Motion-style branch layout */
body.site-brand-scaniafacken .branch-layout .content-card__header {
  display: none !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__title {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: clamp(1.2rem, 1.7vw, 1.45rem) !important;
  line-height: 1.15 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  overflow-wrap: anywhere;
}

body.site-brand-scaniafacken .branch-layout .content-card__body h1,
body.site-brand-scaniafacken .branch-layout .content-card__body h2,
body.site-brand-scaniafacken .branch-layout .content-card__body h3,
body.site-brand-scaniafacken .branch-layout .content-card__body h4 {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  margin-top: 0 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem) !important;
  line-height: 1.1 !important;
}

/* Resultatbonusstiftelse sidebar width + full Scania font consistency */
body.site-brand-scaniafacken .branch-layout {
  grid-template-columns: minmax(18.75rem, 20.5rem) minmax(0, 1fr) !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__title {
  overflow-wrap: normal !important;
  word-break: normal !important;
  white-space: normal !important;
  hyphens: none !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts,
body.site-brand-scaniafacken .branch-layout .section-shortcuts__title,
body.site-brand-scaniafacken .branch-layout .section-shortcuts__link,
body.site-brand-scaniafacken .branch-layout .content-card,
body.site-brand-scaniafacken .branch-layout .content-card__body,
body.site-brand-scaniafacken .branch-layout .content-card__body h1,
body.site-brand-scaniafacken .branch-layout .content-card__body h2,
body.site-brand-scaniafacken .branch-layout .content-card__body h3,
body.site-brand-scaniafacken .branch-layout .content-card__body h4,
body.site-brand-scaniafacken .branch-layout .content-card__body p,
body.site-brand-scaniafacken .branch-layout .content-card__body li,
body.site-brand-scaniafacken .branch-layout .content-card__body a,
body.site-brand-scaniafacken .branch-layout .content-card__body span,
body.site-brand-scaniafacken .branch-layout .content-card__body strong,
body.site-brand-scaniafacken .branch-layout .content-card__body em {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

/* Resultatbonusstiftelse: slight global font size increase */
body.site-brand-scaniafacken .branch-layout .section-shortcuts__title {
  font-size: clamp(1.32rem, 1.9vw, 1.6rem) !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__link {
  font-size: 1.16rem !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body {
  font-size: 1.12rem !important;
  line-height: 1.65 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body p,
body.site-brand-scaniafacken .branch-layout .content-card__body li {
  font-size: 1.12rem !important;
  line-height: 1.7 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body h1 {
  font-size: clamp(2rem, 3.2vw, 2.55rem) !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body h2 {
  font-size: clamp(1.55rem, 2.2vw, 1.95rem) !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body h3 {
  font-size: clamp(1.35rem, 1.9vw, 1.7rem) !important;
}

/* Resultatbonusstiftelse: match IF Metall Motion typography scale */
body.site-brand-scaniafacken .branch-layout .section-shortcuts__title {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem) !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__link {
  font-size: 1rem !important;
  line-height: 1.35 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body,
body.site-brand-scaniafacken .branch-layout .content-card__body p,
body.site-brand-scaniafacken .branch-layout .content-card__body li,
body.site-brand-scaniafacken .branch-layout .content-card__body a,
body.site-brand-scaniafacken .branch-layout .content-card__body span,
body.site-brand-scaniafacken .branch-layout .content-card__body strong,
body.site-brand-scaniafacken .branch-layout .content-card__body em {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body h1 {
  font-size: clamp(1.85rem, 3vw, 2.35rem) !important;
  line-height: 1.1 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body h2 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem) !important;
  line-height: 1.2 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.6rem) !important;
  line-height: 1.25 !important;
}

/* Resultatbonusstiftelse: heading family/size aligned with Motion reference */
body.site-brand-scaniafacken .branch-layout .section-shortcuts__title,
body.site-brand-scaniafacken .branch-layout .content-card__body h1,
body.site-brand-scaniafacken .branch-layout .content-card__body h2,
body.site-brand-scaniafacken .branch-layout .content-card__body h3,
body.site-brand-scaniafacken .branch-layout .content-card__body h4,
body.site-brand-scaniafacken .branch-layout .content-card__body h5,
body.site-brand-scaniafacken .branch-layout .content-card__body h6,
body.site-brand-scaniafacken .branch-layout .content-card__body .wp-block-heading {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__title {
  font-size: clamp(1.2rem, 1.7vw, 1.45rem) !important;
  line-height: 1.15 !important;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__link {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.35 !important;
}

body.site-brand-scaniafacken .branch-layout .content-card__body,
body.site-brand-scaniafacken .branch-layout .content-card__body p,
body.site-brand-scaniafacken .branch-layout .content-card__body li,
body.site-brand-scaniafacken .branch-layout .content-card__body a,
body.site-brand-scaniafacken .branch-layout .content-card__body span {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

/* Resultatbonusstiftelse: final overlap fix */
body.site-brand-scaniafacken .branch-layout {
  grid-template-columns: minmax(22rem, 24rem) minmax(0, 1fr) !important;
  column-gap: 1.75rem !important;
}

body.site-brand-scaniafacken .branch-layout .branch-sidebar,
body.site-brand-scaniafacken .branch-layout .section-shortcuts {
  width: 100%;
  min-width: 0;
}

body.site-brand-scaniafacken .branch-layout .section-shortcuts__title {
  font-size: clamp(1rem, 1.35vw, 1.2rem) !important;
  line-height: 1.2 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-word !important;
  max-width: 100%;
}

body.site-brand-scaniafacken .branch-layout .branch-content {
  min-width: 0;
}

/* Resultatbonusstiftelse: unified content link color */
body.site-brand-scaniafacken .branch-layout .content-card__body a,
body.site-brand-scaniafacken .branch-layout .content-card__body a:visited,
body.site-brand-scaniafacken .branch-layout .content-card__body a:hover,
body.site-brand-scaniafacken .branch-layout .content-card__body a:focus {
  color: #041E42 !important;
}

/* Resultatbonusstiftelse Portfoljutveckling: compact table */
body.site-brand-scaniafacken.page-id-37 .content-card__body table {
  width: auto !important;
  max-width: 520px !important;
  table-layout: auto !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  margin: 0.25rem 0 0.75rem 0 !important;
  font-size: 0.95rem !important;
}

body.site-brand-scaniafacken.page-id-37 .content-card__body table td,
body.site-brand-scaniafacken.page-id-37 .content-card__body table th {
  padding: 3px 8px !important;
  border: none !important;
  vertical-align: top !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

body.site-brand-scaniafacken.page-id-37 .content-card__body table th {
  white-space: normal !important;
  word-break: keep-all !important;
}

body.site-brand-scaniafacken.page-id-37 .content-card__body table td:first-child,
body.site-brand-scaniafacken.page-id-37 .content-card__body table th:first-child {
  white-space: nowrap !important;
  width: 90px !important;
}

body.site-brand-scaniafacken.page-id-37 .content-card__body table td:last-child,
body.site-brand-scaniafacken.page-id-37 .content-card__body table th:last-child {
  white-space: nowrap !important;
  width: 150px !important;
}

/* BEGIN LEDARNA FONT ALIGN WITH IFMTELGE */
body.site-brand-ledarna .site-header__app-name,
body.site-brand-ledarna .site-header__app-name:hover,
body.site-brand-ledarna .site-header__app-name:focus,
body.site-brand-ledarna .site-header__app-name:visited {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.008em !important;
  text-decoration: none !important;
}

body.site-brand-ledarna .site-nav__list > li > a {
  font-family: "Scania Sans", Arial, sans-serif !important;
}
/* END LEDARNA FONT ALIGN WITH IFMTELGE */

/* BEGIN LEDARNA GLOBAL SCANIA TYPOGRAPHY */
body.site-brand-ledarna,
body.site-brand-ledarna #page,
body.site-brand-ledarna .site,
body.site-brand-ledarna .site-shell,
body.site-brand-ledarna .site-main,
body.site-brand-ledarna .site-content,
body.site-brand-ledarna p,
body.site-brand-ledarna li,
body.site-brand-ledarna a,
body.site-brand-ledarna span,
body.site-brand-ledarna label,
body.site-brand-ledarna input,
body.site-brand-ledarna textarea,
body.site-brand-ledarna select,
body.site-brand-ledarna button {
  font-family: "Scania Sans", Arial, sans-serif !important;
}

body.site-brand-ledarna h1,
body.site-brand-ledarna h2,
body.site-brand-ledarna h3,
body.site-brand-ledarna h4,
body.site-brand-ledarna h5,
body.site-brand-ledarna h6,
body.site-brand-ledarna .wp-block-heading,
body.site-brand-ledarna .content-card__title,
body.site-brand-ledarna .content-card__header,
body.site-brand-ledarna .site-header__app-name,
body.site-brand-ledarna .site-header__mobile-title {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
}

body.site-brand-ledarna .site-header__app-name,
body.site-brand-ledarna .site-header__app-name:hover,
body.site-brand-ledarna .site-header__app-name:focus,
body.site-brand-ledarna .site-header__app-name:visited {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
}
/* END LEDARNA GLOBAL SCANIA TYPOGRAPHY */

/* BEGIN LEDARNA WORDMARK MATCH PORTAL */
body.site-brand-ledarna .site-header__brand .site-header__wordmark,
body.site-brand-ledarna .site-header__brand .site-header__wordmark:visited,
body.site-brand-ledarna .site-header__brand .site-header__wordmark:hover,
body.site-brand-ledarna .site-header__brand .site-header__wordmark:focus {
  font-family: "Scania Sans Headline", var(--sf-tegel-font) !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.008em !important;
  line-height: 1 !important;
  text-decoration: none !important;
}
/* END LEDARNA WORDMARK MATCH PORTAL */

/* BEGIN LEDARNA HIDE PAGE TITLES + TOP GAP */
body.site-brand-ledarna .entry-title,
body.site-brand-ledarna .page-title,
body.site-brand-ledarna .wp-block-post-title,
body.site-brand-ledarna .content-card__header,
body.site-brand-ledarna .content-card__title {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.site-brand-ledarna .site-shell {
  padding-top: 18px !important;
}
/* END LEDARNA HIDE PAGE TITLES + TOP GAP */

/* BEGIN LEDARNA PA SCANIA FONT FIX */
body.site-brand-ledarna.page-id-4 .content-card__body,
body.site-brand-ledarna.page-id-4 .content-card__body p,
body.site-brand-ledarna.page-id-4 .content-card__body div,
body.site-brand-ledarna.page-id-4 .content-card__body span,
body.site-brand-ledarna.page-id-4 .content-card__body li,
body.site-brand-ledarna.page-id-4 .content-card__body a,
body.site-brand-ledarna.page-id-4 .content-card__body strong,
body.site-brand-ledarna.page-id-4 .content-card__body b {
  font-family: "Scania Sans", Arial, sans-serif !important;
}

body.site-brand-ledarna.page-id-4 .content-card__body h1,
body.site-brand-ledarna.page-id-4 .content-card__body h2,
body.site-brand-ledarna.page-id-4 .content-card__body h3,
body.site-brand-ledarna.page-id-4 .content-card__body h4,
body.site-brand-ledarna.page-id-4 .content-card__body h5,
body.site-brand-ledarna.page-id-4 .content-card__body h6 {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
}
/* END LEDARNA PA SCANIA FONT FIX */

/* BEGIN LEDARNA PA SCANIA SIZE ALIGN */
body.site-brand-ledarna.page-id-4 .content-card__body {
  font-size: 1rem !important;
  line-height: 1.6 !important;
}

body.site-brand-ledarna.page-id-4 .content-card__body p,
body.site-brand-ledarna.page-id-4 .content-card__body div,
body.site-brand-ledarna.page-id-4 .content-card__body span,
body.site-brand-ledarna.page-id-4 .content-card__body li,
body.site-brand-ledarna.page-id-4 .content-card__body a,
body.site-brand-ledarna.page-id-4 .content-card__body strong,
body.site-brand-ledarna.page-id-4 .content-card__body b {
  font-size: inherit !important;
  line-height: inherit !important;
}
/* END LEDARNA PA SCANIA SIZE ALIGN */

/* BEGIN RESULTATBONUSSTITFTELSE TOP GAP */
body.site-brand-scaniafacken .site-shell:has(.branch-layout) {
  padding-top: 18px !important;
}
/* END RESULTATBONUSSTITFTELSE TOP GAP */

.content-card__headline-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.content-card__headline-row .content-card__title {
  margin: 0;
  flex: 1 1 auto;
}

.content-card__meta--top {
  margin: 0;
  flex: 0 0 auto;
  white-space: nowrap;
  text-align: right;
  color: var(--wp-portal-muted);
  font-size: 0.95rem;
}

body.site-brand-ifmtelge.blog .content-card__intro,
body.site-brand-ifmtelge.home .content-card__intro {
  margin-top: 0.75rem;
}

@media (max-width: 720px) {
  .content-card__headline-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .content-card__meta--top {
    text-align: left;
    white-space: normal;
  }
}

/* BEGIN IFMTELGE HOME CARD COMPACT FIX */
body.site-brand-ifmtelge.home .content-card__header,
body.site-brand-ifmtelge.blog .content-card__header,
body.site-brand-ifmtelge.single-post .content-card__header {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  margin: 0 0 0.5rem !important;
  padding: 0 !important;
}

body.site-brand-ifmtelge.home .content-card__title,
body.site-brand-ifmtelge.blog .content-card__title,
body.site-brand-ifmtelge.single-post .content-card__title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}

body.site-brand-ifmtelge.home .content-card__body,
body.site-brand-ifmtelge.blog .content-card__body,
body.site-brand-ifmtelge.single-post .content-card__body {
  padding: 0 !important;
}

body.site-brand-ifmtelge.home .content-card__intro:empty,
body.site-brand-ifmtelge.blog .content-card__intro:empty,
body.site-brand-ifmtelge.single-post .content-card__intro:empty {
  display: none !important;
}

body.site-brand-ifmtelge.home .content-card__headline-row,
body.site-brand-ifmtelge.blog .content-card__headline-row,
body.site-brand-ifmtelge.single-post .content-card__headline-row {
  width: 100% !important;
}
/* END IFMTELGE HOME CARD COMPACT FIX */

/* BEGIN IFMTELGE POST WIDTH FIX */
body.site-brand-ifmtelge.home .content-card.post,
body.site-brand-ifmtelge.blog .content-card.post,
body.site-brand-ifmtelge.single-post .content-card.post {
  width: min(1100px, calc(100vw - 36px)) !important;
  max-width: min(1100px, calc(100vw - 36px)) !important;
  margin: 0 auto 0.85rem !important;
  padding: 30px !important;
  justify-self: center !important;
}

body.site-brand-ifmtelge.home .content-card.post .content-card__header,
body.site-brand-ifmtelge.blog .content-card.post .content-card__header,
body.site-brand-ifmtelge.single-post .content-card.post .content-card__header,
body.site-brand-ifmtelge.home .content-card.post .content-card__body,
body.site-brand-ifmtelge.blog .content-card.post .content-card__body,
body.site-brand-ifmtelge.single-post .content-card.post .content-card__body {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.site-brand-ifmtelge.home .content-card.post .content-card__body img,
body.site-brand-ifmtelge.blog .content-card.post .content-card__body img,
body.site-brand-ifmtelge.single-post .content-card.post .content-card__body img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}
/* END IFMTELGE POST WIDTH FIX */
/* BEGIN IFMENOHAMN NAV MATCH IFMTELGE */
body.site-brand-ifmenohamn,
body.site-brand-ifmenohamn #page,
body.site-brand-ifmenohamn .site,
body.site-brand-ifmenohamn .site-shell,
body.site-brand-ifmenohamn .site-main,
body.site-brand-ifmenohamn .site-content,
body.site-brand-ifmenohamn p,
body.site-brand-ifmenohamn li,
body.site-brand-ifmenohamn a,
body.site-brand-ifmenohamn span,
body.site-brand-ifmenohamn label,
body.site-brand-ifmenohamn input,
body.site-brand-ifmenohamn textarea,
body.site-brand-ifmenohamn select,
body.site-brand-ifmenohamn button {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}

body.site-brand-ifmenohamn h1,
body.site-brand-ifmenohamn h2,
body.site-brand-ifmenohamn h3,
body.site-brand-ifmenohamn h4,
body.site-brand-ifmenohamn h5,
body.site-brand-ifmenohamn h6,
body.site-brand-ifmenohamn .wp-block-heading,
body.site-brand-ifmenohamn .site-header__app-name,
body.site-brand-ifmenohamn .site-header__mobile-title {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
}

body.site-brand-ifmenohamn .site-header__wordmark {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
  letter-spacing: 0.008em !important;
  line-height: 1 !important;
}

body.site-brand-ifmenohamn .site-header__app-name,
body.site-brand-ifmenohamn .site-header__app-name:hover,
body.site-brand-ifmenohamn .site-header__app-name:focus,
body.site-brand-ifmenohamn .site-header__app-name:visited,
body.site-brand-ifmenohamn .site-nav a,
body.site-brand-ifmenohamn .site-nav a:hover,
body.site-brand-ifmenohamn .site-nav a:focus,
body.site-brand-ifmenohamn .site-nav a:visited {
  text-decoration: none !important;
}

body.site-brand-ifmenohamn .site-nav--inline a {
  min-height: 2.8rem;
  padding: 0.4rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  border-bottom: 3px solid transparent !important;
}

body.site-brand-ifmenohamn .site-nav--inline a:hover,
body.site-brand-ifmenohamn .site-nav--inline .current_page_item > a,
body.site-brand-ifmenohamn .site-nav--inline .current-menu-item > a,
body.site-brand-ifmenohamn .site-nav--inline .current_page_ancestor > a,
body.site-brand-ifmenohamn .site-nav--inline .current-menu-ancestor > a {
  background: rgba(58, 106, 176, 0.55);
  color: #fff;
  border-bottom-color: #3b7be0 !important;
}
/* END IFMENOHAMN NAV MATCH IFMTELGE */

body.site-brand-ifmenohamn .entry-title,
body.site-brand-ifmenohamn .page-title,
body.site-brand-ifmenohamn .wp-block-post-title,
body.site-brand-ifmenohamn .content-card__header,
body.site-brand-ifmenohamn .content-card__title {
  display: none !important;
}

body.site-brand-ifmenohamn .site-shell {
  padding-top: 18px !important;
}


.branch-sidebar .section-shortcuts__group {
  display: grid;
  gap: 0.45rem;
}

.branch-sidebar .section-shortcuts__link.is-parent-current {
  background: rgba(255, 255, 255, 0.98);
  color: var(--wp-portal-text);
  border-color: color-mix(in srgb, var(--wp-portal-nav-active) 20%, white);
  border-left-color: var(--wp-portal-nav-active);
  box-shadow: 0 8px 16px rgba(9, 20, 33, 0.08);
}

.branch-sidebar .section-shortcuts__children {
  display: none;
  gap: 0.4rem;
  padding: 0 0 0 0.8rem;
}

.branch-sidebar .section-shortcuts__group.is-open .section-shortcuts__children {
  display: grid;
}

.branch-sidebar .section-shortcuts__child-link {
  display: block;
  padding: 0.65rem 0.9rem;
  border-radius: 0.9rem;
  background: rgba(237, 242, 249, 0.72);
  color: var(--wp-portal-text);
  text-decoration: none;
  font-size: 0.96rem;
  line-height: 1.35;
  transition: background-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.branch-sidebar .section-shortcuts__child-link:hover,
.branch-sidebar .section-shortcuts__child-link.is-current {
  background: #fff;
  color: var(--wp-portal-text);
  box-shadow: inset 0 0 0 1px rgba(59, 123, 224, 0.45);
}

/* BEGIN IFMENOHAMN HOME MATCH IFMTELGE */
body.site-brand-ifmenohamn.home .content-card__header,
body.site-brand-ifmenohamn.blog .content-card__header,
body.site-brand-ifmenohamn.single-post .content-card__header {
  display: flex !important;
  flex-direction: column !important;
  gap: 0.5rem !important;
  margin: 0 0 0.5rem !important;
  padding: 0 !important;
}

body.site-brand-ifmenohamn.home .content-card__title,
body.site-brand-ifmenohamn.blog .content-card__title,
body.site-brand-ifmenohamn.single-post .content-card__title {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
  font-size: 1.35rem !important;
  line-height: 1.2 !important;
}

body.site-brand-ifmenohamn.home .content-card__body,
body.site-brand-ifmenohamn.blog .content-card__body,
body.site-brand-ifmenohamn.single-post .content-card__body {
  padding: 0 !important;
}

body.site-brand-ifmenohamn.home .content-card__intro:empty,
body.site-brand-ifmenohamn.blog .content-card__intro:empty,
body.site-brand-ifmenohamn.single-post .content-card__intro:empty {
  display: none !important;
}

body.site-brand-ifmenohamn.home .content-card__headline-row,
body.site-brand-ifmenohamn.blog .content-card__headline-row,
body.site-brand-ifmenohamn.single-post .content-card__headline-row {
  width: 100% !important;
}

body.site-brand-ifmenohamn.home .content-card.post,
body.site-brand-ifmenohamn.blog .content-card.post,
body.site-brand-ifmenohamn.single-post .content-card.post {
  width: min(1100px, calc(100vw - 36px)) !important;
  max-width: min(1100px, calc(100vw - 36px)) !important;
  margin: 0 auto 0.85rem !important;
  padding: 30px !important;
  justify-self: center !important;
}

body.site-brand-ifmenohamn.home .content-card.post .content-card__header,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__header,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__header,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.site-brand-ifmenohamn.home .content-card.post .content-card__body img,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body img,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body img,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body object,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body object,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body object {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}
/* END IFMENOHAMN HOME MATCH IFMTELGE */

/* BEGIN IFMENOHAMN PAGINATION + IMAGE TUNING */
body.site-brand-ifmenohamn.home .content-card.post .content-card__body img,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body img,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 0 auto !important;
}

body.site-brand-ifmenohamn.home .content-card.post .content-card__body object,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body object,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body object,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body iframe,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body iframe,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body iframe {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

body.site-brand-ifmenohamn.home .nyheter-pagination,
body.site-brand-ifmenohamn.blog .nyheter-pagination {
  margin-top: 12px !important;
  padding-top: 10px !important;
  border-top: 1px solid #e0e5ee !important;
}

body.site-brand-ifmenohamn.home .nyheter-pagination__summary,
body.site-brand-ifmenohamn.blog .nyheter-pagination__summary {
  margin: 0 0 8px !important;
  width: 100% !important;
  text-align: center !important;
  font-size: 0.95rem !important;
  font-weight: 600 !important;
  color: #132035 !important;
}

body.site-brand-ifmenohamn.home .nyheter-pagination .page-numbers,
body.site-brand-ifmenohamn.blog .nyheter-pagination .page-numbers {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

body.site-brand-ifmenohamn.home .nyheter-pagination .page-numbers li,
body.site-brand-ifmenohamn.blog .nyheter-pagination .page-numbers li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.site-brand-ifmenohamn.home .nyheter-pagination .page-numbers a,
body.site-brand-ifmenohamn.home .nyheter-pagination .page-numbers span,
body.site-brand-ifmenohamn.blog .nyheter-pagination .page-numbers a,
body.site-brand-ifmenohamn.blog .nyheter-pagination .page-numbers span {
  display: inline-block !important;
  padding: 6px 10px !important;
  border: 1px solid #cfd7e4 !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  color: #132035 !important;
  background: #fff !important;
  line-height: 1.2 !important;
}

body.site-brand-ifmenohamn.home .nyheter-pagination .page-numbers .current,
body.site-brand-ifmenohamn.blog .nyheter-pagination .page-numbers .current {
  background: #1657c0 !important;
  border-color: #1657c0 !important;
  color: #fff !important;
}
/* END IFMENOHAMN PAGINATION + IMAGE TUNING */

/* BEGIN IFMENOHAMN HOME FINAL POLISH */
body.site-brand-ifmenohamn.home .content-card.post,
body.site-brand-ifmenohamn.blog .content-card.post {
  max-width: 1180px !important;
  margin: 0 auto 24px !important;
}

body.site-brand-ifmenohamn.home .content-card.post .content-card__body,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body {
  overflow: hidden !important;
}

body.site-brand-ifmenohamn.home .content-card.post .content-card__body img,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body img {
  display: block !important;
  width: auto !important;
  max-width: min(100%, 820px) !important;
  height: auto !important;
  margin: 0 auto !important;
}

body.site-brand-ifmenohamn.home .content-card.post .content-card__body object,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body iframe,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body object,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body iframe,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body embed,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body embed {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 760px !important;
  margin: 0 auto !important;
}

body.site-brand-ifmenohamn.home nav.nyheter-pagination,
body.site-brand-ifmenohamn.blog nav.nyheter-pagination {
  max-width: 1180px !important;
  margin: 12px auto 0 !important;
  padding-top: 12px !important;
  border-top: 1px solid #e0e5ee !important;
}

body.site-brand-ifmenohamn.home nav.nyheter-pagination ul.page-numbers,
body.site-brand-ifmenohamn.blog nav.nyheter-pagination ul.page-numbers {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.site-brand-ifmenohamn.home nav.nyheter-pagination ul.page-numbers li,
body.site-brand-ifmenohamn.blog nav.nyheter-pagination ul.page-numbers li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.site-brand-ifmenohamn.home nav.nyheter-pagination ul.page-numbers a,
body.site-brand-ifmenohamn.home nav.nyheter-pagination ul.page-numbers span,
body.site-brand-ifmenohamn.blog nav.nyheter-pagination ul.page-numbers a,
body.site-brand-ifmenohamn.blog nav.nyheter-pagination ul.page-numbers span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  padding: 8px 12px !important;
  border: 1px solid #cfd7e4 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #132035 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
}

body.site-brand-ifmenohamn.home nav.nyheter-pagination ul.page-numbers .current,
body.site-brand-ifmenohamn.blog nav.nyheter-pagination ul.page-numbers .current {
  background: #1657c0 !important;
  border-color: #1657c0 !important;
  color: #fff !important;
}
/* END IFMENOHAMN HOME FINAL POLISH */


/* BEGIN IFMENOHAMN ARCHIVE CONTENT FINAL PASS */
body.site-brand-ifmenohamn.home .content-card.post .content-card__title a,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__title a,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__title a {
  color: #041E42 !important;
  text-decoration: none !important;
}
body.site-brand-ifmenohamn.home .content-card.post .content-card__title a:hover,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__title a:hover,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__title a:hover,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body a,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body a,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body a {
  color: #041E42 !important;
}
body.site-brand-ifmenohamn.home .content-card.post .content-card__body,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body *,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body *,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body * {
  font-family: "Scania Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif !important;
}
body.site-brand-ifmenohamn.home .content-card.post .content-card__body h1,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body h2,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body h3,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body h4,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body h5,
body.site-brand-ifmenohamn.home .content-card.post .content-card__body h6,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body h1,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body h2,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body h3,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body h4,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body h5,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body h6,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body h1,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body h2,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body h3,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body h4,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body h5,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body h6 {
  font-family: "Scania Sans Headline", "Scania Sans", sans-serif !important;
  color: #041E42 !important;
}
body.site-brand-ifmenohamn.home .content-card.post .content-card__body img,
body.site-brand-ifmenohamn.blog .content-card.post .content-card__body img,
body.site-brand-ifmenohamn.single-post .content-card.post .content-card__body img {
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
}
/* END IFMENOHAMN ARCHIVE CONTENT FINAL PASS */

/* BEGIN GLOBAL BRAND HEADER SIZE SYNC */
.site-header__wordmark,
.site-header__wordmark:hover,
.site-header__wordmark:focus,
.site-header__wordmark:visited,
.site-header__app-name,
.site-header__app-name:hover,
.site-header__app-name:focus,
.site-header__app-name:visited {
  font-size: 1.25rem !important;
}
/* END GLOBAL BRAND HEADER SIZE SYNC */

/* BEGIN FINAL HEADER SIZE 1.25 */
body.site-brand-scaniafacken :is(.site-header__wordmark,.site-header__app-name),
body.site-brand-ifmtelge :is(.site-header__wordmark,.site-header__app-name),
body.site-brand-ifmenohamn :is(.site-header__wordmark,.site-header__app-name),
body.site-brand-ledarna :is(.site-header__wordmark,.site-header__app-name) {
  font-size: 1.25rem !important;
  line-height: 1 !important;
}
/* END FINAL HEADER SIZE 1.25 */

/* BEGIN IFMTELGE PAGINATION CENTER ALIGN */
body.site-brand-ifmtelge.home nav.nyheter-pagination,
body.site-brand-ifmtelge.blog nav.nyheter-pagination {
  max-width: 1180px !important;
  margin: 12px auto 0 !important;
  padding-top: 12px !important;
  border-top: 1px solid #e0e5ee !important;
  text-align: center !important;
}

body.site-brand-ifmtelge.home nav.nyheter-pagination .nyheter-pagination__summary,
body.site-brand-ifmtelge.blog nav.nyheter-pagination .nyheter-pagination__summary {
  margin: 0 0 8px !important;
  text-align: center !important;
}

body.site-brand-ifmtelge.home nav.nyheter-pagination ul.page-numbers,
body.site-brand-ifmtelge.blog nav.nyheter-pagination ul.page-numbers {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.site-brand-ifmtelge.home nav.nyheter-pagination ul.page-numbers li,
body.site-brand-ifmtelge.blog nav.nyheter-pagination ul.page-numbers li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.site-brand-ifmtelge.home nav.nyheter-pagination ul.page-numbers a,
body.site-brand-ifmtelge.home nav.nyheter-pagination ul.page-numbers span,
body.site-brand-ifmtelge.blog nav.nyheter-pagination ul.page-numbers a,
body.site-brand-ifmtelge.blog nav.nyheter-pagination ul.page-numbers span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 40px !important;
  padding: 8px 12px !important;
  border: 1px solid #cfd7e4 !important;
  border-radius: 8px !important;
  background: #fff !important;
  color: #132035 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
}

body.site-brand-ifmtelge.home nav.nyheter-pagination ul.page-numbers .current,
body.site-brand-ifmtelge.blog nav.nyheter-pagination ul.page-numbers .current {
  background: #1657c0 !important;
  border-color: #1657c0 !important;
  color: #fff !important;
}
/* END IFMTELGE PAGINATION CENTER ALIGN */

.screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* BEGIN IFMTELGE NEWS SEARCH */
body.site-brand-ifmtelge.home .ifmtelge-post-search,
body.site-brand-ifmtelge.blog .ifmtelge-post-search {
  position: relative;
  width: min(1100px, calc(100vw - 36px));
  margin: 0 auto 0.75rem;
  z-index: 20;
  justify-self: center;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__form,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__form {
  display: flex;
  align-items: center;
  width: min(360px, 100%);
  margin-left: auto;
  padding: 4px;
  background: #ffffff;
  border: 1px solid #cfd7e4;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(4, 30, 66, 0.1);
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__input,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px 0 16px;
  color: #132035;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.95rem;
  line-height: 1;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__input::placeholder,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__input::placeholder {
  color: #6b7788;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__button,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__button {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #ffffff;
  background: #041E42;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__button:hover,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__button:hover,
body.site-brand-ifmtelge.home .ifmtelge-post-search__button:focus-visible,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__button:focus-visible {
  background: #041E42;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__icon,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__results,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, 100%);
  max-height: min(520px, calc(100vh - 160px));
  overflow-y: auto;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid #cfd7e4;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(4, 30, 66, 0.18);
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__summary,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__summary,
body.site-brand-ifmtelge.home .ifmtelge-post-search__empty,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__empty {
  margin: 0;
  padding: 0.55rem 0.65rem;
  color: #5f6c7b;
  font-size: 0.82rem;
  font-weight: 600;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__list,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__link,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__link {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem;
  color: #132035;
  text-decoration: none;
  border-radius: 8px;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__link:hover,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__link:hover,
body.site-brand-ifmtelge.home .ifmtelge-post-search__link:focus-visible,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__link:focus-visible {
  background: #f1f5fb;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__title,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

body.site-brand-ifmtelge.home .ifmtelge-post-search__date,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__date,
body.site-brand-ifmtelge.home .ifmtelge-post-search__excerpt,
body.site-brand-ifmtelge.blog .ifmtelge-post-search__excerpt {
  color: #5f6c7b;
  font-size: 0.78rem;
  line-height: 1.3;
}

@media (min-width: 1760px) {
  body.site-brand-ifmtelge.home .ifmtelge-post-search,
  body.site-brand-ifmtelge.blog .ifmtelge-post-search {
    position: fixed;
    top: 96px;
    right: 24px;
    width: 330px;
    margin: 0;
  }
}

@media (max-width: 720px) {
  body.site-brand-ifmtelge.home .ifmtelge-post-search__form,
  body.site-brand-ifmtelge.blog .ifmtelge-post-search__form,
  body.site-brand-ifmtelge.home .ifmtelge-post-search__results,
  body.site-brand-ifmtelge.blog .ifmtelge-post-search__results {
    width: 100%;
  }
}
/* END IFMTELGE NEWS SEARCH */

/* BEGIN IFMENOHAMN NEWS SEARCH */
:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search {
  position: relative;
  width: min(1100px, calc(100vw - 36px));
  margin: 0 auto 0.75rem;
  z-index: 20;
  justify-self: center;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__form {
  display: flex;
  align-items: center;
  width: min(360px, 100%);
  margin-left: auto;
  padding: 4px;
  background: #ffffff;
  border: 1px solid #cfd7e4;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(4, 30, 66, 0.1);
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__input {
  flex: 1 1 auto;
  min-width: 0;
  height: 40px;
  padding: 0 12px 0 16px;
  color: #132035;
  background: transparent;
  border: 0;
  outline: 0;
  font-size: 0.95rem;
  line-height: 1;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__input::placeholder {
  color: #6b7788;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__button {
  display: inline-flex;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  color: #ffffff;
  background: #041E42;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__button:hover,
:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__button:focus-visible {
  background: #041E42;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__results {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: min(360px, 100%);
  max-height: min(520px, calc(100vh - 160px));
  overflow-y: auto;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid #cfd7e4;
  border-radius: 12px;
  box-shadow: 0 18px 42px rgba(4, 30, 66, 0.18);
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__summary,
:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__empty {
  margin: 0;
  padding: 0.55rem 0.65rem;
  color: #5f6c7b;
  font-size: 0.82rem;
  font-weight: 600;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__list {
  display: grid;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__link {
  display: grid;
  gap: 0.2rem;
  padding: 0.65rem;
  color: #132035;
  text-decoration: none;
  border-radius: 8px;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__link:hover,
:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__link:focus-visible {
  background: #f1f5fb;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.25;
}

:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__date,
:is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__excerpt {
  color: #5f6c7b;
  font-size: 0.78rem;
  line-height: 1.3;
}

@media (min-width: 1760px) {
  :is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search {
    position: fixed;
    top: 96px;
    right: 24px;
    width: 330px;
    margin: 0;
  }
}

@media (max-width: 720px) {
  :is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__form,
  :is(body.site-brand-ifmenohamn.home, body.site-brand-ifmenohamn.blog) .ifmtelge-post-search__results {
    width: 100%;
  }
}
/* END IFMENOHAMN NEWS SEARCH */
/* BEGIN IFMENOHAMN INFORMATION COLOR UNIFY */
body.site-brand-ifmenohamn.page-id-16 .content-card,
body.site-brand-ifmenohamn.page-parent .content-card,
body.site-brand-ifmenohamn .branch-shell--information .content-card,
body.site-brand-ifmenohamn.page-id-16 .content-card *,
body.site-brand-ifmenohamn.page-parent .content-card *,
body.site-brand-ifmenohamn .branch-shell--information .content-card * {
  color: #041E42 !important;
}

body.site-brand-ifmenohamn.page-id-16 .content-card a,
body.site-brand-ifmenohamn.page-parent .content-card a,
body.site-brand-ifmenohamn .branch-shell--information .content-card a,
body.site-brand-ifmenohamn.page-id-16 .content-card a:visited,
body.site-brand-ifmenohamn.page-parent .content-card a:visited,
body.site-brand-ifmenohamn .branch-shell--information .content-card a:visited,
body.site-brand-ifmenohamn.page-id-16 .content-card a:hover,
body.site-brand-ifmenohamn.page-parent .content-card a:hover,
body.site-brand-ifmenohamn .branch-shell--information .content-card a:hover,
body.site-brand-ifmenohamn.page-id-16 .content-card a:focus,
body.site-brand-ifmenohamn.page-parent .content-card a:focus,
body.site-brand-ifmenohamn .branch-shell--information .content-card a:focus {
  color: #041E42 !important;
}
/* END IFMENOHAMN INFORMATION COLOR UNIFY */

/* SCANIA FACKEN HOMEPAGE BOTTOM LOGO TIGHTEN */
body.site-brand-scaniafacken.home.page-id-107 .sf-logos-section > .wp-block-group__inner-container > .sf-logos-grid:last-of-type {
  gap: 16px !important;
  justify-content: center !important;
  align-items: center !important;
}
body.site-brand-scaniafacken.home.page-id-107 .sf-logos-section > .wp-block-group__inner-container > .sf-logos-grid:last-of-type > .wp-block-column {
  flex: 1 1 0 !important;
}
body.site-brand-scaniafacken.home.page-id-107 .sf-logos-section > .wp-block-group__inner-container > .sf-logos-grid:last-of-type > .wp-block-column:nth-child(2) {
  flex: 0 0 240px !important;
  max-width: 240px !important;
}
body.site-brand-scaniafacken.home.page-id-107 .sf-logos-section > .wp-block-group__inner-container > .sf-logos-grid:last-of-type .wp-block-image .alignleft,
body.site-brand-scaniafacken.home.page-id-107 .sf-logos-section > .wp-block-group__inner-container > .sf-logos-grid:last-of-type .wp-block-image .alignright,
body.site-brand-scaniafacken.home.page-id-107 .sf-logos-section > .wp-block-group__inner-container > .sf-logos-grid:last-of-type .wp-block-image .aligncenter {
  float: none !important;
  margin: 0 auto !important;
  display: table !important;
}
body.site-brand-scaniafacken.home.page-id-107 .sf-logos-section > .wp-block-group__inner-container > .sf-logos-grid:last-of-type .wp-block-image img {
  margin-inline: auto !important;
}
