/* ==========================================================================
   Kidan Pillars Link Widget Styles
   ========================================================================== */

.kidan-pillars-link-widget {
    width: 100%;
}

.kidan-pillars-link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    align-items: flex-end;
    gap: 16px;
    font-family: 'Gantari', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 20px;
    line-height: 1.2;
    color: #000000;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.kidan-pillars-text {
    display: flex;
    flex-direction: column;
}

.kidan-pillars-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.kidan-pillars-icon svg {
    width: 10px;
    height: 10px;
}

.kidan-pillars-icon svg path {
    fill: currentColor;
}

/* Hover Effect */
.kidan-pillars-link:hover {
    transform: translateX(6px);
}

.kidan-pillars-link:hover .kidan-pillars-icon {
    transform: translateX(4px);
}

/* Center Alignment */
.kidan-pillars-link-widget[style*="text-align: center"] .kidan-pillars-link {
    justify-content: center;
}

/* Right Alignment */
.kidan-pillars-link-widget[style*="text-align: right"] .kidan-pillars-link {
    justify-content: flex-end;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .kidan-pillars-link {
        font-size: 18px;
    }
}

@media screen and (max-width: 576px) {
    .kidan-pillars-link {
        font-size: 16px;
        gap: 12px;
    }

    .kidan-pillars-icon {
        width: 16px;
        height: 16px;
    }

    .kidan-pillars-icon svg {
        width: 8px;
        height: 8px;
    }
}
