/* Home page: full-width licences & certifications section */
.ssv-licences {
    position: relative;
    padding: 70px 0 76px;
    background:
        radial-gradient(700px 320px at 90% 0%, rgba(237, 27, 36, .08), transparent 65%),
        #f5f6fa;
    color: #1f2638;
    overflow: hidden;
}

.lc-head {
    max-width: 640px;
    margin: 0 auto 44px;
    text-align: center;
}

.lc-eyebrow {
    display: inline-block;
    color: #ed1b24;
    font: 700 13px/1 'Montserrat', sans-serif;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.lc-head h2 {
    margin: 14px 0 12px;
    color: #020e2a;
    font: 800 38px/1.15 'Montserrat', sans-serif;
}

.lc-head h2 span { color: #ed1b24; }

.lc-intro {
    margin: 0;
    color: #6b7385;
    font-size: 16px;
    line-height: 1.6;
}

/* flex (not grid) so an incomplete last row stays centred */
.lc-grid {
    --lc-cols: 6;
    --lc-gap: 22px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 26px var(--lc-gap);
}

.lc-item {
    display: block;
    flex: 0 0 calc((100% - (var(--lc-cols) - 1) * var(--lc-gap)) / var(--lc-cols));
    min-width: 0;
    text-decoration: none;
}

.lc-item:hover { text-decoration: none; }

.lc-thumb {
    position: relative;
    display: block;
    padding: 7px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e3e7ef;
    overflow: hidden;
    box-shadow: 0 16px 30px -18px rgba(2, 14, 42, .4);
    transition: transform .3s ease, box-shadow .3s ease;
}

.lc-thumb img {
    display: block;
    width: 100%;
    aspect-ratio: 474 / 661;
    object-fit: cover;
    border-radius: 7px;
}

/* zoom hint on hover */
.lc-thumb::after {
    content: "\f00e";
    font-family: FontAwesome;
    position: absolute;
    inset: 7px;
    display: grid;
    place-items: center;
    border-radius: 7px;
    background: rgba(2, 14, 42, .55);
    color: #fff;
    font-size: 28px;
    opacity: 0;
    transition: opacity .3s ease;
}

.lc-item:hover .lc-thumb,
.lc-item:focus-visible .lc-thumb {
    transform: translateY(-6px);
    box-shadow: 0 22px 36px -14px rgba(237, 27, 36, .55);
}

.lc-item:hover .lc-thumb::after,
.lc-item:focus-visible .lc-thumb::after { opacity: 1; }

.lc-item:focus-visible {
    outline: 2px solid #ed1b24;
    outline-offset: 4px;
    border-radius: 12px;
}

.lc-name {
    display: block;
    margin-top: 14px;
    color: #020e2a;
    font: 700 14px/1.3 'Montserrat', sans-serif;
    text-align: center;
}

.lc-sub {
    display: block;
    margin-top: 3px;
    color: #6b7385;
    font-size: 12.5px;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 991px) {
    .lc-grid { --lc-cols: 3; max-width: 640px; margin: 0 auto; }
    .lc-head h2 { font-size: 32px; }
}

@media (max-width: 575px) {
    .ssv-licences { padding: 50px 0 56px; }
    .lc-head { margin-bottom: 30px; }
    .lc-head h2 { font-size: 26px; }
    .lc-intro { font-size: 14.5px; }
    .lc-grid { --lc-cols: 2; --lc-gap: 16px; row-gap: 22px; }
    .lc-name { font-size: 13px; }
    .lc-sub { font-size: 11.5px; }
}
