/* The design hides the "Pagina x van y" counter; Joomla 4+ places it outside div.pagination. */
.blog-featured .counter,
.blog .counter {
    display: none;
}

/*
 * Images and embeds from the editor carry fixed width/height attributes (e.g. width="500").
 * Keep them inside the content column, so phones don't get a horizontal scrollbar.
 */
.content img {
    max-width: 100%;
    height: auto;
}

.content iframe,
.content video,
.content embed,
.content object {
    max-width: 100%;
}

/* Video embeds: on phones use the full column width and keep the 16:9 ratio instead of the fixed height. */
@media (max-width: 767px) {
    .content iframe[src*="vimeo.com"],
    .content iframe[src*="youtube.com"],
    .content iframe[src*="youtube-nocookie.com"] {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

.visually-hidden {
    position: absolute;
    overflow: hidden;
    backface-visibility: hidden;
    clip: rect(0 0 0 0);
    height: 1px;
    width: 1px;
    margin: -1px;
    padding: 0;
    border: none;
}

.com-users-login__form fieldset > * + *,
.com-users-login__form fieldset > * > * + * {
    margin-top: .25rem;
}

.com-users-login__form fieldset .control-label {
    text-align: unset;
}

.com-users-login__form fieldset .control-label label {
    margin-bottom: unset;
}

.com-users-login__form fieldset .control-label .form-control-feedback {
    position: initial;
    display: block;
    width: unset;
    height: unset;
    line-height: unset;
}

.com-users-login__form fieldset  button[class*=plg_system_webauthn_login_button] {
    max-height: unset;
}

.com-users-login__form fieldset .password-group > * {
    display: flex;
}
