/* =========================================================
   POST TAGS - CLEAN VERSION
   ========================================================= */
/* Hide author/date only in Read Next related stories */
.read-next:not(.pe-sponsored-stories) .post-card .post-info {
    display: none !important;
}




.post-tags {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    column-gap: 0.5rem;
    row-gap: 0.45rem;

    padding: 0.75rem 0;

    border-top: 0.0625rem solid #e5e5e5;
    border-bottom: 0.0625rem solid #e5e5e5;
}

.post-tags__label {
    display: inline-flex;
    align-items: center;

    margin-top: 0.2rem;

    color: #333333;
    font-size: 0.875rem;
    line-height: 1.25;
    font-weight: 600;
}

.post-tags__list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;

    min-width: 0;
}

/* Individual tag */
.post-tags__list a {
    display: inline-flex;
    align-items: center;

    padding: 0.25rem 0.6rem;

    background: #f1f2f3;
    border-radius: 0.25rem;

    color: #e00000;

    font-size: 0.8125rem;
    line-height: 1.3;
    font-weight: 400;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        color 0.2s ease;
}

/* Hover */
.post-tags__list a:hover {
    background: #171b2f;
    color: #ffffff;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 43.75rem) {

    .post-tags {
        gap: 0.35rem;
        padding: 0.625rem 0;
    }

    .post-tags__list {
        gap: 0.35rem;
    }

    .post-tags__list a {
        padding: 0.25rem 0.55rem;
        font-size: 0.8125rem;
    }

    .post-tags__label {
        font-size: 0.8125rem;
    }
}



/* Tag page: match normal PE card hover and hide author/date */
.tag-template .post-card .post-card__title a:hover,
.tag-template .post-card .post-card__title a:focus {
    color: #d11216 !important;
    text-decoration: none !important;
}

.tag-template .post-card .post-info {
    display: none !important;
}