.c4mulo5-trust-certificates { padding: 60px 0; }

.c4mulo5-trust-certificates::before,
.c4mulo5-trust-certificates::after,
.c4m5-trust-list::before,
.c4m5-trust-list::after {
    display: none !important;
    content: none !important;
}

.c4mulo5-trust-certificates .c4m5-trust-headline {
    margin: 0 0 8px;
    color: #1d2327;
    font-weight: 700;
}
.c4mulo5-trust-certificates .c4m5-trust-subheadline {
    margin: 0 0 32px;
    color: #6b7280;
}

/* List/Grid */
.c4m5-trust-list {
    display: grid;
    gap: 18px;
}
.c4mulo5-trust-certificates[data-columns="2"] .c4m5-trust-list { grid-template-columns: repeat(2, 1fr); }
.c4mulo5-trust-certificates[data-columns="3"] .c4m5-trust-list { grid-template-columns: repeat(3, 1fr); }
.c4mulo5-trust-certificates[data-columns="4"] .c4m5-trust-list { grid-template-columns: repeat(4, 1fr); }
.c4mulo5-trust-certificates[data-columns="5"] .c4m5-trust-list { grid-template-columns: repeat(5, 1fr); }
.c4mulo5-trust-certificates[data-columns="6"] .c4m5-trust-list { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1024px) {
    .c4m5-trust-list { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 600px) {
    .c4m5-trust-list { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Item */
.c4m5-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 14px;
    background: #ffffff;
    border: 1px solid #e5ebf0;
    border-radius: 12px;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    text-decoration: none !important;
    color: inherit;
}
.c4m5-trust-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #c8a84b;
}

.c4m5-trust-item__img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.08));
}

.c4m5-trust-item__placeholder {
    width: 80px;
    height: 80px;
    background: #f5f7fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #c8a84b;
}
.c4m5-trust-item__placeholder svg {
    width: 36px;
    height: 36px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.c4m5-trust-item__title {
    font-weight: 700;
    font-size: 0.92rem;
    color: #1d2327;
    margin-bottom: 4px;
    line-height: 1.3;
}

.c4m5-trust-item__desc {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.45;
}

/* Stil-Variante: Inline (horizontal kompakt, kein Border) */
.c4mulo5-trust-certificates.c4m5-trust-style-inline .c4m5-trust-list {
    grid-template-columns: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
}
.c4mulo5-trust-certificates.c4m5-trust-style-inline .c4m5-trust-item {
    flex-direction: row;
    background: transparent;
    border: none;
    padding: 8px 14px;
    text-align: left;
}
.c4mulo5-trust-certificates.c4m5-trust-style-inline .c4m5-trust-item:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}
.c4mulo5-trust-certificates.c4m5-trust-style-inline .c4m5-trust-item__img,
.c4mulo5-trust-certificates.c4m5-trust-style-inline .c4m5-trust-item__placeholder {
    width: 48px;
    height: 48px;
    margin-right: 12px;
    margin-bottom: 0;
}
.c4mulo5-trust-certificates.c4m5-trust-style-inline .c4m5-trust-item__placeholder svg {
    width: 22px;
    height: 22px;
}

/* Lightbox */
.c4m5-trust-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    animation: c4m5-trust-fade 0.2s ease;
}

.c4m5-trust-lightbox[hidden] {
    display: none !important;
}

@keyframes c4m5-trust-fade {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.c4m5-trust-lightbox__close {
    position: absolute;
    top: 20px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 1.6rem;
    cursor: pointer;
    transition: background 0.2s ease;
}
.c4m5-trust-lightbox__close:hover {
    background: rgba(255, 255, 255, 0.3);
}

.c4m5-trust-lightbox__content {
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 12px;
    padding: 32px;
    text-align: center;
}

.c4m5-trust-lightbox__content img {
    max-width: 100%;
    max-height: 70vh;
    height: auto;
    object-fit: contain;
}

.c4m5-trust-lightbox__content h3 {
    margin: 16px 0 8px;
    color: #1d2327;
}

.c4m5-trust-lightbox__content p {
    color: #6b7280;
    margin: 0;
}
