/* =====================================================
   Galeria Card Bootstrap — Frontend Styles v2.0
   ===================================================== */

/* Card base */
.gcb-gallery .gcb-card {
    border: none;
    border-top: 2px solid #eee;
    border-radius: 6px;
    background: transparent;
    transition: transform .2s ease, box-shadow .2s ease;
}

.gcb-gallery .gcb-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,.1);
}

/* Wrapper da imagem com proporção fixa */
.gcb-gallery .gcb-card-image-wrapper {
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    aspect-ratio: 3 / 4;
}

.gcb-gallery .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
    display: block;
}

.gcb-gallery .gcb-card:hover .card-img-top {
    transform: scale(1.04);
}

/* Textos */
.gcb-gallery .card-title {
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.gcb-gallery .gcb-card-content {
    font-size: .875rem;
    text-align: center;
    color: #555;
    line-height: 1.6;
}

.gcb-gallery .gcb-card-content p:last-child {
    margin-bottom: 0;
}

/* Mensagens de estado */
.gcb-empty,
.gcb-error {
    color: #666;
    font-style: italic;
}

/* ── Responsividade ── */
@media (max-width: 767px) {
    .gcb-gallery .gcb-card-image-wrapper {
        aspect-ratio: 16 / 9;
    }
}
