/* AACS Posts & Categories - same badge as RELATED POSTS on Event pages.
 * Only the selected parent is hidden in PHP; this file changes presentation. */
.aacs-posts-categories {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    max-width: 100%;
    vertical-align: middle;
}
.aacs-posts-categories .aacs-posts-primary-category {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    max-width: 100%;
    padding: 0;
    border: 1px solid #8AB336;
    border-radius: 0;
    background: #fff;
    color: #1e1e1e;
    font-family: inherit;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
    text-transform: uppercase;
    vertical-align: middle;
}
.aacs-posts-categories .aacs-posts-primary-category .aacs-posts-primary-category__link,
.aacs-posts-categories .aacs-posts-primary-category .aacs-posts-primary-category__link:visited {
    display: inline-block;
    box-sizing: border-box;
    max-width: 100%;
    padding: 3px 8px;
    border: 0;
    border-radius: 0;
    background-color: #8AB336;
    color: #1e1e1e;
    font: inherit;
    line-height: inherit;
    text-decoration: none;
    text-transform: inherit;
    overflow-wrap: anywhere;
    white-space: normal;
}
.aacs-posts-categories .aacs-posts-primary-category .aacs-posts-primary-category__link:hover,
.aacs-posts-categories .aacs-posts-primary-category .aacs-posts-primary-category__link:focus-visible {
    color: #1e1e1e;
    background: transparent;
    text-decoration: none;
}
.aacs-posts-categories .aacs-posts-primary-category .aacs-posts-primary-category__link:focus-visible {
    outline: 2px solid #8AB336;
    outline-offset: 2px;
}
/* Unlinked version uses identical visual dimensions. */
.aacs-posts-categories .aacs-posts-primary-category--plain {
    padding: 3px 8px;
}

@media (max-width: 767px) {
    .aacs-posts-categories .aacs-posts-primary-category {
		font-size: 10px;
	}
}