@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;600;700&display=swap');

/* ── Card wrapper ─────────────────────────────────────────── */
.tc-card-d28181cd {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    height: 50vh; /* Fixed height to 50vh */
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 12px 40px rgba(0,0,0,0.18);
    background-color: transparent !important; /* Removed blue background */
}

/* ── Cover image — fills card, zooms on hover ─────────────── */
.tc-card-d28181cd img.tc-cover-d28181cd {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Force cover */
    object-position: center;
    transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    z-index: 0;
    display: block;
    max-width: none !important;
}

.tc-card-d28181cd:hover img.tc-cover-d28181cd {
    transform: scale(1.07);
}

.tc-cover-fallback-d28181cd {
    background: transparent !important;
}

/* ── Gradient overlay ─────────────────────────────────────── */
.tc-overlay-d28181cd {
    position: absolute;
    inset: 0;
    /* Default dark gradient extending from bottom, now overridable via Elementor controls */
    background-image: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.6) 40%, rgba(0,0,0,0) 70%);
    z-index: 1;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.tc-card-d28181cd:hover .tc-overlay-d28181cd {
    opacity: 1;
}

/* ── Content area ─────────────────────────────────────────── */
.tc-content-d28181cd {
    position: relative;
    z-index: 2;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ── Title ────────────────────────────────────────────────── */
.tc-title-d28181cd {
    font-family: 'Outfit', sans-serif;
    font-size: 26px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6); /* Enhanced shadow for legibility */
}

/* ── Meta row (badges + colaborador) ──────────────────────── */
.tc-meta-d28181cd {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

/* ── Badge — identical style for category AND colaborador ─── */
.tc-badge-d28181cd {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #000000;
    background-color: #ffffff;
    padding: 7px 16px;
    border-radius: 9999px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    line-height: 1;
}
