.vp-comic-strip { --vp-comic-accent: var(--theme-palette-color-1, #527783); container-type: inline-size; margin-block: 1.5em; color: inherit; }
.vp-comic-strip *, .vp-comic-strip *::before, .vp-comic-strip *::after { box-sizing: border-box; }
.vp-comic-strip .vp-comic-strip__advance { display: block; width: 100%; height: auto; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: inherit; box-shadow: none; cursor: pointer; line-height: 0; min-height: 0; }
.vp-comic-strip .vp-comic-strip__advance:hover { background: transparent; box-shadow: none; transform: none; }
.vp-comic-strip .vp-comic-strip__advance[aria-disabled="true"] { cursor: default; }
.vp-comic-strip .vp-comic-strip__image { display: block; width: auto; max-width: 100%; height: auto; margin: 0 auto; border-radius: 0; }
.vp-comic-strip .vp-comic-strip__footer { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; margin-top: 12px; }
.vp-comic-strip .vp-comic-strip__controls { display: flex; grid-column: 2; align-items: center; justify-content: center; gap: clamp(4px, 2vw, 12px); }
.vp-comic-strip .vp-comic-strip__controls[hidden] { display: none; }
.vp-comic-strip .vp-comic-strip__controls button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 44px; width: 44px; min-width: 44px; height: 44px; min-height: 44px; padding: 0; margin: 0; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; font: 400 28px/1 system-ui, sans-serif; box-shadow: none; cursor: pointer; }
.vp-comic-strip .vp-comic-strip__controls button:hover:not(:disabled) { color: var(--vp-comic-accent); background: transparent; box-shadow: none; transform: none; }
.vp-comic-strip .vp-comic-strip__controls button:disabled { opacity: .3; cursor: default; color: inherit; background: transparent; }
.vp-comic-strip button:focus-visible { outline: 3px solid var(--vp-comic-accent); outline-offset: 3px; }
.vp-comic-strip .vp-comic-strip__position { font: inherit; font-size: .875em; font-variant-numeric: tabular-nums; text-align: center; min-width: 4ch; }
.vp-comic-strip__editor { padding: 16px; border: 1px dashed #888; }
.vp-comic-strip__editor-list { list-style: none; padding: 0; }
.vp-comic-strip__editor-list li { display: flex; align-items: center; gap: 6px; padding-block: 6px; border-bottom: 1px solid #ddd; }
.vp-comic-strip__editor-list li > span { flex: 1; }
.vp-comic-strip__editor-results { max-height: 240px; overflow: auto; }
.vp-comic-strip__editor-results .components-button { width: 100%; height: auto; min-height: 40px; text-align: left; white-space: normal; justify-content: flex-start; }

.vp-comic-strip .vp-comic-strip__post-link { grid-column: 3; justify-self: end; margin: 0; text-align: center; }
.vp-comic-strip .vp-comic-strip__open { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 8px 16px; border: 1px solid currentColor; border-radius: 6px; color: inherit; background: transparent; font: inherit; line-height: 1.4; text-decoration: none; box-shadow: none; }
.vp-comic-strip .vp-comic-strip__open:hover { color: var(--vp-comic-accent); text-decoration: none; }
.vp-comic-strip .vp-comic-strip__open:focus-visible { outline: 3px solid var(--vp-comic-accent); outline-offset: 3px; }
@container (max-width: 520px) {
    .vp-comic-strip .vp-comic-strip__footer { grid-template-columns: minmax(0, 1fr); }
    .vp-comic-strip .vp-comic-strip__controls,
    .vp-comic-strip .vp-comic-strip__post-link { grid-column: 1; justify-self: center; }
}
