/*
 * Property Auction Manager
 * Component 6B: Featured Properties
 *
 * Functional baseline styling.
 * Final visual styling will be controlled
 * by the JLS site-specific master CSS.
 */

.pam-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 26px;
    width: 100%;
}

.pam-featured-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e6e8ed;
    border-radius: 12px;
}

.pam-featured-image {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef0f3;
    text-decoration: none;
}

.pam-featured-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pam-featured-card:hover .pam-featured-image img {
    transform: scale(1.04);
}

.pam-featured-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    color: #697386;
    text-align: center;
}

.pam-featured-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    padding: 7px 12px;
    border-radius: 5px;
    background: #fff;
    color: #252b36;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.pam-featured-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 13px;
    padding: 24px;
}

.pam-featured-type {
    color: #687386;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.pam-featured-title {
    margin: 0;
    font-size: 21px;
    line-height: 1.35;
}

.pam-featured-title a {
    color: inherit;
    text-decoration: none;
}

.pam-featured-date {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #edf0f3;
}

.pam-featured-date-label {
    color: #697386;
    font-size: 12px;
}

.pam-featured-date strong {
    color: #252b36;
    font-size: 15px;
}

.pam-featured-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 8px;
    padding: 13px 17px;
    border-radius: 6px;
    background: #252b36;
    color: #fff !important;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none !important;
}

.pam-featured-button:hover {
    background: #414b5b;
}

.pam-featured-empty {
    padding: 24px;
    text-align: center;
    color: #687386;
}

@media (max-width: 991px) {
    .pam-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .pam-featured-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .pam-featured-body {
        padding: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pam-featured-image img {
        transition: none;
    }
}
