@charset "UTF-8";
/**
 * Editor content styles for the C4L Author plugin.
 *
 * @package     tiny_c4lauthor
 * @copyright   2026 Roger Segú <rogersegu@gmail.com>
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
/* stylelint-disable */
:root,
[data-bs-theme=light] {
  /* Surfaces */
  --c4l-surface: #fff;
  --c4l-border: transparent;
  --c4l-rule: #cbd1e1; /* visible lines: tab and table borders */
  --c4l-rule-soft: #e2e7f1; /* fainter lines: the carousel's slide count */
  --c4l-text-strong: #454952; /* text that must not take a link's colour */
  --c4l-text: inherit;
  --c4l-text-muted: #686d79;
  --c4l-on-accent: #fff; /* text on --c4l-solid-* fills */
  /* Tints */
  --c4l-tint-blue: #f1f5fe;
  --c4l-tint-blue-alt: #f2f5fd;
  --c4l-tint-blue-deep: #e8efff;
  --c4l-tint-magenta: #fbeffa;
  --c4l-tint-cyan: #eff8fd;
  --c4l-tint-orange: #fef6ed;
  --c4l-tint-green: #f1fbf5;
  --c4l-tint-green-alt: #edf7f0;
  --c4l-tint-red: #ffefef;
  --c4l-tint-red-alt: #fff2f2;
  --c4l-tint-amber: #fff8e7;
  /* Accents — bars, rules, markers */
  --c4l-accent-blue: #387af1;
  --c4l-accent-magenta: #b00ca9;
  --c4l-accent-cyan: #16b9ff;
  --c4l-accent-orange: #f88923;
  --c4l-accent-blue-mid: #3171e3;
  --c4l-accent-blue-deep: #497ae9;
  --c4l-accent-green: #1cc460;
  --c4l-accent-red: #f85449;
  --c4l-accent-blue-shade: #213e81;
  /* Badge folds */
  --c4l-accent-magenta-shade: #71096c;
  --c4l-accent-cyan-shade: #007bb0;
  --c4l-accent-orange-shade: #ca6100;
  --c4l-accent-blue-mid-shade: #2b5cb5;
  /* Ink — text sitting on a tint */
  --c4l-ink-blue: #2167cf;
  --c4l-ink-indigo: #3a56af;
  --c4l-ink-magenta: #b00ca9;
  --c4l-ink-cyan: #0271bf;
  --c4l-ink-green: #127a1d;
  --c4l-ink-red: #df1801;
  --c4l-ink-amber: #b45400;
  /* Solid fills */
  --c4l-solid-blue: #3171e3;
  --c4l-solid-blue-deep: #497ae9;
  --c4l-tint-brand: var(--c4l-tint-blue);
  --c4l-accent-brand: var(--c4l-accent-blue);
  --c4l-solid-brand: var(--c4l-solid-blue);
  --c4l-ink-brand: var(--c4l-ink-blue);
  /* Picker toolbar icons */
  --c4l-ui-icon-contextual: #1679f9;
  --c4l-ui-icon-procedural: #d93562;
  --c4l-ui-icon-evaluative: #f5982b;
  --c4l-ui-icon-sequential: #b854f4;
  --c4l-ui-icon-helper: #3aaf2a;
  /* Variant strip */
  --c4l-ui-variant-bg: #ecf3ff;
  --c4l-ui-variant-sep: #fff;
  --c4l-ui-variant-edge: transparent;
  --c4l-ui-variant-on-bg: #1679f9;
  --c4l-ui-variant-hover-bg: #1679f9;
  --c4l-ui-variant-ink: #fff;
  /* Page surface and text greys */
  --c4l-ui-page: #f6f7f8;
  --c4l-ui-page-border: #dee2e6;
  --c4l-ui-text: #535d76;
  --c4l-ui-text-strong: #424b62;
  --c4l-ui-text-muted: #9297a1;
  /* Plugin UI — controls */
  /* Controls */
  --c4l-ui-surface: #fff;
  --c4l-ui-border: #dfe2e5;
  --c4l-ui-button-border: #e4e9ec;
  --c4l-ui-raised: #e7ebef;
  --c4l-ui-divider: #dce3f0;
  --c4l-ui-shadow: rgba(0, 0, 0, .10);
  --c4l-ui-focus: rgba(22, 121, 249, .3);
  --c4l-ui-tab-border: #535d76;
  --c4l-ui-tab-active-bg: #535d76;
  --c4l-ui-tab-active-ink: #fff;
  --c4l-ui-panel-border: #e1e5ee;
  --c4l-ui-link: #1779f9;
  --c4l-ui-accent: #1679f9;
  --c4l-figure-placeholder: url(/assets/c4l-pix/c4l_figure_placeholder.svg);
  /* Elevation */
  /* Elevation */
  --c4l-shadow-soft: rgba(0, 0, 0, .08);
  --c4l-shadow: rgba(0, 0, 0, .13);
  --c4l-shadow-xsoft: rgba(0, 0, 0, .07);
  --c4l-shadow-mid: rgba(0, 0, 0, .12);
  /* C4L Author only */
  --c4l-ui-overlay-bg: rgba(255, 255, 255, .82);
  --c4l-ui-overlay-ink: #222f3e;
  --c4l-ui-danger: #dc3545;
  --c4l-ui-variant-border: #c0d4f5;
  --c4l-ui-scrollbar: rgba(0, 0, 0, .2);
  --c4l-ui-tabs-shadow: 0 2px 2px -2px rgba(34, 47, 62, .1), 0 8px 8px -4px rgba(34, 47, 62, .07);
  --c4l-ui-ai-border: #d1ebdb;
  --c4l-ui-ai-selected: #dff2e6;
  --c4l-ui-ai-hover: #f7fdfa;
  --c4l-ui-ai-icon-border: #cfecda;
  --c4l-ui-ai-alert-bg: #dff2e6;
  --c4l-ui-ai-alert-border: #f0f7f2;
  --c4l-ui-ai-alert-ink: #3c6e47;
  --c4l-ui-ai-alert-btn-border: #b5d6c1;
  --c4l-ui-skeleton-mid: #f3f4f6;
}

[data-bs-theme=dark] {
  /* ACTIVE 1 — COMPONENTS */
  /* Surfaces */
  --c4l-surface: #181c20;
  --c4l-border: #2a3037;
  --c4l-rule: #3a414b;
  --c4l-rule-soft: #2f353d;
  --c4l-text-strong: #e6e9ec;
  --c4l-text: #e6e9ec;
  --c4l-text-muted: #8d959d;
  --c4l-on-accent: #0f1214;
  /* Tints */
  --c4l-tint-blue: var(--c4l-surface);
  --c4l-tint-blue-alt: var(--c4l-surface);
  --c4l-tint-blue-deep: var(--c4l-surface);
  --c4l-tint-magenta: var(--c4l-surface);
  --c4l-tint-cyan: var(--c4l-surface);
  --c4l-tint-orange: var(--c4l-surface);
  --c4l-tint-green: var(--c4l-surface);
  --c4l-tint-green-alt: var(--c4l-surface);
  --c4l-tint-red: var(--c4l-surface);
  --c4l-tint-red-alt: var(--c4l-surface);
  --c4l-tint-amber: var(--c4l-surface);
  /* Accents */
  --c4l-accent-blue: #81abf5;
  --c4l-accent-magenta: #da72d6;
  --c4l-accent-cyan: #76d6ff;
  --c4l-accent-orange: #ffa858;
  --c4l-accent-blue-mid: #81abf5;
  --c4l-accent-blue-deep: #81abf5;
  --c4l-accent-green: #8bf0b4;
  --c4l-accent-red: #ffa29b;
  --c4l-accent-magenta-shade: #7c577a;
  --c4l-accent-cyan-shade: #7397a6;
  --c4l-accent-orange-shade: #b56d2b;
  --c4l-accent-blue-mid-shade: #3a71d1;
  --c4l-accent-blue-shade: #3f66a8;
  /* Ink */
  --c4l-ink-blue: #81abf5;
  --c4l-ink-indigo: #81abf5;
  --c4l-ink-magenta: #da72d6;
  --c4l-ink-cyan: #76d6ff;
  --c4l-ink-green: #8bf0b4;
  --c4l-ink-red: #ffa29b;
  --c4l-ink-amber: #ffa858;
  /* Solid fills */
  --c4l-solid-blue: #81abf5;
  --c4l-solid-blue-deep: #81abf5;
  /* ACTIVE 2 — PICKER TOOLBAR ICONS */
  --c4l-ui-icon-contextual: #64a4f9;
  --c4l-ui-icon-procedural: #e46487;
  --c4l-ui-icon-evaluative: #faca92;
  --c4l-ui-icon-sequential: #e7c2ff;
  --c4l-ui-icon-helper: #ace8a4;
  --c4l-figure-placeholder: url(/assets/c4l-pix/c4l_figure_placeholder_dark.svg);
  /* Elevation */
  --c4l-shadow-soft: transparent;
  --c4l-shadow: transparent;
  --c4l-shadow-xsoft: transparent;
  /* ACTIVE 3 — PLUGIN UI */
  --c4l-ui-page: var(--bs-modal-bg);
  --c4l-ui-surface: var(--bs-gray-200);
  --c4l-ui-variant-bg: var(--bs-gray-100);
  --c4l-ui-text: var(--bs-secondary-color);
  --c4l-ui-text-strong: var(--bs-gray-700);
  --c4l-ui-raised: var(--bs-gray-100);
  --c4l-ui-text-muted: #8d959d;
  /* Borders */
  --c4l-ui-border: var(--bs-border-color);
  --c4l-ui-button-border: var(--bs-border-color);
  --c4l-ui-page-border: var(--bs-border-color);
  --c4l-ui-panel-border: var(--bs-border-color);
  --c4l-ui-divider: var(--bs-border-color);
  --c4l-ui-tab-border: var(--bs-border-color);
  --c4l-ui-variant-edge: var(--bs-border-color);
  --c4l-ui-variant-sep: var(--bs-border-color);
  /* Completed from tiny_c4l blocks A and B */
  --c4l-ui-accent: #81abf5;
  --c4l-ui-link: #81abf5;
  --c4l-ui-shadow: transparent;
  --c4l-ui-focus: rgba(129, 171, 245, .35);
  --c4l-ui-tab-active-bg: #c3cad1;
  --c4l-ui-tab-active-ink: #0f1214;
  --c4l-ui-variant-on-bg: #1679f9;
  --c4l-ui-variant-hover-bg: #2c3339;
  --c4l-ui-variant-ink: #fff;
  /* ACTIVE 4 — C4L AUTHOR ONLY */
  /* C4L Author only */
  --c4l-ui-overlay-bg: rgba(15, 18, 20, .82);
  --c4l-ui-overlay-ink: #c3cad1;
  --c4l-ui-danger: #ffa29b;
  --c4l-ui-variant-border: #35507d;
  --c4l-ui-scrollbar: rgba(255, 255, 255, .24);
  --c4l-ui-tabs-shadow: none;
  --c4l-ui-ai-border: #2f4738;
  --c4l-ui-ai-selected: #1d2a22;
  --c4l-ui-ai-hover: #1b241e;
  --c4l-ui-ai-icon-border: #2f4738;
  --c4l-ui-ai-alert-bg: #1d2a22;
  --c4l-ui-ai-alert-border: #2f4738;
  --c4l-ui-ai-alert-ink: #8bf0b4;
  --c4l-ui-ai-alert-btn-border: #3f6b50;
  --c4l-ui-skeleton-mid: #22282e;
  --c4l-shadow-mid: transparent;
}

:root,
[data-bs-theme=light],
[data-bs-theme=dark] {
  /* Contextual */
  --c4l-keyconcept-bg: var(--c4l-tint-blue);
  --c4l-keyconcept-accent: var(--c4l-accent-blue);
  --c4l-tip-bg: var(--c4l-tint-magenta);
  --c4l-tip-accent: var(--c4l-accent-magenta);
  --c4l-tip-fold: var(--c4l-accent-magenta-shade);
  --c4l-reminder-bg: var(--c4l-tint-cyan);
  --c4l-reminder-accent: var(--c4l-accent-cyan);
  --c4l-reminder-fold: var(--c4l-accent-cyan-shade);
  --c4l-quote-line: var(--c4l-accent-blue);
  --c4l-do-bg: var(--c4l-tint-green);
  --c4l-do-icon: var(--c4l-accent-green);
  --c4l-dont-bg: var(--c4l-tint-red);
  --c4l-dont-icon: var(--c4l-accent-red);
  --c4l-readingcontext-bg: var(--c4l-surface);
  --c4l-example-bg: var(--c4l-surface);
  --c4l-example-rule: var(--c4l-accent-blue-mid);
  --c4l-figure-caption: var(--c4l-text-muted);
  --c4l-tag-bg: var(--c4l-tint-blue);
  --c4l-tag-ink: var(--c4l-ink-blue);
  --c4l-inlinetag-bg: var(--c4l-solid-blue);
  --c4l-inlinetag-ink: var(--c4l-on-accent);
  --c4l-conceptreview-bg: var(--c4l-surface);
  --c4l-conceptreview-title: var(--c4l-ink-magenta);
  --c4l-conceptreview-icon: var(--c4l-accent-magenta);
  --c4l-conceptreview-fold: var(--c4l-accent-magenta-shade);
  --c4l-furtherreading-bg: var(--c4l-surface);
  --c4l-furtherreading-title: var(--c4l-ink-cyan);
  --c4l-furtherreading-icon: var(--c4l-accent-cyan);
  --c4l-furtherreading-fold: var(--c4l-accent-cyan-shade);
  --c4l-furtherreading-marker: var(--c4l-accent-cyan);
  /* Procedural */
  --c4l-attention-bg: var(--c4l-tint-orange);
  --c4l-attention-accent: var(--c4l-accent-orange);
  --c4l-attention-fold: var(--c4l-accent-orange-shade);
  --c4l-estimatedtime-bg: var(--c4l-tint-blue);
  --c4l-estimatedtime-ink: var(--c4l-ink-blue);
  --c4l-duedate-bg: var(--c4l-tint-blue);
  --c4l-duedate-ink: var(--c4l-ink-blue);
  --c4l-proceduralcontext-ink: var(--c4l-ink-indigo);
  --c4l-learningoutcomes-bg: var(--c4l-tint-blue-alt);
  --c4l-learningoutcomes-title-bg: var(--c4l-solid-blue-deep);
  --c4l-learningoutcomes-title-ink: var(--c4l-on-accent);
  --c4l-learningoutcomes-title-shade: var(--c4l-accent-blue-shade);
  --c4l-learningoutcomes-marker: var(--c4l-accent-blue-deep);
  /* Evaluative */
  --c4l-gradingvalue-bg: var(--c4l-tint-blue);
  --c4l-gradingvalue-ink: var(--c4l-ink-blue);
  --c4l-expectedfeedback-bg: var(--c4l-surface);
  --c4l-expectedfeedback-icon: var(--c4l-accent-blue);
  --c4l-expectedfeedback-fold: var(--c4l-accent-blue-mid-shade);
  --c4l-aiuseallowed-bg: var(--c4l-tint-green-alt);
  --c4l-aiuseallowed-ink: var(--c4l-ink-green);
  --c4l-aiusenotallowed-bg: var(--c4l-tint-red-alt);
  --c4l-aiusenotallowed-ink: var(--c4l-ink-red);
  --c4l-aiusereported-bg: var(--c4l-tint-amber);
  --c4l-aiusereported-ink: var(--c4l-ink-amber);
  /* Helper */
  --c4l-allpurposecard-bg: var(--c4l-tint-blue);
  --c4l-panellist-bg: var(--c4l-tint-brand);
  --c4l-panellist-marker: var(--c4l-solid-brand);
  --c4l-panellist-marker-ink: var(--c4l-on-accent);
  --c4l-timeline-rule: var(--c4l-accent-brand);
  --c4l-timeline-pill-bg: var(--c4l-tint-blue-deep);
  --c4l-timeline-marker: var(--c4l-solid-brand);
  --c4l-timeline-marker-dot: var(--c4l-on-accent);
  --c4l-timeline-year: var(--c4l-ink-brand);
  --c4l-combo-bg: var(--c4l-tint-brand);
  --c4l-combo-title: var(--c4l-ink-brand);
  --c4l-combo-bullet: var(--c4l-solid-brand);
  --c4l-combo-lead: var(--c4l-text-muted);
  --c4l-styledlist-bullet: var(--c4l-solid-brand);
  --c4l-linkblock-bg: var(--c4l-surface);
  --c4l-linkblock-stripe: var(--c4l-tint-brand);
  --c4l-linkblock-icon: var(--c4l-ink-brand);
  --c4l-linkblock-name: var(--c4l-text-strong);
  --c4l-linkblock-url: var(--c4l-ink-brand);
  --c4l-tabs-rule: var(--c4l-rule);
  --c4l-tabs-tab-bg: var(--c4l-tint-brand);
  --c4l-tabs-tab-ink: var(--c4l-ink-brand);
  --c4l-tabs-panel-bg: var(--c4l-surface);
  --c4l-carousel-slide-bg: var(--c4l-tint-brand);
  --c4l-carousel-control: var(--c4l-text-muted);
  --c4l-carousel-count-border: var(--c4l-rule-soft);
  --c4l-collapsible-trigger: var(--c4l-ink-brand);
  --c4l-collapsible-bg: var(--c4l-tint-brand);
  --c4l-table-head-bg: var(--c4l-solid-brand);
  --c4l-table-head-ink: var(--c4l-on-accent);
  --c4l-table-row-head-bg: var(--c4l-tint-brand);
  --c4l-table-rule: var(--c4l-rule);
  --c4l-statement-bg: var(--c4l-surface);
  --c4l-assessment-bg: var(--c4l-surface);
  --c4l-assessment-frame-bg: var(--c4l-tint-blue);
}

/* C4L MIXINS */
/* The collapsible's trigger: a button, or a link. */
/* COMPONENT STYLES */
/* .c4lv prefix instead of .c4l only for the parent class of an element supporting variants */
/* Utilities */
.c4l-spacer {
  display: block;
  height: 2px;
  line-height: 0;
  font-size: 0;
  overflow: hidden;
}
.c4l-spacer + .c4l-keyconcept,
.c4l-spacer + .c4lv-keyconcept,
.c4l-spacer + .c4l-tip,
.c4l-spacer + .c4lv-tip,
.c4l-spacer + .c4l-reminder,
.c4l-spacer + .c4lv-reminder,
.c4l-spacer + .c4l-attention,
.c4l-spacer + .c4lv-attention,
.c4l-spacer + .c4l-quote,
.c4l-spacer + .c4lv-quote,
.c4l-spacer + .c4l-example,
.c4l-spacer + .c4lv-example,
.c4l-spacer + .c4l-expectedfeedback,
.c4l-spacer + .c4lv-expectedfeedback,
.c4l-spacer + .c4l-learningoutcomes,
.c4l-spacer + .c4lv-learningoutcomes,
.c4l-spacer + .c4l-conceptreview,
.c4l-spacer + .c4lv-conceptreview,
.c4l-spacer + .c4l-furtherreading,
.c4l-spacer + .c4lv-furtherreading {
  margin: 0 auto 12px auto;
}
.c4l-spacer + .c4l-dodontcards .c4l-dodontcards-do,
.c4l-spacer + .c4lv-dodontcards .c4l-dodontcards-do {
  margin-top: 0;
}
.c4l-spacer + .c4l-dodontcards .c4l-dodontcards-dont,
.c4l-spacer + .c4lv-dodontcards .c4l-dodontcards-dont {
  margin-bottom: 14px;
}
.c4l-spacer + .c4l-readingcontext,
.c4l-spacer + .c4lv-readingcontext {
  margin-top: 16px;
  margin-bottom: 16px;
}
.c4l-spacer + .c4l-figure,
.c4l-spacer + .c4lv-figure {
  margin: 24px auto 14px auto;
}
.c4l-spacer + .c4l-proceduralcontext,
.c4l-spacer + .c4lv-proceduralcontext {
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.c4l-inline-group {
  display: block;
  text-align: right;
}

.c4l-inline-group > * {
  display: inline-block;
}

.c4l-inline-group > * + * {
  margin-left: 4px;
}

.c4l-inline-group:has(.c4l-align-left-variant) {
  text-align: left;
}

.c4l-display-left {
  display: block;
  text-align: left;
}

.c4l-display-left > * {
  display: inline-block;
}

.c4l-display-left > * + * {
  margin-left: 4px;
}

.c4l-display-left:has(.c4l-align-right-variant) {
  text-align: right;
}

.c4l-spacer + .c4l-display-left {
  margin-top: 0;
}

.c4l-embedded-caption {
  font-size: 13px;
  margin-top: 12px;
  text-align: right;
}
.c4l-embedded-caption span {
  text-transform: uppercase;
  font-size: 14px;
}

/* Key concept */
.c4l-keyconcept,
.c4lv-keyconcept {
  min-width: 200px;
  max-width: 99%;
  background-color: var(--c4l-keyconcept-bg);
  color: var(--c4l-text);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 24px 36px 30px 36px;
  border: none;
  border-left: 6px solid var(--c4l-keyconcept-accent);
  margin: 36px auto;
  position: relative;
  border-radius: 0;
}
.c4l-keyconcept p:last-of-type,
.c4lv-keyconcept p:last-of-type {
  margin-bottom: 0;
}

/* Tip */
.c4l-tip,
.c4lv-tip {
  min-width: 200px;
  max-width: 99%;
  background-color: var(--c4l-tip-bg);
  color: var(--c4l-text);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 24px 48px 30px 36px;
  border: none;
  border-left: 6px solid var(--c4l-tip-accent);
  margin: 36px auto;
  position: relative;
  border-radius: 0;
}
.c4l-tip p:last-of-type,
.c4lv-tip p:last-of-type {
  margin-bottom: 0;
}
.c4l-tip::after,
.c4lv-tip::after {
  content: "";
  background-color: var(--c4l-tip-accent);
  -webkit-mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_tip.svg);
  mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_tip.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 32px 30px;
  mask-size: 32px 30px;
  display: inline-block;
  width: 32px;
  height: 30px;
  background-color: transparent;
  background-image: linear-gradient(var(--c4l-tip-fold), var(--c4l-tip-fold)), linear-gradient(var(--c4l-tip-accent), var(--c4l-tip-accent));
  background-repeat: no-repeat;
  background-size: 3px 2px, 100% 100%;
  background-position: right 0.5px bottom 0, 0 0;
  position: absolute;
  top: 6px;
  right: -3px;
}

/* Reminder */
.c4l-reminder,
.c4lv-reminder {
  min-width: 200px;
  max-width: 99%;
  background-color: var(--c4l-reminder-bg);
  color: var(--c4l-text);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 24px 48px 30px 36px;
  border: none;
  border-left: 6px solid var(--c4l-reminder-accent);
  margin: 36px auto;
  position: relative;
  border-radius: 0;
}
.c4l-reminder p:last-of-type,
.c4lv-reminder p:last-of-type {
  margin-bottom: 0;
}
.c4l-reminder::after,
.c4lv-reminder::after {
  content: "";
  background-color: var(--c4l-reminder-accent);
  -webkit-mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_reminder.svg);
  mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_reminder.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 32px 30px;
  mask-size: 32px 30px;
  display: inline-block;
  width: 32px;
  height: 30px;
  background-color: transparent;
  background-image: linear-gradient(var(--c4l-reminder-fold), var(--c4l-reminder-fold)), linear-gradient(var(--c4l-reminder-accent), var(--c4l-reminder-accent));
  background-repeat: no-repeat;
  background-size: 3px 2px, 100% 100%;
  background-position: right 0.5px bottom 0, 0 0;
  position: absolute;
  top: 6px;
  right: -3px;
}

/* Attention */
.c4l-attention,
.c4lv-attention {
  min-width: 200px;
  max-width: 99%;
  background-color: var(--c4l-attention-bg);
  color: var(--c4l-text);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 24px 48px 30px 36px;
  border: none;
  border-left: 6px solid var(--c4l-attention-accent);
  margin: 36px auto;
  position: relative;
  border-radius: 0;
}
.c4l-attention p:last-of-type,
.c4lv-attention p:last-of-type {
  margin-bottom: 0;
}
.c4l-attention::after,
.c4lv-attention::after {
  content: "";
  background-color: var(--c4l-attention-accent);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_attention.svg);
  mask-image: url(/assets/c4l-pix/c4l_attention.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 32px 30px;
  mask-size: 32px 30px;
  display: inline-block;
  width: 32px;
  height: 30px;
  background-color: transparent;
  background-image: linear-gradient(var(--c4l-attention-fold), var(--c4l-attention-fold)), linear-gradient(var(--c4l-attention-accent), var(--c4l-attention-accent));
  background-repeat: no-repeat;
  background-size: 3px 2px, 100% 100%;
  background-position: right 0.5px bottom 0, 0 0;
  position: absolute;
  top: 6px;
  right: -3px;
}

/* Quote */
.c4l-quote,
.c4lv-quote {
  /*font-family: "Lora", serif; <== Reccomended font -not included: requires link to Google Fonts */
  font-family: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
  font-size: 16px;
  line-height: 24px;
  margin: 24px auto;
  min-width: 200px;
  max-width: 100%;
}
.c4l-quote .c4l-quote-body,
.c4lv-quote .c4l-quote-body {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: stretch;
  align-content: space-between;
  font-style: italic;
}
.c4l-quote .c4l-quote-line,
.c4lv-quote .c4l-quote-line {
  border-left: 4px solid var(--c4l-quote-line);
  margin-right: 16px;
  margin-top: 4px;
  margin-bottom: 2px;
}
.c4l-quote .c4l-quote-text::before,
.c4lv-quote .c4l-quote-text::before {
  content: "";
  position: static;
  top: 0;
  margin-right: 0;
}
.c4l-quote .c4l-quote-text::after,
.c4lv-quote .c4l-quote-text::after {
  content: "";
  position: static;
  top: 0;
  margin-left: 0;
}
.c4l-quote .c4l-quote-text p:first-of-type::before,
.c4lv-quote .c4l-quote-text p:first-of-type::before {
  content: "";
  background-color: var(--c4l-quote-line);
  -webkit-mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_quote_open.svg);
  mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_quote_open.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 11px 7px;
  mask-size: 11px 7px;
  display: inline-block;
  width: 11px;
  height: 7px;
  position: relative;
  top: -4px;
  margin-right: 2px;
}
.c4l-quote .c4l-quote-text p:last-of-type::after,
.c4lv-quote .c4l-quote-text p:last-of-type::after {
  content: "";
  background-color: var(--c4l-quote-line);
  -webkit-mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_quote_close.svg);
  mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_quote_close.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 11px 7px;
  mask-size: 11px 7px;
  display: inline-block;
  width: 11px;
  height: 7px;
  position: relative;
  top: -2px;
  margin-left: 2px;
}
.c4l-quote .c4l-quote-text p:last-of-type,
.c4lv-quote .c4l-quote-text p:last-of-type {
  margin-bottom: 0;
}

.c4l-quote .c4l-quote-caption {
  font-size: 13px;
  margin-top: 12px;
  text-align: right;
}
.c4l-quote .c4l-quote-caption span {
  text-transform: uppercase;
  font-size: 14px;
}
.c4l-quote .c4l-quote-caption span::after {
  content: ", ";
}

/* Do - Don't cards */
.c4l-dodontcards,
.c4lv-dodontcards {
  margin-left: auto;
  margin-right: auto;
}
.c4l-dodontcards .c4l-dodontcards-do,
.c4l-dodontcards .c4l-dodontcards-do,
.c4lv-dodontcards .c4l-dodontcards-do,
.c4lv-dodontcards .c4l-dodontcards-do {
  margin-top: 36px;
}
.c4l-dodontcards .c4l-dodontcards-dont,
.c4l-dodontcards .c4l-dodontcards-dont,
.c4lv-dodontcards .c4l-dodontcards-dont,
.c4lv-dodontcards .c4l-dodontcards-dont {
  margin-bottom: 36px;
}
.c4l-dodontcards > .c4l-dodontcards-dont,
.c4lv-dodontcards > .c4l-dodontcards-dont {
  margin-top: 12px;
}
.c4l-dodontcards .c4l-dodontcards-do,
.c4lv-dodontcards .c4l-dodontcards-do {
  min-width: 200px;
  max-width: 100%;
  background: var(--c4l-do-bg);
  color: var(--c4l-text);
  box-shadow: 0 0 0 1px var(--c4l-border);
  border-radius: 10px;
  padding: 24px 48px 30px 36px;
  margin: 12px auto;
  position: relative;
}
.c4l-dodontcards .c4l-dodontcards-do::before,
.c4lv-dodontcards .c4l-dodontcards-do::before {
  content: "";
  background-color: var(--c4l-do-icon);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_docard.svg);
  mask-image: url(/assets/c4l-pix/c4l_docard.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 25px 24px;
  mask-size: 25px 24px;
  display: inline-block;
  width: 25px;
  height: 24px;
  position: absolute;
  top: 12px;
  right: 12px;
}
.c4l-dodontcards .c4l-dodontcards-dont,
.c4lv-dodontcards .c4l-dodontcards-dont {
  min-width: 200px;
  max-width: 100%;
  background: var(--c4l-dont-bg);
  color: var(--c4l-text);
  box-shadow: 0 0 0 1px var(--c4l-border);
  border-radius: 10px;
  padding: 24px 48px 30px 36px;
  margin: 12px auto;
  position: relative;
}
.c4l-dodontcards .c4l-dodontcards-dont::before,
.c4lv-dodontcards .c4l-dodontcards-dont::before {
  content: "";
  background-color: var(--c4l-dont-icon);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_dontcard.svg);
  mask-image: url(/assets/c4l-pix/c4l_dontcard.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 24px 24px;
  mask-size: 24px 24px;
  display: inline-block;
  width: 24px;
  height: 24px;
  position: absolute;
  top: 12px;
  right: 12px;
}
.c4l-dodontcards .c4l-dodontcards-do p,
.c4l-dodontcards .c4l-dodontcards-dont p,
.c4lv-dodontcards .c4l-dodontcards-do p,
.c4lv-dodontcards .c4l-dodontcards-dont p {
  margin-bottom: 6px;
}
.c4l-dodontcards .c4l-dodontcards-do p:last-of-type,
.c4l-dodontcards .c4l-dodontcards-dont p:last-of-type,
.c4lv-dodontcards .c4l-dodontcards-do p:last-of-type,
.c4lv-dodontcards .c4l-dodontcards-dont p:last-of-type {
  margin-bottom: 0;
}

/* Reading Context */
.c4l-readingcontext,
.c4lv-readingcontext {
  min-width: 200px;
  max-width: 75%;
  background-color: var(--c4l-readingcontext-bg);
  color: var(--c4l-text);
  box-shadow: 0 4px 24px var(--c4l-shadow-soft), 0 0 0 1px var(--c4l-border);
  box-sizing: border-box;
  margin: 36px auto;
}
.c4l-readingcontext p,
.c4lv-readingcontext p {
  font-size: 16px;
  line-height: 23px;
}

.c4l-readingcontext {
  padding: 30px 40px 19px 40px;
  font-family: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}
.c4l-readingcontext .c4l-readingcontext-caption {
  font-size: 16px;
  margin-top: 24px;
  text-align: right;
  padding-bottom: 14px;
  font-style: italic;
}
.c4l-readingcontext .c4l-readingcontext-caption span {
  text-transform: uppercase;
  font-size: 16px;
  font-style: normal;
}
.c4l-readingcontext .c4l-readingcontext-caption span::after {
  content: ", ";
}

.c4lv-readingcontext {
  padding: 30px 40px 32px 40px;
  font-family: sans-serif;
}
.c4lv-readingcontext p:last-of-type {
  margin-bottom: 0;
}
.c4lv-readingcontext .c4l-embedded-caption {
  margin-top: 1rem;
  font-size: 16px;
  font-style: italic;
}
.c4lv-readingcontext.c4l-comfort-reading-variant {
  font-family: Iowan Old Style, Apple Garamond, Baskerville, Times New Roman, Droid Serif, Times, Source Serif Pro, serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol;
}

/* Example */
.c4l-example,
.c4lv-example {
  font-size: 15px;
  line-height: 22px;
  background: var(--c4l-example-bg);
  color: var(--c4l-text);
  border-radius: 0;
  margin: 36px auto;
  min-width: 75%;
  max-width: 100%;
  padding: 18px 24px;
  position: relative;
  box-shadow: 0 4px 24px var(--c4l-shadow), 0 0 0 1px var(--c4l-border);
}
.c4l-example h1,
.c4lv-example h1 {
  font-weight: 700;
  font-size: 11px;
  line-height: 21px;
  letter-spacing: 0.5px;
  color: var(--c4l-example-rule);
  margin: 0 0 24px 0;
  text-transform: uppercase;
  font-family: inherit;
  display: inline-block;
  border-bottom: 2px solid var(--c4l-example-rule);
}

/* Figure */
.c4l-figure,
.c4lv-figure {
  min-width: 200px;
  margin: 48px auto;
}
.c4l-figure img,
.c4lv-figure img {
  width: 100%;
}
.c4l-figure img:not([src]), .c4l-figure img[src=""],
.c4lv-figure img:not([src]),
.c4lv-figure img[src=""] {
  content: var(--c4l-figure-placeholder);
}
.c4l-figure figcaption,
.c4lv-figure figcaption {
  font-size: 13px;
  line-height: 16px;
  color: var(--c4l-figure-caption);
  margin-top: 7px;
}
.c4l-figure .c4l-figure-caption,
.c4lv-figure .c4l-figure-caption {
  font-style: normal;
  font-size: 12px;
}
.c4l-figure figcaption span strong,
.c4lv-figure figcaption span strong {
  font-weight: 700;
}

.c4l-figure {
  max-width: 100%;
}

.c4lv-figure {
  max-width: 75%;
}

/* Tag */
.c4l-tag,
.c4lv-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  color: var(--c4l-tag-ink);
  background-color: var(--c4l-tag-bg);
  box-shadow: 0 0 0 1px var(--c4l-border);
  border-radius: 30px;
  padding: 4px 17px;
  line-height: 20px;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
}

/* Estimated Time */
.c4l-estimatedtime,
.c4lv-estimatedtime {
  font-size: 12px;
  color: var(--c4l-estimatedtime-ink);
  background-color: var(--c4l-estimatedtime-bg);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 6px 14px;
  font-weight: 700;
  margin-left: 6px;
  margin-bottom: 24px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 36px;
  position: relative;
  border-radius: 5px;
}
.c4l-estimatedtime span,
.c4lv-estimatedtime span {
  font-weight: 600;
  font-size: 10px;
}
.c4l-estimatedtime::before,
.c4lv-estimatedtime::before {
  content: "";
  background-color: var(--c4l-estimatedtime-ink);
  -webkit-mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_estimatedtime.svg);
  mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_estimatedtime.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 17px 18px;
  mask-size: 17px 18px;
  display: inline-block;
  width: 17px;
  height: 18px;
  position: absolute;
  left: 12px;
}

/* Due date */
.c4l-duedate,
.c4lv-duedate {
  font-size: 12px;
  color: var(--c4l-duedate-ink);
  background-color: var(--c4l-duedate-bg);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 6px 14px;
  font-weight: 600;
  margin-left: 6px;
  margin-bottom: 24px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 36px;
  position: relative;
  border-radius: 5px;
}
.c4l-duedate::after,
.c4lv-duedate::after {
  content: "";
  background-color: var(--c4l-duedate-ink);
  -webkit-mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_duedate.svg);
  mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_duedate.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 15px 17px;
  mask-size: 15px 17px;
  display: inline-block;
  width: 15px;
  height: 17px;
  position: absolute;
  left: 12px;
}

/* Procedural Context */
.c4l-proceduralcontext,
.c4lv-proceduralcontext {
  font-style: italic;
  color: var(--c4l-proceduralcontext-ink);
  margin-bottom: 12px;
  padding-top: 24px;
  padding-bottom: 24px;
  font-weight: 400;
}

/* Grading Value */
.c4l-gradingvalue,
.c4lv-gradingvalue {
  font-size: 12px;
  color: var(--c4l-gradingvalue-ink);
  background-color: var(--c4l-gradingvalue-bg);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 6px 14px;
  font-weight: 700;
  margin-left: 6px;
  margin-bottom: 24px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 36px;
  position: relative;
  border-radius: 5px;
}
.c4l-gradingvalue span,
.c4lv-gradingvalue span {
  font-weight: 600;
  font-size: 10px;
}
.c4l-gradingvalue::after,
.c4lv-gradingvalue::after {
  content: "";
  background-color: var(--c4l-gradingvalue-ink);
  -webkit-mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_gradingvalue.svg);
  mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_gradingvalue.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 16px 15px;
  mask-size: 16px 15px;
  display: inline-block;
  width: 16px;
  height: 15px;
  position: absolute;
  left: 12px;
  top: 6px;
}

/* AI Use Allowed */
.c4l-aiuseallowed,
.c4lv-aiuseallowed {
  font-size: 12px;
  color: var(--c4l-aiuseallowed-ink);
  background-color: var(--c4l-aiuseallowed-bg);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 6px 14px;
  font-weight: 700;
  margin-left: 6px;
  margin-bottom: 24px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 32px;
  position: relative;
  border-radius: 5px;
}
.c4l-aiuseallowed span,
.c4lv-aiuseallowed span {
  font-weight: 600;
  font-size: 12px;
}
.c4l-aiuseallowed::after,
.c4lv-aiuseallowed::after {
  content: "";
  background-color: var(--c4l-aiuseallowed-ink);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_aiuseallowed.svg);
  mask-image: url(/assets/c4l-pix/c4l_aiuseallowed.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 19px 19px;
  mask-size: 19px 19px;
  display: inline-block;
  width: 19px;
  height: 19px;
  position: absolute;
  left: 10px;
  top: 3px;
}

/* AI Use Not Allowed */
.c4l-aiusenotallowed,
.c4lv-aiusenotallowed {
  font-size: 12px;
  color: var(--c4l-aiusenotallowed-ink);
  background-color: var(--c4l-aiusenotallowed-bg);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 6px 14px;
  font-weight: 700;
  margin-left: 6px;
  margin-bottom: 24px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 32px;
  position: relative;
  border-radius: 5px;
}
.c4l-aiusenotallowed span,
.c4lv-aiusenotallowed span {
  font-weight: 600;
  font-size: 12px;
}
.c4l-aiusenotallowed::after,
.c4lv-aiusenotallowed::after {
  content: "";
  background-color: var(--c4l-aiusenotallowed-ink);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_aiusenotallowed.svg);
  mask-image: url(/assets/c4l-pix/c4l_aiusenotallowed.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 19px 19px;
  mask-size: 19px 19px;
  display: inline-block;
  width: 19px;
  height: 19px;
  position: absolute;
  left: 10px;
  top: 3px;
}

/* AI Use Reported */
.c4l-aiusereported,
.c4lv-aiusereported {
  font-size: 12px;
  color: var(--c4l-aiusereported-ink);
  background-color: var(--c4l-aiusereported-bg);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 6px 14px;
  font-weight: 700;
  margin-left: 6px;
  margin-bottom: 24px;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 32px;
  position: relative;
  border-radius: 5px;
}
.c4l-aiusereported span,
.c4lv-aiusereported span {
  font-weight: 600;
  font-size: 12px;
}
.c4l-aiusereported::after,
.c4lv-aiusereported::after {
  content: "";
  background-color: var(--c4l-aiusereported-ink);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_aiusereported.svg);
  mask-image: url(/assets/c4l-pix/c4l_aiusereported.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 19px 19px;
  mask-size: 19px 19px;
  display: inline-block;
  width: 19px;
  height: 19px;
  position: absolute;
  left: 10px;
  top: 3px;
}

/* Expected Feedback */
.c4l-expectedfeedback,
.c4lv-expectedfeedback {
  min-width: 200px;
  max-width: 90%;
  background-color: var(--c4l-expectedfeedback-bg);
  color: var(--c4l-text);
  padding: 24px 36px 30px 36px;
  margin: 36px auto;
  font-style: italic;
  position: relative;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 24px var(--c4l-shadow), 0 0 0 1px var(--c4l-border);
}
.c4l-expectedfeedback::before,
.c4lv-expectedfeedback::before {
  content: "";
}
.c4l-expectedfeedback::after,
.c4lv-expectedfeedback::after {
  content: "";
  background-color: var(--c4l-expectedfeedback-icon);
  -webkit-mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_expectedfeedback.svg);
  mask-image: url(/assets/c4l-pix/noun_project_icons/c4l_expectedfeedback.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 32px 30px;
  mask-size: 32px 30px;
  display: inline-block;
  width: 32px;
  height: 30px;
  background-color: transparent;
  background-image: linear-gradient(var(--c4l-expectedfeedback-fold), var(--c4l-expectedfeedback-fold)), linear-gradient(var(--c4l-expectedfeedback-icon), var(--c4l-expectedfeedback-icon));
  background-repeat: no-repeat;
  background-size: 3px 2px, 100% 100%;
  background-position: right 0.5px top 0, 0 0;
  position: absolute;
  bottom: 6px;
  right: -3px;
}
.c4l-expectedfeedback p:last-of-type,
.c4lv-expectedfeedback p:last-of-type {
  margin-bottom: 0;
}

/* All-purpose Card */
.c4l-allpurposecard,
.c4lv-allpurposecard {
  min-width: 200px;
  max-width: 100%;
  background: var(--c4l-allpurposecard-bg);
  color: var(--c4l-text);
  box-shadow: 0 0 0 1px var(--c4l-border);
  border-radius: 10px;
  padding: 24px 48px 30px 36px;
  margin: 24px auto;
  position: relative;
}
.c4l-allpurposecard p,
.c4lv-allpurposecard p {
  margin-bottom: 6px;
}
.c4l-allpurposecard p:last-of-type,
.c4lv-allpurposecard p:last-of-type {
  margin-bottom: 0;
}

.c4l-spacer + .c4l-allpurposecard {
  margin: 0 auto;
}

/* Inline Tag */
.c4l-inlinetag,
.c4lv-inlinetag {
  font-weight: 900;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2px;
  display: inline-block;
  color: var(--c4l-inlinetag-ink);
  background: var(--c4l-inlinetag-bg);
  border-radius: 7px;
  padding: 2px 7px 1px 7px;
  position: relative;
  top: -2px;
  margin-left: 4px;
  margin-right: 4px;
}

/* Learning Outcomes */
.c4l-learningoutcomes,
.c4lv-learningoutcomes {
  min-width: 200px;
  max-width: 99%;
  background-color: var(--c4l-learningoutcomes-bg);
  color: var(--c4l-text);
  box-shadow: 0 0 0 1px var(--c4l-border);
  padding: 24px 48px 30px 36px;
  border: none;
  margin: 36px auto;
  position: relative;
  border-radius: 0;
  list-style: none;
  /* The fold sits under the title tab. 27.5px measured against this plugin's
     markup, where the title is an <li> of the outer list; tiny_c4l's 15.5px
     belongs to its own markup, where the title is an <h6> beside a nested
     <ul>. The mixin sets the 3x2 box, so it is not repeated here. */
}
.c4l-learningoutcomes > .c4l-learningoutcomes-title,
.c4lv-learningoutcomes > .c4l-learningoutcomes-title {
  position: relative;
  top: -11px;
  left: -39px;
  padding: 6px 14px 5px;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.7px;
  color: var(--c4l-learningoutcomes-title-ink);
  background-color: var(--c4l-learningoutcomes-title-bg);
  text-transform: uppercase;
  font-family: inherit;
  display: inline-block;
  margin-top: 0;
  list-style: none;
  filter: drop-shadow(0 1.55601px 3.11202px var(--c4l-shadow-xsoft));
}
.c4l-learningoutcomes > .c4l-learningoutcomes-title::before,
.c4lv-learningoutcomes > .c4l-learningoutcomes-title::before {
  content: "";
  background-color: var(--c4l-learningoutcomes-title-shade);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_learningoutcomes_shadow.svg);
  mask-image: url(/assets/c4l-pix/c4l_learningoutcomes_shadow.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 3px 2px;
  mask-size: 3px 2px;
  display: inline-block;
  width: 3px;
  height: 2px;
  position: absolute;
  top: 27.5px;
  left: 0.5px;
}
.c4l-learningoutcomes > li:not(.c4l-learningoutcomes-title),
.c4lv-learningoutcomes > li:not(.c4l-learningoutcomes-title) {
  position: relative;
  padding-left: 32px;
  margin-bottom: 21px;
}
.c4l-learningoutcomes > li:not(.c4l-learningoutcomes-title):last-child,
.c4lv-learningoutcomes > li:not(.c4l-learningoutcomes-title):last-child {
  margin-bottom: 0;
}
.c4l-learningoutcomes > li:not(.c4l-learningoutcomes-title)::before,
.c4lv-learningoutcomes > li:not(.c4l-learningoutcomes-title)::before {
  content: "";
  background-color: var(--c4l-learningoutcomes-marker);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_learningoutcomes_list_item.svg);
  mask-image: url(/assets/c4l-pix/c4l_learningoutcomes_list_item.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 9px 11px;
  mask-size: 9px 11px;
  display: inline-block;
  width: 9px;
  height: 11px;
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
}
.c4l-learningoutcomes > li::marker,
.c4lv-learningoutcomes > li::marker {
  color: transparent;
}

.c4lv-learningoutcomes.c4l-ordered-list-variant {
  counter-reset: section;
}
.c4lv-learningoutcomes.c4l-ordered-list-variant > li:not(.c4l-learningoutcomes-title)::before {
  background-image: none;
  width: auto;
  height: auto;
  position: absolute;
  left: 0;
  top: 0;
  counter-increment: section;
  content: counter(section) ". ";
  font-weight: 700;
  color: var(--c4l-learningoutcomes-marker);
}

/* Concept review */
.c4l-conceptreview,
.c4lv-conceptreview {
  min-width: 200px;
  max-width: 95%;
  background-color: var(--c4l-conceptreview-bg);
  color: var(--c4l-text);
  padding: 32px 54px 36px 54px;
  margin: 36px auto;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 20px 0 var(--c4l-shadow), 0 0 0 1px var(--c4l-border);
}
.c4l-conceptreview .c4l-concept-review-title,
.c4lv-conceptreview .c4l-concept-review-title {
  color: var(--c4l-conceptreview-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
}
.c4l-conceptreview p:last-of-type,
.c4lv-conceptreview p:last-of-type {
  margin-bottom: 0;
}
.c4l-conceptreview::before,
.c4lv-conceptreview::before {
  content: "";
  background-color: var(--c4l-conceptreview-icon);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_conceptreview.svg);
  mask-image: url(/assets/c4l-pix/c4l_conceptreview.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 32px 30px;
  mask-size: 32px 30px;
  display: inline-block;
  width: 32px;
  height: 30px;
  background-color: transparent;
  background-image: linear-gradient(var(--c4l-conceptreview-fold), var(--c4l-conceptreview-fold)), linear-gradient(var(--c4l-conceptreview-icon), var(--c4l-conceptreview-icon));
  background-repeat: no-repeat;
  background-size: 3px 2px, 100% 100%;
  background-position: left 0.5px bottom 0, 0 0;
  position: absolute;
  top: 24px;
  left: -3px;
}

/* Further reading */
.c4l-furtherreading,
.c4lv-furtherreading {
  min-width: 200px;
  max-width: 95%;
  background-color: var(--c4l-furtherreading-bg);
  color: var(--c4l-text);
  padding: 32px 54px 36px 54px;
  margin: 36px auto;
  position: relative;
  border-radius: 12px;
  box-shadow: 0 4px 20px 0 var(--c4l-shadow), 0 0 0 1px var(--c4l-border);
  list-style: none;
}
.c4l-furtherreading::before,
.c4lv-furtherreading::before {
  content: "";
  background-color: var(--c4l-furtherreading-icon);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_furtherreading.svg);
  mask-image: url(/assets/c4l-pix/c4l_furtherreading.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 32px 30px;
  mask-size: 32px 30px;
  display: inline-block;
  width: 32px;
  height: 30px;
  background-color: transparent;
  background-image: linear-gradient(var(--c4l-furtherreading-fold), var(--c4l-furtherreading-fold)), linear-gradient(var(--c4l-furtherreading-icon), var(--c4l-furtherreading-icon));
  background-repeat: no-repeat;
  background-size: 3px 2px, 100% 100%;
  background-position: left 0.5px bottom 0, 0 0;
  position: absolute;
  top: 24px;
  left: -3px;
}
.c4l-furtherreading > .c4l-further-reading-title,
.c4lv-furtherreading > .c4l-further-reading-title {
  color: var(--c4l-furtherreading-title);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 16px 0;
  list-style: none;
}
.c4l-furtherreading > li:not(.c4l-further-reading-title),
.c4lv-furtherreading > li:not(.c4l-further-reading-title) {
  position: relative;
  padding-left: 32px;
  margin-bottom: 21px;
}
.c4l-furtherreading > li:not(.c4l-further-reading-title):last-child,
.c4lv-furtherreading > li:not(.c4l-further-reading-title):last-child {
  margin-bottom: 0;
}
.c4l-furtherreading > li:not(.c4l-further-reading-title)::before,
.c4lv-furtherreading > li:not(.c4l-further-reading-title)::before {
  content: "";
  background-color: var(--c4l-furtherreading-marker);
  -webkit-mask-image: url(/assets/c4l-pix/c4l_furtherreading_list_item.svg);
  mask-image: url(/assets/c4l-pix/c4l_furtherreading_list_item.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 9px 11px;
  mask-size: 9px 11px;
  display: inline-block;
  width: 9px;
  height: 11px;
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
}
.c4l-furtherreading > li::marker,
.c4lv-furtherreading > li::marker {
  color: transparent;
}

/* Statement / Assessment (task templates) */
.c4l-statement,
.c4lv-statement {
  margin: 36px auto;
}

#task-compound-layout .task-statement {
  background: var(--c4l-statement-bg);
  color: var(--c4l-text);
  box-shadow: 0 4px 15px var(--c4l-shadow-mid), 0 0 0 1px var(--c4l-border);
  border-radius: 10px;
  font-size: 17px;
  padding: 36px 48px;
  position: relative;
}

#task-compound-layout .task-statement::before {
  content: url(/assets/c4l-pix/statement-tag.svg);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 33px;
  left: -4px;
}

#task-compound-layout .task-statement p:last-child {
  margin-bottom: 0;
}

.c4l-assessment,
.c4lv-assessment {
  margin: 24px auto 36px auto;
}

#task-compound-layout .teacher-assessment {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
  background-color: var(--c4l-assessment-bg);
  color: var(--c4l-text);
  padding: 12px;
  box-shadow: 0 4px 34px var(--c4l-shadow-mid), 0 0 0 1px var(--c4l-border);
  border-radius: 10px;
}

#task-compound-layout .teacher-assessment-frame {
  background-color: var(--c4l-assessment-frame-bg);
  box-shadow: 0 0 0 1px var(--c4l-border);
  min-height: 48px;
  width: 48px;
  min-width: 48px;
  flex-shrink: 0;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#task-compound-layout .teacher-assessment-frame::before {
  content: "";
  background-color: var(--c4l-accent-blue);
  -webkit-mask-image: url(/assets/c4l-pix/fi_clipboard.svg);
  mask-image: url(/assets/c4l-pix/fi_clipboard.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 24px 24px;
  mask-size: 24px 24px;
  display: inline-block;
  width: 24px;
  height: 24px;
}

#task-compound-layout .teacher-assessment-text {
  padding-top: 24px;
  padding-bottom: 12px;
  margin-left: 12px;
  margin-right: 12px;
}

#task-compound-layout .teacher-assessment-text p {
  margin-bottom: 0;
}

@media (min-width: 576px) {
  .c4l-statement,
  .c4lv-statement {
    margin: 48px auto;
  }
  .c4l-assessment,
  .c4lv-assessment {
    margin-top: 36px;
  }
  #task-compound-layout .teacher-assessment-frame {
    min-width: 60px;
    width: 60px;
  }
  #task-compound-layout .teacher-assessment-text {
    margin-left: 36px;
    margin-right: 36px;
    padding-bottom: 24px;
  }
}
/* Panel list (helper) */
.c4lv-panellist {
  list-style: none;
  padding-left: 0;
  margin: 24px auto;
  max-width: 75%;
}

/* Numbered variant — panel rows with a circular counter badge. */
.c4lv-panellist.c4l-numbered-variant {
  display: flex;
  flex-direction: column;
  gap: 4px;
  counter-reset: c4l-panellist-counter;
}

.c4lv-panellist.c4l-numbered-variant > li {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 8px 6px 8px 8px;
  background-color: var(--c4l-panellist-bg);
  border-radius: 23px;
  counter-increment: c4l-panellist-counter;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c4l-text);
}

.c4lv-panellist.c4l-numbered-variant > li::before {
  content: counter(c4l-panellist-counter);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  margin-right: 12px;
  background-color: var(--c4l-panellist-marker);
  border-radius: 50%;
  color: var(--c4l-panellist-marker-ink);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

/* Checkmarks variant — panel rows with a circular check icon. The SVG
   is embedded inline as a data URI so the rendered colour comes from
   the element's background-color, which follows the site's brand colour
   through --c4l-panellist-marker (mask-image uses the SVG only for shape). */
.c4lv-panellist.c4l-checkmarks-variant {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.c4lv-panellist.c4l-checkmarks-variant > li {
  display: flex;
  align-items: center;
  min-height: 48px;
  margin: 0;
  padding: 8px 13px;
  background-color: var(--c4l-panellist-bg);
  border-radius: 23px;
  font-size: 16px;
  line-height: 1.5;
  color: var(--c4l-text);
}

.c4lv-panellist.c4l-checkmarks-variant.c4l-compact-variant > li {
  min-height: 40px;
  padding: 8px 4px;
}

.c4lv-panellist.c4l-checkmarks-variant > li::before {
  content: "";
  background-color: var(--c4l-panellist-marker);
  -webkit-mask-image: url(/assets/c4l-pix/c4l-checkmarks-icon.svg);
  mask-image: url(/assets/c4l-pix/c4l-checkmarks-icon.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 24px 24px;
  mask-size: 24px 24px;
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-right: 14px;
}

/* Compact variant — wraps all items in a single rounded panel. When
   combined with the numbered variant the per-item pill is dropped
   and the rows share the outer panel background. */
.c4lv-panellist.c4l-compact-variant {
  background-color: var(--c4l-panellist-bg);
  border-radius: 16px;
  padding: 26px 32px;
}

.c4lv-panellist.c4l-compact-variant.c4l-numbered-variant {
  gap: 11px;
}

.c4lv-panellist.c4l-compact-variant.c4l-numbered-variant > li {
  background-color: transparent;
  border-radius: 0;
  min-height: 32px;
  padding: 0;
}

/* Timeline (helper) */
.c4lv-timeline {
  margin: 24px auto;
  max-width: 75%;
  display: flex;
  flex-direction: column;
}

.c4l-timeline-events {
  position: relative;
  padding: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.c4l-timeline-events::before {
  content: "";
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 21px;
  width: 2px;
  background-color: var(--c4l-timeline-rule);
  z-index: 0;
}

.c4l-timeline-event {
  display: flex;
  flex-direction: column;
  gap: 9px;
  position: relative;
  z-index: 1;
}

.c4l-timeline-pill {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 42px;
  padding: 7px 24px 7px 8px;
  background-color: var(--c4l-timeline-pill-bg);
  border-radius: 100px;
}

.c4l-timeline-marker {
  display: inline-block;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: var(--c4l-timeline-marker);
  background-image: radial-gradient(circle at center, var(--c4l-timeline-marker-dot) 6px, transparent 6.5px);
  user-select: none;
  -webkit-user-select: none;
}

.c4l-timeline-year {
  color: var(--c4l-timeline-year);
  font-weight: 700;
  font-size: 21px;
  line-height: 23px;
  min-width: 1em;
  outline: none;
  padding-left: 12px;
}

.c4l-timeline-text {
  margin: 6px 0 28px 52px;
  padding: 0 8px;
  font-size: 17px;
  line-height: 26px;
  color: var(--c4l-text);
}

/* Continuity variants — independent (non-grouped) block pseudo-elements
   rendered as direct children of .c4lv-timeline, before and after the
   .c4l-timeline-events container, so they don't interfere with the
   main guide line geometry. */
.c4lv-timeline.c4l-continuitybefore-variant::before {
  content: "";
  display: block;
  align-self: flex-start;
  margin-left: 21px;
  width: 2px;
  height: 24px;
  background-image: repeating-linear-gradient(to bottom, var(--c4l-timeline-rule) 0, var(--c4l-timeline-rule) 4px, transparent 4px, transparent 10px);
}

.c4lv-timeline.c4l-continuityafter-variant::after {
  content: "";
  display: block;
  align-self: flex-start;
  margin-left: 21px;
  margin-top: -20px;
  width: 2px;
  height: 24px;
  background-image: repeating-linear-gradient(to bottom, var(--c4l-timeline-rule) 0, var(--c4l-timeline-rule) 4px, transparent 4px, transparent 10px);
}

/* Split variant — alternating events on either side of a centred guide
   line. Mutually exclusive with full-width via the variants registry
   excludes mechanism. */
.c4lv-timeline.c4l-split-variant {
  max-width: 100%;
}

.c4lv-timeline.c4l-split-variant .c4l-timeline-events {
  width: 100%;
}

.c4lv-timeline.c4l-split-variant .c4l-timeline-events::before {
  left: calc(50% - 1px);
}

.c4lv-timeline.c4l-split-variant .c4l-timeline-event {
  width: 50%;
  box-sizing: border-box;
}

.c4lv-timeline.c4l-split-variant .c4l-timeline-event:nth-child(odd) {
  align-self: flex-end;
  transform: translateX(-22px);
}

.c4lv-timeline.c4l-split-variant .c4l-timeline-event:nth-child(even) {
  align-self: flex-start;
  transform: translateX(22px);
}

.c4lv-timeline.c4l-split-variant .c4l-timeline-event:nth-child(even) .c4l-timeline-pill {
  align-self: flex-end;
  flex-direction: row-reverse;
  padding: 7px 8px 7px 24px;
}

.c4lv-timeline.c4l-split-variant .c4l-timeline-event:nth-child(even) .c4l-timeline-text {
  text-align: right;
  margin: 6px 52px 28px 0;
}

.c4lv-timeline.c4l-split-variant.c4l-continuitybefore-variant::before,
.c4lv-timeline.c4l-split-variant.c4l-continuityafter-variant::after {
  align-self: center;
  margin-left: 0;
}

/* Combo */
.c4l-spacer + .c4l-combo {
  margin-top: 0;
  margin-bottom: 0;
}

.c4l-combo {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto;
  grid-gap: 20px;
  align-items: stretch;
  margin-top: 24px;
  margin-bottom: 24px;
}
.c4l-combo .text h2,
.c4l-combo .text h3,
.c4l-combo .text h4 {
  margin-bottom: 22px;
  color: var(--c4l-combo-title);
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.3px;
}
.c4l-combo .text p {
  color: var(--c4l-text);
  font-size: 17px;
  line-height: 1.5;
}
.c4l-combo .text ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}
.c4l-combo .text ul li {
  position: relative;
  margin-bottom: 12px;
  padding-left: 27px;
  font-size: 17px;
  line-height: 1.5;
}
.c4l-combo .text ul li:last-child {
  margin-bottom: 0;
}
.c4l-combo .text ul li::before {
  content: "";
  background-color: var(--c4l-combo-bullet);
  -webkit-mask-image: url(/assets/c4l-pix/c4l-combo-bullet.svg);
  mask-image: url(/assets/c4l-pix/c4l-combo-bullet.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 9px 11px;
  mask-size: 9px 11px;
  display: inline-block;
  width: 9px;
  height: 11px;
  position: absolute;
  top: 7px;
  left: 0;
}
.c4l-combo .image {
  position: relative;
  min-height: 80px;
}
.c4l-combo img {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: 50% 50%;
}
.c4l-combo img:not([src]), .c4l-combo img[src=""] {
  position: static;
  content: var(--c4l-figure-placeholder);
}

.c4l-combo .c4l-leading-text {
  font-weight: 400;
  font-size: 18px;
  color: var(--c4l-combo-lead);
  margin-bottom: 24px;
  line-height: 1.4;
}

.c4l-combo.c4l-text-image-variant .text {
  order: 1;
}

.c4l-combo.c4l-text-image-variant .image {
  order: 2;
}

.c4l-combo.c4l-image-text-variant .text {
  order: 2;
}

.c4l-combo.c4l-image-text-variant .image {
  order: 1;
}

.c4l-combo.c4l-textbackground-variant .text {
  background: var(--c4l-combo-bg);
  border-radius: 10px;
  padding: 48px;
}

@media (max-width: 399.98px) {
  .c4l-combo.c4l-textbackground-variant .text {
    padding: 24px;
  }
}
/* Whole image: shown entire, at its own aspect ratio, in the flow. */
.c4l-combo.c4l-wholeimage-variant .image {
  min-height: 100px;
}

.c4l-combo.c4l-wholeimage-variant img {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain;
}

@media (min-width: 630px) {
  .c4l-combo.c4l-wholeimage-variant,
  .c4l-combo.c4l-wholeimage-variant.c4l-text-image-variant {
    grid-template-columns: 1fr fit-content(50%);
  }
  .c4l-combo.c4l-wholeimage-variant.c4l-image-text-variant {
    grid-template-columns: fit-content(50%) 1fr;
  }
  .c4l-combo.c4l-wholeimage-variant img {
    width: auto !important;
    max-width: 100%;
    height: auto !important;
    min-height: 100px;
  }
}
@media (min-width: 630px) {
  .c4l-combo,
  .c4l-combo.c4l-text-image-variant,
  .c4l-combo.c4l-image-text-variant {
    grid-template-columns: 1fr 1fr;
  }
}
/**
 * Styled list, link block, tabs, carousel, collapsible and styled table.
 *
 * Tabs, carousel and collapsible are readable without JavaScript: every tab, slide and
 * content is shown. The page script (amd/src/runtime.js) adds .c4l-ready and the controls.
 *
 * @package     tiny_c4lauthor
 * @copyright   2026 Roger Segú <rogersegu@gmail.com>, bdecent gmbh <https://bdecent.de>
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
/* Styled list */
.c4lv-styledlist {
  list-style: none;
  padding-left: 0;
  margin: 24px 0;
  line-height: 1.6;
}

.c4lv-styledlist > li {
  position: relative;
  margin-left: 28px;
  margin-bottom: 6px;
}

.c4lv-styledlist.c4l-checkmarks-variant > li::before,
.c4lv-styledlist.c4l-chevrons-variant > li::before {
  content: "";
  position: absolute;
  left: -27px;
  background-color: var(--c4l-styledlist-bullet);
}

.c4lv-styledlist.c4l-checkmarks-variant > li::before {
  top: 5px;
  width: 16px;
  height: 16px;
  -webkit-mask-image: url(/assets/c4l-pix/c4l-checkmarks-icon.svg);
  mask-image: url(/assets/c4l-pix/c4l-checkmarks-icon.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.c4lv-styledlist.c4l-chevrons-variant > li::before {
  top: 8px;
  width: 10px;
  height: 10px;
  -webkit-mask-image: url(/assets/c4l-pix/c4l-chevrons-icon.svg);
  mask-image: url(/assets/c4l-pix/c4l-chevrons-icon.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* Link block */
.c4l-linkblock {
  display: flex;
  align-items: stretch;
  min-width: 260px;
  max-width: 75%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 10px;
  background-color: var(--c4l-linkblock-bg);
  box-shadow: 0 4px 12px var(--c4l-shadow-soft);
  transition: box-shadow 0.2s ease-in-out;
  text-decoration: none !important;
}
.c4l-linkblock:hover, .c4l-linkblock:focus {
  box-shadow: 0 4px 14px var(--c4l-shadow-mid);
}
.c4l-linkblock .link-stripe {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  min-width: 48px;
  margin: 12px 0 12px 12px;
  border-radius: 6px;
  background-color: var(--c4l-linkblock-stripe);
  font-size: 0;
}
.c4l-linkblock .link-stripe::before {
  content: "";
  width: 22px;
  height: 22px;
  background-color: var(--c4l-linkblock-icon);
  -webkit-mask-image: url(/assets/c4l-pix/fi_external-link.svg);
  mask-image: url(/assets/c4l-pix/fi_external-link.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
@media (min-width: 576px) {
  .c4l-linkblock .link-stripe {
    width: 60px;
    min-width: 60px;
  }
}
.c4l-linkblock .link-content {
  padding: 24px 28px;
  line-height: 24px;
}
.c4l-linkblock .link-name {
  display: block;
  color: var(--c4l-linkblock-name);
  font-size: 17px;
}
.c4l-linkblock .link-url {
  display: block;
  color: var(--c4l-linkblock-url);
  font-size: 14px;
  font-weight: 400;
  word-break: break-all;
}

/* Tabs. Without the page script every tab shows, its title as a heading. */
.c4lv-tabs {
  margin: 24px auto;
}

.c4lv-tabs > .c4l-tab {
  margin-bottom: 8px;
  padding: 16px 24px;
  border: 1px solid var(--c4l-tabs-rule);
  border-radius: 4px;
  background-color: var(--c4l-tabs-panel-bg);
}

.c4lv-tabs .c4l-tab-title {
  margin-bottom: 8px;
  color: var(--c4l-tabs-tab-ink);
  font-weight: 600;
}

.c4lv-tabs .c4l-tab-content > :last-child {
  margin-bottom: 0;
}

.c4lv-tabs.c4l-ready > .c4l-tab {
  margin-bottom: 0;
  padding: 24px 36px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.c4lv-tabs.c4l-ready > .c4l-tab > .c4l-tab-title {
  display: none;
}

.c4l-tablist {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  margin-bottom: -1px;
}

.c4l-tablist-button {
  flex: 1 1 0;
  padding: 8px 12px 7px;
  border: 1px solid transparent;
  border-bottom-color: var(--c4l-tabs-rule);
  border-radius: 4px 4px 0 0;
  background-color: var(--c4l-tabs-tab-bg);
  color: var(--c4l-tabs-tab-ink);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.c4l-tablist-button.active {
  border-color: var(--c4l-tabs-rule);
  border-bottom-color: var(--c4l-tabs-panel-bg);
  background-color: var(--c4l-tabs-panel-bg);
}
.c4l-tablist-button:focus-visible {
  outline: 2px solid var(--c4l-accent-brand);
  outline-offset: 2px;
}

/* Carousel. Without the page script every slide shows. */
.c4lv-carousel {
  position: relative;
  max-width: 75%;
  margin: 24px auto;
}

.c4lv-carousel.c4l-full-width-variant {
  max-width: 100%;
}

.c4lv-carousel.c4l-white-indicators-variant {
  --c4l-carousel-control: #fff;
}

.c4lv-carousel > .c4l-slide {
  position: relative;
  height: 380px;
  overflow: hidden;
  background-color: var(--c4l-carousel-slide-bg);
}

.c4lv-carousel > .c4l-slide + .c4l-slide {
  margin-top: 8px;
}

.c4lv-carousel.c4l-ready > .c4l-slide + .c4l-slide {
  margin-top: 0;
}

.c4lv-carousel > .c4l-slide:has(img) {
  background-color: transparent;
}

.c4lv-carousel > .c4l-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.c4l-carousel-prev,
.c4l-carousel-next {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 10%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.c4l-carousel-prev::before,
.c4l-carousel-next::before {
  content: "";
  width: 1.75rem;
  height: 1.75rem;
  background-color: var(--c4l-carousel-control);
}

.c4l-carousel-prev {
  left: 0;
}
.c4l-carousel-prev::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100%;
  mask-size: 100%;
}

.c4l-carousel-next {
  right: 0;
}
.c4l-carousel-next::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'><path d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 100%;
  mask-size: 100%;
}

.c4l-carousel-indicators {
  position: absolute;
  right: 0;
  bottom: 12px;
  left: 0;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.c4l-carousel-indicator {
  width: 30px;
  height: 4px;
  padding: 0;
  border: 0;
  background-color: var(--c4l-carousel-control);
  opacity: 0.5;
  cursor: pointer;
}
.c4l-carousel-indicator.active {
  opacity: 1;
}

/* Collapsible. Without the page script the content stays open. */
.c4lv-collapsible {
  margin: 24px 0;
}

.c4lv-collapsible > .c4l-collapsible-title {
  margin: 12px 0 12px 2px;
  color: var(--c4l-collapsible-trigger);
  font-weight: 600;
}

.c4lv-collapsible > .c4l-collapsible-content {
  padding: 24px 36px 30px;
  border-radius: 8px;
  background-color: var(--c4l-collapsible-bg);
}

.c4lv-collapsible > .c4l-collapsible-content > :last-child {
  margin-bottom: 0;
}

.c4lv-collapsible.c4l-ready > .c4l-collapsible-title {
  font-weight: 400;
}

.c4l-collapsible-toggle {
  display: inline-flex;
  align-items: center;
  color: var(--c4l-collapsible-trigger);
  font: inherit;
  cursor: pointer;
}
.c4l-collapsible-toggle::after {
  content: "";
  width: 1em;
  height: 1em;
  margin-left: 0.5em;
  background-color: currentColor;
  transition: transform 0.3s ease-in-out;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.c4l-collapsible-toggle[aria-expanded=true]::after {
  transform: rotate(180deg);
}

.c4lv-collapsible.c4l-buttondropdown-variant .c4l-collapsible-toggle {
  padding: 6px 12px;
  border: 1px solid var(--c4l-collapsible-trigger);
  border-radius: 4px;
  background-color: var(--c4l-surface);
}

.c4lv-collapsible.c4l-linkdropdown-variant .c4l-collapsible-toggle {
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
}
.c4lv-collapsible.c4l-linkdropdown-variant .c4l-collapsible-toggle::after {
  margin-left: 0.2em;
}

/* Styled table */
.c4l-table-container .c4l-styled-table {
  margin-bottom: 0;
  border-top: none;
}

.c4l-table-container .c4l-styled-table > :not(caption) > * > * {
  box-shadow: none;
}

.c4l-table-container.c4l-solid-variant .c4l-styled-table thead th {
  padding-top: 12px;
  padding-bottom: 12px;
  background-color: var(--c4l-table-head-bg);
  color: var(--c4l-table-head-ink);
  text-align: center;
}
.c4l-table-container.c4l-solid-variant .c4l-styled-table thead th:first-of-type {
  color: transparent;
}
.c4l-table-container.c4l-solid-variant .c4l-styled-table tbody th {
  padding-top: 12px;
  padding-bottom: 12px;
  border: 1px solid var(--c4l-surface);
  background-color: var(--c4l-table-row-head-bg);
  color: inherit;
}
.c4l-table-container.c4l-solid-variant .c4l-styled-table tbody tr {
  border-bottom: 1px dotted var(--c4l-table-rule);
  white-space: nowrap;
}
.c4l-table-container.c4l-solid-variant .c4l-styled-table tbody tr:last-child {
  border-bottom-style: solid;
}

.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th {
  padding-top: 12px;
  padding-bottom: 3px;
  border: 0;
  background-color: transparent;
  color: var(--c4l-text);
  text-align: center;
  white-space: nowrap;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:nth-of-type(8n + 1) {
  border-bottom: 4px solid #415ae6;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:nth-of-type(8n + 2) {
  border-bottom: 4px solid #1cc460;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:nth-of-type(8n + 3) {
  border-bottom: 4px solid #ffd058;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:nth-of-type(8n + 4) {
  border-bottom: 4px solid #fd6f66;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:nth-of-type(8n + 5) {
  border-bottom: 4px solid #16b9ff;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:nth-of-type(8n + 6) {
  border-bottom: 4px solid #ffaf59;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:nth-of-type(8n + 7) {
  border-bottom: 4px solid #8f95fe;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:nth-of-type(8n + 8) {
  border-bottom: 4px solid #f78aaa;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table thead th:first-of-type {
  border-bottom-color: var(--c4l-table-rule);
  color: transparent;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table tbody th {
  padding-top: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c4l-surface);
  background-color: var(--c4l-table-row-head-bg);
  white-space: nowrap;
}
.c4l-table-container.c4l-colored-variant .c4l-styled-table tbody tr {
  border-bottom: 1px dotted var(--c4l-table-rule);
}

/**
 * Tabs and carousel controls inside the C4L Author editor (amd/src/editor_widgets.js).
 *
 * The controls are editor-only and never saved.
 *
 * @package     tiny_c4lauthor
 * @copyright   2026 Roger Segú <rogersegu@gmail.com>, bdecent gmbh <https://bdecent.de>
 * @license     http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
.c4l-editor-tabbar,
.c4l-editor-toolbar,
.c4l-editor-carousel {
  user-select: none;
}

.c4l-editor-button,
.c4l-editor-tab,
.c4l-editor-carousel-prev,
.c4l-editor-carousel-next {
  cursor: pointer;
}

/* Tabs: one tab at a time, its title editable above its content. */
.c4lv-tabs[data-c4l-editing] > .c4l-tab:not([data-c4l-active]) {
  display: none;
}

.c4lv-tabs[data-c4l-editing] > .c4l-tab {
  margin-bottom: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

/* The title is the tab's name: a field with a caption of its own. */
.c4lv-tabs[data-c4l-editing] .c4l-editor-tab-label {
  display: block;
  margin-bottom: 3px;
  color: var(--c4l-text-muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.c4lv-tabs[data-c4l-editing] .c4l-tab-title {
  margin-bottom: 18px;
  padding: 6px 10px;
  border: 1px solid var(--c4l-tabs-rule);
  border-radius: 4px;
  background-color: var(--c4l-surface);
  color: var(--c4l-text);
  font-size: 15px;
  font-weight: 400;
}

.c4l-editor-tabbar {
  display: flex;
  gap: 2px;
  margin-bottom: -1px;
}

.c4l-editor-tab {
  flex: 1 1 0;
  padding: 8px 12px 7px;
  border: 1px solid transparent;
  border-bottom-color: var(--c4l-tabs-rule);
  border-radius: 4px 4px 0 0;
  background-color: var(--c4l-tabs-tab-bg);
  color: var(--c4l-tabs-tab-ink);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
}
.c4l-editor-tab.active {
  border-color: var(--c4l-tabs-rule);
  border-bottom-color: var(--c4l-tabs-panel-bg);
  background-color: var(--c4l-tabs-panel-bg);
}

.c4l-editor-toolbar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
}

.c4l-editor-button {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid var(--c4l-tabs-rule);
  border-radius: 4px;
  background-color: var(--c4l-surface);
  color: var(--c4l-text-muted);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.2;
}
.c4l-editor-button:hover {
  border-color: var(--c4l-text-muted);
}

/* Carousel: one slide at a time, with its controls over it. */
.c4lv-carousel[data-c4l-editing] > .c4l-slide:not([data-c4l-active]) {
  display: none;
}

.c4l-editor-carousel {
  position: absolute;
  inset: 0;
  pointer-events: none;
  /* Adding and deleting a slide: along the bottom, centred. */
}
.c4l-editor-carousel > * {
  pointer-events: auto;
}
.c4l-editor-carousel .c4l-editor-toolbar {
  position: absolute;
  top: 8px;
  left: 50%;
  margin: 0;
  transform: translateX(-50%);
}
.c4l-editor-carousel .c4l-editor-carousel-actions {
  top: auto;
  bottom: 8px;
}

.c4l-editor-carousel-image {
  position: absolute;
  top: 50%;
  left: 50%;
  padding: 16px 24px;
  border-style: dashed;
  font-size: 13px;
  transform: translate(-50%, -50%);
}

.c4l-editor-carousel-prev,
.c4l-editor-carousel-next {
  position: absolute;
  top: 50%;
  padding: 0 12px;
  color: var(--c4l-carousel-control);
  font-size: 40px;
  line-height: 1;
  transform: translateY(-50%);
}

.c4l-editor-carousel-prev {
  left: 0;
}

.c4l-editor-carousel-next {
  right: 0;
}

/* Collapsible: open while editing, with a control beside the title to close it. */
.c4lv-collapsible[data-c4l-editing] > .c4l-collapsible-content:not([data-c4l-active]) {
  display: none;
}

/* The title is the trigger, with the control inside it: the same button or link the
   page draws, around the chevron and the words the author is writing. */
.c4lv-collapsible[data-c4l-editing] > .c4l-collapsible-title {
  display: inline-block;
  font-weight: 400;
}

.c4lv-collapsible.c4l-buttondropdown-variant[data-c4l-editing] > .c4l-collapsible-title {
  padding: 6px 12px;
  border: 1px solid var(--c4l-collapsible-trigger);
  border-radius: 4px;
  background-color: var(--c4l-surface);
}

.c4lv-collapsible.c4l-linkdropdown-variant[data-c4l-editing] > .c4l-collapsible-title {
  padding: 0;
  border: 0;
  background: transparent;
  text-decoration: underline;
}

/* The control is beside the trigger, not in it: an editor button of its own, with the
   chevron the collapsible uses on the page. It points down when the content is open
   and to the right when it is folded away. */
.c4lv-collapsible[data-c4l-editing] .c4l-editor-collapsible-toggle {
  margin-left: 8px;
  vertical-align: middle;
}
.c4lv-collapsible[data-c4l-editing] .c4l-editor-collapsible-toggle::before {
  content: "";
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.4em;
  background-color: currentColor;
  transition: transform 0.2s ease-in-out;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.c4lv-collapsible[data-c4l-editing] .c4l-editor-collapsible-toggle[aria-expanded=false]::before {
  transform: rotate(-90deg);
}

.c4l-editor-carousel-count {
  padding: 4px 8px;
  border: 1px solid var(--c4l-carousel-count-border);
  border-radius: 4px;
  background-color: var(--c4l-surface);
  color: var(--c4l-text-muted);
  font-size: 12px;
}

body.mce-content-body .collapse:not(.show),
.c4l-code-preview .collapse:not(.show) {
  display: block !important;
}

p.c4l-spacer + p.c4l-spacer {
  display: none;
}

/* Media queries — component styles only */
@media only screen and (min-width: 576px) {
  .c4l-spacer {
    height: 6px;
  }
  .c4l-spacer + .c4l-keyconcept,
  .c4l-spacer + .c4lv-keyconcept,
  .c4l-spacer + .c4l-tip,
  .c4l-spacer + .c4lv-tip,
  .c4l-spacer + .c4l-reminder,
  .c4l-spacer + .c4lv-reminder,
  .c4l-spacer + .c4l-attention,
  .c4l-spacer + .c4lv-attention,
  .c4l-spacer + .c4l-expectedfeedback,
  .c4l-spacer + .c4lv-expectedfeedback,
  .c4l-spacer + .c4l-learningoutcomes,
  .c4l-spacer + .c4lv-learningoutcomes {
    margin: 16px auto 16px auto;
  }
  .c4l-spacer + .c4l-quote,
  .c4l-spacer + .c4lv-quote {
    margin: 12px auto 0 auto;
  }
  .c4l-spacer + .c4l-dodontcards .c4l-dodontcards-do,
  .c4l-spacer + .c4lv-dodontcards .c4l-dodontcards-do {
    margin-top: 0;
  }
  .c4l-spacer + .c4l-example,
  .c4l-spacer + .c4lv-example {
    margin: 12px auto 6px auto;
    padding: 36px 48px;
  }
  .c4l-embedded-caption {
    margin-top: 24px;
  }
  .c4l-quote,
  .c4lv-quote {
    margin: 36px auto;
    max-width: 90%;
  }
  .c4l-quote .c4l-quote-caption {
    margin-top: 24px;
  }
  .c4l-dodontcards,
  .c4lv-dodontcards {
    max-width: 90%;
  }
  .c4l-dodontcards .c4l-dodontcards-do,
  .c4l-dodontcards .c4l-dodontcards-dont,
  .c4lv-dodontcards .c4l-dodontcards-do,
  .c4lv-dodontcards .c4l-dodontcards-dont {
    margin: 24px auto;
  }
  .c4l-readingcontext,
  .c4lv-readingcontext {
    max-width: 88%;
  }
  .c4l-example,
  .c4lv-example {
    max-width: 88%;
    padding: 36px 48px;
  }
  .c4l-expectedfeedback,
  .c4lv-expectedfeedback {
    max-width: 88%;
    margin: 48px auto;
  }
  .c4l-allpurposecard,
  .c4lv-allpurposecard {
    margin: 36px auto;
    max-width: 90%;
  }
}
@media only screen and (min-width: 768px) {
  .c4l-keyconcept,
  .c4lv-keyconcept,
  .c4l-tip,
  .c4lv-tip,
  .c4l-reminder,
  .c4lv-reminder,
  .c4l-attention,
  .c4lv-attention,
  .c4l-dodontcards,
  .c4lv-dodontcards,
  .c4l-readingcontext,
  .c4lv-readingcontext,
  .c4l-expectedfeedback,
  .c4lv-expectedfeedback,
  .c4l-allpurposecard,
  .c4lv-allpurposecard,
  .c4l-learningoutcomes,
  .c4lv-learningoutcomes,
  .c4l-conceptreview,
  .c4lv-conceptreview,
  .c4l-furtherreading,
  .c4lv-furtherreading,
  .c4l-statement,
  .c4lv-statement,
  .c4l-assessment,
  .c4lv-assessment {
    max-width: 75%;
  }
  .c4l-keyconcept.c4l-full-width-variant,
  .c4lv-keyconcept.c4l-full-width-variant,
  .c4l-tip.c4l-full-width-variant,
  .c4lv-tip.c4l-full-width-variant,
  .c4l-reminder.c4l-full-width-variant,
  .c4lv-reminder.c4l-full-width-variant,
  .c4l-attention.c4l-full-width-variant,
  .c4lv-attention.c4l-full-width-variant,
  .c4l-dodontcards.c4l-full-width-variant,
  .c4lv-dodontcards.c4l-full-width-variant,
  .c4l-readingcontext.c4l-full-width-variant,
  .c4lv-readingcontext.c4l-full-width-variant,
  .c4l-expectedfeedback.c4l-full-width-variant,
  .c4lv-expectedfeedback.c4l-full-width-variant,
  .c4l-allpurposecard.c4l-full-width-variant,
  .c4lv-allpurposecard.c4l-full-width-variant,
  .c4l-learningoutcomes.c4l-full-width-variant,
  .c4l-quote.c4l-full-width-variant,
  .c4lv-quote.c4l-full-width-variant,
  .c4l-example.c4l-full-width-variant,
  .c4lv-example.c4l-full-width-variant,
  .c4l-assessment.c4l-full-width-variant,
  .c4lv-assessment.c4l-full-width-variant {
    max-width: 100%;
  }
  .c4l-quote,
  .c4lv-quote {
    margin: 48px auto;
    max-width: 75%;
  }
  .c4l-spacer + .c4l-quote,
  .c4l-spacer + .c4lv-quote {
    margin: 24px auto 14px auto;
  }
  .c4l-example,
  .c4lv-example {
    margin: 48px auto;
    max-width: 75%;
  }
  .c4l-spacer + .c4l-example,
  .c4l-spacer + .c4lv-example {
    margin: 20px auto 20px auto;
  }
}
/* Component variants */
/* Legacy */
.c4l-keyconcept.c4l-full-width-variant,
.c4l-quote.c4l-full-width-variant,
.c4l-dodontcards.c4l-full-width-variant,
.c4l-figure.c4l-full-width-variant,
.c4l-learningoutcomes.c4l-full-width-variant,
.c4l-allpurposecard.c4l-full-width-variant {
  max-width: 100%;
}

.c4l-statement.c4l-full-width-variant,
.c4lv-statement.c4l-full-width-variant {
  /* 100% - 4% for the shadow and the tag, which hangs off the left edge */
  max-width: 96%;
}

.c4l-tip.c4l-full-width-variant,
.c4l-reminder.c4l-full-width-variant,
.c4l-attention.c4l-full-width-variant {
  /* 100% - 1% due to the outbound icon */
  max-width: 99%;
}

.c4l-readingcontext.c4l-full-width-variant,
.c4l-example.c4l-full-width-variant,
.c4l-expectedfeedback.c4l-full-width-variant {
  /* 100% - 6% due to the shadow */
  max-width: 94%;
}

/* Variants */
/* .c4lv prefix instead of .c4l only for the parent class of an element supporting variants */
.c4lv-keyconcept.c4l-full-width-variant,
.c4lv-quote.c4l-full-width-variant,
.c4lv-dodontcards.c4l-full-width-variant,
.c4lv-figure.c4l-full-width-variant,
.c4lv-expectedfeedback.c4l-full-width-variant,
.c4lv-allpurposecard.c4l-full-width-variant,
.c4lv-custom-component.c4l-full-width-variant {
  max-width: 100%;
}

.c4lv-learningoutcomes.c4l-full-width-variant {
  /* 100% - 1% for the title tab, which hangs 39px off the left edge */
  max-width: 99%;
}

.c4lv-tip.c4l-full-width-variant,
.c4lv-reminder.c4l-full-width-variant,
.c4lv-attention.c4l-full-width-variant {
  /* 100% - 1% due to the outbound icon */
  max-width: 99%;
}

.c4lv-readingcontext.c4l-full-width-variant,
.c4lv-example.c4l-full-width-variant,
.c4lv-expectedfeedback.c4l-full-width-variant,
.c4lv-conceptreview.c4l-full-width-variant,
.c4lv-furtherreading.c4l-full-width-variant {
  /* 100% - 6% due to the shadow */
  max-width: 94%;
}

.c4lv-timeline.c4l-full-width-variant {
  max-width: 100%;
}

.c4lv-panellist.c4l-full-width-variant {
  max-width: 100%;
}

body.tiny_c4lauthor-inner-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 32px;
}

body.tiny_c4lauthor-inner-body.tiny_c4lauthor-inner-body--wide {
  max-width: 1100px;
}

.fade {
  opacity: 1 !important;
}

p.c4l-spacer + p.c4l-spacer {
  display: none;
}

.c4lauthor-vt {
  position: absolute;
  display: none;
  align-items: stretch;
  background: var(--c4l-ui-variant-bg);
  outline: none;
  border: 1px solid var(--c4l-ui-variant-border);
  border-radius: 8px;
  overflow: hidden;
  padding: 0;
  gap: 0;
  z-index: 10000;
}

.c4lauthor-vt--visible {
  display: flex;
}

.c4lauthor-vt:hover,
.c4lauthor-vt:has(.c4lauthor-vt__btn--active) {
  border-color: var(--c4l-ui-accent);
}

.c4lauthor-vt__btn {
  font-size: 11px;
  padding: 4px 10px;
  margin: 0;
  border: none;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  background: var(--c4l-ui-variant-bg);
  color: var(--c4l-ui-accent);
  cursor: pointer;
  white-space: nowrap;
  font-family: -apple-system, BlinkMacSystemFont, sans-serif;
}

.c4lauthor-vt__btn:hover {
  background: var(--c4l-ui-variant-hover-bg);
  color: var(--c4l-ui-variant-ink);
}

.c4lauthor-vt__btn--active {
  background: var(--c4l-ui-variant-on-bg);
  color: var(--c4l-ui-variant-ink);
}

.c4lauthor-vt__btn--active:hover {
  background: var(--c4l-ui-variant-on-bg);
}

.c4lauthor-vt__btn--delete {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.c4lauthor-vt__btn--delete:hover {
  background: var(--c4l-ui-variant-hover-bg);
  color: var(--c4l-ui-variant-ink);
}

.c4lauthor-vt__btn--unstyle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
}

.c4lauthor-vt__btn--unstyle:hover {
  background: var(--c4l-ui-variant-hover-bg);
  color: var(--c4l-ui-variant-ink);
}

.c4lauthor-vt__btn--convert {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  /* The same drawing serves as the editor's menu icon, at its own size. It fills two
     thirds of its viewBox, where the other icons here fill it almost entirely, so it
     takes a larger box to be drawn at their size. */
}
.c4lauthor-vt__btn--convert svg {
  width: 16px;
  height: 16px;
}

.c4lauthor-vt__btn--convert:hover {
  background: var(--c4l-ui-variant-hover-bg);
  color: var(--c4l-ui-variant-ink);
}

.c4lauthor-vt__btn--move {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 6px;
  line-height: 0;
}

.c4lauthor-vt__btn--disabled {
  opacity: 0.3;
  pointer-events: none;
}

.c4lauthor-vt__btn--move-down + .c4lauthor-vt__btn {
  border-left: 1px solid var(--c4l-ui-variant-border);
}
