/* Tourmaster Complementary 1.2.4 — Style 7 only */
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail {
    position: relative !important;
}
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .bottom-category-custom,
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .tourmaster-tour-category {
    position: absolute !important;
    z-index: 99 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: flex-start;
    gap: var(--tmc-category-gap, 7px) !important;
    width: auto !important;
    max-width: calc(100% - 28px) !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-sizing: border-box;
    line-height: 1.2;
}
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .bottom-category-custom .tour-category,
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .tourmaster-tour-category a,
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .tourmaster-tour-category .tour-category {
    position: relative !important;
    inset: auto !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: auto !important;
    max-width: 100%;
    margin: 0 !important;
    padding: var(--tmc-badge-padding-y, 7px) var(--tmc-badge-padding-x, 12px) !important;
    border: 0 !important;
    border-radius: var(--tmc-badge-radius, 6px) !important;
    background: #176b55;
    color: #fff !important;
    font-size: var(--tmc-badge-font-size, 11px) !important;
    font-weight: 700 !important;
    line-height: 1.25 !important;
    text-decoration: none !important;
    text-transform: none !important;
    white-space: normal;
    box-shadow: 0 2px 7px rgba(0,0,0,.16);
    transition: transform .18s ease,filter .18s ease,box-shadow .18s ease;
}
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .bottom-category-custom .tour-category:hover,
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .tourmaster-tour-category a:hover,
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .tourmaster-tour-category .tour-category:hover {
    color: #fff !important;
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
}
.tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .tourmaster-tour-category .tourmaster-sep {
    display: none !important;
}
@media(max-width:767px) {
    .tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .bottom-category-custom .tour-category,
    .tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .tourmaster-tour-category a,
    .tourmaster-tour-grid.tourmaster-tour-grid-style-7 .tourmaster-tour-thumbnail .tourmaster-tour-category .tour-category {
        padding: 5px 9px !important;
        font-size: 10px !important;
    }
}
