/* Version 1.1: transparent vector pedigree, visually aligned with article typography. */
.me-wb-figure {
    --me-wb-red: #A75038;
    box-sizing: border-box;
    display: block;
    width: 100%;
    max-width: none;
    margin: 1.55rem 0 1.65rem;
    padding: 0;
    border: 0;
    background: transparent;
}
.me-wb-scroll {
    box-sizing: border-box;
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    background: transparent;
}
.me-wb-scroll:focus-visible {
    outline: 2px solid var(--me-wb-red);
    outline-offset: 3px;
}
.me-wb-svg {
    display: block;
    box-sizing: border-box;
    width: 100%;
    min-width: 760px;
    height: auto;
    overflow: visible;
    background: transparent;
}
.me-wb-name {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 38px;
    font-weight: 600;
    letter-spacing: .06px;
    fill: #2c2826;
    text-anchor: middle;
}
.me-wb-name.is-red { fill: var(--me-wb-red); }
.me-wb-role {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    font-style: italic;
    font-weight: 400;
    fill: #6f6964;
    text-anchor: middle;
}
.me-wb-line {
    stroke: #a6a09a;
    stroke-width: 1.65;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.me-wb-link {
    stroke: var(--me-wb-red);
    stroke-width: 2.1;
    fill: none;
    stroke-dasharray: 4 9;
    stroke-linecap: round;
}
.me-wb-figure .me-wb-caption {
    display: block;
    box-sizing: border-box;
    max-width: 100%;
    margin: .1rem auto 0;
    padding: 0 1rem;
    background: transparent;
    color: #706861;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .84em;
    font-weight: 400;
    font-style: normal;
    line-height: 1.5;
    text-align: center;
}
.me-wb-figure .me-wb-caption a { color: var(--me-wb-red); }
.me-wb-figure .me-wb-caption a:hover { text-decoration: underline; }
.me-wb-figure.alignwide,
.me-wb-figure.alignfull { width: 100%; }
/* Editable caption mimics frontend figcaption without duplicating it in preview. */
.wp-block-me-wittelsbach-stammtafel .me-wb-caption-edit {
    display: block;
    min-height: 1.8em;
    margin: -.25rem 0 .5rem;
    padding: .25rem .5rem;
    color: #706861;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: .88rem;
    font-style: normal;
    line-height: 1.5;
    text-align: center;
}
.wp-block-me-wittelsbach-stammtafel .me-wb-caption-edit:focus-visible {
    outline: 1px solid var(--me-wb-red, #A75038);
}
@media (max-width: 780px) {
    .me-wb-figure { margin: 1.25rem 0 1.35rem; }
    .me-wb-figure .me-wb-caption { font-size: .82em; }
}
