/**
 * Widget: restaurant|archive-preview
 * Anteprima ristoranti come card scure: titolo + slogan + short content in alto,
 * immagine di anteprima in basso. 2 colonne desktop / 1 mobile.
 */

.restaurant-archive-preview {
    display: block;
    background: var(--website-color-light, #FFFAF0);
    padding: clamp(40px, 6vw, 80px) 0;
}
.restaurant-archive-preview .restaurant-archive-preview-inner {
    max-width: var(--website-container-max-width, 1440px);
    margin: 0 auto;
    padding: 0 28px;
}
.restaurant-archive-preview .restaurant-archive-preview-head { margin-bottom: clamp(24px, 4vw, 48px); }
.restaurant-archive-preview .restaurant-archive-preview-title {
    margin: 0;
    color: var(--website-color-txt-title, #3D3D3D);
    text-transform: uppercase;
    font-weight: 400;
    font-size: clamp(2rem, 4.5vw, 3.4rem);
    line-height: 1.1;
}
.restaurant-archive-preview .restaurant-archive-preview-intro {
    max-width: 760px;
    margin-top: 16px;
    color: var(--website-color-txt-body, #4D5359);
    font-size: 1.05rem;
    line-height: 1.6;
}

.restaurant-archive-preview .restaurant-archive-preview-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 1.6vw, 16px);
    align-items: stretch;
}

.restaurant-archive-preview .restaurant-archive-preview-card {
    display: flex;
    border-radius: 10px;
    overflow: hidden;
}
.restaurant-archive-preview .restaurant-archive-preview-link {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
    padding: 24px;
    background: var(--website-color-dark, #4E4B4A);
    color: var(--website-color-white, #fff);
    text-decoration: none;
    transition: filter .2s ease;
}
.restaurant-archive-preview .restaurant-archive-preview-link:hover { filter: brightness(1.08); }

.restaurant-archive-preview .restaurant-archive-preview-body { display: flex; flex-direction: column; gap: 16px; }
.restaurant-archive-preview .restaurant-archive-preview-card-title {
    color: var(--website-color-white, #fff);
    text-transform: uppercase;
    font-weight: 400;
    font-size: 1.7rem;
    line-height: 1.15;
}
.restaurant-archive-preview .restaurant-archive-preview-slogan {
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    font-family: 'Erode', serif;
    font-size: 1.15rem;
    line-height: 1.3;
}
.restaurant-archive-preview .restaurant-archive-preview-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.5;
}

.restaurant-archive-preview .restaurant-archive-preview-media {
    margin-top: auto;
    border-radius: 8px;
    overflow: hidden;
}
.restaurant-archive-preview .restaurant-archive-preview-media picture { display: block; }
.restaurant-archive-preview .restaurant-archive-preview-img {
    display: block;
    width: 100%;
    aspect-ratio: 636 / 357;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .restaurant-archive-preview .restaurant-archive-preview-grid{ grid-template-columns: 1fr; }
}
