/**
 * Widget: review|custom — intestazione + slider recensioni.
 */

.review-custom.revc {
    padding: var(--website-padding-top-bottom) 0;
}

/* Intestazione */
.review-custom .revc-head { margin: 0 0 40px; }
.review-custom.revc--align-center .revc-head { text-align: center; }
.review-custom.revc--align-left   .revc-head { text-align: left; }

.review-custom .revc-title {
    margin: 0;
    color: var(--icotea-brand-blue);
    font-family: var(--icotea-font-heading);
    font-size: 2.625rem;   /* 42px */
    line-height: 1.143;
    font-weight: 700;
}
.review-custom .revc-subtitle {
    margin: 12px 0 0;
    color: var(--icotea-brand-blue);
    font-family: var(--icotea-font-body);
    font-size: 1.25rem;    /* 20px */
    line-height: 1.3;
}
.review-custom .revc-content {
    margin-top: 8px;
    color: var(--icotea-brand-blue);
    font-family: var(--icotea-font-body);
    font-size: 1rem;
    line-height: 1.5;
}
.review-custom .revc-content :last-child { margin-bottom: 0; }

/* Lista (slider HorizontalCycleSlider) */
.review-custom .revc-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.review-custom .revc-item {
    box-sizing: border-box;
    height: auto;
}

/* Card recensione */
.review-custom .revc-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    box-sizing: border-box;
}

.review-custom .revc-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
}
.review-custom .revc-avatar {
    flex: none;
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    outline: 1px solid var(--icotea-brand-blue);
    outline-offset: -1px;
    color: var(--icotea-brand-blue);
    font-family: var(--icotea-font-body);
    font-size: 1.25rem;
    font-weight: 700;
}
.review-custom .revc-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.review-custom .revc-name {
    color: var(--icotea-brand-blue);
    font-family: var(--icotea-font-body);
    font-size: 1rem;       /* 16px */
    font-weight: 700;
    line-height: 1.5;
}
.review-custom .revc-role {
    color: var(--icotea-brand-blue);
    font-family: var(--icotea-font-body);
    font-size: .875rem;    /* 14px */
    line-height: 1.43;
}

/* Stelle */
.review-custom .revc-stars {
    display: inline-flex;
    gap: 4px;
}
.review-custom .revc-star svg {
    display: block;
    stroke: var(--icotea-accent, #FFAF24);
    stroke-width: 1;
}
.review-custom .revc-star--full svg,
.review-custom .revc-star--half svg { fill: var(--icotea-accent, #FFAF24); }
.review-custom .revc-star--empty svg { fill: #fff; }

/* Testo */
.review-custom .revc-text {
    color: #314158;
    font-family: var(--icotea-font-body);
    font-size: 1rem;       /* 16px */
    line-height: 1.625;    /* 26px */
}
.review-custom .revc-text :last-child { margin-bottom: 0; }

@media (max-width: 767px) {
    .review-custom.revc { padding: var(--website-padding-top-bottom-mini) 0; }
    .review-custom .revc-title { font-size: 1.75rem; line-height: 1.15; }
    .review-custom .revc-card { padding: 24px; }
}


/* ovverride horizontal-cycle-slider */

.review-custom .hcs-nav-btn {
    border: 1px solid #fff;
    background: #fff;
    color: inherit;
}

.review-custom .hcs-nav-btn:hover {
    border: 1px solid var(--icotea-brand-blue);
    background: var(--icotea-brand-blue);
    color: #fff;
}
