/* block-editorial v1.0 - Editorial Statement & Pull-Quote styling */
.editorial-statement-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.75rem clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

@media (min-width: 992px) {
  .editorial-statement-block.editorial-statement--split-5-7 {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }

  .editorial-statement-block.editorial-statement--split-5-7.editorial-ornament--hatched-rule {
    grid-template-columns: minmax(0, 5fr) 12px minmax(0, 7fr);
  }

  .editorial-statement-block.editorial-statement--split-7-5 {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  }

  .editorial-statement-block.editorial-statement--split-7-5.editorial-ornament--hatched-rule {
    grid-template-columns: minmax(0, 7fr) 12px minmax(0, 5fr);
  }
}

.editorial-statement-lead {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.15rem + 1.45vw, 2.35rem);
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--heading-color, var(--text-color));
  margin: 0 0 1.25rem;
}

.editorial-statement-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.28rem;
  border-bottom: 1.5px solid var(--accent-text-color, var(--accent-color));
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--accent-text-color, var(--accent-color));
  text-decoration: none;
  transition: border-bottom-width 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.editorial-statement-cta:hover {
  border-bottom-width: 2.5px;
  color: var(--text-color);
}

.editorial-statement-cta:hover .editorial-cta-arrow {
  transform: translateX(3px);
}

.editorial-statement-cta:focus-visible {
  outline: 2px solid var(--accent-color);
  outline-offset: 4px;
}

.editorial-cta-arrow {
  display: inline-flex;
  transition: transform 0.2s ease;
}

.editorial-ornament-rule {
  align-self: stretch;
  min-height: 120px;
  width: 12px;
  background-color: var(--border-color);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E%3Cline x1='6' y1='0' x2='6' y2='24' stroke='%23000' stroke-width='1'/%3E%3Cline x1='1' y1='6' x2='11' y2='2' stroke='%23000' stroke-width='1'/%3E%3Cline x1='1' y1='14' x2='11' y2='10' stroke='%23000' stroke-width='1'/%3E%3Cline x1='1' y1='22' x2='11' y2='18' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") repeat-y center / 12px 24px;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='24' viewBox='0 0 12 24'%3E%3Cline x1='6' y1='0' x2='6' y2='24' stroke='%23000' stroke-width='1'/%3E%3Cline x1='1' y1='6' x2='11' y2='2' stroke='%23000' stroke-width='1'/%3E%3Cline x1='1' y1='14' x2='11' y2='10' stroke='%23000' stroke-width='1'/%3E%3Cline x1='1' y1='22' x2='11' y2='18' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") repeat-y center / 12px 24px;
  opacity: 0.7;
}

@media (max-width: 991.98px) {
  .editorial-ornament-rule {
    width: 100%;
    height: 1px;
    min-height: 1px;
    -webkit-mask: none;
    mask: none;
  }
}

.editorial-statement-body {
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.08rem);
  line-height: 1.7;
  color: var(--text-muted-color);
  max-width: 66ch;
  margin-bottom: 1.5rem;
}

.editorial-contrib-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--border-color);
}

.editorial-contrib-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.5rem 1.15rem;
  align-items: start;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-color);
}

.editorial-contrib-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.15rem;
}

.editorial-contrib-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted-color);
}

.editorial-contrib-icon svg {
  width: 16px;
  height: 16px;
}

.editorial-contrib-title {
  font-family: var(--font-heading);
  font-size: 1.06rem;
  font-weight: 600;
  color: var(--heading-color, var(--text-color));
  margin: 0 0 0.25rem;
}

.editorial-contrib-desc {
  font-size: 0.96rem;
  line-height: 1.6;
  color: var(--text-muted-color);
  margin: 0;
  max-width: 60ch;
}

/* Pull-Quote Block */
.editorial-pullquote {
  position: relative;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 3vw, 2.5rem);
  max-width: 48rem;
  text-align: center;
}

.editorial-pullquote-mark {
  display: block;
  width: 84px;
  height: 64px;
  margin: 0 auto 0.5rem;
  background-color: var(--accent-text-color, var(--accent-color));
  opacity: 0.35;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 72'%3E%3Cpath d='M22 6C11 14 5 26 5 41c0 13 8 23 19 23 9 0 16-7 16-16 0-8-6-15-14-15-3 0-6 1-8 2 1-9 7-17 15-22L22 6zm48 0C59 14 53 26 53 41c0 13 8 23 19 23 9 0 16-7 16-16 0-8-6-15-14-15-3 0-6 1-8 2 1-9 7-17 15-22L70 6z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 96 72'%3E%3Cpath d='M22 6C11 14 5 26 5 41c0 13 8 23 19 23 9 0 16-7 16-16 0-8-6-15-14-15-3 0-6 1-8 2 1-9 7-17 15-22L22 6zm48 0C59 14 53 26 53 41c0 13 8 23 19 23 9 0 16-7 16-16 0-8-6-15-14-15-3 0-6 1-8 2 1-9 7-17 15-22L70 6z' fill='%23000'/%3E%3C/svg%3E") no-repeat center / contain;
}

.editorial-pullquote-text {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.55rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--heading-color, var(--text-color));
  max-width: 28ch;
  margin: 0 auto;
}

.editorial-pullquote-attr {
  margin-top: 1.15rem;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted-color);
}
