/**
 * Widget: block-html|single-card-link-hotel
 * Card scura: a sinistra titolo + contenuto + 2 CTA in riga, a destra l'immagine.
 * Tutte le regole scopate sotto .block-html-single-card-link-hotel.
 */

.block-html-single-card-link-hotel {
    display: block;
    background: var(--website-color-light, #FFFAF0);
    padding: clamp(40px, 6vw, 80px) 28px;
}
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-card {
    max-width: var(--website-container-max-width, 1440px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    background-color: var(--website-color-dark, #4E4B4A);
    border-radius: 12px;
    overflow: hidden;
    color: var(--website-color-white, #fff);
}

/* Testo a sinistra */
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(20px, 3vw, 32px);
    padding-left: 2rem;
    padding-right: 2rem;
    position: relative;
}
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-title {
    margin: 0;
    color: var(--website-color-white, #fff);
    text-transform: uppercase;
    font-weight: 400;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
}
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-content {
    max-width: 440px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    line-height: 1.6;
}
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-content p { margin: 0 0 0.6rem; }
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-content p:last-child { margin-bottom: 0; }

/* 2 CTA in riga */
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 16px;
}
/* Seconda CTA: variante "ghost" (riusa la base btnStyle2 per dimensioni/allineamento) */
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-cta--ghost {
    background-image: none;
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.6);
    color: var(--website-color-white, #fff);
}
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-cta--ghost:not(:disabled):hover,
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-cta--ghost:not(:disabled):focus-visible {
    background-color: rgba(255, 255, 255, 0.12);
    color: var(--website-color-white, #fff);
}

/* Immagine a destra */
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-media { min-width: 0; }
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-media picture { display: block; width: 100%; height: 100%; }
.block-html-single-card-link-hotel .block-html-single-card-link-hotel-img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

@media (max-width: 767.98px) {
    .block-html-single-card-link-hotel .block-html-single-card-link-hotel-card { grid-template-columns: 1fr; }
    .block-html-single-card-link-hotel .block-html-single-card-link-hotel-media { order: -1; }
    .block-html-single-card-link-hotel .block-html-single-card-link-hotel-img { min-height: 0; aspect-ratio: 4 / 3; }
}
