.blog-overview--premium,
.blog-item--premium {
  --wagtail-blog-premium-surface: color-mix(in srgb, var(--bs-body-bg, #fff) 94%, var(--bs-primary, #0d6efd) 6%);
  --wagtail-blog-premium-surface-strong: color-mix(in srgb, var(--bs-body-bg, #fff) 88%, var(--bs-primary, #0d6efd) 12%);
  --wagtail-blog-premium-border: color-mix(in srgb, var(--bs-border-color-translucent, rgba(15, 23, 42, 0.12)) 78%, var(--bs-primary, #0d6efd) 22%);
  --wagtail-blog-premium-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
  --wagtail-blog-premium-shadow-hover: 0 40px 90px rgba(15, 23, 42, 0.18);
  --wagtail-blog-premium-radius: clamp(1.25rem, 2vw, 2rem);
  --wagtail-blog-premium-content-width: min(100%, 54rem);
}

.blog-premium-overview__hero-surface,
.blog-premium-card,
.blog-premium-detail__sidebar-card,
.blog-premium-detail__hero {
  background: var(--wagtail-blog-premium-surface);
  border: 1px solid var(--wagtail-blog-premium-border);
  box-shadow: var(--wagtail-blog-premium-shadow);
}

.blog-premium-overview__hero-surface {
  border-radius: var(--wagtail-blog-premium-radius);
  padding: clamp(1.75rem, 2.5vw, 3rem);
}

.blog-premium-overview__eyebrow,
.blog-premium-detail__sidebar-eyebrow {
  color: var(--bs-primary, #0d6efd);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-premium-overview__title {
  max-width: 12ch;
}

.blog-premium-overview__summary {
  color: var(--bs-secondary-color, #6c757d);
  font-size: 1.125rem;
  max-width: 42rem;
}

.blog-premium-overview__stats {
  display: grid;
  gap: 1rem;
}

.blog-premium-overview__stat {
  background: var(--bs-body-bg, #fff);
  border: 1px solid var(--wagtail-blog-premium-border);
  border-radius: calc(var(--wagtail-blog-premium-radius) * 0.6);
  padding: 1rem 1.125rem;
}

.blog-premium-overview__stat-value {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  line-height: 1;
}

.blog-premium-overview__stat-label {
  color: var(--bs-secondary-color, #6c757d);
  display: block;
  margin-top: 0.4rem;
}

.blog-premium-card {
  border-radius: var(--wagtail-blog-premium-radius);
  height: 100%;
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.blog-premium-card:hover,
.blog-premium-card:focus-within {
  border-color: color-mix(in srgb, var(--bs-primary, #0d6efd) 38%, var(--wagtail-blog-premium-border));
  box-shadow: var(--wagtail-blog-premium-shadow-hover);
  transform: translateY(-4px);
}

.blog-premium-card__media {
  background: var(--wagtail-blog-premium-surface-strong);
  display: block;
}

.blog-premium-card__image {
  aspect-ratio: 4 / 3;
  display: block;
  height: auto;
  object-fit: cover;
  width: 100%;
}

.blog-premium-card__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2vw, 2rem);
}

.blog-premium-card__title {
  margin-bottom: 0;
}

.blog-premium-card__title a,
.blog-premium-detail__recent-title a {
  color: inherit;
  text-decoration: none;
}

.blog-premium-card__title a:hover,
.blog-premium-card__title a:focus,
.blog-premium-detail__recent-title a:hover,
.blog-premium-detail__recent-title a:focus {
  color: var(--bs-primary, #0d6efd);
  text-decoration: underline;
}

.blog-premium-card__intro > *:last-child,
.blog-premium-detail__intro > *:last-child,
.blog-premium-detail__body > *:last-child {
  margin-bottom: 0;
}

.blog-premium-card__actions {
  margin-top: auto;
  padding-top: 0.25rem;
}

.blog-premium-detail__shell {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  grid-template-columns: minmax(0, 1fr);
}

.blog-premium-detail__main {
  max-width: var(--wagtail-blog-premium-content-width);
}

.blog-premium-detail__hero {
  border-radius: var(--wagtail-blog-premium-radius);
  display: grid;
  gap: 1.25rem;
  overflow: hidden;
  padding: clamp(1.75rem, 2.5vw, 3rem);
}

.blog-premium-detail__title {
  margin-bottom: 0;
  max-width: 15ch;
}

.blog-premium-detail__intro {
  color: var(--bs-secondary-color, #6c757d);
}

.blog-premium-detail__lead-image {
  border-radius: calc(var(--wagtail-blog-premium-radius) * 0.75);
  overflow: hidden;
}

.blog-premium-detail__lead-image-tag {
  display: block;
  width: 100%;
}

.blog-premium-detail__body {
  font-size: 1.05rem;
  line-height: 1.75;
  margin-top: clamp(1.75rem, 3vw, 3rem);
}

.blog-premium-detail__sidebar-shell {
  min-width: 0;
}

.blog-premium-detail__sidebar {
  position: sticky;
  top: 2rem;
}

.blog-premium-detail__sidebar-card {
  border-radius: var(--wagtail-blog-premium-radius);
  padding: clamp(1.5rem, 2vw, 2rem);
}

.blog-premium-detail__recent-list {
  display: grid;
  gap: 1rem;
}

.blog-premium-detail__recent-item {
  border-top: 1px solid var(--wagtail-blog-premium-border);
  padding-top: 1rem;
}

.blog-premium-detail__recent-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.blog-premium-detail__recent-title {
  margin-bottom: 0;
}

.blog-premium-empty {
  border-radius: var(--wagtail-blog-premium-radius);
  padding: 1.5rem 1.75rem;
}

@media (min-width: 1200px) {
  .blog-premium-detail__shell {
    align-items: start;
    grid-template-columns: minmax(0, 1fr) minmax(20rem, 24rem);
  }
}

@media (max-width: 1199.98px) {
  .blog-premium-detail__sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .blog-premium-overview__hero-surface,
  .blog-premium-card__body,
  .blog-premium-detail__hero,
  .blog-premium-detail__sidebar-card {
    padding: 1.25rem;
  }

  .blog-premium-overview__title,
  .blog-premium-detail__title {
    max-width: none;
  }
}
