:root {
  --editorial-gap: 18px;
}

.page-editorial .card {
  border-radius: 4px;
}

.editorial-hero {
  padding: 22px 20px;
  margin-bottom: var(--space-lg);
  background: linear-gradient(180deg, rgba(8, 145, 178, 0.07), rgba(255, 255, 255, 0));
}

.editorial-hero__kicker {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 12px;
  font-weight: 600;
  color: var(--a, #0891b2);
}

.editorial-hero__title {
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.editorial-hero__lead {
  margin: 0;
  max-width: 68ch;
}

.editorial-grid {
  display: grid;
  gap: var(--editorial-gap);
}

@media (min-width: 720px) {
  .editorial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .editorial-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.editorial-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 4px;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.editorial-card:hover,
.editorial-card:focus-visible {
  border-color: rgba(8, 145, 178, 0.35);
  box-shadow: 0 6px 20px rgba(17, 24, 39, 0.06);
}

.editorial-card__type {
  margin: 0 0 8px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--a, #0891b2);
}

.editorial-card__title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  line-height: 1.35;
}

.editorial-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(17, 24, 39, 0.72);
}

.editorial-card__cta {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cta, #e2593c);
}

.editorial-article {
  padding: 24px 20px;
  margin-bottom: var(--space-lg);
}

.editorial-article__excerpt {
  margin: 0 0 20px;
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(17, 24, 39, 0.78);
  max-width: 72ch;
}

.editorial-article__body {
  max-width: 72ch;
  line-height: 1.65;
}

.editorial-article__body h2 {
  margin: 1.6em 0 0.6em;
  font-size: 1.25rem;
}

.editorial-article__body h3 {
  margin: 1.4em 0 0.5em;
  font-size: 1.05rem;
}

.editorial-article__body p,
.editorial-article__body ul,
.editorial-article__body ol {
  margin: 0 0 1em;
}

.editorial-article__body ul,
.editorial-article__body ol {
  padding-left: 1.25em;
}

.editorial-cta {
  padding: 20px;
  margin: var(--space-lg) 0;
  background: rgba(226, 89, 60, 0.06);
  border: 1px solid rgba(226, 89, 60, 0.18);
  border-radius: 4px;
}

.editorial-cta__title {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

.editorial-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.editorial-section {
  margin-bottom: var(--space-xl);
}

.editorial-section__title {
  margin: 0 0 8px;
}

.editorial-section__sub {
  margin: 0 0 16px;
  max-width: 68ch;
}

.editorial-related {
  display: grid;
  gap: 12px;
}

@media (min-width: 640px) {
  .editorial-related {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.editorial-related__link {
  display: block;
  padding: 14px;
  border: 1px solid rgba(17, 24, 39, 0.1);
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
}

.editorial-related__link:hover {
  border-color: rgba(8, 145, 178, 0.35);
}

.editorial-related__title {
  margin: 0 0 4px;
  font-weight: 600;
}

.editorial-related__meta {
  margin: 0;
  font-size: 13px;
}

.editorial-empty {
  padding: 20px;
}
