.bhmt-tags-hero {
    position: relative;
    overflow: hidden;
}

.bhmt-tags-hero::after {
    content: "✦";
    position: absolute;
    right: 8%;
    top: 20%;
    font-size: 180px;
    line-height: 1;
    opacity: .025;
    pointer-events: none;
}

.bhmt-tags-hero h1 span {
    color: #ff117b;
}


/* ==========================================================
   TAG GRID
========================================================== */

.bhmt-tags-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: 25px;
}


/* ==========================================================
   TAG CARD
========================================================== */

.bhmt-tag-card {
    position: relative;
    min-height: 112px;
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;

    overflow: hidden;

    text-decoration: none;

    border: 1px solid rgba(255, 255, 255, .07);
    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.055),
            rgba(255,255,255,.018)
        );

    box-shadow:
        0 10px 35px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}


/* ==========================================================
   HOVER
========================================================== */

.bhmt-tag-card:hover {
    transform: translateY(-5px);

    border-color: rgba(255, 17, 123, .42);

    background:
        linear-gradient(
            145deg,
            rgba(255,17,123,.10),
            rgba(255,255,255,.025)
        );

    box-shadow:
        0 18px 45px rgba(0,0,0,.28),
        0 0 30px rgba(255,17,123,.10);
}


/* ==========================================================
   ICON
========================================================== */

.bhmt-tag-icon {
    position: relative;
    z-index: 2;

    width: 55px;
    height: 55px;

    flex: 0 0 55px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    font-size: 25px;

    background:
        linear-gradient(
            145deg,
            rgba(255,17,123,.20),
            rgba(140,70,255,.12)
        );

    border: 1px solid rgba(255,255,255,.08);

    box-shadow:
        inset 0 0 18px rgba(255,255,255,.025),
        0 8px 22px rgba(0,0,0,.18);

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.bhmt-tag-card:hover .bhmt-tag-icon {
    transform: scale(1.08) rotate(-4deg);

    box-shadow:
        0 0 25px rgba(255,17,123,.20);
}


/* ==========================================================
   CONTENT
========================================================== */

.bhmt-tag-content {
    position: relative;
    z-index: 2;

    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;
}


.bhmt-tag-name {
    color: #fff;

    font-size: 1rem;
    font-weight: 700;

    line-height: 1.25;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.bhmt-tag-count {
    color: rgba(255,255,255,.52);

    font-size: .78rem;
    font-weight: 500;
}


/* ==========================================================
   ARROW
========================================================== */

.bhmt-tag-arrow {
    position: relative;
    z-index: 2;

    margin-left: auto;

    width: 32px;
    height: 32px;

    flex: 0 0 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    color: rgba(255,255,255,.45);

    background: rgba(255,255,255,.045);

    transition:
        transform .25s ease,
        color .25s ease,
        background .25s ease;
}


.bhmt-tag-card:hover .bhmt-tag-arrow {
    transform: translateX(4px);

    color: #fff;

    background: #ff117b;
}


/* ==========================================================
   GLOW
========================================================== */

.bhmt-tag-glow {
    position: absolute;

    width: 100px;
    height: 100px;

    right: -55px;
    bottom: -60px;

    border-radius: 50%;

    background: #ff117b;

    opacity: .035;

    filter: blur(20px);

    pointer-events: none;

    transition:
        opacity .3s ease,
        transform .3s ease;
}


.bhmt-tag-card:hover .bhmt-tag-glow {
    opacity: .14;
    transform: scale(1.5);
}


/* ==========================================================
   DIFFERENT CARD ACCENTS
========================================================== */

.bhmt-purple:hover {
    border-color: rgba(145, 91, 255, .45);
}

.bhmt-purple .bhmt-tag-icon {
    background:
        linear-gradient(
            145deg,
            rgba(145,91,255,.20),
            rgba(255,17,123,.08)
        );
}


.bhmt-violet:hover {
    border-color: rgba(190, 80, 255, .45);
}

.bhmt-violet .bhmt-tag-icon {
    background:
        linear-gradient(
            145deg,
            rgba(190,80,255,.20),
            rgba(255,17,123,.08)
        );
}


.bhmt-rose .bhmt-tag-icon {
    background:
        linear-gradient(
            145deg,
            rgba(255,70,130,.20),
            rgba(255,17,123,.08)
        );
}


.bhmt-hot .bhmt-tag-icon {
    background:
        linear-gradient(
            145deg,
            rgba(255,17,123,.25),
            rgba(255,80,40,.08)
        );
}


.bhmt-dark .bhmt-tag-icon {
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.09),
            rgba(255,17,123,.07)
        );
}


/* ==========================================================
   SEO BOX
========================================================== */

.bhmt-seo-section {
    position: relative;

    max-width: 900px;

    margin: 45px auto 25px;

    padding: 30px;

    text-align: center;

    border-radius: 20px;

    border: 1px solid rgba(255,255,255,.06);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.035),
            rgba(255,17,123,.025)
        );
}


.bhmt-seo-icon {
    width: 46px;
    height: 46px;

    margin: 0 auto 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    color: #ff117b;

    font-size: 22px;

    background: rgba(255,17,123,.08);
}


.bhmt-seo-section h2 {
    margin: 0 0 12px;

    color: #fff;

    font-size: 1.25rem;
}


.bhmt-seo-section p {
    margin: 8px auto;

    max-width: 760px;

    color: rgba(255,255,255,.55);

    font-size: .9rem;

    line-height: 1.7;
}


/* ==========================================================
   PAGINATION
========================================================== */

.bhmt-pagination {
    margin-top: 35px;
}


/* ==========================================================
   TABLET
========================================================== */

@media (max-width: 1000px) {

    .bhmt-tags-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


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

@media (max-width: 700px) {

    .bhmt-tags-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .bhmt-tag-card {
        min-height: 100px;
        padding: 13px;
        gap: 10px;
        border-radius: 15px;
    }

    .bhmt-tag-icon {
        width: 45px;
        height: 45px;
        flex-basis: 45px;
        border-radius: 13px;
        font-size: 20px;
    }

    .bhmt-tag-name {
        font-size: .88rem;
    }

    .bhmt-tag-count {
        font-size: .7rem;
    }

    .bhmt-tag-arrow {
        display: none;
    }

    .bhmt-seo-section {
        padding: 22px 18px;
        margin-top: 30px;
    }

}


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

@media (max-width: 420px) {

    .bhmt-tags-grid {
        grid-template-columns: 1fr;
    }

    .bhmt-tag-card {
        min-height: 82px;
    }

} 