/*
 * EVCP Article Blocks 0.3.27
 * The Gutenberg editor and published article share this presentation.
 */

:where(.editor-styles-wrapper) {
  --color-bg: #f5f7f8;
  --color-bg-secondary: #f1f4f6;
  --color-surface: #fff;
  --color-border: #d7dde2;
  --color-text: #1c2128;
  --color-text-muted: #57606a;
  --color-primary: #38c9db;
  --color-success: #168a4a;
  --color-warning: #b87400;
  --color-danger: #be3038;
}

:where(.evcp-article-body, .editor-styles-wrapper) {
  --evcp-block-surface: var(--color-surface, #fff);
  --evcp-block-soft: var(--color-bg-secondary, #f1f4f6);
  --evcp-block-line: var(--color-border, #d7dde2);
  --evcp-block-ink: var(--color-text, #1c2128);
  --evcp-block-muted: var(--color-text-muted, #57606a);
  --evcp-block-cyan: var(--color-primary, #38c9db);
  --evcp-block-green: var(--color-success, #168a4a);
  --evcp-block-amber: var(--color-warning, #b87400);
  --evcp-block-red: var(--color-danger, #be3038);
  --evcp-type-body: 16px;
  --evcp-type-lead: 18px;
  --evcp-type-section: 28px;
  --evcp-type-subsection: 22px;
  --evcp-type-label: 13px;
  --evcp-type-support: 14px;
  --evcp-type-caption: 14px;
  --evcp-type-card-title: 15px;
  --evcp-weight-body: 400;
  --evcp-weight-support: 500;
  --evcp-weight-heading: 700;
}

:where(.evcp-article-body, .editor-styles-wrapper) :where(
  [class^="evcp-editorial-"],
  [class*=" evcp-editorial-"],
  .evcp-callout,
  .evcp-divider
) {
  box-sizing: border-box;
  font-family: Gilroy, Arial, sans-serif;
  letter-spacing: 0;
}

.editor-styles-wrapper .wp-block[data-type^="evcp/"] {
  width: min(100%, 820px);
  max-width: 820px;
}

.editor-styles-wrapper .wp-block[data-type^="evcp/"] :where(
  .block-editor-inner-blocks,
  .block-editor-block-list__layout
) {
  width: 100%;
}

/* Article body */
.evcp-editorial-heading-block,
.evcp-editorial-section,
.evcp-editorial-introduction,
.evcp-editorial-lead,
.evcp-editorial-body-text,
.evcp-editorial-summary {
  width: 100%;
}

.evcp-editorial-heading-block {
  margin: 28px 0 11px;
}

.evcp-editorial-heading-block :where(h2, h3, h4, h5, h6),
.evcp-editorial-section :where(h2, h3, h4, h5, h6) {
  color: var(--evcp-block-ink);
  font-weight: 700;
}

.evcp-editorial-heading-block :where(h2, h3, h4, h5, h6) {
  margin: 0;
  line-height: 1.15;
}

.evcp-editorial-heading-block h2,
.evcp-editorial-section h2 {
  font-size: var(--evcp-type-section);
  line-height: 1.2;
}

.evcp-editorial-heading-block h2 {
  margin: 0;
}

.evcp-editorial-section h2 {
  margin: 0 0 16px;
}

.evcp-editorial-section {
  margin: 22px 0;
}

.evcp-editorial-section > :first-child {
  margin-top: 0;
}

.evcp-editorial-section > :last-child {
  margin-bottom: 0;
}

.evcp-editorial-heading-block h3,
.evcp-editorial-section h3 {
  font-size: var(--evcp-type-subsection);
  line-height: 1.25;
}

.evcp-editorial-heading-block h3 {
  margin: 0;
}

.evcp-editorial-section h3 {
  margin: 0 0 12px;
}

.evcp-editorial-heading-block :where(h4, h5, h6),
.evcp-editorial-section :where(h4, h5, h6) {
  font-size: 18px;
  line-height: 1.3;
}

.evcp-editorial-section :where(h4, h5, h6) {
  margin: 0 0 10px;
}

body .editor-styles-wrapper h2.wp-block-heading {
  font-size: var(--evcp-type-section);
  font-weight: var(--evcp-weight-heading);
  line-height: 1.2;
}

body .editor-styles-wrapper h3.wp-block-heading {
  font-size: var(--evcp-type-subsection);
  font-weight: var(--evcp-weight-heading);
  line-height: 1.25;
}

body .editor-styles-wrapper :where(h4,h5,h6).wp-block-heading {
  font-size: 18px;
  font-weight: var(--evcp-weight-heading);
  line-height: 1.3;
}

.evcp-editorial-section p,
.evcp-editorial-body-text {
  color: var(--evcp-block-ink);
  font-size: var(--evcp-type-body);
  font-weight: var(--evcp-weight-body);
  line-height: 1.62;
}

.evcp-editorial-section p {
  margin: 0 0 10px;
}

.evcp-editorial-introduction {
  position: relative;
  margin: 20px 0 24px;
  padding: 35px 17px 14px;
  border: 1px solid var(--evcp-block-line);
  border-left: 3px solid var(--evcp-block-cyan);
  border-radius: 2px;
  background: var(--evcp-block-surface);
}

.evcp-editorial-introduction::before {
  position: absolute;
  top: 13px;
  left: 17px;
  color: var(--evcp-block-cyan);
  content: "ARTICLE INTRODUCTION";
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .06em;
}

.evcp-editorial-introduction > :first-child {
  margin-top: 0;
}

.evcp-editorial-introduction > :last-child {
  margin-bottom: 0;
}

.evcp-editorial-introduction p {
  margin: 0 0 8px;
  color: var(--evcp-block-ink);
  font-size: var(--evcp-type-body);
  font-weight: var(--evcp-weight-body);
  line-height: 1.55;
}

.evcp-editorial-introduction .is-style-evcp-lead {
  font-size: var(--evcp-type-lead);
  font-weight: var(--evcp-weight-support);
  line-height: 1.5;
}

.evcp-editorial-lead {
  margin: 18px 0;
  color: var(--evcp-block-ink);
  font-size: var(--evcp-type-lead);
  font-weight: var(--evcp-weight-support);
  line-height: 1.48;
}

.evcp-editorial-body-text {
  margin: 0 0 1.15em;
}

.evcp-editorial-summary {
  margin: 22px 0;
  padding: 14px 17px;
  border: 1px solid var(--evcp-block-line);
  border-left: 3px solid var(--evcp-block-cyan);
  border-radius: 2px;
  background: var(--evcp-block-soft);
  color: var(--evcp-block-ink);
  font-size: var(--evcp-type-body);
  font-weight: var(--evcp-weight-support);
  line-height: 1.55;
}

/* Compact icon-led callouts */
.evcp-callout {
  --evcp-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 11v6M12 7.5h.01'/%3E%3C/svg%3E");
  position: relative;
  width: 100%;
  min-height: 62px;
  margin: 12px 0;
  padding: 13px 18px 12px 62px;
  border: 1px solid var(--evcp-block-line);
  border-left: 3px solid var(--evcp-block-cyan);
  border-radius: 2px;
  background: var(--evcp-block-surface);
  color: var(--evcp-block-ink);
  box-shadow: none;
}

.evcp-callout::before {
  position: absolute;
  top: 50%;
  left: 18px;
  width: 28px;
  height: 28px;
  background: currentColor;
  color: var(--evcp-block-cyan);
  content: "";
  -webkit-mask: var(--evcp-callout-icon) center / contain no-repeat;
  mask: var(--evcp-callout-icon) center / contain no-repeat;
  transform: translateY(-50%);
}

.wp-block-evcp-editor-note::before {
  --evcp-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 20 4.2-1 10-10a2.1 2.1 0 0 0-3-3l-10 10L4 20Z'/%3E%3Cpath d='m13.7 7.5 3 3M4 20h5'/%3E%3C/svg%3E");
}

.wp-block-evcp-important-note::before {
  --evcp-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7.5v6M12 17h.01'/%3E%3C/svg%3E");
}

.wp-block-evcp-warning::before {
  --evcp-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10.2 4.4 2.8 18a2 2 0 0 0 1.8 3h14.8a2 2 0 0 0 1.8-3L13.8 4.4a2 2 0 0 0-3.6 0Z'/%3E%3Cpath d='M12 9v5M12 17.5h.01'/%3E%3C/svg%3E");
}

.wp-block-evcp-good-practice::before {
  --evcp-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m8 12 2.7 2.7L16.5 9'/%3E%3C/svg%3E");
}

.wp-block-evcp-bad-practice::before {
  --evcp-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='m9 9 6 6M15 9l-6 6'/%3E%3C/svg%3E");
}

.wp-block-evcp-data-disclaimer::before {
  --evcp-callout-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 5 6v5c0 4.8 2.8 8.2 7 10 4.2-1.8 7-5.2 7-10V6l-7-3Z'/%3E%3Cpath d='M12 10v5M12 7.5h.01'/%3E%3C/svg%3E");
}

.evcp-callout :where(h2, h3, h4) {
  margin: 0 0 4px;
  color: var(--evcp-block-cyan);
  font-size: var(--evcp-type-label);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.evcp-callout p,
.evcp-callout li {
  margin-top: 0;
  font-size: var(--evcp-type-support);
  font-weight: 400;
  line-height: 1.45;
}

.evcp-callout > :last-child {
  margin-bottom: 0;
}

.evcp-callout-warning {
  border-left-color: var(--evcp-block-amber);
}

.evcp-callout-warning::before {
  color: var(--evcp-block-amber);
}

.evcp-callout-warning :where(h2, h3, h4) {
  color: var(--evcp-block-amber);
}

.wp-block-evcp-warning.evcp-callout-warning {
  border-left-color: var(--evcp-block-red);
}

.wp-block-evcp-warning.evcp-callout-warning::before {
  color: var(--evcp-block-red);
}

.wp-block-evcp-warning.evcp-callout-warning :where(h2, h3, h4) {
  color: var(--evcp-block-red);
}

.evcp-callout-success {
  border-left-color: var(--evcp-block-green);
}

.evcp-callout-success::before {
  color: var(--evcp-block-green);
}

.evcp-callout-success :where(h2, h3, h4) {
  color: var(--evcp-block-green);
}

.evcp-callout-danger {
  border-left-color: var(--evcp-block-red);
}

.evcp-callout-danger::before {
  color: var(--evcp-block-red);
}

.evcp-callout-danger :where(h2, h3, h4) {
  color: var(--evcp-block-red);
}

.evcp-editorial-data-disclaimer {
  border-left-color: #7a858d;
  background: var(--evcp-block-surface);
}

.evcp-editorial-data-disclaimer::before {
  color: #7a858d;
}

.evcp-editorial-data-disclaimer :where(h2, h3, h4) {
  color: #68737c;
}

.evcp-editorial-pullquote {
  position: relative;
  width: 100%;
  margin: 24px 0;
  padding: 9px 20px 9px 68px;
  border: 0;
  background: transparent;
}

.evcp-editorial-pullquote::before {
  position: absolute;
  top: -3px;
  left: 4px;
  color: var(--evcp-block-cyan);
  content: "\201C";
  font-family: Georgia, serif;
  font-size: 72px;
  font-weight: 700;
  line-height: 1;
}

.evcp-editorial-pullquote blockquote {
  margin: 0;
  color: var(--evcp-block-ink);
  font-size: 20px;
  font-style: italic;
  font-weight: 500;
  line-height: 1.48;
}

.evcp-editorial-pullquote figcaption {
  margin-top: 7px;
  color: var(--evcp-block-muted);
  font-size: var(--evcp-type-caption);
  font-weight: 500;
  line-height: 1.5;
}

.evcp-divider {
  width: 100%;
  height: 0;
  margin: 27px 0;
  border: 0;
  border-top: 1px solid var(--evcp-block-line);
}

/* Lists and process */
:where(
  ul.evcp-editorial-checklist,
  ul.evcp-editorial-cross-list,
  ul.evcp-editorial-key-points,
  ol.evcp-editorial-steps
) {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 9px;
  margin: 18px 0 26px;
  padding: 0;
  list-style: none;
  border: 0;
}

:where(
  .evcp-editorial-checklist,
  .evcp-editorial-cross-list,
  .evcp-editorial-key-points,
  .evcp-editorial-steps
) li {
  display: grid;
  min-height: 22px;
  grid-template-columns: 22px minmax(0, 1fr);
  align-items: center;
  gap: 11px;
  margin: 0;
  padding: 0;
  border: 0;
  color: var(--evcp-block-ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  list-style: none;
}

:where(
  .evcp-editorial-checklist,
  .evcp-editorial-cross-list,
  .evcp-editorial-key-points,
  .evcp-editorial-steps
) li::before {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  align-self: start;
  margin: 0;
  padding: 0;
  border: 1px solid var(--evcp-block-cyan);
  border-radius: 50%;
  background: var(--evcp-block-cyan);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.evcp-editorial-checklist li::before {
  content: "\2713";
}

.evcp-editorial-cross-list li::before {
  border-color: var(--evcp-block-red);
  background: var(--evcp-block-red);
  color: #fff;
  content: "\00D7";
  font-size: 13px;
}

.evcp-editorial-key-points li::before {
  content: "\25B6";
  font-size: 7px;
}

.evcp-editorial-steps {
  counter-reset: evcp-step;
}

.evcp-editorial-steps li {
  counter-increment: evcp-step;
}

.evcp-editorial-steps li::before {
  border-color: var(--evcp-block-cyan);
  background: var(--evcp-block-cyan);
  color: #071319;
  content: counter(evcp-step);
  font-size: 9px;
}

.evcp-editorial-list-editor {
  display: block;
  position: relative;
  padding: 8px 0 12px;
  border: 0;
  background: transparent;
}

.evcp-editorial-list-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.evcp-editorial-list-marker {
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--evcp-block-cyan);
  border-radius: 50%;
  background: var(--evcp-block-cyan);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}

.evcp-editorial-list-marker-cross-list {
  border-color: var(--evcp-block-red);
  background: var(--evcp-block-red);
  color: #fff;
  font-size: 13px;
}

.evcp-editorial-list-marker-key-points {
  font-size: 0;
}

.evcp-editorial-list-marker-key-points::before {
  content: "\25B6";
  font-size: 7px;
}

.evcp-editorial-list-marker-numbered-steps {
  border-color: var(--evcp-block-cyan);
  background: var(--evcp-block-cyan);
  color: #fff;
  font-size: 9px;
}

.evcp-editorial-pros-cons {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--evcp-block-line);
  border-radius: 2px;
  background: var(--evcp-block-surface);
}

.evcp-editorial-pro-con-column {
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.evcp-editorial-pro-con-column + .evcp-editorial-pro-con-column {
  border-left: 1px solid var(--evcp-block-line);
}

.evcp-editorial-pro-con-column h3 {
  margin: 0;
  padding: 9px 12px;
  border-bottom: 1px solid var(--evcp-block-line);
  color: var(--evcp-block-green);
  font-size: var(--evcp-type-label);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.evcp-editorial-pro-con-column.evcp-disadvantages h3 {
  color: var(--evcp-block-red);
}

.evcp-editorial-pro-con-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.evcp-editorial-pro-con-column li {
  position: relative;
  min-height: 30px;
  margin: 0;
  padding: 7px 10px 7px 34px;
  border-bottom: 1px solid var(--evcp-block-line);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  list-style: none;
}

.evcp-editorial-pro-con-column li:last-child {
  border-bottom: 0;
}

.evcp-editorial-pro-con-column li::before {
  display: grid;
  position: absolute;
  top: 7px;
  left: 10px;
  width: 15px;
  height: 15px;
  place-items: center;
  border: 1px solid var(--evcp-block-green);
  border-radius: 50%;
  color: var(--evcp-block-green);
  content: "\2713";
  font-family: Arial, sans-serif;
  font-size: 8px;
  font-weight: 700;
}

.evcp-editorial-pro-con-column.evcp-disadvantages li::before {
  border-color: var(--evcp-block-red);
  color: var(--evcp-block-red);
  content: "\00D7";
  font-size: 10px;
}

.editor-styles-wrapper .evcp-editorial-pro-con-column {
  padding: 10px;
}

.editor-styles-wrapper .evcp-editorial-pro-con-column h3 {
  margin: -10px -10px 10px;
}

.evcp-editorial-table {
  width: 100%;
  margin: 24px 0;
  overflow-x: auto;
  border: 1px solid var(--evcp-block-line);
  border-radius: 2px;
  background: var(--evcp-block-surface);
}

.evcp-editorial-table table {
  width: 100%;
  min-width: 520px;
  border: 0;
  border-collapse: collapse;
}

.evcp-editorial-table :where(th, td) {
  padding: 8px 10px;
  border: 0;
  border-right: 1px solid var(--evcp-block-line);
  border-bottom: 1px solid var(--evcp-block-line);
  background: var(--evcp-block-surface);
  color: var(--evcp-block-ink);
  font-size: var(--evcp-type-support);
  font-weight: 400;
  line-height: 1.35;
  text-align: left;
  vertical-align: top;
}

.evcp-editorial-table tr > :last-child {
  border-right: 0;
}

.evcp-editorial-table tbody tr:last-child > * {
  border-bottom: 0;
}

.evcp-editorial-table thead th,
.evcp-editorial-table.has-shaded-header thead th {
  background: var(--evcp-block-soft);
  font-weight: 700;
}

.evcp-editorial-table.has-bold-first-column tbody td:first-child {
  font-weight: 700;
}

.evcp-editorial-table.has-shaded-first-column tbody td:first-child {
  background: var(--evcp-block-soft);
}

.evcp-editorial-table:not(.has-bold-first-column) tbody td:first-child {
  font-weight: 400;
}

.evcp-editorial-table input {
  width: 100%;
  min-width: 80px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.evcp-editorial-table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding: 10px;
  border-top: 1px solid var(--evcp-block-line);
}

/* Media */
.evcp-editorial-figure,
.evcp-editorial-image,
.evcp-editorial-image-caption,
.evcp-editorial-video-embed,
.evcp-editorial-carousel {
  width: 100%;
  margin: 24px 0;
}

.evcp-editorial-image,
.evcp-editorial-image .wp-block-image {
  margin-bottom: 0;
}

:where(.evcp-editorial-figure, .evcp-editorial-image, .evcp-editorial-image-caption) img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  border-radius: 2px;
  object-fit: cover;
}

.evcp-media-caption {
  display: block;
  margin-top: 7px;
  color: var(--evcp-block-muted);
  font-size: var(--evcp-type-caption);
  font-weight: 400;
  line-height: 1.5;
}

.evcp-media-caption strong {
  color: var(--evcp-block-ink);
  font-weight: 700;
}

.evcp-editorial-video-embed {
  overflow: hidden;
}

.evcp-editorial-video-embed iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 2px;
  background: #111820;
}

.evcp-editorial-media-placeholder,
.evcp-editorial-carousel-empty {
  display: grid;
  min-height: 220px;
  place-items: center;
  border: 1px dashed var(--evcp-block-line);
  border-radius: 2px;
  background: var(--evcp-block-soft);
  color: var(--evcp-block-muted);
}

.evcp-editorial-carousel-editor-main,
.evcp-editorial-carousel-slides {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #111820;
}

.evcp-editorial-carousel-editor-main {
  min-height: 340px;
}

.evcp-editorial-carousel-editor-main img,
.evcp-editorial-carousel-slide img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 600px;
  object-fit: contain;
}

.evcp-editorial-carousel-editor-main img,
.evcp-editorial-carousel-slide img {
  position: absolute;
  inset: 0;
}

.evcp-editorial-carousel-slide {
  position: relative;
  min-height: 400px;
  padding: 0;
}

.evcp-editorial-carousel-slide > p {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  margin: 0;
  padding: 8px 12px;
  background: rgb(17 24 32 / 82%);
  color: #fff;
  font-size: var(--evcp-type-caption);
  line-height: 1.5;
}

.evcp-editorial-carousel-thumbnails {
  display: flex;
  gap: 7px;
  margin-top: 7px;
  overflow-x: auto;
}

.evcp-editorial-carousel-thumbnails img {
  width: 68px;
  height: 48px;
  flex: 0 0 auto;
  border-radius: 2px;
  object-fit: cover;
}

.evcp-editorial-carousel-controls {
  position: absolute;
  inset: 50% 10px auto;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.evcp-carousel-button,
.evcp-editorial-lightbox-close,
.evcp-editorial-lightbox-nav {
  display: grid;
  width: 34px;
  height: 34px;
  padding: 0;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 72%);
  border-radius: 50%;
  background: rgb(255 255 255 / 92%);
  color: #1c2128;
  font-family: Arial, sans-serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  cursor: pointer;
}

.evcp-carousel-button {
  pointer-events: auto;
}

.evcp-carousel-button:hover,
.evcp-carousel-button:focus-visible,
.evcp-editorial-lightbox-close:hover,
.evcp-editorial-lightbox-close:focus-visible,
.evcp-editorial-lightbox-nav:hover,
.evcp-editorial-lightbox-nav:focus-visible {
  border-color: var(--evcp-block-cyan);
  color: var(--evcp-block-cyan);
}

.evcp-editorial-carousel-counter {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 5;
  padding: 3px 6px;
  border-radius: 2px;
  background: rgb(17 24 32 / 78%);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
}

.evcp-editorial-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100000;
  align-items: center;
  justify-content: center;
  padding: 54px 74px;
  background: rgb(10 14 18 / 94%);
}

.evcp-editorial-lightbox.active {
  display: flex;
}

.evcp-editorial-lightbox-content {
  display: grid;
  max-width: min(1100px, 100%);
  max-height: 100%;
  margin: 0;
  place-items: center;
}

.evcp-editorial-lightbox-content img {
  max-width: 100%;
  max-height: calc(100vh - 120px);
  object-fit: contain;
}

.evcp-editorial-lightbox-content figcaption {
  margin-top: 9px;
  color: #fff;
  font-size: var(--evcp-type-caption);
  line-height: 1.5;
}

.evcp-editorial-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
}

.evcp-editorial-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.evcp-editorial-lightbox-prev {
  left: 18px;
}

.evcp-editorial-lightbox-next {
  right: 18px;
}

.evcp-editorial-lightbox-counter {
  position: absolute;
  right: 20px;
  bottom: 16px;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

/* References and navigation */
.evcp-editorial-resource-grid {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 24px 0;
}

.evcp-editorial-resource,
.evcp-editorial-reference-list a,
.evcp-editorial-reference-card,
.evcp-editorial-entity-link {
  display: block;
  position: relative;
  min-width: 0;
  padding: 12px 42px 12px 14px;
  border: 1px solid var(--evcp-block-line);
  border-radius: 2px;
  background: var(--evcp-block-surface);
  color: var(--evcp-block-ink);
  text-decoration: none;
  box-shadow: none;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.evcp-editorial-resource::after,
.evcp-editorial-reference-list a::after,
.evcp-editorial-reference-card::after,
.evcp-editorial-entity-link::after {
  position: absolute;
  top: 50%;
  right: 14px;
  color: #7a858d;
  content: "\203A";
  font-size: 22px;
  line-height: 1;
  transform: translateY(-52%);
}

.evcp-editorial-resource:hover,
.evcp-editorial-resource:focus-visible,
.evcp-editorial-reference-list a:hover,
.evcp-editorial-reference-list a:focus-visible,
.evcp-editorial-reference-card:hover,
.evcp-editorial-reference-card:focus-visible,
.evcp-editorial-entity-link:hover,
.evcp-editorial-entity-link:focus-visible {
  border-color: var(--evcp-block-cyan);
  color: var(--evcp-block-ink);
  box-shadow: inset 0 0 0 1px var(--evcp-block-cyan);
}

.evcp-editorial-resource strong,
.evcp-editorial-reference-list strong,
.evcp-editorial-reference-card strong,
.evcp-editorial-entity-link strong {
  display: block;
  color: var(--evcp-block-ink);
  font-size: var(--evcp-type-card-title);
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none;
}

.evcp-editorial-resource:hover strong,
.evcp-editorial-reference-list a:hover strong,
.evcp-editorial-reference-card:hover strong,
.evcp-editorial-entity-link:hover strong {
  color: var(--evcp-block-cyan);
}

.evcp-editorial-resource span,
.evcp-editorial-reference-list span,
.evcp-editorial-reference-card > span,
.evcp-editorial-entity-link span {
  display: block;
  margin-top: 4px;
  color: var(--evcp-block-muted);
  font-size: var(--evcp-type-caption);
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
}

.evcp-editorial-related-links,
.evcp-editorial-reference-list {
  display: grid;
  width: 100%;
  gap: 0;
  margin: 24px 0;
}

.evcp-editorial-reference-list a,
.evcp-editorial-entity-link,
.evcp-editorial-download-link {
  min-height: 50px;
  margin: 0;
  border-radius: 0;
}

.evcp-editorial-reference-list a + a,
.evcp-editorial-entity-link + .evcp-editorial-entity-link {
  border-top: 0;
}

.evcp-editorial-download-link {
  width: 100%;
  margin: 0;
}

.evcp-download-title-line {
  display: block;
  margin: 0;
  color: var(--evcp-block-ink);
  font-size: var(--evcp-type-card-title);
  line-height: 1.3;
}

.evcp-download-title-line strong,
.evcp-download-suffix {
  display: inline;
}

.evcp-download-suffix {
  margin: 0;
  color: var(--evcp-block-ink);
  font-weight: 400;
}

.evcp-download-description {
  display: block;
}

.evcp-editorial-faq {
  width: 100%;
  margin: 24px 0;
  border: 1px solid var(--evcp-block-line);
  border-radius: 2px;
}

.evcp-editorial-faq details {
  border: 0;
  border-bottom: 1px solid var(--evcp-block-line);
  border-radius: 0;
  background: transparent;
}

.evcp-editorial-faq details:last-child {
  border-bottom: 0;
}

.evcp-editorial-faq summary {
  position: relative;
  padding: 10px 38px 10px 12px;
  color: var(--evcp-block-ink);
  font-size: var(--evcp-type-card-title);
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.evcp-editorial-faq summary::-webkit-details-marker {
  display: none;
}

.evcp-editorial-faq summary::after {
  position: absolute;
  top: 50%;
  right: 13px;
  color: var(--evcp-block-muted);
  content: "\2304";
  font-size: 15px;
  line-height: 1;
  transform: translateY(-55%);
}

.evcp-editorial-faq details[open] summary::after {
  transform: translateY(-35%) rotate(180deg);
}

.evcp-editorial-faq details p {
  margin: 0;
  padding: 0 38px 11px 12px;
  color: var(--evcp-block-muted);
  font-size: var(--evcp-type-support);
  font-weight: 400;
  line-height: 1.5;
}

/* Editor controls */
.evcp-editorial-item-editor {
  width: 100%;
}

.evcp-editorial-item-row {
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid var(--evcp-block-line);
  border-radius: 2px;
  background: var(--evcp-block-surface);
}

.editor-styles-wrapper .evcp-editorial-resource-grid .evcp-editorial-item-editor,
.editor-styles-wrapper .evcp-editorial-related-links .evcp-editorial-item-editor {
  grid-column: 1 / -1;
}

.editor-styles-wrapper .evcp-editorial-pro-con-column .components-base-control {
  margin-bottom: 7px;
}

.editor-styles-wrapper .evcp-editorial-entity-link,
.editor-styles-wrapper .evcp-editorial-download-link {
  pointer-events: auto;
}

/* Override legacy theme callout declarations without using !important. */
body .evcp-article-body .evcp-callout,
body .editor-styles-wrapper .evcp-callout {
  min-height: 62px;
  margin: 12px 0;
  padding: 13px 18px 12px 62px;
  border: 1px solid var(--evcp-block-line);
  border-left: 3px solid var(--evcp-block-cyan);
  border-radius: 2px;
  background: var(--evcp-block-surface);
}

body .evcp-article-body .evcp-callout :where(h2, h3, h4),
body .editor-styles-wrapper .evcp-callout :where(h2, h3, h4) {
  margin: 0 0 4px;
  font-size: var(--evcp-type-label);
  line-height: 1.2;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body .evcp-article-body .evcp-callout p,
body .evcp-article-body .evcp-callout li,
body .editor-styles-wrapper .evcp-callout p,
body .editor-styles-wrapper .evcp-callout li {
  font-size: var(--evcp-type-support);
  font-weight: var(--evcp-weight-body);
  line-height: 1.45;
}

body .evcp-article-body .evcp-editorial-heading-block h2,
body .evcp-article-body .evcp-editorial-section h2,
body .editor-styles-wrapper .evcp-editorial-heading-block h2,
body .editor-styles-wrapper .evcp-editorial-section h2 {
  font-size: var(--evcp-type-section);
  font-weight: var(--evcp-weight-heading);
  line-height: 1.2;
}

body .evcp-article-body .evcp-editorial-heading-block h3,
body .evcp-article-body .evcp-editorial-section h3,
body .editor-styles-wrapper .evcp-editorial-heading-block h3,
body .editor-styles-wrapper .evcp-editorial-section h3 {
  font-size: var(--evcp-type-subsection);
  font-weight: var(--evcp-weight-heading);
  line-height: 1.25;
}

body .evcp-article-body .evcp-editorial-section p,
body .editor-styles-wrapper .evcp-editorial-section p {
  margin: 0 0 10px;
  font-size: var(--evcp-type-body);
  font-weight: var(--evcp-weight-body);
  line-height: 1.62;
}

body .evcp-article-body .evcp-editorial-introduction p,
body .editor-styles-wrapper .evcp-editorial-introduction p {
  margin: 0 0 8px;
  font-size: var(--evcp-type-body);
  font-weight: var(--evcp-weight-body);
  line-height: 1.55;
}

body .evcp-article-body .evcp-editorial-introduction .is-style-evcp-lead,
body .editor-styles-wrapper .evcp-editorial-introduction .is-style-evcp-lead {
  font-size: var(--evcp-type-lead);
  font-weight: var(--evcp-weight-support);
  line-height: 1.5;
}

body .evcp-article-body .evcp-callout.evcp-callout-warning,
body .editor-styles-wrapper .evcp-callout.evcp-callout-warning {
  border-left-color: var(--evcp-block-amber);
}

body .evcp-article-body .wp-block-evcp-warning.evcp-callout-warning,
body .editor-styles-wrapper .wp-block-evcp-warning.evcp-callout-warning,
body .evcp-article-body .evcp-callout.evcp-callout-danger,
body .editor-styles-wrapper .evcp-callout.evcp-callout-danger {
  border-left-color: var(--evcp-block-red);
}

body .evcp-article-body .evcp-callout.evcp-callout-success,
body .editor-styles-wrapper .evcp-callout.evcp-callout-success {
  border-left-color: var(--evcp-block-green);
}

body .evcp-article-body .evcp-callout.evcp-editorial-data-disclaimer,
body .editor-styles-wrapper .evcp-callout.evcp-editorial-data-disclaimer {
  border-left-color: #7a858d;
}

@media (max-width: 720px) {
  :where(
    ul.evcp-editorial-checklist,
    ul.evcp-editorial-cross-list,
    ul.evcp-editorial-key-points,
    ol.evcp-editorial-steps
  ) {
    grid-template-columns: 1fr;
  }

  .evcp-editorial-pros-cons,
  .evcp-editorial-resource-grid {
    grid-template-columns: 1fr;
  }

  .evcp-editorial-pro-con-column + .evcp-editorial-pro-con-column {
    border-top: 1px solid var(--evcp-block-line);
    border-left: 0;
  }

  .evcp-editorial-carousel-slide {
    min-height: 280px;
  }

  .evcp-editorial-lightbox {
    padding: 56px 48px;
  }

  .evcp-editorial-list-row {
    grid-template-columns: 22px minmax(0, 1fr);
  }

  .evcp-editorial-list-row > .components-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 460px) {
  .evcp-editorial-heading-block h2,
  .evcp-editorial-section h2 {
    font-size: 24px;
  }

  .evcp-editorial-heading-block h3,
  .evcp-editorial-section h3 {
    font-size: 20px;
  }

  .evcp-editorial-lead {
    font-size: 17px;
  }

  .evcp-editorial-pullquote {
    padding-left: 54px;
  }

  .evcp-editorial-pullquote::before {
    font-size: 58px;
  }

  .evcp-editorial-pullquote blockquote {
    font-size: 18px;
  }

  .evcp-editorial-carousel-slide {
    min-height: 220px;
  }

  .evcp-editorial-lightbox {
    padding: 56px 12px;
  }

  .evcp-editorial-lightbox-prev {
    left: 8px;
  }

  .evcp-editorial-lightbox-next {
    right: 8px;
  }
}
