/* Contenedor */
.profile.profile--type--empresa.job-card {
  background: #fff;
  border: 1px solid #e9edf1;
  border-radius: 8px;
  padding: 22px;
  box-shadow: 0 1px 0 rgba(16, 18, 23, 0.02);
  margin-bottom: 20px;
}

/* Layout interno */
.profile.profile--type--empresa .field--name-field-logo-empresa {
  margin: 0 auto 10px;
  width: 72px;                /* coincide con image style empresa_logo_56xauto */
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile.profile--type--empresa .field--name-field-logo-empresa img,
.profile.profile--type--empresa .company-logo img {
  display: block;
  width: 72px;               /* pequeño margen interno: mantiene 52 visual */
  height: auto;
  max-width: 100%;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}

/* Nombre de la empresa */
.profile.profile--type--empresa .field--name-field-nombre-empresa,
.profile.profile--type--empresa h4,
.profile.profile--type--empresa .profile__title {
  font-size: 16px;
  font-weight: 700;
  margin: 6px 0 4px;
  color: #0b2540;
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Meta (ubicación / etiqueta) */
.profile .field--name-field-departamento-empresa .field--label,
.profile .field--name-field-departamento-empresa .field--item {
  display: block;
}

/* Dirección / teléfono (labels arriba) */
.profile .field--label-above .field--label {
  margin-bottom: 4px;
  font-weight: 600;
}
.profile .field--label-above .field--item {
  color: #374151;
  margin-bottom: 8px;
}

/* Link "Ver perfil" */
.profile .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e6edf3;
  background: #fff;
  color: #0b2540;
  text-decoration: none;
  font-weight: 600;
  box-shadow: none;
  transition: all 0.12s ease;
}
.profile .btn-ghost:hover,
.profile .btn-ghost:focus {
  background: #f3f7fb;
  border-color: #d6e1ed;
  transform: translateY(-1px);
  outline: none;
}

/* Espaciado interno entre campos */
.profile .field { margin-bottom: 8px; }

/* Pequeña etiqueta para la URL (campo web empresa) */
.profile .field--name-field-web-empresa .field--item a {
  color: #0b5cff;
  font-size: 13px;
  display: inline-block;
  word-break: break-all;
}

/* Accesibilidad: foco visible para elementos interactivos */
.profile a:focus,
.profile button:focus {
  outline: 3px solid rgba(11,92,255,0.15);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Versión compacta si el sidebar es estrecho */
@media (max-width: 991px) {
  .profile .field--name-field-logo-empresa img { width: 44px; height: auto; }
  .profile .field--name-field-nombre-empresa { font-size: 15px; }
}

/* Muy pequeño (mobile): centrado y botones legibles */
@media (max-width: 767px) {
  .profile .field--name-field-logo-empresa { margin-bottom: 8px; }
  .profile .field--name-field-logo-empresa img { width: 40px; height: auto; }
  .profile .btn-ghost { padding: 10px; font-size: 14px; }
}

/* Optional: pequeño ajuste para cuando no hay logo (mostrar inicial) */
.profile .company-placeholder {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f3f6fa;
  color: #7b8794;
  font-weight: 700;
  border-radius: 6px;
}

