.dzsta-reviews {
    container-type: inline-size;
    color: #173f3d;
    margin-block: clamp(36px, 6vw, 74px);
}

.dzsta-experience-heading { margin-bottom: 22px; }
.dzsta-experience-heading .eyebrow { color: #3b6157; }

.dzsta-experience-heading h2 {
    margin: 10px 0 0;
    color: #173f3d;
    font-family: var(--font-heading, Georgia, serif);
    font-weight: 500;
    font-size: clamp(29px, 3.5vw, 45px);
    line-height: 1.18;
}

.dzsta-review-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(12px, 2vw, 24px);
}

@container (560px <= width < 900px) {
    .dzsta-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dzsta-review-grid:has(> :last-child:nth-child(odd)) > :first-child {
        grid-column: 1 / -1;
        background: #ecf2e9;
        border-color: #d8e3d5;
    }
}

@container (min-width: 900px) {
    .dzsta-review-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
    .dzsta-review-grid > .dzsta-review-card { grid-column: span 2; }

    /* Fill incomplete rows with pairs, including a balanced two-by-two layout for four cards. */
    .dzsta-review-grid:has(> :last-child:nth-child(3n+2)) > :nth-last-child(-n+2),
    .dzsta-review-grid:has(> :last-child:nth-child(3n+4)) > :nth-last-child(-n+4) {
        grid-column: span 3;
    }

    .dzsta-review-grid > .dzsta-review-card:only-child { grid-column: 1 / -1; }
}

.dzsta-review-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: clamp(21px, 2.8vw, 34px);
    border: 1px solid #dddccd;
    border-radius: 22px;
    background: #f7f6ef;
    overflow-wrap: anywhere;
}

.dzsta-review-top, .dzsta-review-card figcaption {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dzsta-review-top { justify-content: space-between; }
.dzsta-review-stars { color: #825511; letter-spacing: .14em; font-size: 16px; }
.dzsta-review-quote-mark { color: #56796b; font: 52px/.55 Georgia, serif; }

.dzsta-review-card blockquote {
    max-width: 65ch;
    flex: 1;
    margin: 0;
    padding: 0;
    border: 0;
    color: #173f3d;
    font-size: clamp(16px, 1.65vw, 20px);
    line-height: 1.55;
}

.dzsta-review-card figcaption {
    border-top: 1px solid #dddccd;
    padding-top: 16px;
    color: #173f3d;
    font-size: 14px;
}

.dzsta-review-card figcaption a {
    display: block;
    color: #325c51;
    text-decoration: underline;
    text-underline-offset: .2em;
}

.dzsta-review-avatar {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    overflow: hidden;
    border-radius: 50%;
    background: #dfe9dd;
    font-weight: 700;
}

.dzsta-review-avatar .dzsta-review-photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dzsta-map {
    overflow: hidden;
    border: 1px solid #d5e0d8;
    border-radius: 20px;
    background: #f6f8f3;
}

.dzsta-map-canvas {
    height: clamp(236px, 34vw, 360px);
    display: grid;
    place-content: center;
    background:
        radial-gradient(ellipse at center, #e5eee1 0%, #e5eee100 75%),
        repeating-linear-gradient(24deg, transparent 0 47px, #f7faf5 48px 53px),
        repeating-linear-gradient(135deg, #e5eee1 0 33px, #f7faf5 34px 39px);
}

.dzsta-map-canvas > .journey-icon { width: 31px; height: 31px; color: #315b4b; }

.dzsta-map-canvas:has(iframe) { display: block; }
.dzsta-map-canvas iframe { display: block; width: 100%; height: 100%; border: 0; }

.dzsta-map .dzsta-map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding-inline: 19px;
    font-weight: 700;
    font-size: 14px;
}

.dzsta-map .dzsta-map-link { color: #173f3d; text-decoration: underline; text-underline-offset: .2em; }
.dzsta-map a:focus-visible { outline: 2px solid #28594f; outline-offset: 3px; }
.dzsta-map .dzsta-map-link:focus-visible { outline-offset: -3px; }
