/* Top banner */
.top-banner {
  background: var(--color-bg-muted);
  border-bottom: 1px solid var(--color-border);
  overflow-x: hidden;
}

.top-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
  padding: 12px 0;
}

.top-banner__media {
  width: 100%;
  height: 120px;
  border-radius: 12px;
  background: #f5f3f2;
}

@media (max-width: 768px) {
  .top-banner .container {
    flex-wrap: wrap;
    gap: var(--space-3);
  }

  .top-banner__media {
    height: 96px;
  }
}

@media (max-width: 480px) {
  .top-banner .container {
    padding: 8px 0;
  }

  .top-banner__media {
    height: 72px;
  }
}

.navbar {
  font-family: inherit;
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  z-index: 50;
  transform: none;
  --navbar-motion-ms: 180ms;
  transition: transform var(--navbar-motion-ms) cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  isolation: isolate;
}

.navbar-spacer {
  display: none !important;
  height: 0 !important;
  transition: none;
}

#navbar-spacer {
  display: none !important;
  height: 0 !important;
}

body.nav-floating .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  transform: translateY(0);
  transition: transform 180ms ease;
}

body.page-home > .page > nav.navbar {
  border-bottom: 1px solid #5EAF6B;
}

.navbar.is-nav-hidden {
  pointer-events: none;
}

body.nav-floating .navbar.is-nav-hidden {
  transform: translateY(-110%);
}

@media (prefers-reduced-motion: reduce) {
  .navbar {
    transition: none;
  }

  body.nav-floating .navbar {
    transition: none;
  }

  .navbar .button--cta::before {
    animation: none;
  }

  .navbar-spacer {
    transition: none;
  }
}

.navbar__brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.navbar__logo {
  display: block;
  height: 44px;
  width: auto;
}

/* Right-side actions in the top navbar row */
.navbar__actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cta-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 28px;
  border: 1px solid #5EAF6B;
  text-decoration: none;
  color: #ffffff;
  background: #5EAF6B;
  font-weight: 700;
}

.cta-pill:hover,
.cta-pill:focus-visible {
  background: #55a764;
  border-color: #55a764;
}

.button--cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-button-y) var(--space-button-x);
  border-radius: var(--radius-button);
  background-color: var(--color-cta-primary);
  color: var(--color-cta-text-on-dark);
  font-weight: 400;
  text-decoration: none;
  border: 1px solid var(--color-cta-primary);
  transition: background-color 0.15s ease, color 0.15s ease;
}

.cta-label--short {
  display: none;
}

.button--cta:hover,
.button--cta:focus-visible {
  background-color: var(--color-cta-primary-hover);
  color: var(--color-cta-text-on-light);
  border-color: var(--color-cta-primary-hover);
}

.navbar .button--cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background-color: #49b170;
  color: #ffffff;
  border-color: #49b170;
  padding: 10px 18px;
  border-radius: 9999px;
}

.navbar .button--cta::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -18px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(
    circle,
    rgba(210, 255, 220, 0.72) 0%,
    rgba(188, 245, 201, 0.46) 38%,
    rgba(188, 245, 201, 0.14) 72%,
    rgba(188, 245, 201, 0) 100%
  );
  transform: translateY(-50%);
  filter: blur(0.5px);
  box-shadow:
    0 0 18px rgba(188, 245, 201, 0.34),
    0 0 34px rgba(188, 245, 201, 0.24);
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  animation: navbar-cta-streak 6.8s linear infinite;
}

.navbar .button--cta .cta-label {
  position: relative;
  z-index: 1;
  font-weight: 600;
}

.navbar .button--cta:hover,
.navbar .button--cta:focus-visible {
  background-color: #3f9a61;
  color: #ffffff;
  border-color: #3f9a61;
}

@keyframes navbar-cta-streak {
  0% {
    left: -18px;
    opacity: 0;
  }
  12% {
    opacity: 0.58;
  }
  82% {
    opacity: 0.56;
  }
  100% {
    left: calc(100% + 18px);
    opacity: 0;
  }
}

.cta-text {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  color: inherit;
  padding: 0.15rem 0;
  border-radius: 0.35rem;
  transition: text-decoration-color 0.15s ease, transform 0.15s ease;
}

.cta-text::after {
  content: "→";
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.15s ease;
}

.cta-text:hover,
.cta-text:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.cta-text:hover::after,
.cta-text:focus-visible::after {
  transform: translateX(4px);
}

.cta-text:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.page-home .main .cta-text:hover::after,
.page-home .main .cta-text:focus-visible::after {
  color: #1a502c;
}

.page-home .main .card:focus-visible .card-arrow {
  color: #5EAF6B;
}

.button--cta[aria-disabled="true"],
.button--cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hamburger {
  width: 44px;
  height: 36px;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.hamburger__lines {
  width: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 8px;
}

.hamburger__line {
  display: block;
  width: 40px;
  height: 2px;
  margin: 0 auto;
  border-radius: 999px;
  background: #1d2530;
  transform-origin: center;
  will-change: width;
}

/* Keep middle line identical in default (non-hover) state */
.hamburger:not(:hover):not(:focus-visible) .hamburger__line:nth-child(2) {
  height: 2px;
  transform: none;
}

.hamburger:hover .hamburger__line:nth-child(1),
.hamburger:focus-visible .hamburger__line:nth-child(1) {
  animation: hamburger-line-pulse 360ms cubic-bezier(0.22, 1, 0.36, 1) 0ms both;
}

.hamburger:hover .hamburger__line:nth-child(2),
.hamburger:focus-visible .hamburger__line:nth-child(2) {
  height: 2px;
  animation: hamburger-line-pulse 360ms cubic-bezier(0.22, 1, 0.36, 1) 110ms both;
}

.hamburger:hover .hamburger__line:nth-child(3),
.hamburger:focus-visible .hamburger__line:nth-child(3) {
  animation: hamburger-line-pulse 360ms cubic-bezier(0.22, 1, 0.36, 1) 220ms both;
}

@keyframes hamburger-line-pulse {
  0% {
    width: 40px;
  }
  46% {
    width: 28px;
  }
  100% {
    width: 40px;
  }
}

@keyframes hamburger-middle-pulse {
  0% {
    transform: scaleX(1);
  }
  46% {
    transform: scaleX(0.7);
  }
  100% {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hamburger__line {
    transition: none;
    animation: none !important;
  }
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

body.page-home > .page > nav.navbar .navbar__row--links {
  padding-bottom: 20px;
  padding-top: 20px;
}

.nav-links a {
  display: inline-block;
  padding: 6px 8px;
  border-radius: 8px;
  text-decoration: none;
  font-size: 17px;
  letter-spacing: 0.2px;
  color: inherit;
  font-weight: 700;
}

.nav-links a:hover {
  color: #5aa463;
  background: #ffffff;
}

.nav-search {
  position: relative;
  width: 32px;
  height: 32px;
  overflow: visible;
}

.search-field {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 36px;
  border-radius: 999px;
  background: transparent;
  transition: width 200ms ease, background 200ms ease;
}

#search-form {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  position: relative;
}

.search-input {
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  opacity: 0;
  padding: 8px 14px 8px 40px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  transition: opacity 200ms ease, border-color 200ms ease;
  pointer-events: none;
  outline: none;
}

.search-input[type="search"] {
  -webkit-appearance: none;
  appearance: none;
  background-color: transparent;
}

.nav-search:hover .search-field,
.nav-search:focus-within .search-field {
  width: 260px;
  background: #f5f3f2;
}

.nav-search:hover .search-input,
.nav-search:focus-within .search-input {
  opacity: 1;
  border-color: #5EAF6B;
  pointer-events: auto;
}

.nav-search:focus-within .search-input {
  border-color: #5EAF6B;
}

.search-input:focus {
  outline: none;
  box-shadow: 0 0 0 1px #5EAF6B;
  background-color: transparent;
}

.search-input[type="search"]::-webkit-search-decoration,
.search-input[type="search"]::-webkit-search-results-button,
.search-input[type="search"]::-webkit-search-results-decoration {
  -webkit-appearance: none;
}

.search-input[type="search"]::-webkit-search-cancel-button {
  -webkit-appearance: none;
  appearance: none;
  display: none;
}

@media (hover: none) and (pointer: coarse) {
  .search-input[type="search"]::-webkit-search-cancel-button {
    display: none;
  }
}

.search-button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border: 0;
  background: transparent;
  padding: 0;
  z-index: 1;
}

.nav-search:hover .search-button,
.nav-search:focus-within .search-button {
  left: 10px;
  right: auto;
}

.search-icon {
  width: 14px;
  height: 14px;
  border: 2px solid #1D2530;
  border-radius: 50%;
  position: relative;
  display: inline-block;
  box-sizing: border-box;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 2px;
  background: #1D2530;
  right: -6px;
  bottom: -4px;
  transform: rotate(45deg);
}

.nav-search:hover .search-icon,
.nav-search:focus-within .search-icon {
  border-color: #5EAF6B;
}

.nav-search:hover .search-icon::after,
.nav-search:focus-within .search-icon::after {
  background: #5EAF6B;
}

/* Hero text stays left-aligned */
.hero__content {
  display: grid;
  gap: 12px;
}

.hero__eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.4px;
}

.hero__title {
  margin: 0;
  font-size: 28px;
}

.hero__summary {
  margin: 0;
}

.hero__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  pointer-events: none;
  min-height: 100dvh;
}

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: transparent;
  z-index: 40;
  pointer-events: auto;
  border: 0;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.menu-backdrop:focus,
.menu-backdrop:focus-visible {
  outline: none;
  box-shadow: none;
}

.menu-backdrop:hover,
.menu-backdrop:active {
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

.menu-backdrop::-moz-focus-inner {
  border: 0;
}

.menu-shell {
  position: relative;
  height: 100dvh;
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  pointer-events: auto;
}

.menu-panel {
  width: clamp(420px, 34vw, 520px);
  max-width: calc(100vw - 32px);
  max-height: 70dvh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  z-index: 2000;
  pointer-events: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-anchor {
  position: relative;
}

.menu-panel-inner {
  padding: 18px 18px 22px;
}

.menu-overlay[hidden],
.menu-backdrop[hidden],
.menu-panel[hidden] {
  display: none !important;
}

body.menu-open .menu-panel {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1023px) {
  body.menu-open,
  .page.menu-open {
    overflow: hidden;
  }

  .menu-shell {
    padding: 0;
    max-width: 100%;
  }

  .menu-backdrop {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .menu-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    transform: translateX(100%);
  }

  body.menu-open .menu-panel {
    transform: translateX(0);
    opacity: 1;
  }

  .nav-item--desktop-only {
    display: none;
  }

  .nav-item--mobile-only {
    display: list-item;
  }

  .navbar__row--primary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
  }

  .navbar__logo {
    height: 32px;
  }

  .navbar__actions {
    gap: 8px;
    margin-left: auto;
  }

  .navbar .button--cta {
    padding: 6px 10px;
    white-space: nowrap;
  }

  .cta-label--full {
    display: none;
  }

  .cta-label--short {
    display: inline;
  }

  .navbar__row--links {
    display: block;
    margin-top: 8px;
  }

  .nav-search {
    display: none;
  }

  .navbar__row--links .nav-links {
    gap: 10px 12px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
  }

  .navbar__row--links .nav-links a {
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 6px;
  }

  .navbar__row--links .nav-links a:hover,
  .navbar__row--links .nav-links a:active {
    color: inherit;
    background: transparent;
  }

  .navbar__row--links .nav-links a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
  }

  .menu-panel-inner {
    padding: 16px;
    background: #ffffff;
  }

  .menu-search {
    margin: 0 0 14px;
    padding: 0;
  }

  .menu-search .search-field {
    position: relative;
    top: auto;
    right: auto;
    transform: none;
    width: 100%;
    height: 40px;
    background: #f5f3f2;
    border: 1px solid #e6e6e6;
    border-radius: 999px;
    margin: 0;
    box-sizing: border-box;
    overflow: hidden;
    display: flex;
    align-items: center;
    cursor: text;
  }

  .menu-search form {
    margin: 0;
    cursor: text;
  }

  .menu-search .search-input {
    width: 100%;
    height: 40px;
    opacity: 1;
    pointer-events: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0 14px 0 50px;
    line-height: 1.2;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
  }

  .menu-search .search-input:focus {
    outline: none;
    box-shadow: none;
    border: 0;
  }

  .menu-search .search-button {
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    z-index: 2;
  }

  .menu-search .search-icon {
    display: inline-block;
    vertical-align: middle;
  }

  .menu-list {
    gap: 8px;
  }

  .menu-item {
    padding: 10px 12px;
  }

  .menu-item__label {
    font-size: 14px;
  }

  .menu-item__chevron {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .menu-panel {
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
  }

  .menu-panel-inner {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid rgba(16, 24, 20, 0.08);
    border-radius: 0 0 14px 14px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .menu-panel {
    position: fixed;
    inset: 0;
    width: 100vw;
    max-width: none;
    height: 100dvh;
    max-height: 100dvh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 0;
    border-radius: 0;
    transform: translateX(100%);
  }

  body.menu-open .menu-panel {
    transform: translateX(0);
    opacity: 1;
  }
}

.menu-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #c7e0cf;
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.menu-panel__title {
  margin: 0;
  font-size: 20px;
}

.menu-panel__close {
  width: 32px;
  height: 32px;
  border: 0;
  background: transparent;
  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: grid;
  gap: 10px;
}

.menu-item {
  display: grid;
  grid-template-columns: 1fr 18px;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f5f3f2;
  text-decoration: none;
  color: inherit;
}

.menu-panel .menu-item:hover,
.menu-panel .menu-item:focus-visible {
  background: #f5f3f2;
  color: #1d2530;
  text-decoration: none;
}

.menu-panel .menu-item:hover .menu-item__label,
.menu-panel .menu-item:hover .menu-item__chevron,
.menu-panel .menu-item:focus-visible .menu-item__label,
.menu-panel .menu-item:focus-visible .menu-item__chevron {
  color: #1d2530;
}

.menu-search .search-field:hover .search-icon,
.menu-search .search-field:focus-within .search-icon {
  border-color: #1D2530;
}

.menu-search .search-field:hover .search-icon::after,
.menu-search .search-field:focus-within .search-icon::after {
  background: #1D2530;
}

.menu-panel .menu-item:focus-visible,
.menu-panel .menu-panel__close:focus-visible {
  outline: 2px solid #1D2530;
  outline-offset: 2px;
}


.menu-item__icon {
  width: 24px;
  height: 24px;
  display: block;
  object-fit: contain;
}

/* Wrapper för ikon: låser storlek och ger grön bakgrund för huvudkategorier. */
.menu-item__icon-wrap {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-item__icon-wrap--accent {
  background: #5EAF6B;
  border-radius: 8px;
}

/* Vit ikon mot grön bakgrund (på själva bilden). */
.menu-item__icon--accent {
  filter: brightness(0) invert(1);
}

.menu-item__chevron {
  font-size: 18px;
  text-align: right;
}

.nav-item--desktop-only {
  display: list-item;
}

.nav-item--mobile-only {
  display: none;
}

.banner-slot--mobile-only {
  display: none;
}

.menu-panel__section {
  border-top: 2px solid #c7e0cf;
  padding-top: 16px;
}

.menu-panel__subtitle {
  margin: 0 0 12px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #5eaf6b;
}

.menu-panel :is(a, button):focus,
.menu-panel :is(a, button):focus-visible {
  outline: none;
  box-shadow: none;
}

/* Reset för klickbara placeholders som renderas som button i prototypen. */
:where(button.card-link),
:where(button.podcast-card),
:where(button.upcoming-item),
:where(button.latest-item),
:where(a.latest-item),
:where(button.most-item),
:where(a.most-item),
:where(button.podcast-item),
:where(button.author-item),
:where(button.job-item) {
  border: 0;
  background: transparent;
  padding: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.card {
  border: 1px solid #e6e6e6;
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.page-home .block-latest--top .card.card--top,
.page-home .block-latest--top .card.card--small {
  border-color: rgba(0, 0, 0, 0.05);
  background: #fdfdfd;
  box-shadow: none;
}

.page-home .all-content__grid .card.card--small {
  border-color: rgba(0, 0, 0, 0.05);
  background: #fcfcfb;
  border-radius: 12px;
  box-shadow: none;
}

.page-home .block-curated .card.card--small {
  border-color: rgba(0, 0, 0, 0.05);
  background: #fbfbf9;
  border-radius: 12px;
}

.page-home .block-curated .card.card--small .card-media {
  background: #f8f8f6;
}

.card-media {
  position: relative;
  width: 100%;
  background: #f3f3f3;
}

.card-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  display: block;
  transition: transform 200ms ease;
}

.card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #111111;
  border: 1px solid #111111;
  font-size: 12px;
  font-weight: 600;
}

.card-badge.is-hidden {
  display: none;
}

.card-body {
  padding: 16px 16px 0;
}

.card-title {
  margin: 0 0 8px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
  transition: color 200ms ease;
}

.card-excerpt {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
}

.card--top .card-title {
  font-size: 20px;
  line-height: 1.25;
}

.card--top .card-excerpt {
  font-size: 16px;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card--small .card-title {
  font-size: 20px;
  line-height: 1.25;
}

.card--small .card-excerpt {
  font-size: 14px;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 12px 16px 16px;
}

.card-arrow {
  font-size: 18px;
}

.card-link {
  text-decoration: none;
  color: inherit;
}


.sidebar {
  display: grid;
  gap: var(--space-8);
  align-content: start;
  grid-auto-rows: max-content;
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-sizing: border-box;
}

.sidebar ul,
.sidebar ol {
  margin: 0;
  padding-left: 0;
}

.sidebar.no-upcoming .sidebar-block--upcoming {
  display: none;
}

.sidebar-block {
  border: 1px solid #eeeeee;
  border-radius: 16px;
  padding: var(--space-5);
  background: #ffffff;
  align-self: start;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

.sidebar-block__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.35;
}

.sidebar-accent {
  height: 2px;
  width: 80px;
  background: #5EAF6B;
  margin-bottom: var(--space-4);
}

.sidebar-banner {
  border-radius: 12px;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upcoming-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.upcoming-list li + li {
  border-top: 1px solid #e6e6e6;
  margin-top: 0;
  padding-top: var(--space-3);
}

.upcoming-item {
  display: grid;
  grid-template-columns: var(--sidebar-thumb) 1fr;
  gap: 30px;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: var(--space-2);
  border-radius: 12px;
  transition: background 180ms ease;
}

.upcoming-item:hover,
.upcoming-item:focus-visible {
  background: #f5f3f2;
}

.upcoming-date {
  border: 1px solid #1A502C;
  border-radius: 12px;
  padding: 8px 6px;
  text-align: center;
  background: #fff;
  color: #ffffff;
  isolation: isolate;
  position: relative;
  z-index: 0;
  overflow: visible;
  box-shadow: 0 0 8px rgba(26, 80, 44, 0.16);
  margin-right: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  min-height: 54px;
}

.upcoming-date::before,
.upcoming-date::after {
  content: none !important;
}

.upcoming-month {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1;
  line-height: 1.1;
  text-shadow: none !important;
  position: relative;
  z-index: 2;
  mix-blend-mode: normal;
  background: transparent !important;
  opacity: 1 !important;
}

.upcoming-day {
  display: block;
  font-size: 20px;
  font-weight: 700;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1;
  line-height: 1.1;
  text-shadow: none !important;
  position: relative;
  z-index: 2;
  mix-blend-mode: normal;
  background: transparent !important;
  opacity: 1 !important;
}

.upcoming-type {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

.upcoming-title {
  margin: 0 0 4px;
  font-size: 15px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.upcoming-time {
  font-size: 12px;
  opacity: 0.7;
}

.latest-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-5);
}

.latest-list[data-count="4"] li:nth-child(n+5) {
  display: none;
}

.latest-list[data-count="5"] li:nth-child(n+6) {
  display: none;
}

.latest-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--space-3);
  align-items: start;
}

.latest-number {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 400;
  color: #c2c2c2;
  line-height: 1;
  padding-top: 4px;
}

.latest-item {
  display: grid;
  gap: 4px;
  text-decoration: none;
  color: inherit;
  padding: var(--space-2);
  border-radius: 10px;
  transition: background 180ms ease;
}

.latest-item:hover,
.latest-item:focus-visible {
  background: #f5f3f2;
}

.latest-title {
  font-size: 15px;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.most-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.most-item {
  display: grid;
  grid-template-columns: 112px 1fr 16px;
  gap: var(--space-3);
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: var(--space-2);
  border-radius: 12px;
  border: 0;
  background: transparent;
  transition: background 180ms ease;
}

.most-item:hover,
.most-item:focus-visible {
  background: #f5f3f2;
}

.most-list li + li {
  border-top: 1px solid #eeeeee;
  padding-top: var(--space-3);
}

.most-media {
  width: 112px;
  border-radius: 10px;
  background: #e6e6e6;
  overflow: hidden;
}

.most-media img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  display: block;
}
.most-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.most-arrow {
  font-size: 16px;
  opacity: 0.6;
  display: none;
}

@media (max-width: 1024px) {
  .page-home .sidebar-block--most .most-item {
    box-sizing: border-box;
    grid-template-columns: 112px minmax(0, 1fr) 16px;
  }

  .page-home .sidebar-block--most .most-body {
    min-width: 0;
  }

  .page-home .sidebar-block--most .most-title {
    overflow-wrap: anywhere;
  }
}

/* Homepage latest-news block uses most-* markup in template.
   Scope overrides to .sidebar-block--latest to avoid touching "Mest lästa". */
.page-home .sidebar-block--latest .most-list {
  counter-reset: latest-counter;
  gap: var(--space-4);
}

.page-home .sidebar-block--latest .most-list li {
  counter-increment: latest-counter;
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: var(--space-3);
  align-items: start;
}

.page-home .sidebar-block--latest .most-list li::before {
  content: counter(latest-counter, decimal-leading-zero);
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 400;
  color: #c2c2c2;
  line-height: 1;
  padding-top: 4px;
}

.page-home .sidebar-block--latest .most-list li + li {
  border-top: 0;
  padding-top: 0;
}

.page-home .sidebar-block--latest .most-list li > a {
  grid-column: 2;
  display: block;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.page-home .sidebar-block--latest .most-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 4px;
  align-items: start;
  width: 100%;
  padding: var(--space-2);
  border-radius: 10px;
}

.page-home .sidebar-block--latest .most-media,
.page-home .sidebar-block--latest .most-arrow {
  display: none;
}

.page-home .sidebar-block--latest .most-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.25;
}

.podcast-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-4);
}

.podcast-list li + li {
  border-top: 1px solid #e6e6e6;
  padding-top: var(--space-3);
}

.podcast-item {
  display: block;
  text-decoration: none;
  color: inherit;
  width: 100%;
  box-sizing: border-box;
  padding: var(--space-4);
  border-radius: 12px;
  border: 0;
  background: transparent;
}

.podcast-item:hover,
.podcast-item:focus-visible {
  background: #f5f3f2;
}

.podcast-body {
  display: grid;
  gap: 4px;
}

.podcast-title {
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-title);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-meta {
  font-size: 12px;
  opacity: 0.7;
}

.podcast-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #5EAF6B;
  display: none;
}

.podcast-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.podcast-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
  background: #5EAF6B1F;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  margin-top: var(--space-3);
  box-sizing: border-box;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.podcast-cta:hover,
.podcast-cta:focus-visible {
  background: #5EAF6B;
  color: #ffffff;
  border-color: #5EAF6B;
}

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

.authors-list li > a {
  display: block;
  width: 100%;
}

.sidebar-block--authors .authors-list li,
.sidebar-block--authors .authors-list li > a {
  display: block;
  width: 100%;
}

.sidebar-block--authors .authors-list .author-item {
  display: flex;
  width: 100%;
  padding: var(--space-4);
  border-radius: 16px;
  background: transparent;
}

.sidebar-block--authors .authors-list .author-item:hover,
.sidebar-block--authors .authors-list .author-item:focus-visible {
  background: #f5f3f2;
}

.sidebar-block--authors .authors-list {
  display: grid;
  gap: var(--space-3);
}

.sidebar-block--authors .authors-list li + li {
  border-top: 0;
}

.author-item {
  display: flex;
  gap: var(--space-3);
  align-items: center;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  padding: var(--space-4) 0;
  transition: background 180ms ease;
  border-radius: 12px;
}

.author-item:hover,
.author-item:focus-visible {
  background: #f5f3f2;
}

.authors-list li + li {
  border-top: 1px solid #eeeeee;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  overflow: hidden;
  background: #e6e6e6;
  flex: 0 0 auto;
}

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

.author-name {
  font-weight: 700;
  font-family: var(--font-title);
  font-size: 18px;
}

.author-role {
  font-size: 13px;
  opacity: 0.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.authors-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 16px;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
  background: #5EAF6B1F;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  margin-top: var(--space-3);
  text-transform: none;
  letter-spacing: normal;
  box-sizing: border-box;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.authors-cta:hover,
.authors-cta:focus-visible {
  background: #5EAF6B;
  color: #ffffff;
  border-color: #5EAF6B;
}

.sidebar-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
}

.sidebar-partner {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(94, 175, 107, 0.12);
  color: #3a7a47;
  font-weight: 600;
  white-space: nowrap;
}

.jobs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-3);
}

.job-item {
  display: grid;
  grid-template-columns: 74px 1fr 16px;
  gap: var(--space-3);
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: var(--space-3);
  border-radius: 10px;
  border: 1px solid #ededed;
  background: #ffffff;
  transition: background 180ms ease;
}

.job-item:hover,
.job-item:focus-visible {
  background: #f5f3f2;
}

.job-logo {
  width: 74px;
  height: 38px;
  border-radius: 8px;
  background: #e6e6e6;
  overflow: hidden;
}

.job-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  background: #ffffff;
}

.job-title {
  font-size: 16px;
  font-weight: 700;
}

.job-company {
  font-size: 12px;
  opacity: 0.65;
  margin-bottom: 4px;
}

.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 8px;
  margin-bottom: 0;
}

.job-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 0;
  font-size: 11px;
  opacity: 0.7;
  max-width: 100%;
  white-space: nowrap;
}

.job-icon {
  font-size: 12px;
}

.job-arrow {
  font-size: 14px;
  opacity: 0.45;
}
/* Jobs-block: gör det edge-to-edge i sin wrapper */
.page-home .sidebar-block.sidebar-block--jobs{
  padding-left: 20px;   /* matcha top/bottom om du vill */
  padding-right: 20px;
}

/* Om sidebar-block__header eller accent har egna paddings/margins */
.page-home .sidebar-block--jobs .sidebar-block__header,
.page-home .sidebar-block--jobs .sidebar-accent,
.page-home .sidebar-block--jobs .jobs-cta{
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

/* Listan ska inte skapa extra indrag */
.page-home .sidebar-block--jobs .jobs-list{
  margin: 0;
  padding: 0;
}


@media (max-width: 768px) {
  .page-home .sidebar-block--jobs .job-pill {
    white-space: normal;
  }
}

.jobs-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
  background: #5EAF6B1F;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  margin-top: var(--space-3);
  box-sizing: border-box;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

@media (min-width: 769px) {
  .page-home .main > .block.block-podcast {
    margin-top: 80px;
  }
}

.block-podcast .block-title {
  font-family: var(--font-title);
  font-size: 38px;
  text-align: center;
  margin: 0 0 var(--space-5);
}

.podcast-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.podcast-card {
  display: grid;
  gap: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #fcfcfb;
}

.podcast-card__media {
  border-radius: 0;
  overflow: hidden;
  background: #e6e6e6;
  aspect-ratio: 1200 / 630;
  line-height: 0;
  font-size: 0;
}

.podcast-card__media picture {
  display: block;
  width: 100%;
  height: 100%;
  line-height: 0;
}

.podcast-card__media img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  display: block;
  object-fit: cover;
  object-position: center top;
  vertical-align: top;
}

.podcast-card__title {
  margin: 0;
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: var(--space-3) var(--space-4) var(--space-4);
  transition: color 200ms ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.podcast-card:hover .podcast-card__title {
  color: #5EAF6B;
}

.podcast-card:focus-visible .podcast-card__title {
  color: #5EAF6B;
}

.podcast-section-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid #e6e6e6;
  background: #5EAF6B1F;
  text-decoration: none;
  color: inherit;
  font-weight: 600;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  width: fit-content;
  margin: var(--space-6) auto 0;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.podcast-section-cta:hover,
.podcast-section-cta:focus-visible {
  background: #5EAF6B;
  color: #ffffff;
  border-color: #5EAF6B;
}

.newsletter {
  /* Fullbredd-bakgrund; innehållet centreras via .container i HTML. */
  margin: var(--space-9) 0 0;
  background: #f5f3f2;
  padding: var(--space-8) 0;
    width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}


.newsletter__panel {
  padding: 0 var(--space-7);
  text-align: center;
}

.newsletter__title {
  margin: 0 0 var(--space-4);
  font-family: var(--font-title);
  font-size: 32px;
  font-weight: 700;
}

.newsletter__intro {
  margin: 0 auto var(--space-6);
  max-width: 700px;
  color: #6b7280;
}

.newsletter__form {
  display: grid;
  gap: var(--space-4);
  max-width: 520px;
  margin: 0 auto;
  text-align: left;
}

.newsletter__label {
  font-size: 14px;
  font-weight: 600;
}

.newsletter__input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid #e6e6e6;
  font-size: 16px;
}

.newsletter__input:focus {
  outline: none;
  border-color: #5EAF6B;
}

.newsletter__consent {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 14px;
}

.newsletter__checkbox {
  width: 18px;
  height: 18px;
  accent-color: #5EAF6B;
}

.newsletter__button {
  justify-self: start;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 0;
  background: #5EAF6B;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.newsletter__button:hover,
.newsletter__button:focus-visible {
  background: #55a764;
}

.newsletter__note {
  margin: var(--space-5) 0 0;
  color: #6b7280;
}

.site-footer {
  background: hsl(215 25% 15% / 1);
  color: #ffffff;
  font-weight: 400;

  /* Layout */
  margin-top: 0; /* direkt efter newsletter */
  padding-block: var(--space-9);
  padding-inline: 0;
  border-radius: 0;

  /* Fullbredd-breakout */
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;

  /* Förhindra horisontell scroll pga 100vw */
  overflow-x: clip; /* fallback: hidden */
}


.site-footer__inner {
  padding: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: var(--space-8);
  align-items: start;
}

@media (max-width: 1024px) {
  .footer-columns {
    grid-template-columns: 1fr 1fr;
    row-gap: var(--space-6);
  }

  .footer-col--social {
    justify-content: flex-start;
  }
}

@media (min-width: 1025px) {
  .site-footer {
    padding-block: var(--space-9);
  }

  .site-footer__inner {
    padding-inline: var(--space-7);
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(180px, 260px);
    row-gap: var(--space-7);
  }

  .footer-col--social {
    justify-self: end;
    gap: var(--space-3);
  }

  .footer-copy {
    margin-top: var(--space-9);
    padding-top: var(--space-7);
  }
}

@media (any-pointer: coarse) and (min-width: 769px) and (max-width: 1366px) {
  .site-footer__inner.container {
    max-width: 1240px;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1366px) {
  body.page-home .site-footer__inner.container {
    max-width: 1240px;
    width: 100%;
    padding-left: 24px;
    padding-right: 24px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  body.page-home .footer-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding-block: var(--space-8);
  }

  .site-footer__inner {
    padding: 0 20px;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .footer-col {
    gap: 0;
  }

  .footer-col .footer-link + .footer-link {
    margin-top: var(--space-3);
  }

  .footer-link {
    word-break: break-word;
    line-height: 1.4;
    font-size: 14px;
  }

  .footer-link:hover {
    text-decoration: none;
  }

  .footer-link:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
    text-decoration: none;
  }

  .footer-col--social {
    order: 99;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: var(--space-4);
    padding-top: var(--space-5);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    gap: var(--space-3);
  }

  .social-icon {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .site-footer__inner {
    padding: 0 16px;
  }

  .footer-columns {
    gap: var(--space-6);
  }

  .footer-col {
    gap: 0;
  }

  .footer-col .footer-link + .footer-link {
    margin-top: var(--space-3);
  }

  .social-icon {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
}

.footer-col {
  display: grid;
  gap: var(--space-3);
}

.footer-col .footer-link + .footer-link {
  margin-top: var(--space-3);
}

.footer-link {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.9);
  text-decoration-color: rgba(255, 255, 255, 0.25);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-link:focus-visible,
.footer-link:hover {
  text-decoration: underline;
  color: #ffffff;
  text-decoration-color: rgba(255, 255, 255, 0.6);
}

.footer-col--social {
  display: inline-flex;
  gap: var(--space-4);
  justify-content: flex-end;
}

.social-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 22px;
}

.footer-copy {
  margin: var(--space-9) 0 0;
  padding-top: var(--space-6);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  text-align: center;
}

.social-icon:hover,
.social-icon:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.jobs-cta:hover,
.jobs-cta:focus-visible {
  background: #5EAF6B;
  color: #ffffff;
  border-color: #5EAF6B;
}

@media (hover: hover) and (pointer: fine) {
  .page-home .main .card:hover .card-arrow {
    color: #5EAF6B;
  }

  /* Hover: subtle image zoom + title accent */
  .card:hover .card-title {
    color: #5EAF6B;
  }
}

.card-meta {
  font-family: var(--font-body);
  font-weight: 400;
}

.card-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-top: 14px;
}

.cat {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cat-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #1a502c;
  flex: 0 0 auto;
  transform-origin: center;
  animation: cat-dot-live 1.9s ease-in-out infinite;
}

@keyframes cat-dot-live {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.9;
  }
  45% {
    transform: scale(1.35);
    opacity: 1;
  }
}

.cat-name {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  opacity: 0.85;
  color: #1a502c;
}

@media (max-width: 768px) {
  .sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
  }

  .sidebar .sidebar-block--banner {
    display: none;
  }

  .banner-slot--mobile-only {
    display: block;
    width: 100%;
    margin: var(--space-4) 0;
  }

  .banner-slot--mobile-only .sidebar-banner {
    width: 100%;
    border-radius: 12px;
  }

  .page-home .block-latest--top .card--top {
    min-width: 0;
  }

  .page-home .block-latest--top .card-media,
  .page-home .block-latest--top .card-body,
  .page-home .block-latest--top .card-meta {
    min-width: 0;
  }

  .page-home .block-latest--top .card-media img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  .page-home .block-latest--top .card-title,
  .page-home .block-latest--top .card-excerpt {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .page-home .card,
  .page-home .card--top {
    background: #fafaf9;
    border-radius: 20px;
    overflow: hidden;
  }

  .page-home .card-media {
    position: relative;
  }

  .page-home .card-body {
    padding-top: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cat-dot {
    animation: none;
  }
}

@media (max-width: 768px) {
  .navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: none;
    backdrop-filter: blur(8px);
  }
}

@media (min-width: 769px) {
  .navbar {
    background: rgba(255, 255, 255, 0.98);
    border-bottom: none;
    backdrop-filter: blur(8px);
  }
}

@media (max-width: 480px) {
  .page-home .block-latest--top .card-body {
    padding: 14px 14px 0;
  }

  .page-home .block-latest--top .card-meta {
    padding: 10px 14px 14px;
  }
}

/* Mobile: Authors block */
@media (max-width: 768px) {
  .sidebar-block--authors .sidebar-block__title {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 16px;
    margin-bottom: 6px;
    text-align: center;
  }

  .sidebar-block--authors .sidebar-accent {
    margin: 0 auto var(--space-4);
    height: 1px;
    width: 96px;
  }

  .sidebar-block--authors .authors-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3);
    text-align: left;
  }

  .sidebar-block--authors .author-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    width: 100%;
  }

  .sidebar-block--authors .author-item:hover,
  .sidebar-block--authors .author-item:active {
    background: #f5f3f2;
  }

  .sidebar-block--authors .author-avatar {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    overflow: hidden;
  }

  .sidebar-block--authors .author-avatar img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
  }

  .sidebar-block--authors .author-name {
    font-weight: 700;
    font-size: 13px;
    line-height: 1.25;
    overflow-wrap: anywhere;
    text-align: left;
  }

  .sidebar-block--authors .author-role {
    color: #777777;
    font-size: 12px;
    line-height: 1.4;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .sidebar-block--authors .author-body {
    min-width: 0;
    flex: 1 1 auto;
  }
}

@media (max-width: 480px) {
  .sidebar-block--authors .author-avatar {
    width: 56px;
    height: 56px;
  }
}

.upcoming-date .upcoming-month,
.upcoming-date .upcoming-day {
  color: #1A502c !important;
  -webkit-text-fill-color: #1A502c !important;
  text-shadow: none !important;
  mix-blend-mode: normal;
}

.upcoming-item:hover .upcoming-date,
.upcoming-item:focus-visible .upcoming-date {
  background: #1A502c;
  border-color: #1A502c;
}

.upcoming-item:hover .upcoming-date .upcoming-month,
.upcoming-item:hover .upcoming-date .upcoming-day,
.upcoming-item:focus-visible .upcoming-date .upcoming-month,
.upcoming-item:focus-visible .upcoming-date .upcoming-day {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-title);
}

/* Compliance label for all 2026 banner variants */
.top-banner__media,
.sidebar-banner {
  position: relative;
  overflow: hidden;
}

.top-banner__media::after,
.sidebar-banner::after {
  content: "Annons";
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.2);
  color: #1f2937;
  font: 600 11px/1.2 "Public Sans", sans-serif;
  letter-spacing: 0.01em;
  pointer-events: none;
}

@media (max-width: 768px) {
  .top-banner__media::after,
  .sidebar-banner::after {
    top: 6px;
    left: 6px;
    font-size: 10px;
  }
}

.most-media {
  position: relative;
}

.most-badge {
  position: absolute;
  bottom: 4px;
  right: 4px;
  z-index: 1;
  padding: 3px 6px;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid #111111;
  color: #111111;
  font-size: 8px;
  font-weight: 700;
  /* letter-spacing: 0.4px; */
  text-transform: uppercase;
  
}
