/* Shared badges on archive and article cover images. Occupational medicine is untouched. */
.entry-thumbnail .az-entry-labels {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
    max-width: calc(100% - 32px);
    top: 16px;
    left: 16px;
    text-align: left;
}
.entry-thumbnail .az-entry-labels ul.post-categories { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; line-height: 1.45; }
.entry-thumbnail .az-entry-labels ul.post-categories li,
.entry-thumbnail .az-entry-topic,
.entry-thumbnail .az-entry-department {
    font-size: 11px;
    font-weight: 700;
    line-height: 1.45;
    padding: 6px 10px;
    text-transform: uppercase;
    color: #fff;
}
.entry-thumbnail .az-entry-labels ul.post-categories li a { line-height: inherit; }
.entry-thumbnail .az-entry-topic {
    display: inline-block;
    background: #117070;
    text-decoration: none;
}
.entry-thumbnail .az-entry-department {
    position: absolute;
    right: 16px;
    bottom: 16px;
    z-index: 2;
    max-width: calc(100% - 32px);
    background: #174e49;
    border: 1px solid rgb(255 255 255 / 65%);
    border-radius: 4px;
    text-align: right;
}
.entry-thumbnail .az-entry-topic:hover { background: #174e49; color: #fff; }
.entry-thumbnail .az-entry-topic:focus-visible { outline: 3px solid #6ebc7f; outline-offset: 3px; }
@media (max-width: 540px) {
    .entry-thumbnail .az-entry-labels { top: 10px; left: 10px; gap: 6px; max-width: calc(100% - 20px); }
    .entry-thumbnail .az-entry-labels ul.post-categories li,
    .entry-thumbnail .az-entry-topic,
    .entry-thumbnail .az-entry-department { font-size: 9px; padding: 5px 8px; }
    .entry-thumbnail .az-entry-department { right: 10px; bottom: 10px; max-width: calc(100% - 20px); }
}
