@import url("/wp-content/themes/hth-theme/assets/css/hth-icons.css");

/* alternative */
.wp-block-file.is-style-alternative > a:not(.wp-block-file__button) {
    display: none;
}

.wp-block-file.is-style-alternative > a.wp-block-file__button {
    border: 2px solid var(--wp--preset--color--blue-dark);
    background: none;
    color: var(--wp--preset--color--blue-dark);
    border-radius: 0;
    padding-top: 6px;
    padding-right: 18px;
    padding-bottom: 6px;
    padding-left: 18px;
    margin-left: 0;
    font-weight: bold;
    font-size: var(--wp--preset--font-size--small);
}

.wp-block-file.is-style-alternative > a.wp-block-file__button::before {
    content: "\e90f";
    font-family: var(--wp--preset--font-family--hth-icons) !important;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-transform: none;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 0.5rem;
}

/* editor */
.wp-admin .wp-block-file__content-wrapper > a {
    display: none;
}

.wp-admin .wp-block-file__button {
    border: 1px solid var(--wp--preset--color--blue-dark);
    background: none;
    color: var(--wp--preset--color--blue-dark);
    font-weight: 500;
    border-radius: 0;
    padding: 0.5rem 0.75rem;
    margin-left: 0;
}

.wp-admin .wp-block-file__button-richtext-wrapper {
    margin-left: 0;
}

.wp-admin .wp-block-file__button::before {
    content: "\e90f";
    font-family: var(--wp--preset--font-family--hth-icons) !important;
    font-style: normal;
    font-variant: normal;
    font-weight: normal;
    line-height: 1;
    text-transform: none;
    speak: never;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin-right: 0.5rem;
}