/* SPR — Urban Infrastructure block */
.spr-ui-section,
.spr-ui-section * { box-sizing: border-box; }

.spr-ui-section {
    --spr-blue: #0b63f6;
    --spr-navy: #082d5b;
    --spr-text: #213c5f;
    --spr-border: #dce6f1;
    --spr-soft: #f7fbff;
width: min(1450px, calc(100% - 40px)) !important;
    max-width: 100%;
    margin: 42px auto;
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(420px, .85fr);
    gap: 34px;
    background: #fff;
    border: 1px solid var(--spr-border);
    border-radius: 26px;
    font-family: inherit;
    color: var(--spr-navy);
    overflow: hidden;
}

.spr-ui-media {
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-self: stretch;
}
.spr-ui-hero,
.spr-ui-thumbs img {
    display: block;
    width: 100%;
    object-fit: cover;
    background: #eef4fa;
}
.spr-ui-hero {
    height: 410px;
    border-radius: 16px;
}
.spr-ui-thumbs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
    margin-top: 10px;
    flex: 1 1 auto;
    min-height: 205px;
}
.spr-ui-thumbs img {
    height: 100%;
    min-height: 205px;
    border-radius: 14px;
}

.spr-ui-content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 14px 0 6px;
}
.spr-ui-kicker {
    margin: 0 0 18px;
    color: var(--spr-blue);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .18em;
    line-height: 1.2;
}
.spr-ui-content h2 {
    margin: 0;
    color: var(--spr-navy);
    font-size: clamp(36px, 2.8vw, 46px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -.035em;
}
.spr-ui-lead {
    margin: 22px 0 24px;
    color: var(--spr-text);
    font-size: 17px;
    line-height: 1.52;
}

.spr-ui-benefits {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}
.spr-ui-benefit {
    min-height: 185px;
    padding: 18px 12px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fff;
    border: 1px solid var(--spr-border);
    border-radius: 15px;
}
.spr-ui-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 12px;
    color: var(--spr-blue);
}
.spr-ui-icon svg {
    width: 100%;
    height: 100%;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.spr-ui-benefit strong {
    color: var(--spr-navy);
    font-size: 13px;
    line-height: 1.22;
    font-weight: 800;
}
.spr-ui-benefit span {
    margin-top: 10px;
    color: #5e718a;
    font-size: 12px;
    line-height: 1.28;
}

.spr-ui-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 24px;
}
.spr-ui-tags span {
    padding: 9px 14px;
    color: var(--spr-blue);
    border: 1px solid #afd0ff;
    border-radius: 10px;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    white-space: nowrap;
}

.spr-ui-actions {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 14px;
    margin-top: auto;
}
.spr-ui-btn {
    min-height: 58px;
    padding: 0 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.spr-ui-btn:hover { transform: translateY(-1px); }
.spr-ui-btn-primary {
    color: #fff !important;
    background: linear-gradient(180deg, #1671ff 0%, #045bea 100%);
    box-shadow: 0 8px 20px rgba(11, 99, 246, .16);
}
.spr-ui-btn-secondary {
    color: var(--spr-blue) !important;
    background: #fff;
    border: 1.5px solid var(--spr-blue);
}
.spr-ui-btn span { font-size: 19px; line-height: 1; }

@media (max-width: 1180px) {
    .spr-ui-section {
        grid-template-columns: 1fr;
        width: min(980px, calc(100% - 36px));
    }
    .spr-ui-content { padding: 6px 4px 4px; }
    .spr-ui-benefits { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 760px) {
    .spr-ui-section {
        width: calc(100% - 24px);
        margin: 24px auto;
        padding: 14px;
        gap: 22px;
        border-radius: 20px;
    }
    .spr-ui-hero { height: 300px; }
    .spr-ui-thumbs { gap: 7px; margin-top: 7px; }
    .spr-ui-thumbs { flex: 0 0 auto; min-height: 0; }
    .spr-ui-thumbs img { height: 130px; min-height: 130px; border-radius: 10px; }
    .spr-ui-kicker { margin-bottom: 12px; font-size: 11px; }
    .spr-ui-content h2 { font-size: clamp(31px, 9.2vw, 42px); }
    .spr-ui-lead { margin: 16px 0 20px; font-size: 15px; }
    .spr-ui-benefits { grid-template-columns: repeat(2, 1fr); }
    .spr-ui-benefit { min-height: 155px; }
    .spr-ui-actions { grid-template-columns: 1fr; }
}

@media (max-width: 430px) {
    .spr-ui-hero { height: 245px; }
    .spr-ui-thumbs img { height: 105px; min-height: 105px; }
    .spr-ui-tags span { white-space: normal; }
}
