/**
 * PinkDigital_BlogPins — frontend pin overlay styles
 */

.pd-pin-image-wrap {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}

.pd-frontend-pin {
    position: absolute;
    transform: translate(-50%, -100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.pd-pin-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
}

.pd-pin-link:hover .pd-pin-dot {
    transform: rotate(-45deg) scale(1.2);
}

.pd-pin-dot {
    width: 22px;
    height: 22px;
    border-radius: 50% 50% 50% 0;
    background: #33051F;
    border: 2px solid #fff;
    transform: rotate(-45deg);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

.pd-pin-label {
    margin-top: 6px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    white-space: normal;
    max-width: 220px;
    width: max-content;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .12);
    line-height: 1.4;
    pointer-events: none;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.15s ease;
}

.pd-pin-link:hover .pd-pin-label,
.pd-frontend-pin:hover .pd-pin-label {
    opacity: 1;
    visibility: visible;
    background: #33051F;
    color: #fff;
    border-color: #33051F;
}
