/* Solutto Consulting. Moodle guides in Gutenberg. */
.solutto-moodle-guide,
.solutto-moodle-guides {
    max-width: 76ch;
    margin-inline: auto;
    line-height: 1.65;
    overflow-wrap: break-word;
}

.solutto-moodle-guide > p:first-child,
.solutto-moodle-guides > p:first-child {
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    color: #333757;
    line-height: 1.55;
    margin-bottom: 2rem;
}

.solutto-moodle-guide > h2 {
    margin-block: 1.9em 0.55em;
    line-height: 1.2;
    text-wrap: balance;
}

.solutto-moodle-guide a,
.solutto-moodle-guides a {
    text-underline-offset: .15em;
}

.solutto-moodle-guide a:focus-visible,
.solutto-moodle-guides a:focus-visible {
    outline: 3px solid #5151ce;
    outline-offset: 3px;
}

.solutto-moodle-guide .wp-block-table {
    max-width: 100%;
    overflow-x: auto;
    margin: 1.6rem 0;
}

.solutto-moodle-guide table {
    width: 100%;
    border-collapse: collapse;
    font-size: .96em;
}

.solutto-moodle-guide :is(th, td) {
    padding: .65rem .8rem;
    text-align: start;
    vertical-align: top;
    border: 1px solid #d5d9e7;
}

.solutto-moodle-guide th {
    color: #212856;
    background: #e9edf8;
}

.solutto-moodle-guide caption {
    padding: .6rem 0;
    font-weight: 650;
    text-align: start;
    caption-side: top;
}

.solutto-moodle-guide figure img {
    max-width: 100%;
    height: auto;
    border: 1px solid #d5d9e7;
    border-radius: .65rem;
}

.solutto-moodle-guide figcaption {
    margin-top: .5rem;
    font-size: .9em;
    color: #454967;
}

.solutto-moodle-guides .wp-block-post-template {
    list-style: none;
    padding: 0;
    margin-inline: 0;
}

.solutto-moodle-guides .wp-block-post-template > li {
    padding: clamp(1.2rem, 3vw, 2rem);
    margin-block: 1rem;
    border: 1px solid #d5d9e7;
    border-inline-start: 4px solid #5151ce;
    border-radius: .65rem;
    background: #f7f8fd;
}

.solutto-moodle-guides .wp-block-post-title {
    margin: .45rem 0;
    font-size: clamp(1.4rem, 3vw, 2rem);
    line-height: 1.2;
}

.solutto-moodle-guides .wp-block-post-excerpt__excerpt {
    margin-bottom: 0;
}
