/* aieo/post-related-categories — native select styled like a chip. */
.aieo-post-related-categories {
    width: 100%;
}

.aieo-post-related-categories__form {
    margin: 0;
}

.aieo-post-related-categories__select {
    width: auto;
    max-width: 100%;
    padding: 7px 28px 7px 12px;
    border: 1px solid var(--wp--preset--color--contrast, #1a1a1a);
    border-radius: 999px;
    background-color: transparent;
    color: inherit;
    font-family: inherit;
    font-size: 0.8rem;
    line-height: 1.2;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='currentColor'><path d='M6 8.5 1.5 4h9z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 9px 9px;
}

.aieo-post-related-categories__select:focus {
    outline: 2px solid var(--wp--preset--color--accent, #1a1a1a);
    outline-offset: 2px;
}
