/**
 * Promo Banner Card Widget Styles
 */

.promo-card {
    display: block;
    text-decoration: none;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

/* Hover shadow is controlled by Elementor settings */

/* Image Wrapper */
.promo-card__image-wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
    display: block;
}

.promo-card__image {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

/* Hover Button - Inside image at bottom */
.promo-card__button {
    position: absolute;
    bottom: 0;
    left: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
    background: transparent !important;
}

.promo-card:hover .promo-card__button {
    opacity: 1;
    transform: translateY(0);
}

.promo-card__button-text {
    font-weight: 500;
}

.promo-card__button-icon {
    display: inline-flex;
    align-items: center;
}

.promo-card__button-icon svg,
.promo-card__button-icon i {
    width: 1em;
    height: 1em;
    font-size: inherit;
    fill: currentColor;
    color: inherit;
}

/* Content Container */
.promo-card__content {
    transition: background-color 0.3s ease;
}

.promo-card__title {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    margin: 0;
    line-height: 1.3;
}

.promo-card__description {
    margin: 0;
    line-height: 1.5;
}

/* Focus state for accessibility */
.promo-card:focus {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

.promo-card:focus:not(:focus-visible) {
    outline: none;
}
