.samu-form-wrap { max-width: 900px; margin: 0 auto; }
.samu-alert { padding: 12px 18px; background: #fff8e5; border-left: 4px solid #f0ad4e; margin-bottom: 16px; border-radius: 4px; }
.samu-success { background: #e6f4ea; border-left-color: #46b450; }
.samu-section { border: 1px solid #e1e4e8; border-radius: 8px; padding: 18px 20px; margin-bottom: 22px; background: #fafbfc; }
.samu-section legend { font-weight: 700; font-size: 16px; padding: 0 8px; }
.samu-row { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-end; flex-wrap: wrap; }
.samu-col { flex: 1; min-width: 180px; display: flex; flex-direction: column; }
.samu-col-full { flex: 100%; }
.samu-col label { font-size: 13px; font-weight: 600; margin-bottom: 4px; color: #333; }
.samu-col input, .samu-col select, .samu-col textarea {
    padding: 8px 10px; border: 1px solid #ccd0d4; border-radius: 4px; font-size: 14px; width: 100%; box-sizing: border-box;
}
.samu-col input:focus, .samu-col select:focus, .samu-col textarea:focus { outline: none; border-color: #2271b1; box-shadow: 0 0 0 2px rgba(34,113,177,.15); }
.samu-add-btn { background: #f3f4f6; border: 1px dashed #999; color: #333; padding: 8px 14px; border-radius: 4px; cursor: pointer; font-size: 13px; }
.samu-add-btn:hover { background: #e8eaee; }
.samu-remove { background: #dc3232; color: #fff; border: none; border-radius: 4px; padding: 8px 10px; cursor: pointer; font-weight: 700; }
.samu-remove-block { margin-bottom: 8px; width: 100%; }
.samu-empleo { background: #fff; border: 1px solid #e1e4e8; padding: 14px; border-radius: 6px; margin-bottom: 12px; }
.samu-submit { text-align: center; margin: 30px 0; }
.samu-btn-primary {
    background: #2271b1; color: #fff; padding: 12px 32px; border-radius: 6px; border: none; font-size: 16px;
    font-weight: 600; cursor: pointer; text-decoration: none; display: inline-block;
}
.samu-btn-primary:hover { background: #135e96; color: #fff; }
.samu-cv-wrap { max-width: 800px; margin: 0 auto; padding: 20px; }
.samu-cv-wrap h3 { border-bottom: 2px solid #2271b1; padding-bottom: 6px; margin-top: 28px; }
@media (max-width: 700px) { .samu-col { min-width: 100%; } }

.samu-hint { font-size: 12px; color: #6b7280; margin: 0 0 10px; font-style: italic; }
.samu-readonly,
input.samu-readonly {
    background: #f0f0f1;
    color: #50575e;
    cursor: not-allowed;
}
.samu-empty { color: #888; font-style: italic; }
.samu-notice { background: #fff8e5; border-left: 4px solid #f0ad4e; padding: 12px 16px; border-radius: 4px; }

/* ============================================================
 *  OFERTAS DE EMPLEO (frontend)
 * ============================================================ */
.samu-ofertas-grid {
    display: grid;
    gap: 22px;
    margin: 20px 0;
}
.samu-ofertas-grid.samu-cols-1 { grid-template-columns: 1fr; }
.samu-ofertas-grid.samu-cols-2 { grid-template-columns: repeat(2, 1fr); }
.samu-ofertas-grid.samu-cols-3 { grid-template-columns: repeat(3, 1fr); }
.samu-ofertas-grid.samu-cols-4 { grid-template-columns: repeat(4, 1fr); }

.samu-oferta-card {
    background: #fff;
    border: 1px solid #e1e4e8;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .18s ease, box-shadow .18s ease;
}
.samu-oferta-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.08);
}
.samu-oferta-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: #f2f4f7;
    overflow: hidden;
    position: relative;
}
.samu-oferta-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.samu-oferta-noimg {
    display: flex; align-items: center; justify-content: center;
    font-size: 42px; color: #b9bfc7;
    width: 100%; height: 100%;
}
.samu-oferta-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.samu-oferta-title { margin: 0 0 8px; font-size: 17px; line-height: 1.3; }
.samu-oferta-title a { color: #135e96; text-decoration: none; }
.samu-oferta-title a:hover { text-decoration: underline; }
.samu-oferta-cargo { color: #2271b1; font-size: 13.5px; margin: 0 0 10px; }
.samu-oferta-meta {
    list-style: none; padding: 0; margin: 0 0 12px;
    display: flex; flex-wrap: wrap; gap: 6px 14px;
    font-size: 13px; color: #4a5568;
}
.samu-oferta-meta li { display: inline-flex; align-items: center; gap: 4px; }
.samu-oferta-excerpt { color: #4a5568; font-size: 13.5px; margin: 0 0 14px; }
.samu-oferta-cta { margin-top: auto; align-self: flex-start; padding: 8px 18px; font-size: 14px; }

.samu-ofertas-empty {
    padding: 24px; background: #f8f9fb; border-radius: 8px;
    color: #666; text-align: center;
}

/* Detalle de la oferta */
.samu-oferta-detalle {
    max-width: 820px; margin: 0 auto; padding: 20px;
}
.samu-oferta-detalle-header h1 { margin: 12px 0 8px; font-size: 26px; }
.samu-oferta-detalle-img img { width: 100%; height: auto; border-radius: 10px; display: block; }
.samu-oferta-detalle-meta {
    list-style: none; padding: 12px 16px; margin: 18px 0;
    background: #f4f6f8; border-left: 4px solid #2271b1; border-radius: 4px;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 24px;
    font-size: 14px;
}
.samu-oferta-detalle-bloque { margin: 24px 0; }
.samu-oferta-detalle-bloque h2 {
    font-size: 16px; color: #2271b1;
    border-bottom: 1px solid #cfd8e3; padding-bottom: 6px; margin-bottom: 12px;
}
.samu-oferta-detalle-cta { margin: 32px 0 12px; text-align: center; }

@media (max-width: 900px) {
    .samu-ofertas-grid.samu-cols-3,
    .samu-ofertas-grid.samu-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .samu-ofertas-grid.samu-cols-2,
    .samu-ofertas-grid.samu-cols-3,
    .samu-ofertas-grid.samu-cols-4 { grid-template-columns: 1fr; }
    .samu-oferta-detalle-meta { grid-template-columns: 1fr; }
}