/* Elektro Bäcker editorial portal — native WordPress content, premium presentation. */

.site-header--ratgeber .site-header__inner {
  min-height: 5.4rem;
}

.eb-editorial-hub,
.eb-editorial-article {
  --editorial-ink: #06131b;
  --editorial-panel: #0b202c;
  --editorial-copper: #d87943;
  --editorial-cyan: #168ab5;
  --editorial-paper: #f0eeea;
  background: var(--editorial-paper);
  color: #223742;
}

.eb-editorial-hub__hero,
.eb-editorial-article__hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 88% 12%, rgb(216 121 67 / 22%), transparent 25rem),
    radial-gradient(circle at 72% 52%, rgb(22 138 181 / 13%), transparent 34rem),
    linear-gradient(118deg, #030a0f, #071923 69%, #0a2733);
  color: #fff;
}

.eb-editorial-hub__grid {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.07) 1px, transparent 1px);
  background-size: 5rem 5rem;
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000);
}

.eb-editorial-hub__hero-inner,
.eb-editorial-article__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(18rem, 0.55fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
  padding-block: clamp(8.5rem, 11vw, 11rem) clamp(4.5rem, 8vw, 8rem);
}

.eb-editorial-hub__hero h1,
.eb-editorial-article__hero h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(3rem, 6vw, 6.2rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.eb-editorial-hub__hero-inner > div > p:not(.eyebrow),
.eb-editorial-article__dek,
.eb-editorial-taxonomy__description {
  max-width: 47rem;
  margin-top: 1.7rem;
  color: #c7d4db;
  font-size: clamp(1.05rem, 1.6vw, 1.35rem);
  line-height: 1.65;
}

.eb-editorial-hub .eyebrow,
.eb-editorial-article .eyebrow {
  margin-bottom: 1rem;
  color: var(--editorial-copper);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.eb-editorial-hub__hero-inner > aside {
  position: relative;
  padding: clamp(1.75rem, 3vw, 2.8rem);
  border: 1px solid rgb(255 255 255 / 0.18);
  background:
    linear-gradient(125deg, rgb(255 255 255 / 13%), transparent 35%),
    linear-gradient(155deg, rgb(13 42 55 / 96%), rgb(4 15 22 / 96%));
  box-shadow: 0 2.5rem 6rem rgb(0 0 0 / 0.28);
  backdrop-filter: blur(0.75rem);
}

.eb-editorial-hub__hero-inner > aside::before {
  position: absolute;
  top: -1px;
  left: -1px;
  width: 5rem;
  height: 0.2rem;
  background: var(--editorial-copper);
  content: "";
}

.eb-editorial-hub__hero-inner > aside span,
.eb-editorial-hub__hero-inner > aside strong {
  display: block;
}

.eb-editorial-hub__hero-inner > aside span {
  color: var(--editorial-copper);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eb-editorial-hub__hero-inner > aside strong {
  margin-top: 1rem;
  color: #fff;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  line-height: 1.1;
}

.eb-editorial-hub__hero-inner > aside p {
  margin-top: 1.2rem;
  color: #aebdc5;
  font-size: 0.95rem;
}

.eb-editorial-topics {
  border-bottom: 1px solid #cbd4d8;
  background: #fff;
}

.eb-editorial-topics .container {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  overflow-x: auto;
  padding-block: 1rem;
  scrollbar-width: thin;
}

.eb-editorial-topics span,
.eb-editorial-topics a {
  flex: 0 0 auto;
  font-size: 0.82rem;
  font-weight: 750;
}

.eb-editorial-topics span {
  margin-right: 0.5rem;
  color: #7e4a2c;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eb-editorial-topics a {
  padding: 0.55rem 0.9rem;
  border: 1px solid #d4dce0;
  border-radius: 100vmax;
  color: #15303f;
  text-decoration: none;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease;
}

.eb-editorial-topics a:hover {
  border-color: var(--editorial-copper);
  background: #fff5ee;
  transform: translateY(-0.12rem);
}

.eb-editorial-index {
  background:
    linear-gradient(90deg, rgb(7 25 37 / 0.035) 1px, transparent 1px),
    var(--editorial-paper);
  background-size: 6rem 100%;
}

.eb-editorial-section-heading {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.eb-editorial-section-heading h2 {
  max-width: 13ch;
  font-size: clamp(2.5rem, 5vw, 5rem);
  letter-spacing: -0.06em;
}

.eb-editorial-section-heading > p {
  max-width: 35rem;
  color: #5a6d77;
}

.eb-editorial-section-heading > a {
  color: #8b4b28;
  font-weight: 750;
}

.eb-editorial-lead {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(21rem, 0.85fr);
  overflow: hidden;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  border: 1px solid #243f4d;
  background: var(--editorial-ink);
  box-shadow: 0 2.5rem 6rem rgb(7 25 37 / 0.18);
}

.eb-editorial-lead__media,
.eb-editorial-card__media {
  position: relative;
  overflow: hidden;
  min-height: 22rem;
  background: linear-gradient(135deg, #0a2c40, #0d4b64);
}

.eb-editorial-lead__media img,
.eb-editorial-card__media img,
.eb-editorial-lead__media > div,
.eb-editorial-card__media > div {
  width: 100%;
  height: 100%;
}

.eb-editorial-lead__media img,
.eb-editorial-card__media img {
  object-fit: cover;
  transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.eb-editorial-lead:hover img,
.eb-editorial-card:hover img {
  transform: scale(1.035);
}

.eb-editorial-lead__media > span,
.eb-editorial-card__placeholder {
  display: grid;
  height: 100%;
  color: rgb(255 255 255 / 0.13);
  font-size: 7rem;
  font-weight: 800;
  place-items: center;
}

.eb-editorial-lead > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4.5rem);
}

.eb-editorial-lead h2,
.eb-editorial-card h2 {
  color: #fff;
}

.eb-editorial-lead h2 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  letter-spacing: -0.055em;
}

.eb-editorial-lead h2 a,
.eb-editorial-card h2 a {
  color: inherit;
  text-decoration: none;
}

.eb-editorial-lead > div > p:not(.eyebrow) {
  margin-top: 1.3rem;
  color: #bbc8ce;
}

.eb-editorial-lead__meta,
.eb-editorial-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  color: #8fa4ae;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.eb-editorial-lead__meta {
  margin-block: 1.5rem;
}

.eb-editorial-lead .button {
  align-self: flex-start;
}

.eb-editorial-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.7rem);
}

.eb-editorial-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  border: 1px solid #cbd4d8;
  background: #fff;
  box-shadow: 0 1.5rem 3.5rem rgb(7 25 37 / 0.08);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.eb-editorial-card:hover {
  border-color: #d77a43;
  box-shadow: 0 2rem 4.5rem rgb(7 25 37 / 0.14);
  transform: translateY(-0.35rem);
}

.eb-editorial-card__media {
  min-height: 15rem;
}

.eb-editorial-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(1.4rem, 2.5vw, 2rem);
}

.eb-editorial-card__meta {
  color: #697c85;
}

.eb-editorial-card h2 {
  margin-top: 1rem;
  color: #071925;
  font-size: clamp(1.45rem, 2.2vw, 2.1rem);
}

.eb-editorial-card__body > p {
  margin-top: 1rem;
  color: #536873;
}

.eb-editorial-card__footer {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.5rem;
  color: #7e4a2c;
  font-size: 0.82rem;
  font-weight: 750;
}

.eb-editorial-card__footer a {
  color: #8c4a26;
}

.eb-editorial-empty {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(19rem, 0.55fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
  padding: clamp(2rem, 5vw, 5rem);
  border: 1px solid #b9c3c7;
  background:
    linear-gradient(135deg, rgb(255 255 255 / 88%), rgb(240 236 230 / 96%)),
    var(--editorial-paper);
  box-shadow: 0 2.5rem 6rem rgb(7 25 37 / 14%);
}

.eb-editorial-empty__copy h2 {
  max-width: 13ch;
  color: var(--editorial-ink);
  font-size: clamp(2.6rem, 5.2vw, 5.2rem);
  letter-spacing: -0.06em;
  line-height: 0.96;
}

.eb-editorial-empty__copy > p:not(.eyebrow) {
  max-width: 46rem;
  margin-top: 1.5rem;
  color: #536873;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.7;
}

.eb-editorial-empty__copy > .button {
  margin-top: 2rem;
}

.eb-editorial-empty__pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-block: 1px solid #c7cecf;
}

.eb-editorial-empty__pillars > div {
  display: grid;
  align-content: start;
  gap: 0.45rem;
  padding: 1.4rem 1.2rem 1.5rem 0;
}

.eb-editorial-empty__pillars > div + div {
  padding-left: 1.2rem;
  border-left: 1px solid #c7cecf;
}

.eb-editorial-empty__pillars span {
  color: var(--editorial-copper);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.12em;
}

.eb-editorial-empty__pillars strong {
  color: var(--editorial-ink);
  font-size: 1rem;
}

.eb-editorial-empty__pillars small {
  color: #657681;
  line-height: 1.5;
}

.eb-editorial-empty__preview {
  position: relative;
  overflow: hidden;
  min-height: 34rem;
  padding: clamp(1.8rem, 3.5vw, 3rem);
  border: 1px solid rgb(255 255 255 / 14%);
  background:
    radial-gradient(circle at 100% 0, rgb(216 121 67 / 26%), transparent 14rem),
    linear-gradient(145deg, #0c2c3a, #06131b 72%);
  color: #fff;
  box-shadow: inset 0 1px rgb(255 255 255 / 10%), 0 2rem 4rem rgb(6 19 27 / 24%);
}

.eb-editorial-empty__preview::before {
  position: absolute;
  inset: 0 0 auto;
  height: 0.2rem;
  background: linear-gradient(90deg, #a9502a, #ef9a66, transparent 78%);
  content: "";
}

.eb-editorial-empty__preview > p {
  display: flex;
  justify-content: space-between;
  color: var(--editorial-copper);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eb-editorial-empty__preview > strong {
  display: block;
  max-width: 10ch;
  margin-top: 3rem;
  font-size: clamp(2rem, 3.3vw, 3.3rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.eb-editorial-empty__preview ol {
  display: grid;
  gap: 0;
  margin: 3rem 0 2rem;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 15%);
  list-style: none;
  counter-reset: article-outline;
}

.eb-editorial-empty__preview li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr);
  gap: 0.6rem;
  padding-block: 0.9rem;
  border-bottom: 1px solid rgb(255 255 255 / 15%);
  color: rgb(255 255 255 / 82%);
  counter-increment: article-outline;
}

.eb-editorial-empty__preview li::before {
  color: var(--editorial-copper);
  content: "0" counter(article-outline);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.eb-editorial-empty__preview > small {
  color: rgb(255 255 255 / 50%);
}

.eb-editorial-hub__cta {
  padding-block: clamp(3rem, 6vw, 6rem);
  background: linear-gradient(110deg, #071925, #0b3446);
}

.eb-editorial-hub__cta .container {
  display: flex;
  gap: 2rem;
  align-items: center;
  justify-content: space-between;
}

.eb-editorial-hub__cta h2 {
  max-width: 19ch;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.7rem);
}

/* Single article. */
.eb-editorial-article__hero-inner {
  grid-template-columns: minmax(0, 0.95fr) minmax(25rem, 1.05fr);
  padding-block: clamp(8.5rem, 11vw, 11rem) clamp(4rem, 8vw, 8rem);
}

.eb-editorial-article__hero h1 {
  font-size: clamp(3rem, 6.3vw, 6.4rem);
}

.eb-editorial-breadcrumb {
  display: flex;
  gap: 0.55rem;
  align-items: center;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  color: #8ea3ad;
  font-size: 0.8rem;
  font-weight: 700;
}

.eb-editorial-breadcrumb a {
  color: #d8e4e9;
}

.eb-editorial-article__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin-top: 2rem;
  color: #95aab4;
  font-size: 0.82rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eb-editorial-article__hero-media {
  position: relative;
  min-height: clamp(26rem, 46vw, 42rem);
  border: 1px solid rgb(255 255 255 / 0.18);
  box-shadow: 0 3rem 7rem rgb(0 0 0 / 0.35);
}

.eb-editorial-article__hero-media img,
.eb-editorial-article__hero-media > div {
  width: 100%;
  height: 100%;
}

.eb-editorial-article__hero-media img {
  object-fit: cover;
}

.eb-editorial-article__hero-placeholder {
  display: grid;
  align-content: center;
  padding: 3rem;
  background: linear-gradient(145deg, #103c50, #071925);
  color: #fff;
}

.eb-editorial-article__hero-placeholder span {
  color: rgb(255 255 255 / 0.11);
  font-size: 9rem;
  font-weight: 800;
}

.eb-editorial-article__hero-placeholder strong {
  color: var(--editorial-copper);
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eb-editorial-trustbar {
  border-bottom: 1px solid #cbd4d8;
  background: #fff;
}

.eb-editorial-trustbar .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.eb-editorial-trustbar span {
  padding: 1.4rem 2rem;
  border-right: 1px solid #d8dfe2;
  color: #6a7c85;
  font-size: 0.85rem;
}

.eb-editorial-trustbar span:first-child {
  border-left: 1px solid #d8dfe2;
}

.eb-editorial-trustbar strong {
  display: block;
  color: #0b2432;
}

.eb-editorial-article__layout {
  display: grid;
  grid-template-columns: minmax(10rem, 0.45fr) minmax(0, 1.5fr) minmax(15rem, 0.62fr);
  gap: clamp(2rem, 4vw, 5rem);
  align-items: start;
  padding-block: clamp(4rem, 8vw, 8rem);
}

.eb-editorial-toc,
.eb-editorial-article__sidebar {
  position: sticky;
  top: 8rem;
}

.admin-bar .eb-editorial-toc,
.admin-bar .eb-editorial-article__sidebar {
  top: 10rem;
}

.eb-editorial-toc {
  padding-top: 1rem;
  border-top: 0.18rem solid var(--editorial-copper);
}

.eb-editorial-toc > p {
  color: #8b4d2a;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eb-editorial-toc ol {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.eb-editorial-toc li {
  border-top: 1px solid #ccd5d9;
}

.eb-editorial-toc a {
  display: block;
  padding: 0.75rem 0;
  color: #526772;
  font-size: 0.82rem;
  line-height: 1.35;
  text-decoration: none;
}

.eb-editorial-toc .is-subsection a {
  padding-left: 0.8rem;
  font-size: 0.76rem;
}

.eb-editorial-toc a:hover,
.eb-editorial-toc a.is-active {
  color: #8d4924;
}

.eb-editorial-toc a.is-active {
  font-weight: 800;
}

.eb-editorial-article__content {
  min-width: 0;
  font-size: clamp(1rem, 0.97rem + 0.2vw, 1.14rem);
  line-height: 1.82;
}

.eb-editorial-article__content > * + * {
  margin-top: 1.5rem;
}

.eb-editorial-article__content h2,
.eb-editorial-article__content h3 {
  scroll-margin-top: 9rem;
}

.eb-editorial-article__content h2 {
  margin-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid #cbd4d8;
  font-size: clamp(2.3rem, 4.8vw, 4.5rem);
  letter-spacing: -0.06em;
}

.eb-editorial-article__content h3 {
  margin-top: 3rem;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
}

.eb-editorial-article__content ul,
.eb-editorial-article__content ol {
  padding-left: 1.35rem;
}

.eb-editorial-article__content li + li {
  margin-top: 0.65rem;
}

.eb-editorial-article__content figure,
.eb-editorial-article__content .wp-block-image {
  margin-block: clamp(2.5rem, 6vw, 5rem);
}

.eb-editorial-article__content figcaption {
  margin-top: 0.7rem;
  color: #6a7c85;
  font-size: 0.78rem;
}

.eb-editorial-article__content blockquote {
  margin: 3rem 0;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-left: 0.25rem solid var(--editorial-copper);
  background: #fff;
  color: #173342;
  font-size: 1.2em;
  box-shadow: 0 1.5rem 3rem rgb(7 25 37 / 0.08);
}

.eb-editorial-guided-section {
  min-width: 0;
}

.eb-editorial-guided-section > * + *,
.eb-editorial-guided-section .wp-block-group > * + * {
  margin-top: 1rem;
}

.eb-editorial-guided-main > h2:first-child {
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

.eb-editorial-quick-answer {
  position: relative;
  margin: 0 0 clamp(3rem, 6vw, 5rem);
  padding: clamp(2rem, 4vw, 3.2rem);
  border: 1px solid #244655;
  background: linear-gradient(135deg, #0a2636, #0b3547);
  color: #d6e2e7;
  box-shadow: 0 2rem 4.5rem rgb(7 25 37 / 0.18);
}

.eb-editorial-quick-answer::after {
  position: absolute;
  right: 1.3rem;
  bottom: 0.8rem;
  color: rgb(255 255 255 / 0.08);
  content: "01";
  font-size: 5rem;
  font-weight: 800;
}

.eb-editorial-quick-answer h2 {
  margin: 0;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.eb-editorial-quick-answer__content {
  position: relative;
  z-index: 1;
  max-width: 42rem;
  margin-top: 1rem;
}

.eb-editorial-quick-answer__content > :first-child,
.eb-editorial-context-note__content > :first-child,
.eb-editorial-sidebar-cta__text > :first-child {
  margin-top: 0;
}

.eb-editorial-quick-answer__content > :last-child,
.eb-editorial-context-note__content > :last-child,
.eb-editorial-sidebar-cta__text > :last-child {
  margin-bottom: 0;
}

.eb-editorial-quick-answer__content ul,
.eb-editorial-quick-answer__content ol,
.eb-editorial-context-note__content ul,
.eb-editorial-context-note__content ol,
.eb-editorial-sidebar-cta__text ul,
.eb-editorial-sidebar-cta__text ol {
  padding-left: 1.25rem;
}

.eb-editorial-quick-answer__content a,
.eb-editorial-context-note__content a,
.eb-editorial-sidebar-cta__text a {
  color: #e89563;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.eb-editorial-context-note,
.eb-editorial-sources,
.eb-editorial-feedback,
.eb-editorial-share {
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.eb-editorial-context-note {
  padding: 1.5rem 1.8rem;
  border-left: 0.25rem solid var(--editorial-copper);
  background: #fff9f4;
}

.eb-editorial-context-note strong {
  color: #7c3f20;
}

.eb-editorial-context-note__label {
  margin: 0;
}

.eb-editorial-context-note__content {
  margin-top: 0.45rem;
}

.eb-editorial-sources {
  padding: clamp(2rem, 4vw, 3rem);
  border: 1px solid #ccd5d9;
  background: #fff;
}

.eb-editorial-sources h2,
.eb-editorial-feedback h2 {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.eb-editorial-sources ol {
  margin-top: 1.5rem;
  padding-left: 1.4rem;
}

.eb-editorial-sources li {
  padding: 0.7rem 0;
  border-top: 1px solid #dbe1e4;
  font-size: 0.9rem;
}

.eb-editorial-feedback {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3rem);
  background: #071925;
  color: #fff;
}

.eb-editorial-feedback h2 {
  color: #fff;
}

.eb-editorial-feedback__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.eb-editorial-feedback button,
.eb-editorial-share a,
.eb-editorial-share button {
  min-height: 2.8rem;
  padding: 0.65rem 0.9rem;
  border: 1px solid #49626d;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 750;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.eb-editorial-feedback button:hover {
  border-color: var(--editorial-copper);
  background: var(--editorial-copper);
  color: #071925;
}

.eb-editorial-feedback button:disabled {
  cursor: default;
  opacity: 0.5;
}

.eb-editorial-feedback button span {
  margin-left: 0.4rem;
  opacity: 0.7;
}

.eb-editorial-feedback__status {
  grid-column: 1 / -1;
  min-height: 1.5rem;
  margin: 0;
  color: #a9c0ca;
  font-size: 0.8rem;
}

.eb-editorial-share {
  padding-top: 2rem;
  border-top: 1px solid #cbd4d8;
}

.eb-editorial-share h2 {
  font-size: 1.3rem;
}

.eb-editorial-share > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1rem;
}

.eb-editorial-share a,
.eb-editorial-share button {
  border-color: #b8c4c9;
  color: #27414e;
}

.eb-editorial-share a:hover,
.eb-editorial-share button:hover {
  border-color: #8b4a27;
  color: #8b4a27;
}

.eb-editorial-share > p {
  min-height: 1.4rem;
  margin-top: 0.5rem;
  color: #6e7f88;
  font-size: 0.8rem;
}

.eb-editorial-article__sidebar {
  display: grid;
  gap: 1rem;
}

.eb-editorial-expert,
.eb-editorial-related-context,
.eb-editorial-sidebar-cta {
  padding: clamp(1.3rem, 2.5vw, 2rem);
  border: 1px solid #c7d1d5;
  background: #fff;
  box-shadow: 0 1.5rem 3.5rem rgb(7 25 37 / 0.08);
}

.eb-editorial-expert h2,
.eb-editorial-related-context h2,
.eb-editorial-sidebar-cta h2 {
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
}

.eb-editorial-expert__person {
  display: grid;
  grid-template-columns: 3.2rem 1fr;
  gap: 0.8rem;
  align-items: center;
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid #d9e0e3;
}

.eb-editorial-expert__person img {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
}

.eb-editorial-expert__person span,
.eb-editorial-expert__person strong {
  display: block;
}

.eb-editorial-expert__person span {
  color: #788991;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.eb-editorial-expert__person strong {
  color: #102a38;
  font-size: 0.88rem;
}

.eb-editorial-related-context h2 + ul,
.eb-editorial-related-context ul + h2 {
  margin-top: 1rem;
}

.eb-editorial-related-context ul {
  margin-bottom: 1.5rem;
  padding: 0;
  list-style: none;
}

.eb-editorial-related-context li {
  border-top: 1px solid #d7dfe2;
}

.eb-editorial-related-context a {
  display: block;
  padding: 0.7rem 0;
  color: #27414e;
  font-size: 0.84rem;
  font-weight: 700;
}

.eb-editorial-sidebar-cta {
  border-color: #254553;
  background: linear-gradient(145deg, #092635, #071925);
  color: #adbec6;
}

.eb-editorial-sidebar-cta h2 {
  color: #fff;
}

.eb-editorial-sidebar-cta__text {
  margin-top: 1rem;
  color: #adbec6;
}

.eb-editorial-sidebar-cta .button {
  display: inline-flex;
  margin-top: 1.5rem;
}

.eb-editorial-more {
  border-top: 1px solid #cbd4d8;
  background: #e9eef0;
}

/* Comments. */
.eb-editorial-comments {
  background: #071925;
  color: #c4d1d7;
}

.eb-editorial-comments .container {
  width: min(calc(100% - (2 * var(--eb-gutter))), 54rem);
}

.eb-editorial-comments header {
  margin-bottom: 2.5rem;
}

.eb-editorial-comments header h2,
.eb-editorial-comments .comment-reply-title {
  color: #fff;
}

.eb-editorial-comments header h2 {
  font-size: clamp(2.3rem, 5vw, 4.5rem);
}

.eb-editorial-comments header > p:last-child {
  max-width: 44rem;
  margin-top: 1rem;
}

.eb-editorial-comments .comment-list {
  margin: 0 0 3rem;
  padding: 0;
  list-style: none;
}

.eb-editorial-comments .comment {
  margin-top: 1rem;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid #294652;
  background: #0a2635;
}

.eb-editorial-comments .children {
  margin: 1rem 0 0 1rem;
  padding: 0;
  list-style: none;
}

.eb-editorial-comments .comment-meta {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.eb-editorial-comments .avatar {
  border-radius: 50%;
}

.eb-editorial-comments .comment-author,
.eb-editorial-comments .comment-author a {
  color: #fff;
}

.eb-editorial-comments .comment-metadata a,
.eb-editorial-comments .reply a {
  color: #ec9a68;
  font-size: 0.78rem;
}

.eb-editorial-comments .comment-content {
  margin-top: 1rem;
}

.eb-editorial-comments .comment-respond {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid #385561;
  background: #0b2b3a;
}

.eb-editorial-comments .comment-notes {
  margin-top: 0.8rem;
  color: #9db0b9;
  font-size: 0.85rem;
}

.eb-editorial-comments .comment-form label {
  display: block;
  margin-bottom: 0.35rem;
  color: #fff;
  font-weight: 700;
}

.eb-editorial-comments .comment-form p {
  margin-top: 1rem;
}

.eb-editorial-comments input:not([type="submit"]):not([type="checkbox"]),
.eb-editorial-comments textarea {
  width: 100%;
  border: 1px solid #526d78;
  background: #061b27;
  color: #fff;
}

.eb-editorial-comments input:not([type="submit"]):not([type="checkbox"]) {
  min-height: 3rem;
  padding-inline: 0.8rem;
}

.eb-editorial-comments textarea {
  padding: 0.8rem;
}

/* Taxonomy archive and pagination. */
.eb-editorial-taxonomy .eb-editorial-hub__hero h1 {
  max-width: 18ch;
}

.eb-editorial-taxonomy__description p + p {
  margin-top: 0.75rem;
}

.eb-editorial-hub .navigation.pagination {
  margin-top: 3rem;
}

.eb-editorial-hub .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.eb-editorial-hub .page-numbers {
  display: grid;
  min-width: 2.8rem;
  min-height: 2.8rem;
  border: 1px solid #bac6cb;
  color: #173543;
  text-decoration: none;
  place-items: center;
}

.eb-editorial-hub .page-numbers.current,
.eb-editorial-hub a.page-numbers:hover {
  border-color: #8c4b29;
  background: #8c4b29;
  color: #fff;
}

@media (max-width: 72rem) {
  .eb-editorial-article__layout {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.45fr);
  }

  .eb-editorial-toc {
    position: relative;
    top: auto;
    grid-column: 1 / -1;
  }

  .eb-editorial-toc ol {
    columns: 2;
    column-gap: 2rem;
  }

  .eb-editorial-toc li {
    break-inside: avoid;
  }
}

@media (max-width: 58rem) {
  .eb-editorial-hub__hero-inner,
  .eb-editorial-article__hero-inner,
  .eb-editorial-lead,
  .eb-editorial-article__layout,
  .eb-editorial-empty {
    grid-template-columns: 1fr;
  }

  .eb-editorial-hub__hero-inner,
  .eb-editorial-article__hero-inner {
    gap: 2.5rem;
  }

  .eb-editorial-article__hero-media {
    min-height: clamp(20rem, 80vw, 35rem);
  }

  .eb-editorial-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eb-editorial-article__sidebar {
    position: relative;
    top: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .eb-editorial-sidebar-cta {
    grid-column: 1 / -1;
  }

  .eb-editorial-feedback {
    grid-template-columns: 1fr;
  }

  .eb-editorial-empty__preview {
    min-height: auto;
  }
}

@media (max-width: 40rem) {
  .eb-editorial-hub__hero h1,
  .eb-editorial-article__hero h1 {
    font-size: clamp(2.8rem, 15vw, 4.6rem);
  }

  .eb-editorial-hub__hero-inner,
  .eb-editorial-article__hero-inner {
    padding-block: 7.5rem 4rem;
  }

  .eb-editorial-section-heading,
  .eb-editorial-hub__cta .container {
    align-items: flex-start;
    flex-direction: column;
  }

  .eb-editorial-cards,
  .eb-editorial-article__sidebar,
  .eb-editorial-trustbar .container {
    grid-template-columns: 1fr;
  }

  .eb-editorial-trustbar span,
  .eb-editorial-trustbar span:first-child {
    border-right: 0;
    border-left: 0;
    border-bottom: 1px solid #d8dfe2;
  }

  .eb-editorial-toc ol {
    columns: 1;
  }

  .eb-editorial-feedback__actions,
  .eb-editorial-share > div {
    align-items: stretch;
    flex-direction: column;
  }

  .eb-editorial-feedback button,
  .eb-editorial-share a,
  .eb-editorial-share button {
    width: 100%;
    text-align: center;
  }

  .eb-editorial-comments .children {
    margin-left: 0;
  }

  .eb-editorial-empty {
    padding: 1.4rem;
  }

  .eb-editorial-empty__pillars {
    grid-template-columns: 1fr;
  }

  .eb-editorial-empty__pillars > div + div {
    padding-left: 0;
    border-top: 1px solid #c7cecf;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .eb-editorial-card,
  .eb-editorial-card img,
  .eb-editorial-lead img,
  .eb-editorial-topics a {
    transition: none;
  }
}
