/* Tag Container & Pills */
.wfet-tags-container {
    display: flex;
    flex-wrap: wrap;
    margin: 10px 0;
    align-items: baseline;
}

.wfet-tag-pill {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0 0 2px 0;
    margin: 0;
    margin-right: 20px;
    cursor: pointer;
    color: #6F6F6F;
    font-family: inherit;
    font-size: 12px;
    font-weight: 400;
    line-height: 16px;
    border-bottom: 2px dotted #98B4B8;
    position: relative;
    text-decoration: none;
    display: inline-block;
}

.wfet-tag-pill:hover {
    background-color: transparent;
    color: #333;
    border-bottom-color: #7a9da1;
}

/* Separator on pseudo-element */
.wfet-tag-pill:not(:last-of-type)::after {
    content: "|";
    position: absolute;
    right: -14px;
    top: 0;
    color: #98B4B8;
    font-weight: 300;
    pointer-events: none;
    border: none;
    text-decoration: none;
}

.wfet-tag-pill:last-of-type {
    margin-right: 0;
}

/* Modal Structure */
.wfet-modal-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999;
    /* High Z-index */
    display: flex;
    justify-content: center;
    align-items: center;
}

.wfet-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
}

.wfet-modal-content {
    background: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    position: relative;
    padding: 25px;
    animation: wfet-fade-in 0.3s ease;
}

@keyframes wfet-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wfet-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    line-height: 1;
    padding: 0;
}

.wfet-modal-close:hover {
    color: #333;
}

.wfet-modal-title {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 24px;
    font-weight: bold;
    border-bottom: 2px solid #eee;
    /* Optional styling */
    padding-bottom: 10px;
}

.wfet-modal-video {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 4px;
}

.wfet-modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wfet-modal-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.wfet-modal-description p {
    margin-bottom: 1em;
}

.wfet-modal-button {
    display: block;
    width: 100%;
    margin-top: 20px;
    padding: 12px 20px;
    background-color: #0073aa;
    color: #fff;
    text-align: center;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    box-sizing: border-box;
    transition: background-color 0.2s;
}

.wfet-modal-button:hover {
    background-color: #005177;
    color: #fff;
    text-decoration: none;
}

body.wfet-modal-open {
    overflow: hidden;
}