/* Featured template CSS - Reutilizando estilos del slider estate_slide adaptados para grid */

.property-card-featured
{
    position: relative;
    height: 400px;
    border-radius: 12px;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
    box-sizing: border-box;
}

.property-card-featured:hover
{
    transform: scale(1.05);
    box-shadow: 0 12px 24px rgba(0,0,0,0.2);
    border: 2px solid rgba(255,255,255,0.3);
}

.property-media-featured
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    border-radius: 12px;
}

.property-image-featured
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(0.7);
    transition: all 0.3s ease;
}

.property-card-featured:hover .property-image-featured
{
    filter: brightness(0.9) contrast(1.1);
}

.property-content-featured
{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    color: #ffffff !important;
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 50%;
    transition: all 0.3s ease;
}

.property-card-featured:hover .property-content-featured
{
    background: linear-gradient(180deg, rgba(0,0,0,0.0) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.9) 100%);
    backdrop-filter: blur(1px);
}

.property-content-featured *
{
    color: #ffffff !important;
}

.property-title-featured
{
    margin: 0 0 8px 0;
    font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.property-stars-featured
{
    margin-bottom: 8px;
}

.property-stars-featured .star
{
    color: rgba(255,255,255,0.6) !important;
    margin-right: 2px;
    font-size: 1.1rem;
}

.property-stars-featured .star.filled
{
    color: #ffd700 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.property-description-featured
{
    margin: 0 0 12px 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
    opacity: 0.95;
}

.property-description-featured p
{
    color: #ffffff !important;
    margin: 0 0 8px 0;
}

.property-description-featured p:last-child
{
    margin-bottom: 0;
}

.property-price-featured
{
    margin: 8px 0;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.property-dual-prices-featured
{
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.property-price-item-featured
{
    display: block;
}

.property-actions-featured
{
    margin: 12px 0 0 0 !important;
    padding: 0 !important;
}

.property-button-featured
{
    display: inline-block;
    margin-top: 12px;
    padding: 12px 24px;
    border-radius: 6px;
    background: #ffffff;
    color: #111 !important;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.property-button-featured::before
{
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #000;
    transition: left 0.3s ease;
    z-index: 0;
}

.property-button-featured span
{
    position: relative;
    z-index: 1;
    color: #111 !important;
    transition: color 0.3s ease;
}

.property-button-featured:hover
{
    color: #ffffff !important;
    background: #000000 !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border-color: #000;
}

.property-button-featured:hover span
{
    color: #ffffff !important;
}

.property-button-featured:hover::before
{
    left: 0;
}

/* Responsive Design */
@media (max-width: 1200px)
{
    .property-card-featured
    {
        height: 350px;
    }
    
    .property-title-featured
    {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px)
{
    .property-card-featured
    {
        height: 300px;
    }
    
    .property-content-featured
    {
        padding: 16px;
    }
    
    .property-title-featured
    {
        font-size: 1.2rem;
    }
    
    .property-description-featured
    {
        font-size: 0.85rem;
        color: #ffffff !important;
    }
}

@media (max-width: 480px)
{
    .property-card-featured
    {
        height: 280px;
    }
    
    .property-title-featured
    {
        font-size: 1.1rem;
    }
    
    .property-description-featured
    {
        font-size: 0.8rem;
    }
}
