.bl-wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 20px 16px;
    color: #111827;
}

.bl-hero,
.bl-form-hero {
    background: linear-gradient(135deg, #ffffff 0%, #f7f8fb 100%);
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 22px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.06);
}

.bl-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.bl-kicker {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 10px;
}

.bl-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.05;
    color: #0f172a;
}

.bl-subtitle {
    margin: 10px 0 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.55;
    max-width: 720px;
}

.bl-cards {
    display: grid;
    gap: 16px;
}

.bl-card,
.bl-form-card,
.bl-danger-card,
.bl-single-card,
.bl-empty {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    box-shadow: 0 16px 40px rgba(17, 24, 39, 0.05);
}

.bl-card {
    position: relative;
    padding: 22px;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bl-card:hover,
.bl-card:focus-within {
    transform: translateY(-2px);
    border-color: #d1d5db;
    box-shadow: 0 20px 45px rgba(17, 24, 39, 0.08);
}


.bl-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    border-radius: inherit;
}

.bl-card__overlay:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

.bl-card__cta {
    color: #2563eb;
    font-weight: 700;
    transition: transform .18s ease;
}

.bl-card:hover .bl-card__cta,
.bl-card:focus-within .bl-card__cta {
    transform: translateX(3px);
}

.bl-card__head,
.bl-card__foot,
.bl-actions-inline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bl-card__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
}

.bl-card__title a,
.bl-link {
    color: #0f172a;
    text-decoration: none;
}

.bl-card__title a:hover,
.bl-link:hover {
    color: #2563eb;
}

.bl-card__company {
    margin-top: 6px;
    color: #475569;
    font-size: 15px;
}

.bl-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.bl-meta-grid,
.bl-single-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 18px;
}

.bl-meta-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 14px 16px;
}

.bl-meta-item span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #64748b;
    margin-bottom: 6px;
}

.bl-meta-item strong {
    color: #0f172a;
    font-size: 15px;
    line-height: 1.4;
}

.bl-card__foot {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    color: #64748b;
    font-size: 14px;
}

.bl-form-card,
.bl-single-card,
.bl-danger-card {
    padding: 24px;
}

.bl-form {
    display: grid;
    gap: 18px;
}

.bl-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.bl-field,
.bl-field-full {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bl-field label,
.bl-field-full label {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
}

.bl-form input,
.bl-form textarea {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.bl-form input::placeholder,
.bl-form textarea::placeholder {
    color: #94a3b8;
}

.bl-form input:focus,
.bl-form textarea:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.bl-form textarea {
    resize: vertical;
    min-height: 180px;
}

.bl-actions {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.bl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}

.bl-btn:hover {
    transform: translateY(-1px);
    opacity: .96;
}

.bl-btn-primary {
    background: #111827;
    color: #fff;
    box-shadow: 0 14px 28px rgba(17, 24, 39, 0.18);
}

.bl-btn-light {
    background: #f8fafc;
    color: #0f172a;
    border: 1px solid #dbe3ee;
}

.bl-btn-danger {
    background: #b42318;
    color: #fff;
    box-shadow: 0 14px 28px rgba(180, 35, 24, 0.2);
}

.bl-notice {
    padding: 14px 16px;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 14px;
    border: 1px solid transparent;
}

.bl-notice.is-success {
    background: #effcf3;
    color: #166534;
    border-color: #bbf7d0;
}

.bl-notice.is-error {
    background: #fff1f2;
    color: #be123c;
    border-color: #fecdd3;
}

.bl-empty {
    padding: 28px;
    text-align: center;
    color: #475569;
}

.bl-danger-card h3 {
    margin: 0 0 8px;
    font-size: 20px;
}

.bl-danger-card p {
    margin: 0 0 16px;
    color: #64748b;
}

.bl-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .bl-wrap {
        padding: 16px 12px;
    }

    .bl-hero,
    .bl-form-hero,
    .bl-form-card,
    .bl-danger-card,
    .bl-single-card,
    .bl-card,
    .bl-empty {
        border-radius: 18px;
        padding: 18px;
    }

    .bl-form-grid {
        grid-template-columns: 1fr;
    }

    .bl-title {
        font-size: 28px;
    }

    .bl-card__title {
        font-size: 20px;
    }
}

.bl-form select {
    width: 100%;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #fff;
    color: #111827;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.4;
    box-sizing: border-box;
}

.bl-form select:focus {
    outline: none;
    border-color: #60a5fa;
    box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.16);
}

.bl-hero__actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.bl-badge-busqueda {
    background: #fef3c7;
    border-color: #fde68a;
    color: #92400e;
}

.bl-badge-oferta {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1d4ed8;
}
/* Listado de empleos en tarjetas */
.bl-list-wrap {
    max-width: 1280px;
}

.bl-cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.bl-card {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    aspect-ratio: 1 / 1;
    padding: 20px;
    overflow: hidden;
    cursor: pointer;
    background: #fff;
    border: 1px solid #e3e8ef;
    border-radius: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.bl-card:hover,
.bl-card:focus-within {
    transform: translateY(-4px);
    border-color: #b9c7da;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.11);
}

.bl-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 5;
    border-radius: inherit;
}

.bl-card__overlay:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 3px;
}

.bl-card__badges {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 30px;
    margin-bottom: 18px;
    overflow: hidden;
}

.bl-card .bl-badge {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
    padding: 6px 9px;
    font-size: 11px;
    line-height: 1;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bl-badge-neutral {
    background: #f8fafc;
    border-color: #dbe3ee;
    color: #475569;
}

.bl-card__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1;
    min-height: 0;
    flex-direction: column;
}

.bl-card__title {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: #0f172a;
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
}

.bl-card__company {
    margin-top: 8px;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bl-card__details {
    display: grid;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
}

.bl-card__detail {
    min-width: 0;
    padding-top: 9px;
    border-top: 1px solid #edf1f5;
}

.bl-card__detail span {
    display: block;
    margin-bottom: 3px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .06em;
    line-height: 1.2;
    text-transform: uppercase;
}

.bl-card__detail strong {
    display: block;
    overflow: hidden;
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bl-card__foot {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #edf1f5;
    color: #94a3b8;
    font-size: 11px;
    line-height: 1.2;
}

.bl-card__cta {
    color: #2563eb;
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
    transition: transform .18s ease;
}

.bl-card:hover .bl-card__cta,
.bl-card:focus-within .bl-card__cta {
    transform: translateX(3px);
}

@media (max-width: 1050px) {
    .bl-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .bl-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 520px) {
    .bl-cards {
        grid-template-columns: 1fr;
    }

    .bl-card {
        aspect-ratio: auto;
        min-height: 300px;
    }
}
