/* Betana CTA-Karten – Frontend Styles */

.bcc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    width: 100%;
}

.bcc-card {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid rgba(0, 27, 66, 0.08);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 18px rgba(0, 27, 66, 0.12);
}

a.bcc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 26px rgba(0, 27, 66, 0.18);
}

.bcc-card__accent {
    height: 8px;
    width: 100%;
    background: #011F47;
    flex-shrink: 0;
}

.bcc-card__image {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.bcc-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

a.bcc-card:hover .bcc-card__image img {
    transform: scale(1.04);
}

.bcc-card__body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 20px 22px 24px;
    flex: 1;
}

.bcc-card__title {
    font-weight: 700;
    font-size: 1.15em;
    color: #011F47;
    overflow-wrap: break-word;
}

.bcc-card__text {
    font-size: 0.92em;
    line-height: 1.5;
    color: #5c6470;
    overflow-wrap: break-word;
}

.bcc-card__cta {
    margin-top: auto;
    padding-top: 10px;
    font-weight: 700;
    font-size: 0.94em;
    color: #011F47;
}

@media (max-width: 1024px) {
    .bcc-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .bcc-grid {
        grid-template-columns: 1fr !important;
    }
}
