.page-home {
  font-family: var(--font-body);
}

a {
  color: inherit;
  text-decoration: none;
}

a:visited {
  color: inherit;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}

.sidebar li > button {
  width: 100%;
  justify-self: stretch;
  align-self: stretch;
}

.upcoming-item,
.latest-item,
.most-item,
.podcast-item,
.author-item,
.job-item {
  width: 100%;
  justify-self: stretch;
  align-self: stretch;
}


html {
  /* Mjuk scroll för ankarlänkar, t.ex. CTA till #newsletter. */
  scroll-behavior: smooth;
}

#newsletter {
  scroll-margin-top: var(--space-7);
}

/* Debug only: add .debug-layout on body to inspect sidebar inset ownership. */
.debug-layout .sidebar {
  outline: 1px solid #ff3b30;
}

.debug-layout .sidebar-block {
  outline: 1px solid #007aff;
}

.debug-layout .sidebar-block > :first-child {
  outline: 1px solid #34c759;
}

.block-title {
  font-family: var(--font-title);
  font-weight: 700;
}

.block-curated .block-title {
  text-align: center;
  margin: 12px 0 18px;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 40px;
}

.section-divider {
  height: 1px;
  background: #e6e6e6;
  margin: var(--space-8) 0 var(--space-6);
}

.all-content__title {
  text-align: center;
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 32px;
  margin: 0 0 var(--space-6);
}

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

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

/* Landing spacing */
.page-home .block + .block {
  margin-top: 72px;
}

.page-home .block-title {
  margin-bottom: 24px;
}

.page-home .card-body,
.page-home .sidebar-block__title + .sidebar-accent {
  margin-bottom: 20px;
}

.page-home .cards-stack,
.page-home .cards-4small,
.page-home .all-content__grid {
  gap: 24px;
}

.page-home .sidebar {
  row-gap: 56px;
}

.page-home .sidebar-block + .sidebar-block {
  margin-top: 20px;
}

.page-home .latest-list li,
.page-home .most-list li,
.page-home .podcast-list li,
.page-home .authors-list li,
.page-home .jobs-list li,
.page-home .upcoming-list li {
  margin-bottom: 20px;
}

.page-home .latest-list li:last-child,
.page-home .most-list li:last-child,
.page-home .podcast-list li:last-child,
.page-home .authors-list li:last-child,
.page-home .jobs-list li:last-child,
.page-home .upcoming-list li:last-child {
  margin-bottom: 0;
}

/* ==============================
   STARTSIDA – TYPOGRAFI KONSISTENS
   ============================== */
.page-home h1,
.page-home h2,
.page-home h3,
.page-home .block-title,
.page-home .sidebar-block__title,
.page-home .card-title {
  letter-spacing: 0.1px;
}

.page-home h1 {
  font-size: 28px;
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 12px;
}

.page-home h1.card-title {
  font-size: 28px;
}

.page-home .block-latest--top h1,
.page-home .block-latest--top h2 {
  font-size: 28px;
}

.page-home main h2:not(.card-title),
.page-home main h3:not(.card-title) {
  font-size: 20px;
}

.page-home h2,
.page-home .block-title,
.page-home .sidebar-block__title {
  font-size: 26px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 16px;
}

.page-home h3,
.page-home .card-title {
  font-size: 18px;
  line-height: 1.4;
  font-weight: 600;
  margin: 0 0 8px;
}

.page-home .hero__eyebrow {
  text-transform: none;
  letter-spacing: 0.2px;
}

.page-home p,
.page-home .card-excerpt,
.page-home .hero__summary,
.page-home .sidebar-block__title + .sidebar-accent {
  line-height: 1.6;
}

.page-home .card-excerpt,
.page-home .hero__summary,
.page-home .section__intro {
  max-width: 72ch;
}

/* STARTSIDA – FÄRGROLLER (C2) */
.page-home .hero__eyebrow {
  color: #e1b658;
}


.page-home .cat-name {
  color: #1a502c;
}

.page-home .cat-dot {
  background: #1a502c;
}

.page-home .card-badge {
  background: #e1b658;
  color: #1a502c;
}

.page-home .sidebar-accent,
.page-home .section-divider {
  background: #1a502c;
}

.page-home .upcoming-month,
.page-home .upcoming-day {
  color: #e1b658;
}

.page-home .podcast-icon svg {
  stroke: #91ce87;
  fill: none;
}
/* Sidebar CTA removal (podcast only) */
.page-home .sidebar .podcast-cta {
  display: none;

} 
