/* FC HP Certs — responsive certification/trust band. */
.fcwlcerts-bricks-element {
    width: 100%;
    max-width: none;
}

.fcwlcerts {
    --fcwlcerts-bg: #d2dbc5;
    --fcwlcerts-text: #262626;
    --fcwlcerts-icon: #202020;
    --fcwlcerts-separator: #30352f;
    --fcwlcerts-separator-width: 1px;
    --fcwlcerts-icon-max: 52px;
    --fcwlcerts-text-max: 16px;
    --fcwlcerts-pad-max: 18px;
    --fcwlcerts-gap-max: 8px;

    width: 100%;
    max-width: none;
    background: var(--fcwlcerts-bg);
    color: var(--fcwlcerts-text);
    box-sizing: border-box;
    overflow: hidden;
}

.fcwlcerts,
.fcwlcerts * {
    box-sizing: border-box;
}

.fcwlcerts-grid {
    display: grid;
    grid-template-columns: repeat(var(--fcwlcerts-count, 4), minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
}

.fcwlcerts-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: clamp(82px, 7.1vw, 134px);
    padding: clamp(11px, 1.05vw, var(--fcwlcerts-pad-max)) clamp(5px, .9vw, 18px);
    gap: clamp(4px, .48vw, var(--fcwlcerts-gap-max));
    color: inherit;
    text-align: center;
    text-decoration: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    outline-offset: -3px;
}

.fcwlcerts-item:not(:last-child)::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 15%;
    right: 0;
    width: var(--fcwlcerts-separator-width);
    height: 70%;
    background: var(--fcwlcerts-separator);
    opacity: .9;
    pointer-events: none;
}

.fcwlcerts-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: clamp(28px, 2.75vw, var(--fcwlcerts-icon-max));
    height: clamp(28px, 2.75vw, var(--fcwlcerts-icon-max));
    color: var(--fcwlcerts-icon);
    line-height: 1;
}

.fcwlcerts-icon-svg,
.fcwlcerts-icon-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
}

.fcwlcerts-icon-svg {
    overflow: visible;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.fcwlcerts-icon-image {
    object-fit: contain;
}

.fcwlcerts-label {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    color: var(--fcwlcerts-text);
    font-size: clamp(10px, .83vw, var(--fcwlcerts-text-max));
    font-weight: 400;
    line-height: 1.22;
    letter-spacing: -.01em;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
}

.fcwlcerts-item.is-linked:hover .fcwlcerts-label,
.fcwlcerts-item.is-linked:focus-visible .fcwlcerts-label {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Laptop: preserve all columns, shrink the same composition rather than reflow it. */
@media (min-width: 768px) and (max-width: 1199px) {
    .fcwlcerts-item {
        min-height: clamp(92px, 9vw, 116px);
        padding-top: clamp(12px, 1.7vw, 16px);
        padding-bottom: clamp(12px, 1.7vw, 16px);
    }

    .fcwlcerts-icon {
        width: clamp(34px, 4vw, 46px);
        height: clamp(34px, 4vw, 46px);
    }

    .fcwlcerts-label {
        font-size: clamp(11px, 1.35vw, 14px);
    }
}

/* Tablet / compact widths: still one row, four equal cells. */
@media (min-width: 568px) and (max-width: 767px) {
    .fcwlcerts-item {
        min-height: 92px;
        padding: 11px 7px;
        gap: 5px;
    }

    .fcwlcerts-icon {
        width: 34px;
        height: 34px;
    }

    .fcwlcerts-label {
        font-size: 11px;
        line-height: 1.18;
    }

    .fcwlcerts-item:not(:last-child)::after {
        top: 14%;
        height: 72%;
    }
}

/* Mobile portrait: keep four equal cells and make the trust strip clearly larger. */
@media (max-width: 567px) and (orientation: portrait) {
    .fcwlcerts-item {
        min-height: 118px;
        padding: 14px 3px;
        gap: 8px;
    }

    .fcwlcerts-icon {
        width: clamp(38px, 10.5vw, 44px);
        height: clamp(38px, 10.5vw, 44px);
    }

    .fcwlcerts-label {
        font-size: clamp(10px, 3vw, 12px);
        line-height: 1.2;
        letter-spacing: -.012em;
    }

    .fcwlcerts-item:not(:last-child)::after {
        top: 10%;
        height: 80%;
    }
}

/* Very narrow portrait phones: remain larger without stacking. */
@media (max-width: 390px) and (orientation: portrait) {
    .fcwlcerts-item {
        min-height: 112px;
        padding: 12px 2px;
        gap: 7px;
    }

    .fcwlcerts-icon {
        width: 38px;
        height: 38px;
    }

    .fcwlcerts-label {
        font-size: 10px;
        line-height: 1.18;
    }
}

/* Mobile landscape: visibly larger while preserving the same four-column row. */
@media (orientation: landscape) and (max-width: 932px) and (max-height: 520px) {
    .fcwlcerts-item {
        min-height: 118px;
        padding: 13px 6px;
        gap: 8px;
    }

    .fcwlcerts-icon {
        width: 44px;
        height: 44px;
    }

    .fcwlcerts-label {
        font-size: 12.5px;
        line-height: 1.2;
        letter-spacing: -.01em;
    }

    .fcwlcerts-item:not(:last-child)::after {
        top: 10%;
        height: 80%;
    }
}

.fcwlcerts-empty {
    padding: 16px;
    border: 1px dashed currentColor;
    font-size: 13px;
}
