/**
 * Optional native Editorial Builder patterns.
 *
 * Front-end selectors require a singular post body and editor selectors require
 * the block-editor canvas. Every visible rule then requires the D19 marker class.
 */

.editor-styles-wrapper .ct-editorial-introduction {
  box-sizing: border-box;
  margin-block: 0;
  margin-inline: auto;
  max-width: 53rem;
}

.editor-styles-wrapper .ct-editorial-introduction > :first-child {
  margin-top: 0;
}

.editor-styles-wrapper .ct-editorial-introduction > :last-child {
  margin-bottom: 0;
}

.single-post #post-body .ct-editorial-pattern,
.editor-styles-wrapper .ct-editorial-pattern {
  --ct-pattern-burgundy: #6f1d2d;
  --ct-pattern-burgundy-dark: #421018;
  --ct-pattern-paper: #f8f5ef;
  --ct-pattern-paper-deep: #f1ebe1;
  --ct-pattern-ink: #24211f;
  --ct-pattern-muted: #6d6862;
  --ct-pattern-gold: #ad8b5a;
  --ct-pattern-rule: rgba(66, 16, 24, 0.16);
  --ct-pattern-serif: Georgia, "Times New Roman", Times, serif;
  box-sizing: border-box;
  color: var(--ct-pattern-ink);
  font-family: var(--ct-pattern-serif);
  margin-block: clamp(2.75rem, 7vw, 5.5rem);
  max-width: 100%;
}

.single-post #post-body .ct-editorial-pattern *,
.single-post #post-body .ct-editorial-pattern *::before,
.single-post #post-body .ct-editorial-pattern *::after,
.editor-styles-wrapper .ct-editorial-pattern *,
.editor-styles-wrapper .ct-editorial-pattern *::before,
.editor-styles-wrapper .ct-editorial-pattern *::after {
  box-sizing: border-box;
}

.single-post #post-body .ct-editorial-pattern.wp-block-group,
.single-post #post-body .ct-editorial-pattern .wp-block-group,
.editor-styles-wrapper .ct-editorial-pattern.wp-block-group,
.editor-styles-wrapper .ct-editorial-pattern .wp-block-group {
  margin-left: 0;
  margin-right: 0;
}

.single-post #post-body .ct-editorial-pattern .wp-block-group__inner-container p,
.editor-styles-wrapper .ct-editorial-pattern .wp-block-group__inner-container p {
  margin-left: 0;
  margin-right: 0;
  padding: 0;
}

.single-post #post-body .ct-editorial-pattern p,
.editor-styles-wrapper .ct-editorial-pattern p {
  margin-bottom: 1.2em;
}

.single-post #post-body .ct-editorial-pattern__section-heading,
.editor-styles-wrapper .ct-editorial-pattern__section-heading {
  font-family: var(--ct-pattern-serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.single-post #post-body .ct-editorial-pattern__section-heading:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern__section-heading:not(.has-text-color):not([style*="color"]) {
  color: var(--ct-pattern-burgundy-dark) !important;
}

.single-post #post-body .ct-editorial-pattern.has-text-color .ct-editorial-pattern__section-heading:not(.has-text-color):not([style*="color"]),
.single-post #post-body .ct-editorial-pattern .has-text-color .ct-editorial-pattern__section-heading:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern.has-text-color .ct-editorial-pattern__section-heading:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern .has-text-color .ct-editorial-pattern__section-heading:not(.has-text-color):not([style*="color"]) {
  color: inherit !important;
}

/* Restore the standard Gutenberg presets over the legacy heading declaration. */
.single-post #post-body .ct-editorial-pattern .has-black-color,
.editor-styles-wrapper .ct-editorial-pattern .has-black-color {
  color: var(--wp--preset--color--black, #000) !important;
}

.single-post #post-body .ct-editorial-pattern .has-cyan-bluish-gray-color,
.editor-styles-wrapper .ct-editorial-pattern .has-cyan-bluish-gray-color {
  color: var(--wp--preset--color--cyan-bluish-gray, #abb8c3) !important;
}

.single-post #post-body .ct-editorial-pattern .has-white-color,
.editor-styles-wrapper .ct-editorial-pattern .has-white-color {
  color: var(--wp--preset--color--white, #fff) !important;
}

.single-post #post-body .ct-editorial-pattern .has-pale-pink-color,
.editor-styles-wrapper .ct-editorial-pattern .has-pale-pink-color {
  color: var(--wp--preset--color--pale-pink, #f78da7) !important;
}

.single-post #post-body .ct-editorial-pattern .has-vivid-red-color,
.editor-styles-wrapper .ct-editorial-pattern .has-vivid-red-color {
  color: var(--wp--preset--color--vivid-red, #cf2e2e) !important;
}

.single-post #post-body .ct-editorial-pattern .has-luminous-vivid-orange-color,
.editor-styles-wrapper .ct-editorial-pattern .has-luminous-vivid-orange-color {
  color: var(--wp--preset--color--luminous-vivid-orange, #ff6900) !important;
}

.single-post #post-body .ct-editorial-pattern .has-luminous-vivid-amber-color,
.editor-styles-wrapper .ct-editorial-pattern .has-luminous-vivid-amber-color {
  color: var(--wp--preset--color--luminous-vivid-amber, #fcb900) !important;
}

.single-post #post-body .ct-editorial-pattern .has-light-green-cyan-color,
.editor-styles-wrapper .ct-editorial-pattern .has-light-green-cyan-color {
  color: var(--wp--preset--color--light-green-cyan, #7bdcb5) !important;
}

.single-post #post-body .ct-editorial-pattern .has-vivid-green-cyan-color,
.editor-styles-wrapper .ct-editorial-pattern .has-vivid-green-cyan-color {
  color: var(--wp--preset--color--vivid-green-cyan, #00d084) !important;
}

.single-post #post-body .ct-editorial-pattern .has-pale-cyan-blue-color,
.editor-styles-wrapper .ct-editorial-pattern .has-pale-cyan-blue-color {
  color: var(--wp--preset--color--pale-cyan-blue, #8ed1fc) !important;
}

.single-post #post-body .ct-editorial-pattern .has-vivid-cyan-blue-color,
.editor-styles-wrapper .ct-editorial-pattern .has-vivid-cyan-blue-color {
  color: var(--wp--preset--color--vivid-cyan-blue, #0693e3) !important;
}

.single-post #post-body .ct-editorial-pattern .has-vivid-purple-color,
.editor-styles-wrapper .ct-editorial-pattern .has-vivid-purple-color {
  color: var(--wp--preset--color--vivid-purple, #9b51e0) !important;
}

.single-post #post-body .ct-editorial-pattern__intro:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern__intro:not(.has-text-color):not([style*="color"]) {
  color: var(--ct-pattern-muted) !important;
  font-family: var(--ct-pattern-serif);
  font-size: 1.08em;
  line-height: 1.65;
  margin: 0;
  max-width: 46rem;
}

.single-post #post-body .ct-editorial-pattern__eyebrow:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern__eyebrow:not(.has-text-color):not([style*="color"]) {
  color: var(--ct-pattern-burgundy) !important;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.4;
  margin: 0 0 0.7rem;
  text-transform: uppercase;
}

/* Image-led guide for understanding the information on a front label. */
.single-post #post-body .ct-editorial-front-label,
.editor-styles-wrapper .ct-editorial-front-label {
  background: var(--ct-pattern-paper);
  border: 1px solid var(--ct-pattern-rule);
  border-top: 0.25rem solid var(--ct-pattern-burgundy);
  border-radius: 1rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.single-post #post-body .ct-editorial-front-label > .wp-block-group__inner-container,
.editor-styles-wrapper .ct-editorial-front-label {
  margin-inline: auto;
  max-width: 58rem;
}

.single-post #post-body .ct-editorial-front-label .ct-editorial-pattern__section-heading,
.editor-styles-wrapper .ct-editorial-front-label .ct-editorial-pattern__section-heading {
  margin-bottom: 0.65rem;
}

.single-post #post-body .ct-editorial-front-label__intro,
.editor-styles-wrapper .ct-editorial-front-label__intro {
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.single-post #post-body .ct-editorial-front-label__overview,
.editor-styles-wrapper .ct-editorial-front-label__overview {
  align-items: center !important;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
  margin-top: 0;
}

.single-post #post-body .ct-editorial-front-label__overview > .wp-block-column:first-child,
.editor-styles-wrapper .ct-editorial-front-label__overview > .wp-block-column:first-child {
  flex-basis: 40%;
}

.single-post #post-body .ct-editorial-front-label__overview > .wp-block-column:last-child,
.editor-styles-wrapper .ct-editorial-front-label__overview > .wp-block-column:last-child {
  flex-basis: 60%;
}

.single-post #post-body .ct-editorial-front-label__overview figure,
.editor-styles-wrapper .ct-editorial-front-label__overview figure {
  margin: 0;
  width: 100%;
}

.single-post #post-body .ct-editorial-front-label__overview figure img,
.editor-styles-wrapper .ct-editorial-front-label__overview figure img {
  display: block;
  height: auto;
  width: 100%;
}

.single-post #post-body .ct-editorial-front-label__overview figcaption,
.editor-styles-wrapper .ct-editorial-front-label__overview figcaption {
  color: var(--ct-pattern-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  line-height: 1.45;
  margin-top: 0.65rem;
  text-align: left;
}

.single-post #post-body .ct-editorial-front-label__guide,
.editor-styles-wrapper .ct-editorial-front-label__guide {
  margin: 0;
}

.single-post #post-body .ct-editorial-front-label__guide-title,
.editor-styles-wrapper .ct-editorial-front-label__guide-title {
  color: var(--ct-pattern-burgundy-dark) !important;
  font-family: var(--ct-pattern-serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  line-height: 1.12;
  margin: 0 0 1rem;
}

.single-post #post-body .ct-editorial-front-label__guide ol,
.editor-styles-wrapper .ct-editorial-front-label__guide ol {
  counter-reset: ct-front-label-step;
  list-style: none;
  margin: 0;
  padding: 0;
}

.single-post #post-body .ct-editorial-front-label__guide li,
.editor-styles-wrapper .ct-editorial-front-label__guide li {
  border-top: 1px solid var(--ct-pattern-rule);
  counter-increment: ct-front-label-step;
  line-height: 1.55;
  margin: 0;
  min-height: 2.25rem;
  padding: 0.8rem 0 0.8rem 2.75rem;
  position: relative;
}

.single-post #post-body .ct-editorial-front-label__guide li::before,
.editor-styles-wrapper .ct-editorial-front-label__guide li::before {
  align-items: center;
  background: var(--ct-pattern-burgundy);
  border-radius: 50%;
  color: #fff;
  content: counter(ct-front-label-step);
  display: flex;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  height: 1.75rem;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 0.7rem;
  width: 1.75rem;
}

.single-post #post-body .ct-editorial-front-label__guide li strong,
.editor-styles-wrapper .ct-editorial-front-label__guide li strong {
  color: var(--ct-pattern-burgundy-dark);
}

.single-post #post-body .ct-editorial-front-label__details,
.editor-styles-wrapper .ct-editorial-front-label__details {
  border-top: 1px solid var(--ct-pattern-rule);
  margin: 0 auto;
  max-width: 48rem;
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

.single-post #post-body .ct-editorial-front-label__details > .wp-block-group__inner-container > :first-child,
.single-post #post-body .ct-editorial-front-label__details > :first-child,
.editor-styles-wrapper .ct-editorial-front-label__details > :first-child {
  margin-top: 0;
}

.single-post #post-body .ct-editorial-front-label__details > .wp-block-group__inner-container > :last-child,
.single-post #post-body .ct-editorial-front-label__details > :last-child,
.editor-styles-wrapper .ct-editorial-front-label__details > :last-child {
  margin-bottom: 0;
}

/* Warm paper prose section. */
.single-post #post-body .ct-editorial-pattern--paper,
.editor-styles-wrapper .ct-editorial-pattern--paper {
  background: var(--ct-pattern-paper);
  border: 1px solid var(--ct-pattern-rule);
  border-radius: 1rem;
  padding: clamp(1.5rem, 5vw, 3.5rem);
  padding-top: clamp(1.25rem, 3vw, 2rem);
}

.single-post #post-body .ct-editorial-pattern--paper .ct-editorial-pattern__reading,
.editor-styles-wrapper .ct-editorial-pattern--paper .ct-editorial-pattern__reading {
  margin-block: 0;
  margin-inline: auto;
  max-width: 48rem;
}

.single-post #post-body .ct-editorial-pattern--paper .ct-editorial-pattern__reading > h2:first-child,
.single-post #post-body .ct-editorial-pattern--paper .ct-editorial-pattern__reading > .wp-block-group__inner-container > h2:first-child,
.editor-styles-wrapper .ct-editorial-pattern--paper .ct-editorial-pattern__reading > h2:first-child {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  line-height: 1.12;
  margin: 0 0 0.5rem;
  text-wrap: normal;
}

.single-post #post-body .ct-editorial-pattern--paper .ct-editorial-pattern__reading > h2:first-child + figure,
.single-post #post-body .ct-editorial-pattern--paper .ct-editorial-pattern__reading > .wp-block-group__inner-container > h2:first-child + figure,
.editor-styles-wrapper .ct-editorial-pattern--paper .ct-editorial-pattern__reading > h2:first-child + figure {
  margin-bottom: 1.25rem;
  margin-top: 1.25rem;
  padding-top: 0;
}

.single-post #post-body .ct-editorial-pattern--paper .ct-editorial-pattern__reading > figure + p,
.single-post #post-body .ct-editorial-pattern--paper .ct-editorial-pattern__reading > .wp-block-group__inner-container > figure + p,
.editor-styles-wrapper .ct-editorial-pattern--paper .ct-editorial-pattern__reading > figure + p {
  margin-top: 0;
}

.single-post #post-body .ct-editorial-pattern--paper .ct-editorial-pattern__reading > :last-child,
.editor-styles-wrapper .ct-editorial-pattern--paper .ct-editorial-pattern__reading > :last-child {
  margin-bottom: 0;
}

/* Three intentionally non-clickable information cards. */
.single-post #post-body .ct-editorial-pattern--information-cards .ct-editorial-pattern__cards,
.editor-styles-wrapper .ct-editorial-pattern--information-cards .ct-editorial-pattern__cards {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}

.single-post #post-body .ct-editorial-pattern--information-cards .wp-block-column,
.editor-styles-wrapper .ct-editorial-pattern--information-cards .wp-block-column {
  display: flex;
  min-width: 0;
}

.single-post #post-body .ct-editorial-pattern__information-card,
.editor-styles-wrapper .ct-editorial-pattern__information-card {
  background: #fff;
  border: 1px solid var(--ct-pattern-rule);
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: clamp(1.25rem, 3vw, 2rem);
  width: 100%;
}

.single-post #post-body .ct-editorial-pattern__card-heading,
.editor-styles-wrapper .ct-editorial-pattern__card-heading {
  font-family: var(--ct-pattern-serif);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.18;
  margin: 0 0 0.75rem;
}

.single-post #post-body .ct-editorial-pattern__card-heading:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern__card-heading:not(.has-text-color):not([style*="color"]) {
  color: var(--ct-pattern-burgundy-dark) !important;
}

.single-post #post-body .ct-editorial-pattern__information-card > :last-child,
.editor-styles-wrapper .ct-editorial-pattern__information-card > :last-child {
  margin-bottom: 0;
}

/* Regional overview: controlled image-led features and a restrained link grid. */
.single-post #post-body .ct-editorial-pattern--regional-overview,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview {
  margin-bottom: clamp(3rem, 7vw, 5.5rem);
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features {
  align-items: stretch;
  display: grid;
  gap: clamp(1rem, 2vw, 1.5rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features.cteb-card-count-1,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features.cteb-card-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features.cteb-card-count-3,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features.cteb-card-count-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features > .wp-block-column,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features > .wp-block-column {
  display: flex;
  min-width: 0;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature {
  background: #fff;
  border: 1px solid var(--ct-pattern-rule);
  border-radius: 0.5rem;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-height: 100%;
  overflow: hidden;
  width: 100%;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature > .wp-block-group__inner-container {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__media,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__media {
  aspect-ratio: 2.2 / 1;
  border-radius: 0;
  margin: 0;
  overflow: hidden;
  width: 100%;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__media img,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__media img {
  border: 0 !important;
  border-radius: 0;
  box-shadow: none;
  display: block;
  height: 100% !important;
  max-width: none;
  object-fit: cover;
  width: 100%;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__body,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__body > .wp-block-group__inner-container,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__body,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__body {
  padding: clamp(1rem, 2vw, 1.5rem);
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__title,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__title {
  color: var(--ct-pattern-burgundy-dark) !important;
  font-family: var(--ct-pattern-serif);
  font-size: clamp(1.5rem, 2.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.12;
  margin: 0 0 0.5rem;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__description,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__description {
  color: var(--ct-pattern-muted) !important;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 0.9rem;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__action,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__action,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__action,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__action {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin: auto 0 0;
  text-transform: uppercase;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__action a,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__action a,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__action a,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__action a {
  color: var(--ct-pattern-burgundy) !important;
  text-decoration: none;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__action a:hover,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__action a:focus-visible,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__action a:hover,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__action a:focus-visible,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__action a:hover,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature__action a:focus-visible,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__action a:hover,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__action a:focus-visible {
  color: var(--ct-pattern-burgundy-dark) !important;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links {
  align-items: stretch;
  background: rgba(111, 29, 45, 0.045);
  border-bottom: 1px solid var(--ct-pattern-rule);
  border-top: 1px solid var(--ct-pattern-rule);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0;
  margin: clamp(1.5rem, 3vw, 2.25rem) 0 0;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-1,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-1 {
  grid-template-columns: minmax(0, 1fr);
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-2,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-3,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-3,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links > .wp-block-group__inner-container {
  display: contents;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  margin: 0;
  min-width: 0;
  padding: clamp(1.25rem, 2.5vw, 1.75rem) clamp(1rem, 2vw, 1.5rem);
  transition: background-color 160ms ease;
  width: 100%;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link + .ct-editorial-regional-link,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link + .ct-editorial-regional-link {
  border-left: 1px solid var(--ct-pattern-rule);
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5 .ct-editorial-regional-link:nth-child(3n + 1),
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 .ct-editorial-regional-link:nth-child(3n + 1),
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5 .ct-editorial-regional-link:nth-child(3n + 1),
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 .ct-editorial-regional-link:nth-child(3n + 1) {
  border-left: 0;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5 .ct-editorial-regional-link:nth-child(n + 4),
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 .ct-editorial-regional-link:nth-child(n + 4),
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5 .ct-editorial-regional-link:nth-child(n + 4),
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 .ct-editorial-regional-link:nth-child(n + 4) {
  border-top: 1px solid var(--ct-pattern-rule);
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:hover,
.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:focus-within,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:hover,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:focus-within {
  background: rgba(111, 29, 45, 0.055);
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__title,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__title {
  color: var(--ct-pattern-burgundy-dark) !important;
  font-family: var(--ct-pattern-serif);
  font-size: clamp(1.3rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
}

.single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__description,
.editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link__description {
  color: var(--ct-pattern-muted) !important;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0.5rem 0 0.8rem;
}

/* Dark explanatory section; intentional custom heading colours still win. */
.single-post #post-body .ct-editorial-pattern--clarification,
.editor-styles-wrapper .ct-editorial-pattern--clarification {
  background: var(--ct-pattern-burgundy-dark);
  border-radius: 1rem;
  color: #fff;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.single-post #post-body .ct-editorial-pattern--clarification .ct-editorial-pattern__clarification-inner,
.editor-styles-wrapper .ct-editorial-pattern--clarification .ct-editorial-pattern__clarification-inner {
  margin-inline: auto;
  max-width: 48rem;
}

.single-post #post-body .ct-editorial-pattern--clarification .ct-editorial-pattern__eyebrow:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern--clarification .ct-editorial-pattern__eyebrow:not(.has-text-color):not([style*="color"]) {
  color: #d9bd91 !important;
}

.single-post #post-body .ct-editorial-pattern--clarification .ct-editorial-pattern__eyebrow + h2,
.single-post #post-body .ct-editorial-pattern--clarification .ct-editorial-pattern__eyebrow + .wp-block-group__inner-container > h2:first-child,
.editor-styles-wrapper .ct-editorial-pattern--clarification .ct-editorial-pattern__eyebrow + h2 {
  margin-top: 0.75rem;
}

.single-post #post-body .ct-editorial-pattern--clarification h2:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern--clarification h2:not(.has-text-color):not([style*="color"]),
.single-post #post-body .ct-editorial-pattern--clarification .ct-editorial-pattern__section-heading:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern--clarification .ct-editorial-pattern__section-heading:not(.has-text-color):not([style*="color"]) {
  color: #fff !important;
}

.single-post #post-body .ct-editorial-pattern--clarification p:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern--clarification p:not(.has-text-color):not([style*="color"]) {
  color: inherit !important;
}

.single-post #post-body .ct-editorial-pattern--clarification .ct-editorial-pattern__clarification-inner > :last-child,
.single-post #post-body .ct-editorial-pattern--clarification .ct-editorial-pattern__clarification-inner > .wp-block-group__inner-container > :last-child,
.editor-styles-wrapper .ct-editorial-pattern--clarification .ct-editorial-pattern__clarification-inner > :last-child,
.editor-styles-wrapper .ct-editorial-pattern--clarification .ct-editorial-pattern__clarification-inner > .wp-block-group__inner-container > :last-child {
  margin-bottom: 0;
}

.single-post #post-body .ct-editorial-pattern--clarification a,
.editor-styles-wrapper .ct-editorial-pattern--clarification a {
  color: #fff !important;
  text-decoration-color: rgba(255, 255, 255, 0.72);
}

.single-post #post-body .ct-editorial-pattern--clarification a:hover,
.single-post #post-body .ct-editorial-pattern--clarification a:focus-visible,
.editor-styles-wrapper .ct-editorial-pattern--clarification a:hover,
.editor-styles-wrapper .ct-editorial-pattern--clarification a:focus-visible {
  color: #f1d7ad;
  text-decoration-color: currentColor;
}

.single-post #post-body .ct-editorial-pattern--clarification a:focus-visible,
.editor-styles-wrapper .ct-editorial-pattern--clarification a:focus-visible {
  outline: 3px solid #d9bd91;
  outline-offset: 3px;
}

/* Pull quote based on the editable core Pullquote block. */
.single-post #post-body .ct-editorial-pattern--pull-quote,
.editor-styles-wrapper .ct-editorial-pattern--pull-quote {
  border-bottom: 1px solid var(--ct-pattern-rule);
  border-top: 1px solid var(--ct-pattern-rule);
  color: var(--ct-pattern-burgundy-dark);
  padding: clamp(1.75rem, 5vw, 3rem) 0;
  text-align: left;
}

.single-post #post-body .ct-editorial-pattern--pull-quote blockquote,
.editor-styles-wrapper .ct-editorial-pattern--pull-quote blockquote {
  border: 0;
  margin: 0;
  padding: 0;
}

.single-post #post-body .ct-editorial-pattern--pull-quote p,
.editor-styles-wrapper .ct-editorial-pattern--pull-quote p {
  font-family: var(--ct-pattern-serif);
  font-size: clamp(1.45rem, 3.5vw, 2.25rem);
  line-height: 1.35;
  margin-bottom: 1rem;
}

.single-post #post-body .ct-editorial-pattern--pull-quote p:not(.has-text-color):not([style*="color"]),
.editor-styles-wrapper .ct-editorial-pattern--pull-quote p:not(.has-text-color):not([style*="color"]) {
  color: inherit !important;
}

.single-post #post-body .ct-editorial-pattern--pull-quote cite,
.editor-styles-wrapper .ct-editorial-pattern--pull-quote cite {
  color: var(--ct-pattern-muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Comparison table: fluid by default, with any intrinsic overflow contained. */
.single-post #post-body .ct-editorial-pattern--comparison-table,
.single-post #post-body .ct-editorial-pattern--comparison-table > .wp-block-group__inner-container,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table > .wp-block-group__inner-container {
  align-items: stretch;
  min-width: 0;
  width: 100%;
}

.single-post #post-body .ct-editorial-pattern--comparison-table .wp-block-table,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table .wp-block-table {
  align-self: stretch;
  border: 1px solid var(--ct-pattern-rule);
  border-radius: 0.75rem;
  margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
  max-width: 100%;
  min-width: 0;
  overscroll-behavior-inline: contain;
  overflow-x: auto;
  width: 100%;
  -webkit-overflow-scrolling: touch;
}

.single-post #post-body .ct-editorial-pattern--comparison-table table,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table table {
  border-collapse: collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.95rem;
  margin: 0;
  min-width: 100%;
  width: 100%;
}

.single-post #post-body .ct-editorial-pattern--comparison-table th,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table th {
  background: var(--ct-pattern-burgundy-dark);
  color: #fff;
  font-weight: 700;
  text-align: left;
}

.single-post #post-body .ct-editorial-pattern--comparison-table th a,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table th a {
  color: #fff !important;
  text-decoration-color: rgba(255, 255, 255, 0.72);
}

.single-post #post-body .ct-editorial-pattern--comparison-table th a:hover,
.single-post #post-body .ct-editorial-pattern--comparison-table th a:focus-visible,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table th a:hover,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table th a:focus-visible {
  color: #fff !important;
  text-decoration-color: currentColor;
}

.single-post #post-body .ct-editorial-pattern--comparison-table th a:focus-visible,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table th a:focus-visible,
.single-post #post-body .ct-editorial-pattern--comparison-table .wp-block-table:focus-visible,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table .wp-block-table:focus-visible {
  outline: 3px solid var(--ct-pattern-gold);
  outline-offset: 3px;
}

.single-post #post-body .ct-editorial-pattern--comparison-table td,
.single-post #post-body .ct-editorial-pattern--comparison-table th,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table td,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table th {
  border: 1px solid var(--ct-pattern-rule);
  overflow-wrap: normal;
  padding: 0.85rem 1rem;
  vertical-align: top;
  word-break: normal;
}

.single-post #post-body .ct-editorial-pattern--comparison-table tbody tr:nth-child(even),
.editor-styles-wrapper .ct-editorial-pattern--comparison-table tbody tr:nth-child(even) {
  background: var(--ct-pattern-paper);
}

.single-post #post-body .ct-editorial-pattern--comparison-table figcaption,
.editor-styles-wrapper .ct-editorial-pattern--comparison-table figcaption {
  -webkit-line-clamp: unset;
  background: transparent;
  color: var(--ct-pattern-muted);
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.5;
  margin: 0;
  overflow: visible;
  padding: 0.75rem 1rem;
  position: static;
  text-align: left;
}

@media (max-width: 900px) {
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features.cteb-card-count-3,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features.cteb-card-count-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-1,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-1 {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-3,
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5,
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-3,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link + .ct-editorial-regional-link,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link + .ct-editorial-regional-link {
    border-left: 0;
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:nth-child(even),
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:nth-child(even) {
    border-left: 1px solid var(--ct-pattern-rule);
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5 .ct-editorial-regional-link:nth-child(even),
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 .ct-editorial-regional-link:nth-child(even),
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5 .ct-editorial-regional-link:nth-child(even),
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 .ct-editorial-regional-link:nth-child(even) {
    border-left: 1px solid var(--ct-pattern-rule);
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:nth-child(n + 3),
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:nth-child(n + 3) {
    border-top: 1px solid var(--ct-pattern-rule);
  }
}

@media (max-width: 781px) {
  .single-post #post-body .ct-editorial-front-label__overview,
  .editor-styles-wrapper .ct-editorial-front-label__overview {
    gap: 1.5rem;
  }

  .single-post #post-body .ct-editorial-front-label__overview figure,
  .editor-styles-wrapper .ct-editorial-front-label__overview figure {
    margin-inline: auto;
    max-width: 28rem;
  }

  .single-post #post-body .ct-editorial-pattern--information-cards .ct-editorial-pattern__cards,
  .editor-styles-wrapper .ct-editorial-pattern--information-cards .ct-editorial-pattern__cards {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features {
    gap: 1rem;
    grid-template-columns: minmax(0, 1fr);
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features.cteb-card-count-3,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-overview__features.cteb-card-count-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-2,
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-3,
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5,
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-2,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-3,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5,
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 {
    grid-template-columns: minmax(0, 1fr);
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:nth-child(even),
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:nth-child(even) {
    border-left: 0;
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5 .ct-editorial-regional-link:nth-child(even),
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 .ct-editorial-regional-link:nth-child(even),
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-5 .ct-editorial-regional-link:nth-child(even),
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-links.cteb-card-count-6 .ct-editorial-regional-link:nth-child(even) {
    border-left: 0;
  }

  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:nth-child(n + 2),
  .editor-styles-wrapper .ct-editorial-pattern--regional-overview .ct-editorial-regional-link:nth-child(n + 2) {
    border-top: 1px solid var(--ct-pattern-rule);
  }
}

@media (max-width: 399.98px) {
  .single-post #post-body .ct-editorial-pattern--paper,
  .single-post #post-body .ct-editorial-pattern--clarification,
  .single-post #post-body .ct-editorial-front-label,
  .editor-styles-wrapper .ct-editorial-pattern--paper,
  .editor-styles-wrapper .ct-editorial-pattern--clarification,
  .editor-styles-wrapper .ct-editorial-front-label {
    border-radius: 0.75rem;
  }

  .single-post #post-body .ct-editorial-pattern--paper,
  .single-post #post-body .ct-editorial-pattern--clarification,
  .single-post #post-body .ct-editorial-front-label,
  .editor-styles-wrapper .ct-editorial-pattern--paper,
  .editor-styles-wrapper .ct-editorial-pattern--clarification,
  .editor-styles-wrapper .ct-editorial-front-label {
    padding: 1.25rem;
  }

  .single-post #post-body .ct-editorial-pattern--comparison-table td,
  .single-post #post-body .ct-editorial-pattern--comparison-table th,
  .editor-styles-wrapper .ct-editorial-pattern--comparison-table td,
  .editor-styles-wrapper .ct-editorial-pattern--comparison-table th {
    font-size: 0.84rem;
    padding: 0.65rem 0.5rem;
  }
}

@media print {
  .single-post #post-body .ct-editorial-pattern--paper,
  .single-post #post-body .ct-editorial-front-label,
  .single-post #post-body .ct-editorial-pattern--information-cards .ct-editorial-pattern__information-card,
  .single-post #post-body .ct-editorial-pattern--clarification,
  .single-post #post-body .ct-editorial-pattern--regional-overview .ct-editorial-regional-feature {
    background: transparent;
    border-color: #777;
    box-shadow: none;
    color: #000;
  }
}
